diff options
Diffstat (limited to 'sys/kern/kern_tame.c')
-rw-r--r-- | sys/kern/kern_tame.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_tame.c b/sys/kern/kern_tame.c index b79a33a70b9..717cc9861af 100644 --- a/sys/kern/kern_tame.c +++ b/sys/kern/kern_tame.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_tame.c,v 1.47 2015/10/01 23:50:37 doug Exp $ */ +/* $OpenBSD: kern_tame.c,v 1.48 2015/10/02 01:44:52 deraadt Exp $ */ /* * Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org> @@ -505,8 +505,6 @@ tame_namei(struct proc *p, char *origpath) /* getpw* and friends need a few files */ if ((p->p_tamenote == TMN_RPATH) && (p->p_p->ps_tame & TAME_GETPW)) { - if (strcmp(path, "/etc/spwd.db") == 0) - return (0); if (strcmp(path, "/etc/pwd.db") == 0) return (0); if (strcmp(path, "/etc/group") == 0) |