summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/posix1e')
-rw-r--r--lib/libc/posix1e/mac_get.36
-rw-r--r--lib/libc/posix1e/mac_text.32
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/posix1e/mac_get.3 b/lib/libc/posix1e/mac_get.3
index 96e0688..cd498d0 100644
--- a/lib/libc/posix1e/mac_get.3
+++ b/lib/libc/posix1e/mac_get.3
@@ -37,6 +37,8 @@
.Nm mac_get_file ,
.Nm mac_get_link ,
.Nm mac_get_fd ,
+.Nm mac_get_peer ,
+.Nm mac_get_pid ,
.Nm mac_get_proc
.Nd get the label of a file, socket, socket peer or process
.Sh LIBRARY
@@ -61,7 +63,7 @@ The
system call returns the label associated with a file specified by
pathname.
The
-.Fn mac_get_link
+.Fn mac_get_link
function is the same as
.Fn mac_get_file ,
except that it does not follow symlinks.
@@ -86,7 +88,7 @@ The
and
.Fn mac_get_proc
system calls return the process label associated with an arbitrary
-process id, or the current process.
+process ID, or the current process.
.Pp
Label storage for use with these calls must first be allocated and
prepared using the
diff --git a/lib/libc/posix1e/mac_text.3 b/lib/libc/posix1e/mac_text.3
index f6a04af..068533a 100644
--- a/lib/libc/posix1e/mac_text.3
+++ b/lib/libc/posix1e/mac_text.3
@@ -84,7 +84,7 @@ implementation, they must be freed using
as
.Xr mac_free 3
is used only to free memory used for type
-.Dv mac_t .
+.Vt mac_t .
.Sh ERRORS
.Bl -tag -width Er
.It Bq Er ENOMEM
OpenPOWER on IntegriCloud