summaryrefslogtreecommitdiff
path: root/lib/libc/posix1e
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2003-02-16 17:29:11 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2003-02-16 17:29:11 +0000
commite0554a531f17f56167f978eddf29a09cc6ae9f32 (patch)
tree3b5579370346d51f378192429db2130e5e82a6e4 /lib/libc/posix1e
parent9d4156aed31c055ba32bc23b2a53d885002de085 (diff)
downloadsrc-test2-e0554a531f17f56167f978eddf29a09cc6ae9f32.tar.gz
src-test2-e0554a531f17f56167f978eddf29a09cc6ae9f32.zip
Notes
Diffstat (limited to 'lib/libc/posix1e')
-rw-r--r--lib/libc/posix1e/mac_exec.c3
-rw-r--r--lib/libc/posix1e/mac_get.c6
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/posix1e/mac_exec.c b/lib/libc/posix1e/mac_exec.c
index b89a73ee16c1..fb3f994114db 100644
--- a/lib/libc/posix1e/mac_exec.c
+++ b/lib/libc/posix1e/mac_exec.c
@@ -34,6 +34,9 @@
#include <sys/types.h>
#include <sys/mac.h>
+extern int __mac_execve(char *fname, char **argv, char **envv,
+ struct mac *mac_p);
+
int
mac_execve(char *fname, char **argv, char **envv, struct mac *label)
{
diff --git a/lib/libc/posix1e/mac_get.c b/lib/libc/posix1e/mac_get.c
index c5f11f351929..7c8f790752fa 100644
--- a/lib/libc/posix1e/mac_get.c
+++ b/lib/libc/posix1e/mac_get.c
@@ -37,6 +37,12 @@
#include <errno.h>
#include <stdlib.h>
+extern int __mac_get_fd(int fd, struct mac *mac_p);
+extern int __mac_get_file(const char *path_p, struct mac *mac_p);
+extern int __mac_get_link(const char *path_p, struct mac *mac_p);
+extern int __mac_get_pid(pid_t pid, struct mac *mac_p);
+extern int __mac_get_proc(struct mac *mac_p);
+
int
mac_get_fd(int fd, struct mac *label)
{