diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-04-27 13:52:18 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2015-04-27 13:52:18 +0000 |
commit | 95a8c19a29953a1f61d224de74cd1b9da3149e80 (patch) | |
tree | 63f8fa7e6db8559e62ae8d33471022537f4a8bae /usr.bin/file/Makefile | |
parent | 04c4247c60d69370c7af59b160eb8e607b41942a (diff) |
Use a systrace(4) sandbox with a short whitelist of allowed syscalls for
the file(1) child process. Based on similar code in ssh sandbox-systrace.c.
Idea and help from deraadt@.
Diffstat (limited to 'usr.bin/file/Makefile')
-rw-r--r-- | usr.bin/file/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/file/Makefile b/usr.bin/file/Makefile index 3fb202b86a9..5ce922e7acc 100644 --- a/usr.bin/file/Makefile +++ b/usr.bin/file/Makefile @@ -1,8 +1,8 @@ -# $OpenBSD: Makefile,v 1.14 2015/04/27 13:41:45 nicm Exp $ +# $OpenBSD: Makefile,v 1.15 2015/04/27 13:52:17 nicm Exp $ PROG= file -SRCS= file.c magic-dump.c magic-load.c magic-test.c magic-common.c text.c \ - xmalloc.c +SRCS= file.c magic-dump.c magic-load.c magic-test.c magic-common.c sandbox.c \ + text.c xmalloc.c MAN= file.1 magic.5 LDADD= -lutil |