Chris D. Faulhaber
a043a09da7
style(9) cleanups mostly consisting of:
...
o explicitly check return values and variables against a value
o return x; -> return (x);
o fix inconsistent sysexits usage by nuking it (partially
suggested by bde)
Obtained from: TrustedBSD Project
2001-12-03 00:51:36 +00:00
Chris D. Faulhaber
05da5209f6
Correct example to remove *all* extended ACL entries and
...
clarify description.
2001-12-03 00:27:15 +00:00
Alfred Perlstein
ffc0b97fd0
More kernel vfs docco.
...
Xref vfs_mount(9) from vfs_mount(9)
Submitted by: Chad David <davidc@acns.ab.ca>
PR: docs/32431
2001-12-03 00:25:04 +00:00
Brian Feldman
830681f547
Split out NAI Labs license and BSD license to prevent the accidental
...
violation of either.
2001-12-03 00:21:18 +00:00
Mark Murray
d0effe7563
WARNS=2 and -Wall are not both needed. (The second is a subset of the
...
first)
2001-12-03 00:16:52 +00:00
Mark Murray
f86b9f6d64
Use __FBSDID().
2001-12-03 00:07:59 +00:00
Mark Murray
7f1afe0e0e
Style fixes.
...
Use __FBSDID().
Be consistent WRT ANSI use.
OK'ed by: obrien
2001-12-03 00:00:22 +00:00
Mark Murray
546c7f6629
Use __FBSDID().
...
Use a better choice than size_t for vertain variables.
Fix some comment alignment.
2001-12-02 23:58:38 +00:00
Mark Murray
9240706953
Use __FBSDID().
2001-12-02 23:52:47 +00:00
Anton Berezin
b9449db117
Fix typos getpeerid -> getpeereid.
...
PR: docs/32442
Reviewed by: dd
2001-12-02 23:50:40 +00:00
Mark Murray
6e47870b77
Style stuff.
...
Sort includes.
Remove 'register'
Use __FBSDID().
2001-12-02 23:44:42 +00:00
Mark Murray
3945c68f93
WARNS=2 fixup.
...
Use __FBSDID().
Set NO_WERROR because this would rely on some lex(1) fixes that
cannot be committed yet.
2001-12-02 23:40:46 +00:00
Mark Murray
84c0ff2233
Use __FBSDID().
2001-12-02 23:34:16 +00:00
Mark Murray
6af414cb2e
Turn on WARNS=2.
...
Use __FBSDID().
2001-12-02 23:29:26 +00:00
Mark Murray
47faf12380
WARNS=2 fixes. Also, use __FBSDID(), and sort includes.
2001-12-02 23:12:33 +00:00
Mark Murray
b802e87095
Protect "make world", as I am doing some (potentially) dangerous
...
WARNS=2 fixes.
Add a commented out WARNS=2 to indicate future intentions.
2001-12-02 23:10:57 +00:00
Mark Murray
58cb8b9466
Turn on WARNS=2. this compiles cleanly.
2001-12-02 23:09:09 +00:00
Mark Murray
f614104aeb
Slight makefile style.
...
Use __FBSDID().
2001-12-02 23:04:14 +00:00
Mark Murray
cbc4699c32
Use __FBSDID().
2001-12-02 22:46:47 +00:00
Mark Murray
9e1e9c4421
WARNS=2 fixup (mostly. Some are Hard To Fix(tm), so NO_WERROR is set)
...
Use __FBSDID().
Sort some headers.
2001-12-02 22:44:14 +00:00
Mark Murray
f1b6a5418e
Use __FBSDID().
2001-12-02 21:24:03 +00:00
Mark Murray
1a8b24c257
Use __FBSDID(). Also do a bit of cosmetic #if and header-order
...
cleaning-up.
2001-12-02 20:54:57 +00:00
Mark Murray
01823518f5
Use __FBSDID().
2001-12-02 20:45:24 +00:00
Mark Murray
4100f6cb7d
Use __FBSDID().
2001-12-02 20:40:22 +00:00
Mark Murray
51e2220c27
Use __FBSDID()
2001-12-02 20:23:02 +00:00
Mark Murray
4e030ba6cb
WARNS=2 fix, remove 'register' and use __FBSDID().
2001-12-02 20:13:42 +00:00
Chris D. Faulhaber
458ad6cb17
o Expand the explaination of the -b option WRT the resulting
...
group ACL entry in relation to the existing group and mask
ACL entries.
o Move the explanation of multiple ACL entries on the command
line to the ACL ENTRIES section.
Obtained from: TrustedBSD Project
2001-12-02 18:46:33 +00:00
Peter Wemm
6464bbfa03
Use the merged strtod.c everywhere. This has been tested on alpha and
...
ia64.
2001-12-02 18:27:40 +00:00
Chris D. Faulhaber
405c561518
o Correct error message forgotten in the last commit (malloc() -> calloc())
...
o Fix style nits
Submitted by: bde
2001-12-02 18:15:53 +00:00
Robert Watson
4f5a4612d3
o Uniformly copy uap arguments into local variables before grabbing
...
giant, and make whitespace more consistent around giant-frobbing.
2001-12-02 15:22:56 +00:00
Robert Watson
f605567c24
o Remove KSE race in setuid() in which oldcred was preserved before giant
...
was grabbed. This was introduced in 1.101 when the giant pushdown
for kern_prot.c was originally performed.
2001-12-02 15:15:29 +00:00
Robert Watson
eb725b4e6a
o General style, formatting, etc, improvements:
...
- uid's -> uids
- whitespace improvements, linewrap improvements
- reorder copyright more appropriately
- remove redundant MP SAFE comments, add one "NOT MPSAFE?"
for setgroups(), which seems to be the sole un-changed system
call in the file.
- clean up securelevel_g?() functions, improve comments.
Largely submitted by: bde
2001-12-02 15:07:10 +00:00
Mark Murray
9b3e907904
WARNS=2 fixup.
2001-12-02 13:55:09 +00:00
Mark Murray
ef0ea716d2
WARNS=2 fixup
2001-12-02 13:48:40 +00:00
Mark Murray
acd1ad8825
WARNS=2 fixup.
2001-12-02 13:36:14 +00:00
Mark Murray
cb08795bb0
WARNS=2 fix and 'register' removal.
2001-12-02 13:31:22 +00:00
Mark Murray
bcdc82df70
WARNS=2 fixup.
2001-12-02 13:18:59 +00:00
Mark Murray
3fa15ce5d8
WARNS=2 fixup.
...
kill 'register' keyword.
2001-12-02 12:54:40 +00:00
Alfred Perlstein
59aff5fcf3
make LOCKF_DEBUG kernel option work (sorta)
...
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
PR: kern/32267
2001-12-02 12:47:25 +00:00
Mark Murray
865eb33a74
WARNS=2 fixup.
2001-12-02 12:36:35 +00:00
Andrey A. Chernov
e3a3c468a5
Remove specific reference to ASCII space (' '), it is true for localized
...
spaces too
2001-12-02 12:31:44 +00:00
Mark Murray
3ce6c35745
WARNS=2 fixup.
2001-12-02 12:26:18 +00:00
Mark Murray
3e9203d750
Style. Use __P() macro (Yuk!).
2001-12-02 12:19:26 +00:00
Søren Schmidt
f609857c68
ARG! committed the wrong patch!! I need more sleep :(
2001-12-02 12:19:16 +00:00
Søren Schmidt
71a6a4da18
Oops, lost a line in the previous commit.
2001-12-02 12:17:51 +00:00
Mark Murray
13ac0cdca3
WARNS=2 fixup.
...
Turn on YP (NIS) while I'm about it.
2001-12-02 12:17:20 +00:00
Mark Murray
c38cc7439c
WARNS=2 fixups.
2001-12-02 12:09:41 +00:00
Wolfram Schneider
dc2e599970
Added OpenBSD 3.0.
2001-12-02 11:19:24 +00:00
Wolfram Schneider
1da2e589f6
NetBSD 1.4 branch and NetBSD 1.5 branch are still alive.
...
Submitted by: jhawk@netbsd.org , itojun@iijlab.net
2001-12-02 11:16:30 +00:00
Alfred Perlstein
815ac49626
prototype functions and fix some line wrapping
2001-12-02 11:10:46 +00:00