Commit Graph

7056 Commits

Author SHA1 Message Date
Michael Kerrisk 6b94000d63 sigaction.2: Add a subheading for the description of 'si_code'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 11:42:31 +02:00
Michael Kerrisk 8d4b857991 sigaction.2: TRAP_BRANCH and TRAP_HWBKPT are present only on IA64
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-16 08:03:30 +02:00
Michael Kerrisk 6c97eb40aa splice.2, tee.2, vmsplice.2: SEE ALSO: add pipe(7)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-14 13:23:20 +02:00
Michael Kerrisk d766983819 pipe.2: SEE ALSO: add tee(2) and vmsplice(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-14 13:21:04 +02:00
Michael Kerrisk be338b52ec splice.2: ERRORS: add EINVAL for case where both descriptors refer to same pipe
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-14 12:59:13 +02:00
Michael Kerrisk be050b69a0 splice.2: ERRORS: split EINVAL error cases
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-14 12:56:30 +02:00
Michael Kerrisk 94be92bfe7 epoll_wait.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-03 20:03:54 +02:00
Michael Kerrisk 11f57f4476 epoll_wait.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-03 20:03:04 +02:00
Michael Kerrisk 7e086953f6 syscalls.2: tfix
Reported-by: 石井大貴 <hiroki.ishii@miraclelinux.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-06-03 18:42:22 +02:00
Michael Kerrisk 2d5f2098a4 get_mempolicy.2: SYNOPSIS: fix return type of get_mempolicy()
See https://bugzilla.kernel.org/show_bug.cgi?id=97051

Reported-by: Nadav Har'El <nyh@math.technion.ac.il>
Reported-by: Andi Kleen <andi-bz.firstfloor.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-30 05:05:42 +02:00
Michael Kerrisk b758a50ab8 mmap.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-26 14:37:23 +02:00
Michael Kerrisk f1008f5f1d ioctl_userfaultfd.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-26 14:35:11 +02:00
Michael Kerrisk e710f10c36 sigaltstack.2: Note that specifying SS_ONSTACK in ss.ss_falgs decreases portability
In the Illumos source (which presumably mirrors its Solaris
ancestry), there is this check in the sigaltstack()
implementation:

               if (ss.ss_flags & ~SS_DISABLE)
                        return (set_errno(EINVAL));

And in the FreeBSD source we find similar:

                if ((ss->ss_flags & ~SS_DISABLE) != 0)
                        return (EINVAL);

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-23 15:22:33 +02:00
Michael Kerrisk 1f5002208f sigaltstack.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-23 15:21:09 +02:00
Michael Kerrisk bc2fcb73cd sigaltstack.2: ERRORS: update description of EINVAL error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 20:35:57 +02:00
Michael Kerrisk 27009c9956 sigaltstack.2: Note buggy addition of ss.ss_flags==SS_ONSTACK
Note buggy addition of ss.ss_flags==SS_ONSTACK as a synonym
for ss_flags==0. No other implemenation does this, AFAIK.
And it was not needed :-(.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 20:27:53 +02:00
Michael Kerrisk 1614a08551 sigaltstack.2: Some minor reworking of the text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 15:54:07 +02:00
Michael Kerrisk b3e2be839b sigaltstack.2: Specifying 'ss' returns the current settings without changing them
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 15:38:12 +02:00
Michael Kerrisk 5270d24e4f sigaltstack.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 15:12:56 +02:00
Michael Kerrisk 6635bc0197 sigaltstack.2: Give 'oss' argument a more meaningful name: 'old_ss'
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 15:06:04 +02:00
Michael Kerrisk eddeadede6 membarrier.2: Add ENOSYS error for 'nohz_full' CPU setting
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 14:47:10 +02:00
Michael Kerrisk efaf088ef7 timer_create.2: Document the CONFIG_POSIX_TIMERS option added in Linux 4.10
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-22 14:26:04 +02:00
Michael Kerrisk 547ee3197d mount.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:59:25 +02:00
Michael Kerrisk 9edbd6867b mount.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:57:58 +02:00
Michael Kerrisk a422236758 mount.2: Minor tweaks to NeilBrown's patch
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:57:29 +02:00
Michael Kerrisk 0e1a971b94 mount.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:55:21 +02:00
NeilBrown c84a877924 mount.2: Revise description of MS_REMOUNT | MS_BIND
MS_REMOUNT|MS_BIND affect all per-mount-point
flag.  MS_RDONLY is only special because it,
uniquely, is both a per-mount-point flag *and* a
per-filesystem flag.

So the sections of per-mount-point flags and
MS_REMOUNT can usefully be clarified.

Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-21 11:53:13 +02:00
Michael Kerrisk 991c24c881 epoll_wait.2: Clarify semantics of returned 'data' field
The returned 'data' is the 'data' most recently set via
epoll_ctl().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-20 21:02:00 +02:00
Michael Kerrisk 1b564a4bbc epoll_wait.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-20 20:41:36 +02:00
Jakub Wilk 0fdca71834 sched_setaffinity.2: tfix
Remove duplicated word.

Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-13 13:13:18 +02:00
Michael Kerrisk bcaf6dc0e0 sched_setaffinity.2: Mention cpuset cgroups as a cause of EINVAL error
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-07 21:05:04 +02:00
Michael Kerrisk b9472299a6 chown.2: When file owner or group is changed, file capabilities are cleared
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-06 13:47:27 +02:00
Michael Kerrisk fbfbde8feb chown.2: Changes to file owner by root also clear set-UID and set-GID bits
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-06 13:42:46 +02:00
Michael Kerrisk 16ee728520 setns.2: Minor clarification of details for PID namespaces
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-06 13:29:09 +02:00
Michael Kerrisk 99cf16816c Removed trailing white space at end of lines 2017-05-03 19:28:59 +02:00
Michael Kerrisk 734882f4c4 _exit.2, alarm.2, chmod.2, clone.2, epoll_ctl.2, fcntl.2, fork.2, fsync.2, getdents.2, getpid.2, ioctl.2, ioctl_console.2, ioctl_list.2, ioctl_ns.2, ioctl_tty.2, ioctl_userfaultfd.2, kexec_load.2, lseek.2, mincore.2, mkdir.2, mknod.2, mmap.2, open.2, poll.2, posix_fadvise.2, prctl.2, rename.2, sched_setaffinity.2, select.2, select_tut.2, sigaction.2, signalfd.2, sigprocmask.2, sigwaitinfo.2, socketcall.2, stat.2, statx.2, syscalls.2, truncate.2, umask.2, unshare.2, userfaultfd.2, utime.2, utimensat.2, wait.2, bzero.3, cfree.3, exit.3, getentropy.3, grantpt.3, insque.3, shm_open.3, syslog.3, termios.3, ttyname.3, wcsdup.3, console_codes.4, tty.4, vcs.4, elf.5, nsswitch.conf.5, proc.5, slabinfo.5, tmpfs.5, bootparam.7, environ.7, hostname.7, inotify.7, mailaddr.7, man-pages.7, namespaces.7, pid_namespaces.7, pthreads.7, pty.7, sem_overview.7, signal.7, socket.7, tcp.7, termio.7, user_namespaces.7, xattr.7, ld.so.8, zdump.8: tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-03 19:27:48 +02:00
Michael Kerrisk 94a8ebdab2 userfaultfd.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-02 22:27:07 +02:00
Jakub Wilk b5fe851595 socket.2, ip.7: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-02 22:16:46 +02:00
Michael Kerrisk f0ea168c3e ioctl_console.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-02 22:15:45 +02:00
Jakub Wilk c27131bcec ioctl_console.2: tfix
Signed-off-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-02 22:14:42 +02:00
Michael Kerrisk 522ab2ff6f userfaultfd.2: Add a few details on UFFD_EVENT_FORK
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 14:14:37 +02:00
Michael Kerrisk 265225c1e2 userfaultfd.2: Minor tweaks to Mike Rapoport's patches
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:32:56 +02:00
Michael Kerrisk 5191c68806 ioctl_userfaultfd.2: Minor tweaks to Mike Rapoport's patches
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:24:10 +02:00
Mike Rapoport be9021b1bb userfaultfd.2: Update VERSIONS section with 4.11 changes
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:10:10 +02:00
Mike Rapoport 20050169e1 userfaultfd.2: Add note about asynchronous event delivery
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:08:43 +02:00
Mike Rapoport 53004b3ba0 ioctl_userfaultfd.2: Add BUGS section
The features handshake is not quite convenient.
Elaborate about it in the BUGS section.

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:05:26 +02:00
Mike Rapoport 337405ef74 ioctl_userfaultfd.2: UFFDIO_COPY: add ENOENT and ENOSPC description
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:03:58 +02:00
Mike Rapoport 41e9e6485a ioctl_userfaultfd.2: Update description of shared memory areas
Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-05-01 13:03:05 +02:00
Michael Kerrisk 981ffc70eb syscalls.2: Update kernel version number
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-28 12:23:46 +02:00
Michael Kerrisk 2156a7330b syscalls.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2017-04-28 12:23:28 +02:00