diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-03 15:00:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-03 15:00:14 +0000 |
commit | 693f3dae9d42f618ac1eb6c6cb40f2c89d777aa2 (patch) | |
tree | cdf38a7fea799a93128c46eac02dec34feda3a7c /bin/chmod/chmod.c | |
parent | bf5488d9df4818a6010b0905045bdb96668c6673 (diff) |
oops! cannot tame the chmod case, because the kernel drops the
setuid/setgid bits.
Diffstat (limited to 'bin/chmod/chmod.c')
-rw-r--r-- | bin/chmod/chmod.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bin/chmod/chmod.c b/bin/chmod/chmod.c index ef9ada68df5..ff497a622a6 100644 --- a/bin/chmod/chmod.c +++ b/bin/chmod/chmod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: chmod.c,v 1.36 2015/10/03 05:05:06 deraadt Exp $ */ +/* $OpenBSD: chmod.c,v 1.37 2015/10/03 15:00:13 deraadt Exp $ */ /* $NetBSD: chmod.c,v 1.12 1995/03/21 09:02:09 cgd Exp $ */ /* @@ -175,9 +175,6 @@ done: oct = 0; } } else if (ischmod) { - if (tame("stdio rpath fattr", NULL) == -1) - err(1, "tame"); - mode = *argv; if (*mode >= '0' && *mode <= '7') { errno = 0; |