summaryrefslogtreecommitdiff
path: root/bin/chmod/chmod.c
AgeCommit message (Expand)Author
2016-10-19Delete useless setlocale(3) in src/bin/.Ingo Schwarze
2015-12-31Document the -h option for chmod and chflags, rewording the chgrp(1) andPhilip Guenther
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-03oops! cannot tame the chmod case, because the kernel drops theTheo de Raadt
2015-10-03the chmod & chflags codepaths can use tame "stdio rpath fattr". theTheo de Raadt
2015-10-03KNFTheo de Raadt
2015-06-25Put fts_close() where missing.Masao Uebayashi
2014-12-13Correct the handling of symbolic links by chmod/chgrp/chown/chflags,Philip Guenther
2014-12-13Properly validate ranges:Tobias Stoeckmann
2014-10-06In case of invalid syntax like "chmod -Pr -w tf" (trailing mode letterIngo Schwarze
2014-05-21Use errc/warnc to simplify code.Philip Guenther
2014-03-16lint is dead (long live the lint!), so stop using it as a cpp conditionalPhilip Guenther
2012-12-04remove some unnecessary sys/param.h inclusionsTheo de Raadt
2011-03-09zap from usage() as well; reminded by jmc@Okan Demirmen
2010-01-12sync comment with reality, -f won't be documented.Jasper Lievisse Adriaanse
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-01-21fix the synopsis for chown(8)Igor Sobrado
2006-04-25various small lint cleanups; ok ottoTheo de Raadt
2006-01-25some warning reductionTed Unangst
2006-01-25an old diff from tech to convert to using strtonum and some other miscTed Unangst
2005-11-29kill unused var found by lint. ok deraadt@Otto Moerbeek
2005-10-15sync usage();Jason McIntyre
2004-07-01setmode(3) returns void *, not mode_t *. ok millert@Otto Moerbeek
2004-02-16If the user does "chown foo.bar" check to see if foo.bar is a usernameTodd C. Miller
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-06-01Undo a misguided attempt to fix speling errors from long ago. UCBTodd C. Miller
2002-07-04ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2000-07-31make -h option work again, it was left out on the getopt stringEric Jackson
2000-07-19merge chflags(1) into chmod.Michael Shalayeff
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
2000-06-09oopsMichael Shalayeff
2000-06-09merge chown/chgrp into chmod.Michael Shalayeff
1997-11-08spellingTodd T. Fries
1997-06-28somebody added setlocale() w/o locale.hgrr
1997-06-27setlocale; kleinkTheo de Raadt
1996-12-14-Wall'ing.Michael Shalayeff
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt