Commit Graph

17790 Commits

Author SHA1 Message Date
Michael Kerrisk 61428042e2 bzero.3: Add correct header file for exlicit_bzero()
Reported-by: Zack Weinberg <zackw@panix.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:50 +02:00
Michael Kerrisk e6af0066c8 bzero.3: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:50 +02:00
Jakub Wilk 725399bba7 zdump.8: Add OPTIONS section heading
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:50 +02:00
Jakub Wilk a263fdde88 environ.7: Fix name of function that honors TMPDIR
tempnam() takes the TMPDIR environment variable into account, unlike
tmpnam(), which always creates pathnames within /tmp.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:50 +02:00
Michael Kerrisk acf0d7db21 fcntl.2: File seals are not generally applicable to tmpfs(5) files
As far as I can see, file seals can be applied only to
memfd_create(2) file descriptors. This was checked by experiment
and by reading mm/shmem.c::shmem_get_inode((), where one finds
the following line that applies to all new shmem files:

                info->seals = F_SEAL_SEAL;

Only in the code of the memfd_create() system call is this
setting reversed (in mm/shmem.c::memfd_create):

        if (flags & MFD_ALLOW_SEALING)
                info->seals &= ~F_SEAL_SEAL;

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:50 +02:00
Michael Kerrisk 5c92cfd352 mmap.2: Remove ancient reference to flags that appear on some other systems
MAP_AUTOGROW, MAP_AUTORESRV, MAP_COPY, and MAP_LOCAL may have
appeared on some systems many years ago, but  the discussion here
mentions no details and the systems and flags probably ceased to
be relevant long ago. So, remove this text.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:50 +02:00
Michael Kerrisk e867555833 proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:50 +02:00
Michael Kerrisk b53015848e proc.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk a88f0e061a _exit.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk ccb3ff19e4 _exit.2: Only the least significant byte of exit status is passed to the parent
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 661cfc7eca execve.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 8b7365ac02 execve.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 765633a200 tmpfs.5: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 2a73d3e870 sigaction.2: Show the prototype of an SA_SIGINFO signal handler
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 69ccc9f11d fcntl.2: Mention memfd_create() in the discussion of file seals
Give the reader a clue about what kinds of objects can
be employed with file seals.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 547afefe40 shm_open.3: Clarify that POSIX shared memory uses tmpfs(5)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 967631f2c8 epoll_ctl.2: Give the reader a clue that the 'events' field can be zero
'events' specified as zero still allows EPOLLHUP and
EPOLLERR to be reported.

Reported-by: Nicolas Biscos <nicolas.biscos+man7@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-10 13:47:49 +02:00
Michael Kerrisk 25c2dd2f87 epoll_ctl.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-31 06:54:35 +02:00
Michael Kerrisk 0dea65b805 epoll_ctl.2: Defer to poll(2) for an explanation of EPOLLIN
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-31 06:54:35 +02:00
Michael Kerrisk 4258cf6d03 epoll_ctl.2: EPOLLERR is also set on write end of a pipe when the read end is closed
Reported-by: Nicolas Biscos <nicolas.biscos+man7@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-31 06:54:22 +02:00
Michael Kerrisk b3da9249db poll.2: POLLERR is also set on write end of a pipe when the read end is closed
Reported-by: Nicolas Biscos <nicolas.biscos+man7@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-31 06:54:17 +02:00
Michael Kerrisk 1a2e88acd6 tcp.7: Note indications for OOB data given by select(2) and poll(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-30 17:30:38 +02:00
Michael Kerrisk d871cf8569 select.2: Refer to POLLPRI in poll(2) for info on exceptional conditions
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-30 17:30:38 +02:00
Michael Kerrisk cd2ea4b451 select.2: Give a hint that sets must be reinitialized if using select() in a loop
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-30 17:30:38 +02:00
Michael Kerrisk 47da6ce7fd select.2: Minor wording fixes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-30 17:30:38 +02:00
Michael Kerrisk e629dd7890 poll.2: Expand discussion of POLLPRI
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:30:50 +02:00
Michael Kerrisk 3352f57925 ioctl_tty.2: Packet mode state change events give POLLPRI events for poll(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:30:50 +02:00
Michael Kerrisk 4448aa21a4 ioctl_console.2: Note type of 'argp' for a various operations
For some commands, there was no clear statement about the type
of the 'argp' argument.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:30:50 +02:00
Michael Kerrisk e86f51acba ioctl_console.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:30:50 +02:00
Michael Kerrisk a9168840a2 ioctl.2, ioctl_console.2, select_tut.2, termios.3, tty.4, pty.7, termio.7: Change page cross-references from tty_ioctl(4) to ioctl_tty(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:30:50 +02:00
Michael Kerrisk a78f675264 ioctl_tty.2: Minor clean ups after page rename
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:29:44 +02:00
Michael Kerrisk e0c110a576 tty_ioctl.4: Link for old name of ioctl_tty(2) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:29:44 +02:00
Michael Kerrisk 6d8d77ee88 ioctl_tty.2: Renamed from tty_ioctl(4)
All other ioctl(2) pages are in section 2. Make this
page consistent.
2017-03-29 12:29:44 +02:00
Michael Kerrisk d49a22201d ioctl.2, termios.3, console_codes.4, tty.4, tty_ioctl.4, vcs.4: Change page cross-references for console_ioctl(4) to ioctl_console(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 12:29:18 +02:00
Michael Kerrisk 693dc407a6 ioctl_console.2: Minor clean ups after page rename
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 07:11:54 +02:00
Michael Kerrisk 5d965ac90b console_ioctl.4: Link for old name of ioctl_console(2) page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 07:11:54 +02:00
Michael Kerrisk 1f00fea7df ioctl_console.2: Renamed from console_ioctl.4
Most ioctl() man pages are in section 2, so move this one there
for consistency.
2017-03-29 07:11:21 +02:00
Michael Kerrisk b778adb281 console_ioctl.4: Minor clarification
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 06:57:35 +02:00
Michael Kerrisk 1804f37dea poll.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 06:49:17 +02:00
Michael Kerrisk ab264bff4f select.2: Show correspondence between select() and poll() readiness notifications
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-29 06:49:10 +02:00
Michael Kerrisk 84ec7d432b syslog.3: SEE ALSO: add journalctl(1)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-26 14:19:54 +02:00
Michael Kerrisk 1d8ee5b8ff syslog.3: Various rewordings and improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-26 14:19:54 +02:00
Michael Kerrisk 6b5652c1aa syslog.3: Note default value for 'facility' when calling openlog()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-26 14:19:54 +02:00
Michael Kerrisk d302d9c917 syslog.3: Various minor improvements
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-26 14:19:54 +02:00
Michael Kerrisk aad9077cbb syslog.3: Reorganize page text for easier parsing and better readability
Inspired by comments from Ian Abbott and Walter Harms

Reported-by: Ian Abbott <abbotti@mev.co.uk>
Reported-by: Walter Harms <wharms@bfs.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-26 14:19:33 +02:00
Jakub Wilk 53f2ec0751 localedef.1: ffix
Don't embolden commas between option names.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-26 13:02:52 +02:00
Michael Kerrisk c5cd305ddd fork.2: SEE ALSO: add pthread_atfork(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-25 08:20:24 +01:00
Michael Kerrisk aadc226bb7 pthread_atfork.3: New page describing pthread_atfork(3)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-25 08:20:24 +01:00
Michael Kerrisk 1a116ea001 select.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-24 15:51:25 +01:00
Michael Kerrisk 3116bbe074 select.2: Move mislocated text describing the self-pipe text from BUGS to NOTES
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-03-24 15:38:12 +01:00