From 024e825dc2a757e3f6c1394f9634991aa1eea9f7 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 6 Oct 2015 14:39:07 +0000 Subject: [PATCH] rmdir() is just a CPATH operation; remove RPATH marker that snuck in. --- sys/kern/vfs_syscalls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 0636ee5cc63..4c23eb59c94 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_syscalls.c,v 1.227 2015/08/31 16:13:11 deraadt Exp $ */ +/* $OpenBSD: vfs_syscalls.c,v 1.228 2015/10/06 14:39:07 deraadt Exp $ */ /* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */ /* @@ -2723,7 +2723,7 @@ sys_rmdir(struct proc *p, void *v, register_t *retval) syscallarg(const char *) path; } */ *uap = v; - p->p_tamenote = TMN_CPATH | TMN_RPATH; + p->p_tamenote = TMN_CPATH; return (dounlinkat(p, AT_FDCWD, SCARG(uap, path), AT_REMOVEDIR)); } -- 2.20.1