deraadt
3aaa63eb46
When system calls indicate an error they return -1, not some arbitrary
...
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
2019-06-28 13:34:58 +00:00
schwarze
8351f62284
Delete useless setlocale(3) in src/bin/.
...
Minor cleanup while here: return from main, static void __dead usage, etc.
Based on a patch from Jan Stary <hans at stare dot cz>.
Feedback and OK tb@, OK millert@.
2016-10-19 18:20:25 +00:00
tedu
050019d0f6
new style overlords say to use continue in empty loops.
...
this is easier to see and self documenting.
ok openbsd
2016-06-03 23:22:20 +00:00
deraadt
0bd1216cbf
Change all tame callers to namechange to pledge(2).
2015-10-09 01:37:06 +00:00
deraadt
03d85cd469
tame "stdio cpath". The cpath is for rmdir(). Tame bundles all the system
...
calls that create/destroy filesystem paths in the "cpath" request.
2015-10-07 15:47:56 +00:00
deraadt
043fbe51c1
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
...
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms
2009-10-27 23:59:19 +00:00
millert
29295d1c5c
Remove the advertising clause in the UCB license which Berkeley
...
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02 23:27:43 +00:00
deraadt
ab83b6d6a9
ansi
2002-07-04 04:26:39 +00:00
millert
c72b5b24e1
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-02-16 21:27:05 +00:00
mpech
9517852ab8
o) __progname aria;
...
millert@ ok.
2001-09-06 13:29:08 +00:00
mickey
9e425d4990
exit and the progname
2001-05-20 08:51:32 +00:00
deraadt
287bceeed3
zap getopt() case of -?, come on, it is the default!
1996-08-02 12:40:48 +00:00
deraadt
09e94acb64
update rcsid
1996-06-23 14:18:58 +00:00
deraadt
df930be708
initial import of NetBSD tree
1995-10-18 08:37:01 +00:00