summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/posix1e/mac_get.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/posix1e/mac_get.c b/lib/libc/posix1e/mac_get.c
index bbfe7ed..1913f5d 100644
--- a/lib/libc/posix1e/mac_get.c
+++ b/lib/libc/posix1e/mac_get.c
@@ -62,7 +62,6 @@ mac_get_link(const char *path, struct mac *label)
return (__mac_get_link(path, label));
}
-
int
mac_get_peer(int fd, struct mac *label)
{
@@ -71,6 +70,7 @@ mac_get_peer(int fd, struct mac *label)
len = sizeof(*label);
return (getsockopt(fd, SOL_SOCKET, SO_PEERLABEL, label, &len));
}
+
int
mac_get_pid(pid_t pid, struct mac *label)
{
OpenPOWER on IntegriCloud