Commit Graph

12251 Commits

Author SHA1 Message Date
Michael Kerrisk b58839b96d syscalls.2: Remove some details for sync_file_range2()
Make the table a bit simpler. The details can anyway be
found in the system call man page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 19:56:05 +01:00
Michael Kerrisk e7fa750a9f syscalls.2: Note kernel version that added setup()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 19:56:05 +01:00
Michael Kerrisk 9fd8b7fde8 syscalls.2: Note kernel version that introduced ppc_rtas()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 19:56:05 +01:00
Michael Kerrisk a0bd8202e2 syscalls.2: Note kernel version that introduced create_module()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 19:56:05 +01:00
Michael Kerrisk 4c68ac9e7b syscalls.2: Note kernel() version that introduced get_kernel_syms()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 19:56:05 +01:00
Michael Kerrisk aeddd876bd syscalls.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 19:56:04 +01:00
Michael Kerrisk 283d423485 syscalls.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 19:56:04 +01:00
Michael Kerrisk 59ec79036c syscalls.2: Simplify table entry for subpage_prot()
We don't need the CONFIG option in the table.
That info can be found in the corresponding page.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 19:56:04 +01:00
Michael Kerrisk dc0fac140f syscalls.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 19:56:04 +01:00
Michael Kerrisk 85ac872923 syscalls.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 19:56:04 +01:00
Michael Kerrisk 70fdf8d0ae syscall.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 19:56:04 +01:00
Michael Kerrisk 398e08eb96 syscall.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 12:56:03 +01:00
Michael Kerrisk c046724a10 syscall.2: Reformat "bool error" information
Take the "bool error" info into a separate paragraph,
so that the table does not exceed 80 columns.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 12:56:03 +01:00
Kees Cook 1a145eee77 syscall.2: add arm64 and mips
Added mips to tables. Extra column added for boolean error register, since
both ia64 and mips use this convention. Added explicit non-register argument
passing note for mips/o32.

Added arm64 to tables.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 12:35:16 +01:00
Michael Kerrisk ff953a8de7 sigaction.2: Minor fix: consistent sentence formatting in 'si_code' lists
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 12:33:06 +01:00
Michael Kerrisk eb83484fc5 sigaction.2: Minor fix: format kernel version numbers consistently in 'si_code' lists
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 12:29:06 +01:00
Michael Kerrisk d443e2fa9d sigaction.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 12:23:46 +01:00
Michael Kerrisk b11bccf833 sigaction.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 12:20:59 +01:00
Michael Kerrisk c937b9736e sigaction.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 12:16:55 +01:00
Michael Kerrisk e1954b031a sigaction.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 12:14:48 +01:00
Michael Kerrisk 81c5080b1b ptrace.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 12:14:48 +01:00
Kees Cook 3b4a59c4b5 ptrace.2, sigaction.2, seccomp.2: Ptrace and siginfo details
While writing some additional seccomp tests, I realized
PTRACE_EVENT_SECCOMP wasn't documented yet. Fixed this, and added
additional notes related to ptrace events SIGTRAP details.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 12:04:32 +01:00
Michael Kerrisk cba24a98ad utimensat.2: If both tv_sec fields are UTIME_OMIT, the file need not exist
As noted by Elliot, if both tv_sec fields are UTIME_OMIT,
utimensat() will return success even if the file does not exist.

Reported-by: Elliot Hughes <enh@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-18 11:45:29 +01:00
Michael Kerrisk 8a11899c69 getpw.3: tfix
Reported-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 23:20:00 +01:00
Jessica McKellar dc70d1eaef ld.so.8: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:07:43 +01:00
Michael Kerrisk 9a593da7ff fexecve.3: Rewrite the script+close-on-exec problem as a BUG
Also, add one or two details about this scenario.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:07:43 +01:00
Michael Kerrisk 67fc42b56d fexecve.3: The natural idiom when using fexecve() is to use the close-on-exec flag
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:07:43 +01:00
Michael Kerrisk 9ee7f40f2d execveat.2: Minor change to text in BUGS on close-on-exec problem
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk dacc6cbc7f execveat.2: tfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk f946944d1f execveat.2: Note that employing the close-on-exec flag is usually desirable
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk 18650061b6 execveat.2: Note the value of argv[0] passed to script interpreters
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk b1724c3de4 execveat.2: The error for AT_SYMLINK_NOFOLLOW on a symlink is ELOOP (not EINVAL)
Reported-by: David Drysdale <drysdale@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk 7ef75421c5 execveat.2: BUGS: Describe the close-on-exec problem for scripts
Reported-by: Rich Felker <dalias@aerifal.cx>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk b36bbd106e execveat.2: Add EINVAL case for AT_SYMLINK_NOFOLLOW
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk bc9f7981b7 execveat.2: Add CONFORMING TO section
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk c40eae388e execveat.2: Note that glibc support is not yet provided
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk 2dd8ff89ef execveat.2: Light edits to new page
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk 9dabaedf87 fexecve.3: srcfix: Add FIXME
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk c6a167837c open.2: Add execveat(2) in system call list under "Rationale for openat()"
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk 6251424c35 exec.3: SEE ALSO: add execveat(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk a940759fc0 execve.2, fexecve.3: SEE ALSO: add execveat(2)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
David Drysdale 53652782ae execveat.2: Initial man page for execveat(2)
Signed-off-by: David Drysdale <drysdale@google.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 15:05:09 +01:00
Michael Kerrisk c17d5bac2e pthreads.7: tfix
Reported-by: Michael Hayes <mike@aiinc.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 08:26:49 +01:00
Michael Kerrisk f5ac5bbfd4 capabilities.7: Minor improvement of detail
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 08:15:05 +01:00
Michael Kerrisk a2d5944156 capabilities.7: tfix
Reported-by: Christian Seiler <christian@iwakd.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 08:13:29 +01:00
Michael Kerrisk cc19ea28a7 perf_event_open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 08:05:53 +01:00
Michael Kerrisk 146c322304 setup.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 08:05:00 +01:00
Michael Kerrisk 034369069f llseek.2: srcfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 08:02:57 +01:00
Michael Kerrisk 577b1ed5bb setns.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 08:01:01 +01:00
Michael Kerrisk 536f641b82 connect.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
2015-01-16 07:59:52 +01:00