]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoBAH! Missed another change to this file.
Scott Long [Tue, 4 Dec 2001 02:26:57 +0000 (02:26 +0000)]
BAH!  Missed another change to this file.

22 years agoActually I haven't enumerated the return values yet (thats why I hadn't
David E. O'Brien [Tue, 4 Dec 2001 02:26:47 +0000 (02:26 +0000)]
Actually I haven't enumerated the return values yet (thats why I hadn't
committed it yet).  So vague'ize the wording a little bit to make up
for it.

22 years agoRevision 1.23 wasn't about WARNS, but rather be a more verbose about
David E. O'Brien [Tue, 4 Dec 2001 02:24:10 +0000 (02:24 +0000)]
Revision 1.23 wasn't about WARNS, but rather be a more verbose about
informing of the return values.

22 years agoBah, I missed this file on the last commit
Scott Long [Tue, 4 Dec 2001 02:24:07 +0000 (02:24 +0000)]
Bah, I missed this file on the last commit

22 years agoDefault to WARNS=2.
David E. O'Brien [Tue, 4 Dec 2001 02:19:58 +0000 (02:19 +0000)]
Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by: mike

22 years agoDefault to WARNS=2. Binary builds that cannot handle this must explicitly
David E. O'Brien [Tue, 4 Dec 2001 01:57:47 +0000 (01:57 +0000)]
Default to WARNS=2.  Binary builds that cannot handle this must explicitly
set WARNS=0.

Reviewed by: mike

22 years agoPROCFS requires PSEUDOFS now.
Dag-Erling Smørgrav [Tue, 4 Dec 2001 01:35:59 +0000 (01:35 +0000)]
PROCFS requires PSEUDOFS now.

22 years agoPseudofsize procfs(5).
Dag-Erling Smørgrav [Tue, 4 Dec 2001 01:35:06 +0000 (01:35 +0000)]
Pseudofsize procfs(5).

22 years agoBack out rev 1.48. The problem is with a bogus __attribute__ in stdio.h.
David E. O'Brien [Tue, 4 Dec 2001 01:29:54 +0000 (01:29 +0000)]
Back out rev 1.48.  The problem is with a bogus __attribute__ in stdio.h.

22 years agoRemove the GCC'ism "__attribute__" from the 'fmtcheck' prototype.
David E. O'Brien [Tue, 4 Dec 2001 01:24:10 +0000 (01:24 +0000)]
Remove the GCC'ism "__attribute__" from the 'fmtcheck' prototype.
I leave it up to someone else to fix this breakage properly.

22 years agoReduce namespace pollution by removing argument names from prototypes.
Dag-Erling Smørgrav [Tue, 4 Dec 2001 01:23:02 +0000 (01:23 +0000)]
Reduce namespace pollution by removing argument names from prototypes.

22 years agoProperly handle being redirected to an FTP URL.
Dag-Erling Smørgrav [Tue, 4 Dec 2001 01:12:51 +0000 (01:12 +0000)]
Properly handle being redirected to an FTP URL.

Also fix a couple of not-so-minor bugs:
 - missing case for HTTP_SEE_OTHER
 - incorrect definition of HTTP_NEED_PROXY_AUTH

PR: 20259
MFC after: 2 weeks

22 years agoAdd prototype for _ftp_request().
Dag-Erling Smørgrav [Tue, 4 Dec 2001 01:10:34 +0000 (01:10 +0000)]
Add prototype for _ftp_request().

22 years agoReorganize to reduce code duplication.
Dag-Erling Smørgrav [Tue, 4 Dec 2001 01:09:19 +0000 (01:09 +0000)]
Reorganize to reduce code duplication.

22 years agoCall the ATAPI tape devices "ast" and "nast", not "rast" and "nrast". Add
Dag-Erling Smørgrav [Tue, 4 Dec 2001 00:48:21 +0000 (00:48 +0000)]
Call the ATAPI tape devices "ast" and "nast", not "rast" and "nrast".  Add
backward compatibility symlinks for good measure.
DEVFS already gets this right (except for the symlinks).

PR: 24781
Submitted by: Christian Weisgerber <naddy@mips.inka.de>
MFC after: 3 days

22 years agoCreate {ad,da,...}s1[a-h].
Dag-Erling Smørgrav [Tue, 4 Dec 2001 00:40:38 +0000 (00:40 +0000)]
Create {ad,da,...}s1[a-h].

PR: 19849
Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
MFC after: 3 days

22 years agoAdd a missing open paren to a macro that's been broken (and apparently
John Baldwin [Tue, 4 Dec 2001 00:35:28 +0000 (00:35 +0000)]
Add a missing open paren to a macro that's been broken (and apparently
unused) since rev 1.1 so it is at least correct.

Submitted by: Maxime Henrion <mux@qualys.com>

22 years agoUse d_thread_t to reduce diffs between current and stable.
Scott Long [Mon, 3 Dec 2001 22:55:14 +0000 (22:55 +0000)]
Use d_thread_t to reduce diffs between current and stable.
Spell ACQUIRE correctly.

22 years agoUpdate version string since we applied a fix for the UseLogin issue.
Jacques Vidrine [Mon, 3 Dec 2001 22:47:51 +0000 (22:47 +0000)]
Update version string since we applied a fix for the UseLogin issue.

22 years agoUnbreak "make lint" for programs and "make llib-l${LIB}.ln" for
Bruce Evans [Mon, 3 Dec 2001 22:31:09 +0000 (22:31 +0000)]
Unbreak "make lint" for programs and "make  llib-l${LIB}.ln" for
libraries a little by not passing all of ${CFLAGS} to lint.  Pass
only options matching -[DIU]*.  The important -nostdinc option can't
be passed like I first thought because lint misinterprets as
"-n -o stdinc".  The unimportant -B* option can't be passed because
lint doesn't support it.  Otherwise, we pass the same options as
to mkdep, exept for a bug in the latter: -U* is not passed.  All
this depends on option args not being separated from option flags
by a space.

22 years agoYes seems to be warns clean on alpha and i386.
David Malone [Mon, 3 Dec 2001 21:42:15 +0000 (21:42 +0000)]
Yes seems to be warns clean on alpha and i386.

22 years agoSome warns cleanups - I think this is still not warns clean on the alpha.
David Malone [Mon, 3 Dec 2001 21:40:07 +0000 (21:40 +0000)]
Some warns cleanups - I think this is still not warns clean on the alpha.

22 years agoWarns cleanup. Add FreeBSD ID to Makefile.
David Malone [Mon, 3 Dec 2001 21:39:04 +0000 (21:39 +0000)]
Warns cleanup. Add FreeBSD ID to Makefile.

22 years agoWarns cleanups. Add FreeBSD ID to Makefile.
David Malone [Mon, 3 Dec 2001 21:37:35 +0000 (21:37 +0000)]
Warns cleanups. Add FreeBSD ID to Makefile.

22 years agoWarns cleanup - don't declare ttyname(). Add FreeBSD ID to Makefile.
David Malone [Mon, 3 Dec 2001 21:33:59 +0000 (21:33 +0000)]
Warns cleanup - don't declare ttyname(). Add FreeBSD ID to Makefile.

22 years agoWarns cleanups. Add missing prototype.
David Malone [Mon, 3 Dec 2001 21:32:54 +0000 (21:32 +0000)]
Warns cleanups. Add missing prototype.

22 years agoFix one warning - still not warns clean.
David Malone [Mon, 3 Dec 2001 21:32:01 +0000 (21:32 +0000)]
Fix one warning - still not warns clean.

22 years agoStrip seems to be warns clean on i386 and alpha.
David Malone [Mon, 3 Dec 2001 21:28:37 +0000 (21:28 +0000)]
Strip seems to be warns clean on i386 and alpha.

22 years agoWarns cleanups.
David Malone [Mon, 3 Dec 2001 21:27:45 +0000 (21:27 +0000)]
Warns cleanups.

22 years agoWarns cleanups. This makes the showmount code warns clean, but some
David Malone [Mon, 3 Dec 2001 21:25:28 +0000 (21:25 +0000)]
Warns cleanups. This makes the showmount code warns clean, but some
of the rpc headers aren't.

22 years agoWarns cleanups. Add FreeBSD ID.
David Malone [Mon, 3 Dec 2001 21:22:56 +0000 (21:22 +0000)]
Warns cleanups. Add FreeBSD ID.

22 years agoWarns cleanups, add FreeBSD IDs.
David Malone [Mon, 3 Dec 2001 21:20:37 +0000 (21:20 +0000)]
Warns cleanups, add FreeBSD IDs.

22 years agoWarnc cleanups. Add FreeBSD IDs.
David Malone [Mon, 3 Dec 2001 21:15:40 +0000 (21:15 +0000)]
Warnc cleanups. Add FreeBSD IDs.

22 years agoWarns cleanups. Don't use gccism -Wall.
David Malone [Mon, 3 Dec 2001 21:13:03 +0000 (21:13 +0000)]
Warns cleanups. Don't use gccism -Wall.

22 years agoNohup seems to be warns clean on alpha and i386. Add FreeBSD id to Makefile.
David Malone [Mon, 3 Dec 2001 21:12:03 +0000 (21:12 +0000)]
Nohup seems to be warns clean on alpha and i386. Add FreeBSD id to Makefile.

22 years agoWarns cleanup. Add FreeBSD ID to Makefile and nice.c.
David Malone [Mon, 3 Dec 2001 21:10:47 +0000 (21:10 +0000)]
Warns cleanup. Add FreeBSD ID to Makefile and nice.c.

22 years agoWarns cleanups.
David Malone [Mon, 3 Dec 2001 21:07:23 +0000 (21:07 +0000)]
Warns cleanups.

22 years agoWarns cleanup. Add FreeBSD ID to Makefile.
David Malone [Mon, 3 Dec 2001 21:06:20 +0000 (21:06 +0000)]
Warns cleanup. Add FreeBSD ID to Makefile.

22 years agoWarns cleanup - not ready for WARNS=2 yet.
David Malone [Mon, 3 Dec 2001 21:04:50 +0000 (21:04 +0000)]
Warns cleanup - not ready for WARNS=2 yet.

22 years agoWarns cleanups. Add FreeBSD ID to Makefile.
David Malone [Mon, 3 Dec 2001 21:03:39 +0000 (21:03 +0000)]
Warns cleanups. Add FreeBSD ID to Makefile.

22 years agoWarns cleanups:
David Malone [Mon, 3 Dec 2001 21:01:52 +0000 (21:01 +0000)]
Warns cleanups:
Signal handlers are supposed to take an int as an arg.
Don't locally declare crypt or ttyname.

22 years agoWarns cleanups:
David Malone [Mon, 3 Dec 2001 21:00:33 +0000 (21:00 +0000)]
Warns cleanups:
Declare functions in advance of using them
There is no printf specifies %k - I think it was supposed to be %s.

22 years agoWarns cleanup.
David Malone [Mon, 3 Dec 2001 20:58:56 +0000 (20:58 +0000)]
Warns cleanup.

22 years agoWarns cleanup (just make main return an int).
David Malone [Mon, 3 Dec 2001 20:57:49 +0000 (20:57 +0000)]
Warns cleanup (just make main return an int).

22 years agoCast off_t to long long before printing. Use %ll instead of %q incase
David Malone [Mon, 3 Dec 2001 20:56:16 +0000 (20:56 +0000)]
Cast off_t to long long before printing. Use %ll instead of %q incase
long long and quad_t are not the same.

22 years agoo Update an instance of 'unprivileged_procdebug_permitted' missed
Robert Watson [Mon, 3 Dec 2001 19:10:21 +0000 (19:10 +0000)]
o Update an instance of 'unprivileged_procdebug_permitted' missed
  in the previous commit: the comment should also call it
  'unprivileged_proc_debug'.

22 years agoMerge from crypto/telnet/telnet/commands.c. Add the necessary paths to
John Hay [Mon, 3 Dec 2001 17:53:09 +0000 (17:53 +0000)]
Merge from crypto/telnet/telnet/commands.c. Add the necessary paths to
the kerberos libraries and includes.

22 years agoAdd the necessary paths to the kerberos libraries and includes.
John Hay [Mon, 3 Dec 2001 17:45:25 +0000 (17:45 +0000)]
Add the necessary paths to the kerberos libraries and includes.

This fix "make release".

Reviewed by: markm

22 years agoProtect variables and function prototypes that are only used in the INET6
John Hay [Mon, 3 Dec 2001 17:42:02 +0000 (17:42 +0000)]
Protect variables and function prototypes that are only used in the INET6
case with an ifdef INET6.

This make the fixit floppy compile again.

Reviewed by: markm

22 years agoDon't pass an interface pointer to VLAN_INPUT{,_TAG}. Get it from the
Brooks Davis [Mon, 3 Dec 2001 17:28:27 +0000 (17:28 +0000)]
Don't pass an interface pointer to VLAN_INPUT{,_TAG}.  Get it from the
mbuf instead.

Suggested by: fenner

22 years agoo Introduce pr_mtx into struct prison, providing protection for the
Robert Watson [Mon, 3 Dec 2001 16:12:27 +0000 (16:12 +0000)]
o Introduce pr_mtx into struct prison, providing protection for the
  mutable contents of struct prison (hostname, securelevel, refcount,
  pr_linux, ...)
o Generally introduce mtx_lock()/mtx_unlock() calls throughout kern/
  so as to enforce these protections, in particular, in kern_mib.c
  protection sysctl access to the hostname and securelevel, as well as
  kern_prot.c access to the securelevel for access control purposes.
o Rewrite linux emulator abstractions for accessing per-jail linux
  mib entries (osname, osrelease, osversion) so that they don't return
  a pointer to the text in the struct linux_prison, rather, a copy
  to an array passed into the calls.  Likewise, update linprocfs to
  use these primitives.
o Update in_pcb.c to always use prison_getip() rather than directly
  accessing struct prison.

Reviewed by: jhb

22 years agoMTU and metric are available with NET_RT_IFLIST.
Ruslan Ermilov [Mon, 3 Dec 2001 15:12:45 +0000 (15:12 +0000)]
MTU and metric are available with NET_RT_IFLIST.

MFC after: 3 days

22 years agoAdd missing declaration of ftime.
David Malone [Mon, 3 Dec 2001 15:07:54 +0000 (15:07 +0000)]
Add missing declaration of ftime.

Submitted by: Sergey Matveychuk <sem@ciam.ru>
Obtained from: NetBSD
MFC after: 1 week

22 years agoNote fix for OpenSSH `UseLogin yes' environment issue.
Jacques Vidrine [Mon, 3 Dec 2001 13:14:15 +0000 (13:14 +0000)]
Note fix for OpenSSH `UseLogin yes' environment issue.

22 years agoMerge from master (crypto) telnet. WARNS fixes for alpha.
Mark Murray [Mon, 3 Dec 2001 12:41:19 +0000 (12:41 +0000)]
Merge from master (crypto) telnet. WARNS fixes for alpha.

22 years agoMore help for alpha WARNS=2. This code is, erm, unusual. Anyone who
Mark Murray [Mon, 3 Dec 2001 12:16:40 +0000 (12:16 +0000)]
More help for alpha WARNS=2. This code is, erm, unusual. Anyone who
feels like rewriting it will meet no objection from me.

22 years agohelp the alphas out with the WARNS=2 stuff.
Mark Murray [Mon, 3 Dec 2001 12:13:18 +0000 (12:13 +0000)]
help the alphas out with the WARNS=2 stuff.

22 years agoRemove unused filed.
Daniel C. Sobral [Mon, 3 Dec 2001 12:07:05 +0000 (12:07 +0000)]
Remove unused filed.

PR: kern/32395
Submitted by: Jonathan Mini <mini@haikugeek.com>

22 years agoReapply rev 1.37 (hide the __attribute__ gcc keyword) into RELENG_4 even
David E. O'Brien [Mon, 3 Dec 2001 11:29:01 +0000 (11:29 +0000)]
Reapply rev 1.37 (hide the __attribute__ gcc keyword) into RELENG_4 even
though it was backed out.
With out this change the TenDRA compiler is not bootstrapable.

22 years agoThe named.conf file should refer to named.conf(5) in addition to
Crist J. Clark [Mon, 3 Dec 2001 08:05:52 +0000 (08:05 +0000)]
The named.conf file should refer to named.conf(5) in addition to
named(8) in the comments.

PR: 32459
Submitted by: "Gary W. Swearingen" <swear@blarg.net>
MFC after: 2 days

22 years agoFix typo.
Murray Stokely [Mon, 3 Dec 2001 06:00:24 +0000 (06:00 +0000)]
Fix typo.

PR: 32455
Submitted by: "Gary W. Swearingen" <swear@blarg.net>

22 years agoMove the code merging ACL_USER and ACL_GROUP objects from under
Chris D. Faulhaber [Mon, 3 Dec 2001 02:24:24 +0000 (02:24 +0000)]
Move the code merging ACL_USER and ACL_GROUP objects from under
two nested while loops into a separate function.

Obtained from:  TrustedBSD Project

22 years agoAdd defines for access and default ACLs (ACCESS_ACL/DEFAULT_ACL)
Chris D. Faulhaber [Mon, 3 Dec 2001 01:20:52 +0000 (01:20 +0000)]
Add defines for access and default ACLs (ACCESS_ACL/DEFAULT_ACL)
to enhance readability.

Obtained from: TrustedBSD Project

22 years agoUse __FBSDID().
Mark Murray [Mon, 3 Dec 2001 01:15:28 +0000 (01:15 +0000)]
Use __FBSDID().

22 years agoReorder Makefile for style.
Mark Murray [Mon, 3 Dec 2001 01:09:17 +0000 (01:09 +0000)]
Reorder Makefile for style.

22 years agoDo not pass user-defined environmental variables to /usr/bin/login.
Jacques Vidrine [Mon, 3 Dec 2001 00:51:47 +0000 (00:51 +0000)]
Do not pass user-defined environmental variables to /usr/bin/login.

Obtained from: OpenBSD
Approved by: green

22 years agostyle(9) cleanups mostly consisting of:
Chris D. Faulhaber [Mon, 3 Dec 2001 00:51:36 +0000 (00:51 +0000)]
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

22 years agoCorrect example to remove *all* extended ACL entries and
Chris D. Faulhaber [Mon, 3 Dec 2001 00:27:15 +0000 (00:27 +0000)]
Correct example to remove *all* extended ACL entries and
clarify description.

22 years agoMore kernel vfs docco.
Alfred Perlstein [Mon, 3 Dec 2001 00:25:04 +0000 (00:25 +0000)]
More kernel vfs docco.

Xref vfs_mount(9) from vfs_mount(9)

Submitted by: Chad David <davidc@acns.ab.ca>
PR: docs/32431

22 years agoSplit out NAI Labs license and BSD license to prevent the accidental
Brian Feldman [Mon, 3 Dec 2001 00:21:18 +0000 (00:21 +0000)]
Split out NAI Labs license and BSD license to prevent the accidental
violation of either.

22 years agoWARNS=2 and -Wall are not both needed. (The second is a subset of the
Mark Murray [Mon, 3 Dec 2001 00:16:52 +0000 (00:16 +0000)]
WARNS=2 and -Wall are not both needed. (The second is a subset of the
first)

22 years agoUse __FBSDID().
Mark Murray [Mon, 3 Dec 2001 00:07:59 +0000 (00:07 +0000)]
Use __FBSDID().

22 years agoStyle fixes.
Mark Murray [Mon, 3 Dec 2001 00:00:22 +0000 (00:00 +0000)]
Style fixes.
Use __FBSDID().
Be consistent WRT ANSI use.

OK'ed by: obrien

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 23:58:38 +0000 (23:58 +0000)]
Use __FBSDID().
Use a better choice than size_t for vertain variables.
Fix some comment alignment.

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 23:52:47 +0000 (23:52 +0000)]
Use __FBSDID().

22 years agoFix typos getpeerid -> getpeereid.
Anton Berezin [Sun, 2 Dec 2001 23:50:40 +0000 (23:50 +0000)]
Fix typos getpeerid -> getpeereid.

PR: docs/32442
Reviewed by: dd

22 years agoStyle stuff.
Mark Murray [Sun, 2 Dec 2001 23:44:42 +0000 (23:44 +0000)]
Style stuff.
Sort includes.
Remove 'register'
Use __FBSDID().

22 years agoWARNS=2 fixup.
Mark Murray [Sun, 2 Dec 2001 23:40:46 +0000 (23:40 +0000)]
WARNS=2 fixup.
Use __FBSDID().
Set NO_WERROR because this would rely on some lex(1) fixes that
cannot be committed yet.

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 23:34:16 +0000 (23:34 +0000)]
Use __FBSDID().

22 years agoTurn on WARNS=2.
Mark Murray [Sun, 2 Dec 2001 23:29:26 +0000 (23:29 +0000)]
Turn on WARNS=2.
Use __FBSDID().

22 years agoWARNS=2 fixes. Also, use __FBSDID(), and sort includes.
Mark Murray [Sun, 2 Dec 2001 23:12:33 +0000 (23:12 +0000)]
WARNS=2 fixes. Also, use __FBSDID(), and sort includes.

22 years agoProtect "make world", as I am doing some (potentially) dangerous
Mark Murray [Sun, 2 Dec 2001 23:10:57 +0000 (23:10 +0000)]
Protect "make world", as I am doing some (potentially) dangerous
WARNS=2 fixes.

Add a commented out WARNS=2 to indicate future intentions.

22 years agoTurn on WARNS=2. this compiles cleanly.
Mark Murray [Sun, 2 Dec 2001 23:09:09 +0000 (23:09 +0000)]
Turn on WARNS=2. this compiles cleanly.

22 years agoSlight makefile style.
Mark Murray [Sun, 2 Dec 2001 23:04:14 +0000 (23:04 +0000)]
Slight makefile style.

Use __FBSDID().

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 22:46:47 +0000 (22:46 +0000)]
Use __FBSDID().

22 years agoWARNS=2 fixup (mostly. Some are Hard To Fix(tm), so NO_WERROR is set)
Mark Murray [Sun, 2 Dec 2001 22:44:14 +0000 (22:44 +0000)]
WARNS=2 fixup (mostly. Some are Hard To Fix(tm), so NO_WERROR is set)
Use __FBSDID().
Sort some headers.

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 21:24:03 +0000 (21:24 +0000)]
Use __FBSDID().

22 years agoUse __FBSDID(). Also do a bit of cosmetic #if and header-order
Mark Murray [Sun, 2 Dec 2001 20:54:57 +0000 (20:54 +0000)]
Use __FBSDID(). Also do a bit of cosmetic #if and header-order
cleaning-up.

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 20:45:24 +0000 (20:45 +0000)]
Use __FBSDID().

22 years agoUse __FBSDID().
Mark Murray [Sun, 2 Dec 2001 20:40:22 +0000 (20:40 +0000)]
Use __FBSDID().

22 years agoUse __FBSDID()
Mark Murray [Sun, 2 Dec 2001 20:23:02 +0000 (20:23 +0000)]
Use __FBSDID()

22 years agoWARNS=2 fix, remove 'register' and use __FBSDID().
Mark Murray [Sun, 2 Dec 2001 20:13:42 +0000 (20:13 +0000)]
WARNS=2 fix, remove 'register' and use __FBSDID().

22 years agoo Expand the explaination of the -b option WRT the resulting
Chris D. Faulhaber [Sun, 2 Dec 2001 18:46:33 +0000 (18:46 +0000)]
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

22 years agoUse the merged strtod.c everywhere. This has been tested on alpha and
Peter Wemm [Sun, 2 Dec 2001 18:27:40 +0000 (18:27 +0000)]
Use the merged strtod.c everywhere.  This has been tested on alpha and
ia64.

22 years agoo Correct error message forgotten in the last commit (malloc() -> calloc())
Chris D. Faulhaber [Sun, 2 Dec 2001 18:15:53 +0000 (18:15 +0000)]
o Correct error message forgotten in the last commit (malloc() -> calloc())
o Fix style nits

Submitted by: bde

22 years agoo Uniformly copy uap arguments into local variables before grabbing
Robert Watson [Sun, 2 Dec 2001 15:22:56 +0000 (15:22 +0000)]
o Uniformly copy uap arguments into local variables before grabbing
  giant, and make whitespace more consistent around giant-frobbing.

22 years agoo Remove KSE race in setuid() in which oldcred was preserved before giant
Robert Watson [Sun, 2 Dec 2001 15:15:29 +0000 (15:15 +0000)]
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.

22 years agoo General style, formatting, etc, improvements:
Robert Watson [Sun, 2 Dec 2001 15:07:10 +0000 (15:07 +0000)]
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

22 years agoWARNS=2 fixup.
Mark Murray [Sun, 2 Dec 2001 13:55:09 +0000 (13:55 +0000)]
WARNS=2 fixup.

22 years agoWARNS=2 fixup
Mark Murray [Sun, 2 Dec 2001 13:48:40 +0000 (13:48 +0000)]
WARNS=2 fixup