diff options
author | Andrew G. Morgan <morgan@kernel.org> | 2008-05-12 22:22:13 -0700 |
---|---|---|
committer | Andrew G. Morgan <morgan@kernel.org> | 2008-05-12 22:22:13 -0700 |
commit | 0d17ea9c9d9504b91205f0c362009b7fa719bb94 (patch) | |
tree | 66319480c71392b377ce667053c7faa5de9cc1bf | |
parent | 8f9b581bbc69242bfb8933c3e1a679ba69294aa5 (diff) | |
download | libcap-0d17ea9c9d9504b91205f0c362009b7fa719bb94.tar.gz |
Minor fixup.
Signed-off-by: Andrew G. Morgan <morgan@kernel.org>
-rw-r--r-- | doc/cap_get_file.3 | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/cap_get_file.3 b/doc/cap_get_file.3 index a114b4e..0ed1249 100644 --- a/doc/cap_get_file.3 +++ b/doc/cap_get_file.3 @@ -54,13 +54,15 @@ contents of A NULL value for .IR cap_p is used to indicate that capabilities for the file should be deleted. -For these functions to succeed, the calling process must have the effective -.B CAP_SETFCAP -capability enabled and either the effective user ID of the process must match -the file owner or the calling process must have the effective flag of the +For these functions to succeed, the calling process must have the +effective capability, +.BR CAP_SETFCAP , +enabled and either the effective user ID of the process must match the +file owner or the calling process must have the .B CAP_FOWNER -capability set. The effects of writing the capability state to any file -type other than a regular file are undefined. +flag in its effective capability set. The effects of writing the +capability state to any file type other than a regular file are +undefined. .SH "RETURN VALUE" .BR cap_get_file () and |