diff options
Diffstat (limited to 'lib/libutil/_secure_path.3')
-rw-r--r-- | lib/libutil/_secure_path.3 | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libutil/_secure_path.3 b/lib/libutil/_secure_path.3 index 5e762a160661..d4e316fed134 100644 --- a/lib/libutil/_secure_path.3 +++ b/lib/libutil/_secure_path.3 @@ -25,17 +25,13 @@ .Sh NAME .Nm _secure_path .Nd determine if a file appears to be secure +.Sh LIBRARY +.Lb libutil .Sh SYNOPSIS .Fd #include <sys/types.h> .Fd #include <libutil.h> .Ft int .Fn _secure_path "const char *path" "uid_t uid" "gid_t gid" -.Pp -Link with -.Va -lutil -on the -.Xr cc 1 -command line. .Sh DESCRIPTION This function does some basic security checking on a given path. It is intended to be used by processes running with root privileges @@ -71,7 +67,7 @@ to eliminate race conditions between use of this function and access to the file referenced. .Sh SEE ALSO .Xr lstat 2 , -.Xr syslog 3 . +.Xr syslog 3 .Sh HISTORY Code from which this function was derived was contributed to the .Fx |