]> git.ipfire.org Git - thirdparty/man-pages.git/log
thirdparty/man-pages.git
9 years agoexecve.2, fexecve.3: SEE ALSO: add execveat(2)
Michael Kerrisk [Fri, 9 Jan 2015 13:25:05 +0000 (14:25 +0100)] 
execve.2, fexecve.3: SEE ALSO: add execveat(2)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoexecveat.2: Initial man page for execveat(2)
David Drysdale [Mon, 24 Nov 2014 11:53:59 +0000 (11:53 +0000)] 
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>
9 years agopthreads.7: tfix
Michael Kerrisk [Fri, 16 Jan 2015 07:26:49 +0000 (08:26 +0100)] 
pthreads.7: tfix

Reported-by: Michael Hayes <mike@aiinc.ca>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agocapabilities.7: Minor improvement of detail
Michael Kerrisk [Fri, 16 Jan 2015 07:15:05 +0000 (08:15 +0100)] 
capabilities.7: Minor improvement of detail

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agocapabilities.7: tfix
Michael Kerrisk [Fri, 16 Jan 2015 07:13:29 +0000 (08:13 +0100)] 
capabilities.7: tfix

Reported-by: Christian Seiler <christian@iwakd.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoperf_event_open.2: ffix
Michael Kerrisk [Fri, 16 Jan 2015 07:05:53 +0000 (08:05 +0100)] 
perf_event_open.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosetup.2: ffix
Michael Kerrisk [Fri, 16 Jan 2015 07:05:00 +0000 (08:05 +0100)] 
setup.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agollseek.2: srcfix
Michael Kerrisk [Fri, 16 Jan 2015 07:02:57 +0000 (08:02 +0100)] 
llseek.2: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosetns.2: ffix
Michael Kerrisk [Fri, 16 Jan 2015 07:01:01 +0000 (08:01 +0100)] 
setns.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoconnect.2: ffix
Michael Kerrisk [Fri, 16 Jan 2015 06:59:52 +0000 (07:59 +0100)] 
connect.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agotowupper.3: ffix
Michael Kerrisk [Fri, 16 Jan 2015 06:56:01 +0000 (07:56 +0100)] 
towupper.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agotowlower.3: ffix
Michael Kerrisk [Fri, 16 Jan 2015 06:55:51 +0000 (07:55 +0100)] 
towlower.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoresolv.conf.5: ffix
Michael Kerrisk [Fri, 16 Jan 2015 06:55:40 +0000 (07:55 +0100)] 
resolv.conf.5: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosched_setattr.2: ffix
Michael Kerrisk [Fri, 16 Jan 2015 06:55:31 +0000 (07:55 +0100)] 
sched_setattr.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: ffix
Michael Kerrisk [Fri, 16 Jan 2015 06:55:21 +0000 (07:55 +0100)] 
seccomp.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoexecve.2: ffix
Michael Kerrisk [Fri, 16 Jan 2015 06:55:01 +0000 (07:55 +0100)] 
execve.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoalarm.2: ffix
Michael Kerrisk [Fri, 16 Jan 2015 06:54:43 +0000 (07:54 +0100)] 
alarm.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agouser_namespaces.7: tfix
Michael Kerrisk [Fri, 16 Jan 2015 06:50:15 +0000 (07:50 +0100)] 
user_namespaces.7: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agolocale.5: Correct variable name
Akihiro Motoki [Thu, 15 Jan 2015 17:26:18 +0000 (02:26 +0900)] 
locale.5: Correct variable name

I think "positive_sign" is used.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoadjtimex.2: ffix
Akihiro Motoki [Thu, 15 Jan 2015 17:24:17 +0000 (02:24 +0900)] 
adjtimex.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agopid_namespaces.7: wfix
Akihiro Motoki [Thu, 15 Jan 2015 17:23:40 +0000 (02:23 +0900)] 
pid_namespaces.7: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoprintf.3: ffix
Akihiro Motoki [Thu, 15 Jan 2015 17:22:43 +0000 (02:22 +0900)] 
printf.3: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agorename.2: tfix
Akihiro Motoki [Fri, 16 Jan 2015 06:45:23 +0000 (07:45 +0100)] 
rename.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetpw.3: Describe return value when 'uid' is not found
Michael Kerrisk [Fri, 16 Jan 2015 06:43:03 +0000 (07:43 +0100)] 
getpw.3: Describe return value when 'uid' is not found

Reported-by: Carlos O'Donell <carlos@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agounshare.2: ffix
Akihiro Motoki [Thu, 15 Jan 2015 17:21:28 +0000 (02:21 +0900)] 
unshare.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoclone.2: ffix
Akihiro Motoki [Thu, 15 Jan 2015 17:20:53 +0000 (02:20 +0900)] 
clone.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetpwent_r.3: wfix
Carlos O'Donell [Fri, 16 Jan 2015 03:42:07 +0000 (22:42 -0500)] 
getpwent_r.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetgrent_r.3: wfix
Carlos O'Donell [Fri, 16 Jan 2015 03:42:19 +0000 (22:42 -0500)] 
getgrent_r.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetline.3: Consistency fix: use "stream" as name for "FILE *" argument
Michael Kerrisk [Fri, 16 Jan 2015 06:11:25 +0000 (07:11 +0100)] 
getline.3: Consistency fix: use "stream" as name for "FILE *" argument

Inspired by Carlos O'Donell's recent patches.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agofopencookie.3: Consistency fix: use "stream" as name for "FILE *" argument
Michael Kerrisk [Fri, 16 Jan 2015 06:10:52 +0000 (07:10 +0100)] 
fopencookie.3: Consistency fix: use "stream" as name for "FILE *" argument

Inspired by Carlos O'Donell's recent patches.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agofmemopen.3: Consistency fix: use "stream" as name for "FILE *" argument
Michael Kerrisk [Fri, 16 Jan 2015 06:08:45 +0000 (07:08 +0100)] 
fmemopen.3: Consistency fix: use "stream" as name for "FILE *" argument

Inspired by Carlos O'Donell's patches.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetpwent_r.3: wfix
Michael Kerrisk [Fri, 16 Jan 2015 05:58:18 +0000 (06:58 +0100)] 
getpwent_r.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetspnam.3: wfix
Michael Kerrisk [Fri, 16 Jan 2015 05:57:47 +0000 (06:57 +0100)] 
getspnam.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetgrent_r.3: wfix
Michael Kerrisk [Fri, 16 Jan 2015 05:56:25 +0000 (06:56 +0100)] 
getgrent_r.3: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetmntent.3: Consistency fix: use "stream" as name for "FILE *" argument
Carlos O'Donell [Fri, 16 Jan 2015 03:18:33 +0000 (22:18 -0500)] 
getmntent.3: Consistency fix: use "stream" as name for "FILE *" argument

Harmonize all the manual pages to use "stream" for FILE*
instead of randomly using "fp" or "stream." Choosing something
and being consistent helps users scan the man pages quickly
and understand what they are looking at.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetpwent_r.3: Consistency fix: use "stream" as name for "FILE *" argument
Carlos O'Donell [Fri, 16 Jan 2015 03:18:26 +0000 (22:18 -0500)] 
getpwent_r.3: Consistency fix: use "stream" as name for "FILE *" argument

Harmonize all the manual pages to use "stream" for FILE*
instead of randomly using "fp" or "stream." Choosing something
and being consistent helps users scan the man pages quickly
and understand what they are looking at.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetspnam.3: Consistency fix: use "stream" as name for "FILE *" argument
Carlos O'Donell [Fri, 16 Jan 2015 03:18:21 +0000 (22:18 -0500)] 
getspnam.3: Consistency fix: use "stream" as name for "FILE *" argument

Harmonize all the manual pages to use "stream" for FILE*
instead of randomly using "fp" or "stream." Choosing something
and being consistent helps users scan the man pages quickly
and understand what they are looking at.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetgrent_r.3: Consistency fix: use "stream" as name for "FILE *" argument
Carlos O'Donell [Fri, 16 Jan 2015 03:18:16 +0000 (22:18 -0500)] 
getgrent_r.3: Consistency fix: use "stream" as name for "FILE *" argument

Harmonize all the manual pages to use "stream" for FILE*
instead of randomly using "fp" or "stream." Choosing something
and being consistent helps users scan the man pages quickly
and understand what they are looking at.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agomalloc_info.3: Consistency fix: use "stream" as name for "FILE *" argument
Carlos O'Donell [Fri, 16 Jan 2015 03:18:29 +0000 (22:18 -0500)] 
malloc_info.3: Consistency fix: use "stream" as name for "FILE *" argument

Harmonize all the manual pages to use "stream" for FILE*
instead of randomly using "fp" or "stream." Choosing something
and being consistent helps users scan the man pages quickly
and understand what they are looking at.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoputgrent.3: Consistency fix: use "stream" as name for "FILE *" argument
Carlos O'Donell [Fri, 16 Jan 2015 03:18:24 +0000 (22:18 -0500)] 
putgrent.3: Consistency fix: use "stream" as name for "FILE *" argument

Harmonize all the manual pages to use "stream" for FILE*
instead of randomly using "fp" or "stream." Choosing something
and being consistent helps users scan the man pages quickly
and understand what they are looking at.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agofclose.3: Consistency fix: use "stream" as name for "FILE *" argument
Carlos O'Donell [Fri, 16 Jan 2015 03:18:18 +0000 (22:18 -0500)] 
fclose.3: Consistency fix: use "stream" as name for "FILE *" argument

Harmonize all the manual pages to use "stream" for FILE*
instead of randomly using "fp" or "stream." Choosing something
and being consistent helps users scan the man pages quickly
and understand what they are looking at.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetrlimit.2: Reformat EPERM error cases into separate entries
Michael Kerrisk [Tue, 13 Jan 2015 10:33:36 +0000 (11:33 +0100)] 
getrlimit.2: Reformat EPERM error cases into separate entries

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agogetrlimit.2: Update text on RLIMIT_NOFILE ceiling to refer to /proc/sys/fs/file-max
Michael Kerrisk [Tue, 13 Jan 2015 10:31:16 +0000 (11:31 +0100)] 
getrlimit.2: Update text on RLIMIT_NOFILE ceiling to refer to /proc/sys/fs/file-max

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoproc.5: Remove bogus statement about NR_OPEN being a ceiling for file-max
Michael Kerrisk [Tue, 13 Jan 2015 10:26:44 +0000 (11:26 +0100)] 
proc.5: Remove bogus statement about NR_OPEN being a ceiling for file-max

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoproc.5: Document /proc/sys/fs/nr_open
Michael Kerrisk [Tue, 13 Jan 2015 10:15:05 +0000 (11:15 +0100)] 
proc.5: Document /proc/sys/fs/nr_open

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoselect.2: Mention RLIMIT_NOFILE as a possible cause of EINVAL error
Michael Kerrisk [Tue, 13 Jan 2015 09:28:34 +0000 (10:28 +0100)] 
select.2: Mention RLIMIT_NOFILE as a possible cause of EINVAL error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoopen.2: Refer to RLIMIT_NOFILE for explanation of EMFILE error
Michael Kerrisk [Tue, 13 Jan 2015 09:26:41 +0000 (10:26 +0100)] 
open.2: Refer to RLIMIT_NOFILE for explanation of EMFILE error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoerrno.3: The RLIMIT_NOFILE resource limit is a common cause of EMFILE
Michael Kerrisk [Tue, 13 Jan 2015 09:23:30 +0000 (10:23 +0100)] 
errno.3: The RLIMIT_NOFILE resource limit is a common cause of EMFILE

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agodup.2: Add reference to RLIMIT_NOFILE for EMFILE error
Michael Kerrisk [Tue, 13 Jan 2015 09:19:46 +0000 (10:19 +0100)] 
dup.2: Add reference to RLIMIT_NOFILE for EMFILE error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agofcntl.2: Add reference to RLIMIT_NOFILE for F_DUPFD EINVAL error on 'arg'.
Michael Kerrisk [Tue, 13 Jan 2015 09:17:50 +0000 (10:17 +0100)] 
fcntl.2: Add reference to RLIMIT_NOFILE for F_DUPFD EINVAL error on 'arg'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agodup.2: Add reference to RLIMIT_NOFILE for EBADF error on 'newfd'.
Michael Kerrisk [Tue, 13 Jan 2015 09:15:45 +0000 (10:15 +0100)] 
dup.2: Add reference to RLIMIT_NOFILE for EBADF error on 'newfd'.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agodup.2: wfix
Michael Kerrisk [Tue, 13 Jan 2015 09:14:10 +0000 (10:14 +0100)] 
dup.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoget_robust_list.2: VERSIONS: Remove redundant statement about using syscall(2)
Michael Kerrisk [Mon, 12 Jan 2015 11:31:53 +0000 (12:31 +0100)] 
get_robust_list.2: VERSIONS: Remove redundant statement about using syscall(2)

This point is also covered in NOTES; no need to duplicate.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoStart of man-pages-3.78: updating Changes and Changes.old
Michael Kerrisk [Sat, 10 Jan 2015 15:09:05 +0000 (16:09 +0100)] 
Start of man-pages-3.78: updating Changes and Changes.old

9 years agoStart of man-pages-3.78: updating .Announce and .lsm files
Michael Kerrisk [Sat, 10 Jan 2015 15:09:05 +0000 (16:09 +0100)] 
Start of man-pages-3.78: updating .Announce and .lsm files

9 years agoStart of man-pages-3.78: renaming .Announce and .lsm files
Michael Kerrisk [Sat, 10 Jan 2015 15:09:05 +0000 (16:09 +0100)] 
Start of man-pages-3.78: renaming .Announce and .lsm files

9 years agoReady for 3.77 man-pages-3.77
Michael Kerrisk [Sat, 10 Jan 2015 15:05:57 +0000 (16:05 +0100)] 
Ready for 3.77

9 years agoChanges: Expanded tabs
Michael Kerrisk [Sat, 10 Jan 2015 15:05:50 +0000 (16:05 +0100)] 
Changes: Expanded tabs

9 years agoperf_event_open.2, seccomp.2, setns.2, shmget.2, memchr.3, pthread_tryjoin_np.3,...
Michael Kerrisk [Sat, 10 Jan 2015 15:05:01 +0000 (16:05 +0100)] 
perf_event_open.2, seccomp.2, setns.2, shmget.2, memchr.3, pthread_tryjoin_np.3, strstr.3, random.4, epoll.7, netlink.7, pid_namespaces.7, tcp.7: tstamp

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoChanges: Ready for 3.77
Michael Kerrisk [Sat, 10 Jan 2015 15:02:28 +0000 (16:02 +0100)] 
Changes: Ready for 3.77

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoprctl.2: Some tweaks to Dave Handsen's patch
Michael Kerrisk [Sat, 10 Jan 2015 14:15:03 +0000 (15:15 +0100)] 
prctl.2: Some tweaks to Dave Handsen's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoprctl.2: Add description of Intel MPX calls
Dave Hansen [Sat, 10 Jan 2015 14:03:47 +0000 (15:03 +0100)] 
prctl.2: Add description of Intel MPX calls

The 3.19 kernel will have support for Intel MPX, including
a pair of new prctl() calls (PR_MPX_ENABLE_MANAGEMENT and
PR_MPX_DISABLE_MANAGEMENT) for enabling and disabling the
kernel's management of the "bounds tables".  Add a
descriptions of the interface.

The kernel patches were written by myself and another Intel
developer.

Signed-off-by: Dave Hansen <dave.hansen@intel.com>
Cc: Qiaowei Ren <qiaowei.ren@intel.com>
Cc: linux-man@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agorandom.4: tfix
Michael Kerrisk [Sat, 10 Jan 2015 13:55:57 +0000 (14:55 +0100)] 
random.4: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agorandom.4: Mention PRNG used by urandom
Heinrich Schuchardt [Wed, 26 Nov 2014 22:58:29 +0000 (23:58 +0100)] 
random.4: Mention PRNG used by urandom

/dev/urandom uses a pseudo-random number generator to replace
missing entropy.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agorandom.4: Describe handling of O_NONBLOCK
Heinrich Schuchardt [Wed, 26 Nov 2014 22:56:05 +0000 (23:56 +0100)] 
random.4: Describe handling of O_NONBLOCK

/dev/random and /dev/urandom treat O_NONBLOCK differently.
This should be described in the manpage.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoperf_event_open.2: Clarify the PERF_FLAG_FD_* flags
Vince Weaver [Thu, 8 Jan 2015 17:04:30 +0000 (12:04 -0500)] 
perf_event_open.2: Clarify the PERF_FLAG_FD_* flags

This change clarifies the behavior of the PERF_FLAG_FD_OUTPUT and
PERF_FLAG_FD_NO_GROUP flags to perf_event_open(), and removes
the related FIXME comments.

While writing tests to validate the behavior of these flags I
discovered that PERF_FLAG_FD_OUTPUT has been broken since the
2.6.35 kernel release.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoproc.5: tfix
Michael Kerrisk [Thu, 8 Jan 2015 13:10:53 +0000 (14:10 +0100)] 
proc.5: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoperf_event_open.2: tfix
Vince Weaver [Wed, 7 Jan 2015 17:37:17 +0000 (12:37 -0500)] 
perf_event_open.2: tfix

There was a typo with the name of PERF_ATTR_SIZE_VER3

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: srcfix: Remove a FIXME
Michael Kerrisk [Wed, 7 Jan 2015 12:39:33 +0000 (13:39 +0100)] 
seccomp.2: srcfix: Remove a FIXME

Quoting Daniel's response to my FIXME

> Still hoping to hear from Will Drewy regarding this FIXME in the
> page source:
>
> .\" FIXME What is the significance of the line
> .\"           ftest->code = BPF_LDX | BPF_W | BPF_ABS;
> .\"       in kernel/seccomp.c::seccomp_check_filter()?

This came in from our rework via commit bd4cf0ed331a ("net: filter:
rework/optimize internal BPF interpreter's instruction set"), and
is kernel-internal only, and unused in classic BPF. It translates
into A = *(u32 *) (ctx + K) and will basically load an offset from
the populated seccomp_data (= ctx) to A. For the man-page itself
it has therefore no relevance, hope that clarifies it.

Reviewed-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: wfix
Michael Kerrisk [Wed, 7 Jan 2015 12:20:02 +0000 (13:20 +0100)] 
seccomp.2: wfix

Revert a wording change, as suggested by Kees Cook.

Reported-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: A process's seccomp mode is viewable via /proc/PID/status "Seccomp"
Michael Kerrisk [Wed, 7 Jan 2015 10:30:56 +0000 (11:30 +0100)] 
seccomp.2: A process's seccomp mode is viewable via /proc/PID/status "Seccomp"

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoprctl.2: Suggest /proc/PID/status "Seccomp" as alternative to PRCTL_GET_SECCOMP
Michael Kerrisk [Wed, 7 Jan 2015 10:26:40 +0000 (11:26 +0100)] 
prctl.2: Suggest /proc/PID/status "Seccomp" as alternative to PRCTL_GET_SECCOMP

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoprctl.2: SIGKILL can also occur PRCTL_GET_SECCOMP in SECCOMP_MODE_FILTER mode
Michael Kerrisk [Wed, 7 Jan 2015 10:23:02 +0000 (11:23 +0100)] 
prctl.2: SIGKILL can also occur PRCTL_GET_SECCOMP in SECCOMP_MODE_FILTER mode

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoproc.5: Document "Seccomp" field of /proc/PID/status
Michael Kerrisk [Wed, 7 Jan 2015 10:14:41 +0000 (11:14 +0100)] 
proc.5: Document "Seccomp" field of /proc/PID/status

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: Changes after review feedback by Kees Cook
Michael Kerrisk [Tue, 30 Dec 2014 20:25:02 +0000 (21:25 +0100)] 
seccomp.2: Changes after review feedback by Kees Cook

Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: srcfx: Add FIXME
Michael Kerrisk [Tue, 30 Dec 2014 12:00:00 +0000 (13:00 +0100)] 
seccomp.2: srcfx: Add FIXME

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: Minor fix
Michael Kerrisk [Tue, 30 Dec 2014 11:54:01 +0000 (12:54 +0100)] 
seccomp.2: Minor fix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: Tweak an argument name
Michael Kerrisk [Tue, 30 Dec 2014 11:53:23 +0000 (12:53 +0100)] 
seccomp.2: Tweak an argument name

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: EXAMPLE: Expand comments in the BPF program
Michael Kerrisk [Tue, 30 Dec 2014 11:52:18 +0000 (12:52 +0100)] 
seccomp.2: EXAMPLE: Expand comments in the BPF program

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: Rename arguments inside example program
Michael Kerrisk [Tue, 30 Dec 2014 11:42:30 +0000 (12:42 +0100)] 
seccomp.2: Rename arguments inside example program

Rename the arguments to install_filter() to improve readability
a little and to remove a little ambiguity. In particular, rename
'arch' to 't_arch' so that it does not get confused with the
seccomp_data field of the same name.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: Add subsection on seccomp-specific BPF details
Michael Kerrisk [Tue, 30 Dec 2014 11:35:39 +0000 (12:35 +0100)] 
seccomp.2: Add subsection on seccomp-specific BPF details

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: ffix
Michael Kerrisk [Tue, 30 Dec 2014 11:35:21 +0000 (12:35 +0100)] 
seccomp.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: ERRORS: add an EINVAL case
Michael Kerrisk [Tue, 30 Dec 2014 11:05:48 +0000 (12:05 +0100)] 
seccomp.2: ERRORS: add an EINVAL case

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: tfix
Michael Kerrisk [Tue, 30 Dec 2014 11:03:40 +0000 (12:03 +0100)] 
seccomp.2: tfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: Rework discussion of 'seccomp_data' buffer
Michael Kerrisk [Tue, 30 Dec 2014 10:54:29 +0000 (11:54 +0100)] 
seccomp.2: Rework discussion of 'seccomp_data' buffer

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: SEE ALSO: add Documentation/prctl/seccomp_filter.txt
Michael Kerrisk [Tue, 30 Dec 2014 09:48:48 +0000 (10:48 +0100)] 
seccomp.2: SEE ALSO: add Documentation/prctl/seccomp_filter.txt

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: Add reference to original Usenix BPF paper
Michael Kerrisk [Tue, 30 Dec 2014 09:47:36 +0000 (10:47 +0100)] 
seccomp.2: Add reference to original Usenix BPF paper

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: srcfix: Add FIXME
Michael Kerrisk [Tue, 30 Dec 2014 09:14:11 +0000 (10:14 +0100)] 
seccomp.2: srcfix: Add FIXME

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: ffix
Michael Kerrisk [Tue, 30 Dec 2014 09:06:11 +0000 (10:06 +0100)] 
seccomp.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: Mention <linux/audit.h>
Michael Kerrisk [Tue, 30 Dec 2014 09:05:42 +0000 (10:05 +0100)] 
seccomp.2: Mention <linux/audit.h>

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: wfix for EFAULT error
Michael Kerrisk [Tue, 30 Dec 2014 08:51:58 +0000 (09:51 +0100)] 
seccomp.2: wfix for EFAULT error

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: ffix
Michael Kerrisk [Tue, 30 Dec 2014 08:51:04 +0000 (09:51 +0100)] 
seccomp.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: srcfix
Michael Kerrisk [Tue, 30 Dec 2014 08:50:28 +0000 (09:50 +0100)] 
seccomp.2: srcfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: srcfix: Add FIXME
Michael Kerrisk [Tue, 30 Dec 2014 08:45:56 +0000 (09:45 +0100)] 
seccomp.2: srcfix: Add FIXME

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: Minor tweak to wording of ENOSYS error
Michael Kerrisk [Tue, 30 Dec 2014 08:42:17 +0000 (09:42 +0100)] 
seccomp.2: Minor tweak to wording of ENOSYS error

9 years agoseccomp.2: Rework discussion of 'siginfo_t' fields
Michael Kerrisk [Tue, 30 Dec 2014 08:38:57 +0000 (09:38 +0100)] 
seccomp.2: Rework discussion of 'siginfo_t' fields

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosigaction.2: srcfix: Add FIXME
Michael Kerrisk [Tue, 30 Dec 2014 08:32:46 +0000 (09:32 +0100)] 
sigaction.2: srcfix: Add FIXME

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agosigaction.2: Add siginfo_t fields for SECCOMP_RET_TRAP
Michael Kerrisk [Tue, 30 Dec 2014 08:26:12 +0000 (09:26 +0100)] 
sigaction.2: Add siginfo_t fields for SECCOMP_RET_TRAP

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: srcfix: Add FIXME
Michael Kerrisk [Tue, 30 Dec 2014 08:18:19 +0000 (09:18 +0100)] 
seccomp.2: srcfix: Add FIXME

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
9 years agoseccomp.2: Add reference to sigaction(2) under SECCOMP_RET_TRAP discussion
Michael Kerrisk [Tue, 30 Dec 2014 07:59:58 +0000 (08:59 +0100)] 
seccomp.2: Add reference to sigaction(2) under SECCOMP_RET_TRAP discussion

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>