diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-28 18:41:17 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-28 18:41:17 +0000 |
commit | c387299dac8618c6b9008e4f24dacfb03bbff2ba (patch) | |
tree | 7b48dd68124bb2d6366ebfe67ea3a3bc8d69bb2f /sys/kern/vfs_syscalls.c | |
parent | fc0bdb7f80fc0733af9c0896d78e4b880b6013ae (diff) |
mkdir is PLEDGE_CPATH, not PLEDGE_CPATH | PLEDGE_RPATH...
ok semarie
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r-- | sys/kern/vfs_syscalls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index f4efde0fe5e..1d4ae295941 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_syscalls.c,v 1.236 2015/10/28 14:17:52 semarie Exp $ */ +/* $OpenBSD: vfs_syscalls.c,v 1.237 2015/10/28 18:41:16 deraadt Exp $ */ /* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */ /* @@ -2693,7 +2693,7 @@ domkdirat(struct proc *p, int fd, const char *path, mode_t mode) int error; struct nameidata nd; - p->p_pledgenote = PLEDGE_CPATH | PLEDGE_RPATH; + p->p_pledgenote = PLEDGE_CPATH; NDINITAT(&nd, CREATE, LOCKPARENT | STRIPSLASHES, UIO_USERSPACE, fd, path, p); if ((error = namei(&nd)) != 0) |