Add reference to mac_get_link() in man page, which was omitted when
mac_get_link() and mac_set_link() were added.
This commit is contained in:
parent
d8a921c775
commit
804613dc06
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user