diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-02 20:48:49 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-02 20:48:49 +0000 |
commit | fa8a4eced963e628995f2392cf0f402a82ed5231 (patch) | |
tree | 5af1acf1a9e093baedd59ae9a957edcd2ebc8ee3 | |
parent | 773d3f588ff2d8bb4101f2019a36e682a08f382e (diff) |
I see no evidence that lstat() is being done for /etc/resolv.conf, nor
can I figure out why I added this in the past...
-rw-r--r-- | sys/kern/kern_tame.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_tame.c b/sys/kern/kern_tame.c index 9c10f8320f8..7d388742e7f 100644 --- a/sys/kern/kern_tame.c +++ b/sys/kern/kern_tame.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_tame.c,v 1.52 2015/10/02 20:42:26 deraadt Exp $ */ +/* $OpenBSD: kern_tame.c,v 1.53 2015/10/02 20:48:48 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -161,7 +161,7 @@ const u_int tame_syscalls[SYS_MAXSYSCALL] = { [SYS_fstatat] = TAME_RPATH | TAME_WPATH, [SYS_faccessat] = TAME_RPATH | TAME_WPATH, [SYS_readlinkat] = TAME_RPATH | TAME_WPATH, - [SYS_lstat] = TAME_RPATH | TAME_WPATH | TAME_TMPPATH | TAME_DNSPATH, + [SYS_lstat] = TAME_RPATH | TAME_WPATH | TAME_TMPPATH, [SYS_rename] = TAME_CPATH, [SYS_rmdir] = TAME_CPATH, [SYS_renameat] = TAME_CPATH, |