diff options
author | rwatson <rwatson@FreeBSD.org> | 2004-06-17 16:08:36 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2004-06-17 16:08:36 +0000 |
commit | 41d29518c87aa114ec1dae6fb268430677b889b9 (patch) | |
tree | ef49927f3cc64080e8e58971bfb4607df221bbc8 | |
parent | 536504fc3c2194a2919c312e7dfd471b52766141 (diff) | |
download | FreeBSD-src-41d29518c87aa114ec1dae6fb268430677b889b9.zip FreeBSD-src-41d29518c87aa114ec1dae6fb268430677b889b9.tar.gz |
Add reference to mac_get_link() in man page, which was omitted when
mac_get_link() and mac_set_link() were added.
-rw-r--r-- | lib/libc/posix1e/Makefile.inc | 1 | ||||
-rw-r--r-- | lib/libc/posix1e/mac_get.3 | 10 |
2 files changed, 10 insertions, 1 deletions
diff --git a/lib/libc/posix1e/Makefile.inc b/lib/libc/posix1e/Makefile.inc index b502255..872b6ae 100644 --- a/lib/libc/posix1e/Makefile.inc +++ b/lib/libc/posix1e/Makefile.inc @@ -75,6 +75,7 @@ MLINKS+=acl_delete.3 acl_delete_def_file.3 \ extattr.3 extattr_string_to_namespace.3 \ mac_get.3 mac_get_fd.3 \ mac_get.3 mac_get_file.3 \ + mac_get.3 mac_get_link.3 \ mac_get.3 mac_get_pid.3 \ mac_get.3 mac_get_proc.3 \ mac_prepare.3 mac_prepare_file_label.3 \ diff --git a/lib/libc/posix1e/mac_get.3 b/lib/libc/posix1e/mac_get.3 index 9cfd03b..96e0688 100644 --- a/lib/libc/posix1e/mac_get.3 +++ b/lib/libc/posix1e/mac_get.3 @@ -1,4 +1,4 @@ -.\" Copyright (c) 2001 Networks Associates Technology, Inc. +.\" Copyright (c) 2001, 2004 Networks Associates Technology, Inc. .\" All rights reserved. .\" .\" This software was developed for the FreeBSD Project by Chris @@ -35,6 +35,7 @@ .Os .Sh NAME .Nm mac_get_file , +.Nm mac_get_link , .Nm mac_get_fd , .Nm mac_get_proc .Nd get the label of a file, socket, socket peer or process @@ -45,6 +46,8 @@ .Ft int .Fn mac_get_file "const char *path" "mac_t label" .Ft int +.Fn mac_get_link "const char *path" "mac_t label" +.Ft int .Fn mac_get_fd "int fd" "mac_t label" .Ft int .Fn mac_get_peer "int fd" "mac_t label" @@ -57,6 +60,11 @@ The .Fn mac_get_file system call returns the label associated with a file specified by pathname. +The +.Fn mac_get_link +function is the same as +.Fn mac_get_file , +except that it does not follow symlinks. .Pp The .Fn mac_get_fd |