From 4f15cc7406adb0decfb455cd0355564d42758647 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sun, 4 Jun 2000 22:14:10 +0000 Subject: [PATCH] o Fix incorrect descriptions of cap_get_flag() and cap_set_flag() in capabilities summary manpage, cap(3). Obtained from: TrustedBSD Project --- lib/libc/posix1e/cap.3 | 30 ++++++++++++++++++------------ lib/libposix1e/cap.3 | 30 ++++++++++++++++++------------ 2 files changed, 36 insertions(+), 24 deletions(-) diff --git a/lib/libc/posix1e/cap.3 b/lib/libc/posix1e/cap.3 index b36aced9774..b01d2c51401 100644 --- a/lib/libc/posix1e/cap.3 +++ b/lib/libc/posix1e/cap.3 @@ -71,25 +71,31 @@ This function is described in .Xr cap_free 3 , and may be used to free a capability structure. .Pp -.Fn cap_get_flag , +.Fn cap_get_flag +.Pp +This function, described in +.Xr cap_get_flag 3 , +allows retrieval of a capability flag value from capability state in +working store. +.Pp .Fn cap_get_proc .Pp -These functions, described in -.Xr cap_get_flag 3 , -and +this function, described in .Xr cap_get_proc 3 , -allow retrieval of capability flags from a file, and capability state from -the current process. +allows retrieval of capability state for the current process. +.Pp +.Fn cap_set_flag +.Pp +This function, described in +.Xr cap_set_flag 3 , +allows setting of capability flag values in a capability structure held +in the working store. .Pp -.Fn cap_set_flag , .Fn cap_set_proc .Pp -These functions, described in -.Xr cap_set_flag 3 , -and +This function, described in .Xr cap_set_proc 3 , -allow setting of the capability flags for a file, and capability state for -the current process. +allows setting of the current process capability state. Documentation of the internal kernel interfaces backing these calls may be found in diff --git a/lib/libposix1e/cap.3 b/lib/libposix1e/cap.3 index b36aced9774..b01d2c51401 100644 --- a/lib/libposix1e/cap.3 +++ b/lib/libposix1e/cap.3 @@ -71,25 +71,31 @@ This function is described in .Xr cap_free 3 , and may be used to free a capability structure. .Pp -.Fn cap_get_flag , +.Fn cap_get_flag +.Pp +This function, described in +.Xr cap_get_flag 3 , +allows retrieval of a capability flag value from capability state in +working store. +.Pp .Fn cap_get_proc .Pp -These functions, described in -.Xr cap_get_flag 3 , -and +this function, described in .Xr cap_get_proc 3 , -allow retrieval of capability flags from a file, and capability state from -the current process. +allows retrieval of capability state for the current process. +.Pp +.Fn cap_set_flag +.Pp +This function, described in +.Xr cap_set_flag 3 , +allows setting of capability flag values in a capability structure held +in the working store. .Pp -.Fn cap_set_flag , .Fn cap_set_proc .Pp -These functions, described in -.Xr cap_set_flag 3 , -and +This function, described in .Xr cap_set_proc 3 , -allow setting of the capability flags for a file, and capability state for -the current process. +allows setting of the current process capability state. Documentation of the internal kernel interfaces backing these calls may be found in