prctl.2: Clarify that PR_GET_SECCOMP is returned as function result

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-02-22 09:44:02 +01:00
parent adea52c735
commit 5e91816c99
1 changed files with 2 additions and 1 deletions

View File

@ -407,7 +407,8 @@ For further information, see the kernel source file
.IR Documentation/prctl/seccomp_filter.txt .
.TP
.BR PR_GET_SECCOMP " (since Linux 2.6.23)"
Return the secure computing mode of the calling thread.
Return (as the function result)
the secure computing mode of the calling thread.
If the caller is not in secure computing mode, this operation returns 0;
if the caller is in strict secure computing mode, then the
.BR prctl ()