summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2018-07-30 00:11:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2018-07-30 00:11:05 +0000
commit69056ccd2aee43fd3f3226dbd8efceb5833bfe81 (patch)
treeda24afcaf701d193747fd3bd5b2c1ba0323eb1b5 /sys/kern
parent332b399ee98e34574ee58e35fd98617c698b00a8 (diff)
activate unveil for testing
ok kibbles and bits
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/vfs_syscalls.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 768a5676736..b01a0c87468 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_syscalls.c,v 1.296 2018/07/27 01:44:19 beck Exp $ */
+/* $OpenBSD: vfs_syscalls.c,v 1.297 2018/07/30 00:11:04 deraadt Exp $ */
/* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */
/*
@@ -913,9 +913,6 @@ sys_unveil(struct proc *p, void *v, register_t *retval)
if (pathlen < 2)
return EINVAL;
- /* XXX unveil is disabled but returns sucess for now */
- return 0;
-
if (pathlen == 2 && pathname[0] == '/')
NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | SAVENAME,
UIO_SYSSPACE, pathname, p);