summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/mac_get.3
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2004-06-17 16:08:36 +0000
committerrwatson <rwatson@FreeBSD.org>2004-06-17 16:08:36 +0000
commit41d29518c87aa114ec1dae6fb268430677b889b9 (patch)
treeef49927f3cc64080e8e58971bfb4607df221bbc8 /lib/libc/posix1e/mac_get.3
parent536504fc3c2194a2919c312e7dfd471b52766141 (diff)
downloadFreeBSD-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.
Diffstat (limited to 'lib/libc/posix1e/mac_get.3')
-rw-r--r--lib/libc/posix1e/mac_get.310
1 files changed, 9 insertions, 1 deletions
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
OpenPOWER on IntegriCloud