Commit Graph

67805 Commits

Author SHA1 Message Date
markm
518bba4cc1 Use __FBSDID(). 2001-12-03 01:15:28 +00:00
markm
a37ff29e1e Reorder Makefile for style. 2001-12-03 01:09:17 +00:00
nectar
b0b55f7f5f Do not pass user-defined environmental variables to /usr/bin/login.
Obtained from:	OpenBSD
Approved by:	green
2001-12-03 00:51:47 +00:00
jedgar
30f5e7ea6e 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
jedgar
e0f46659fc Correct example to remove *all* extended ACL entries and
clarify description.
2001-12-03 00:27:15 +00:00
alfred
398478b467 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
green
f9d5720e42 Split out NAI Labs license and BSD license to prevent the accidental
violation of either.
2001-12-03 00:21:18 +00:00
markm
a8c1d247f8 WARNS=2 and -Wall are not both needed. (The second is a subset of the
first)
2001-12-03 00:16:52 +00:00
markm
a6a5a52862 Use __FBSDID(). 2001-12-03 00:07:59 +00:00
markm
efb1461388 Style fixes.
Use __FBSDID().
Be consistent WRT ANSI use.

OK'ed by:	obrien
2001-12-03 00:00:22 +00:00
markm
fc99e4f765 Use __FBSDID().
Use a better choice than size_t for vertain variables.
Fix some comment alignment.
2001-12-02 23:58:38 +00:00
markm
45888ee363 Use __FBSDID(). 2001-12-02 23:52:47 +00:00
tobez
0ec82ca958 Fix typos getpeerid -> getpeereid.
PR:		docs/32442
Reviewed by:	dd
2001-12-02 23:50:40 +00:00
markm
c318e515ab Style stuff.
Sort includes.
Remove 'register'
Use __FBSDID().
2001-12-02 23:44:42 +00:00
markm
6aad061ae7 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
markm
8896138d55 Use __FBSDID(). 2001-12-02 23:34:16 +00:00
markm
155bbc12c7 Turn on WARNS=2.
Use __FBSDID().
2001-12-02 23:29:26 +00:00
markm
fc2e4b54ec WARNS=2 fixes. Also, use __FBSDID(), and sort includes. 2001-12-02 23:12:33 +00:00
markm
f817012db6 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
markm
36745b0201 Turn on WARNS=2. this compiles cleanly. 2001-12-02 23:09:09 +00:00
markm
b3be1b374c Slight makefile style.
Use __FBSDID().
2001-12-02 23:04:14 +00:00
markm
6bd89ae377 Use __FBSDID(). 2001-12-02 22:46:47 +00:00
markm
18cc007439 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
markm
c73844e02d Use __FBSDID(). 2001-12-02 21:24:03 +00:00
markm
08eb6fed71 Use __FBSDID(). Also do a bit of cosmetic #if and header-order
cleaning-up.
2001-12-02 20:54:57 +00:00
markm
3202164edc Use __FBSDID(). 2001-12-02 20:45:24 +00:00
markm
a7016d6ca8 Use __FBSDID(). 2001-12-02 20:40:22 +00:00
markm
d46c91fd8b Use __FBSDID() 2001-12-02 20:23:02 +00:00
markm
f8ba6799fd WARNS=2 fix, remove 'register' and use __FBSDID(). 2001-12-02 20:13:42 +00:00
jedgar
e95759f464 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
2614d1c3e1 Use the merged strtod.c everywhere. This has been tested on alpha and
ia64.
2001-12-02 18:27:40 +00:00
jedgar
c3aedf8ced 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
rwatson
de0f8b15da 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
rwatson
dbe003dc3e 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
rwatson
8b2ab77900 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
markm
085302d146 WARNS=2 fixup. 2001-12-02 13:55:09 +00:00
markm
11e67a9342 WARNS=2 fixup 2001-12-02 13:48:40 +00:00
markm
aeb55e91a2 WARNS=2 fixup. 2001-12-02 13:36:14 +00:00
markm
eadebf9b4a WARNS=2 fix and 'register' removal. 2001-12-02 13:31:22 +00:00
markm
b8b83fee29 WARNS=2 fixup. 2001-12-02 13:18:59 +00:00
markm
6ca5ece2c9 WARNS=2 fixup.
kill 'register' keyword.
2001-12-02 12:54:40 +00:00
alfred
77b8f8139c 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
markm
9c4ab2cc6f WARNS=2 fixup. 2001-12-02 12:36:35 +00:00
ache
54f12414b9 Remove specific reference to ASCII space (' '), it is true for localized
spaces too
2001-12-02 12:31:44 +00:00
markm
1713f5e655 WARNS=2 fixup. 2001-12-02 12:26:18 +00:00
markm
df573903aa Style. Use __P() macro (Yuk!). 2001-12-02 12:19:26 +00:00
sos
9f63e0df31 ARG! committed the wrong patch!! I need more sleep :( 2001-12-02 12:19:16 +00:00
sos
481b68dc0f Oops, lost a line in the previous commit. 2001-12-02 12:17:51 +00:00
markm
8e33fb69fc WARNS=2 fixup.
Turn on YP (NIS) while I'm about it.
2001-12-02 12:17:20 +00:00
markm
a59a3a99ce WARNS=2 fixups. 2001-12-02 12:09:41 +00:00