]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoClarify my feelings towards fetch / libfetch.
des [Wed, 30 Oct 2002 04:53:58 +0000 (04:53 +0000)]
Clarify my feelings towards fetch / libfetch.

21 years agoRecommit the non-broken parts of 1.34 and 1.37.
des [Wed, 30 Oct 2002 04:43:00 +0000 (04:43 +0000)]
Recommit the non-broken parts of 1.34 and 1.37.
Change the type and name of a variable introduced in 1.33.

21 years agoDon't forget to set the error flag when _fetch_read() returns -1.
des [Wed, 30 Oct 2002 04:42:01 +0000 (04:42 +0000)]
Don't forget to set the error flag when _fetch_read() returns -1.

21 years agoImplement DCE 1.1 compliant UUID functions. Immediate use of these
marcel [Wed, 30 Oct 2002 03:51:00 +0000 (03:51 +0000)]
Implement DCE 1.1 compliant UUID functions. Immediate use of these
functions is expected for uuidgen(1), mca(8) and gpt(8). Given the
generic use of UUIDs beyond the scope of the DCE 1.1 specification,
visibility of the data structure at all levels of the machine,
including firmware and the wish to not create a permanent build-
time FreeBSD-ism for DCE compliant applications by creating a new
library, it was decided that libc would be the least inappropriate
place. Also, because the UUID functions live in libc under IRIX as
well, we have maximized our portability and left as many options
open as possible.

This implementation introduces an extension not found in the
specification: the status parameter is allowed to be a NULL-
pointer. The reason for introducing the extension is because
the status is almost never of any use.

The manpage that's part of this commit is a minimal place-holder
and is further fleshed-out in the near future.

Approved by: re@
Contributed by: Hiten Mahesh Pandya <hiten@unixdaemons.com>
Sponsored by: marcel :-)
Tested on: alpha, i386, ia64

21 years agoOutput .lf directives.
grog [Wed, 30 Oct 2002 03:24:16 +0000 (03:24 +0000)]
Output .lf directives.

21 years agoStyle fixes.
davidxu [Wed, 30 Oct 2002 03:01:28 +0000 (03:01 +0000)]
Style fixes.

21 years agoDon't forget to set syscall result.
davidxu [Wed, 30 Oct 2002 02:39:10 +0000 (02:39 +0000)]
Don't forget to set syscall result.

21 years agoAdd an actual implementation of kse_thr_interrupt()
davidxu [Wed, 30 Oct 2002 02:28:41 +0000 (02:28 +0000)]
Add an actual implementation of kse_thr_interrupt()

21 years agoRemove extranious memory barriers, and correct the placement of a few others.
gallatin [Wed, 30 Oct 2002 01:41:44 +0000 (01:41 +0000)]
Remove extranious memory barriers, and correct the placement of a few others.
This provides a 30% reduction in system time and a 6% reduction in wallclock time
for a make buildworld on my xp1000 (one 21264).

FWIW, I've been running this for nearly 2 months without problems.

Portions submitted by: ticso, jhb
Tested by: jhb (ds20 dual 21264)

21 years agoMake the second serial port available for general use by default.
gallatin [Wed, 30 Oct 2002 01:34:41 +0000 (01:34 +0000)]
Make the second serial port available for general use by default.
We've been talking about this for years, but nobody has done it.
(and I don't think anybody has used this for debugging since Doug
and I were doing the initial bootstrapping..)

21 years agoCheck for errors and zero-length transfers in the ulpt_input() input
iedowse [Wed, 30 Oct 2002 01:18:58 +0000 (01:18 +0000)]
Check for errors and zero-length transfers in the ulpt_input() input
pipe callback function, and just return if these cases are detected.
Without these checks, the ulpt driver may cause an infinite loop
of failing USB transfers that can hang the whole machine. This makes
printing work for me on a HP DJ950C printer.

21 years agoThe future's bright: the future's Ballard...
fanf [Wed, 30 Oct 2002 01:00:48 +0000 (01:00 +0000)]
The future's bright: the future's Ballard...

21 years agoReinstate revs 1.35-36 and 1.38. Revisions 1.34 and 1.37 were specifically
imp [Wed, 30 Oct 2002 00:17:16 +0000 (00:17 +0000)]
Reinstate revs 1.35-36 and 1.38.  Revisions 1.34 and 1.37 were specifically
the root cause of the bus errors I was experiencing.

Submitted by: fenner
Tested by: obrien
Prompted by: peter

21 years agoTry again to fix the KASSERT.
rwatson [Wed, 30 Oct 2002 00:16:59 +0000 (00:16 +0000)]
Try again to fix the KASSERT.

21 years agoFix a KASSERT bug that showed up only in the LINT build, not the
rwatson [Wed, 30 Oct 2002 00:04:31 +0000 (00:04 +0000)]
Fix a KASSERT bug that showed up only in the LINT build, not the
module build, so I missed it in the merge.

Pointed out by: sam

21 years agoWhile an interface can be depreciated, we prefer deprecated.
rwatson [Tue, 29 Oct 2002 20:53:46 +0000 (20:53 +0000)]
While an interface can be depreciated, we prefer deprecated.

Submitted by: Wayne Morrison <tewok@tislabs.com>

21 years agoMinor comment typo fix.
rwatson [Tue, 29 Oct 2002 20:51:44 +0000 (20:51 +0000)]
Minor comment typo fix.

Submitted by: Wayne Morrison <tewok@tislabs.com>

21 years agoUpdate for 4.1.1a.
roberto [Tue, 29 Oct 2002 20:30:43 +0000 (20:30 +0000)]
Update for 4.1.1a.

Tested on: Sparc64 (panther), Alpha (beast) & i386

21 years agoUpdate ntpd to 4.1.1a. This contains many bug fixes made on the STABLE
roberto [Tue, 29 Oct 2002 20:20:36 +0000 (20:20 +0000)]
Update ntpd to 4.1.1a. This contains many bug fixes made on the STABLE
branch and a few new drivers. See contrib/ntp/ChangeLog for details.

Hide kernel header sys/lock.h from ntp [1]

PR: bin/33914
Submitted by: thomas, bde[1]
MFC after: 1 month

21 years agoThis commit was generated by cvs2svn to compensate for changes in r106167,
roberto [Tue, 29 Oct 2002 20:11:45 +0000 (20:11 +0000)]
This commit was generated by cvs2svn to compensate for changes in r106167,
which included commits to RCS files with non-trunk default branches.

21 years agoMerge conflicts.
roberto [Tue, 29 Oct 2002 20:04:27 +0000 (20:04 +0000)]
Merge conflicts.

MFC after: 1 month

21 years agoThis commit was generated by cvs2svn to compensate for changes in r106163,
roberto [Tue, 29 Oct 2002 19:58:12 +0000 (19:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r106163,
which included commits to RCS files with non-trunk default branches.

21 years agoVirgin import of ntpd 4.1.1a
roberto [Tue, 29 Oct 2002 19:58:12 +0000 (19:58 +0000)]
Virgin import of ntpd 4.1.1a

21 years agoHook up no-op stubs for reboot, swapon, sysctl entry points.
rwatson [Tue, 29 Oct 2002 19:57:28 +0000 (19:57 +0000)]
Hook up no-op stubs for reboot, swapon, sysctl entry points.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoImplement Biba policy entry points for mac_check_system_swapon()
rwatson [Tue, 29 Oct 2002 19:18:52 +0000 (19:18 +0000)]
Implement Biba policy entry points for mac_check_system_swapon()
and mac_check_system_sysctl(), providing additional integrity
protections relating to swap target device selection and system
management via sysctl().  Require Biba privilege for both; also
require that the target of swap operations be a high integrity
object, since swap data is high integrity.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Asssociates Laboratories

21 years agoRequire Biba privilege to relabel a network interface.
rwatson [Tue, 29 Oct 2002 19:14:16 +0000 (19:14 +0000)]
Require Biba privilege to relabel a network interface.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoFinally get around to committing Bill Paul's FEC netgraph nodes.
julian [Tue, 29 Oct 2002 19:12:44 +0000 (19:12 +0000)]
Finally get around to committing Bill Paul's FEC netgraph nodes.
These are really only partly netgraph nodes as they do not use the
netgraph interfaces for many of the functions for which they could
be used, however they represent important functionality.

Submitted by: wpaul
MFC after: 2 days

21 years agoAdd a missing newline to the end of a device_printf().
jhb [Tue, 29 Oct 2002 19:08:55 +0000 (19:08 +0000)]
Add a missing newline to the end of a device_printf().

Reported by: Michael G. Petry <petry@NetMasters.Com>

21 years agoDon't take out the rl_mtx lock in the attach routine. The only way
imp [Tue, 29 Oct 2002 19:02:19 +0000 (19:02 +0000)]
Don't take out the rl_mtx lock in the attach routine.  The only way
we'd need it is if we're interrupted.  So, register the interrupt last
in the attach routine.

21 years agoGetting closer to getting things right:
phk [Tue, 29 Oct 2002 17:12:02 +0000 (17:12 +0000)]
Getting closer to getting things right:
Always ignore the RAW_PART for BSD.
Having no quirks is not a mistake for an architecture.

Tested by: DES

21 years agoRemove Perl bits still lurking in BSD.local.dist. It is a
tobez [Tue, 29 Oct 2002 16:48:03 +0000 (16:48 +0000)]
Remove Perl bits still lurking in BSD.local.dist.  It is a
responsibility of lang/perl5 to deal with those nowadays.

Requested by: kkenn

21 years agoThe value of IPPROTO_DIVERT has changed.
fenner [Tue, 29 Oct 2002 16:46:52 +0000 (16:46 +0000)]
The value of IPPROTO_DIVERT has changed.

21 years agoRenumber IPPROTO_DIVERT out of the range of valid IP protocol numbers.
fenner [Tue, 29 Oct 2002 16:46:13 +0000 (16:46 +0000)]
Renumber IPPROTO_DIVERT out of the range of valid IP protocol numbers.
This allows socket() to return an error when the kernel is not built
with IPDIVERT, and doesn't prevent future applications from using the
"borrowed" IP protocol number.  The sysctl net.inet.raw.olddiverterror
controls whether opening a socket with the "borrowed" IP protocol
fails with an accompanying kernel printf; this code should last only a
couple of releases.

Approved by: re

21 years agoPRINTERDEVICE can now take multiple values.
ru [Tue, 29 Oct 2002 16:13:21 +0000 (16:13 +0000)]
PRINTERDEVICE can now take multiple values.

21 years agoIndex is unique for each PRINTERDEVICE.
ru [Tue, 29 Oct 2002 15:51:37 +0000 (15:51 +0000)]
Index is unique for each PRINTERDEVICE.

Abuse .for so that the variable expansion works inside the N modifier.
This won't be a simple abuse with the next version of bsd.doc.mk
which will support multi-value PRINTERDEVICE.

21 years agoThe syscall names are string constants, so make them consts.
dwmalone [Tue, 29 Oct 2002 15:47:06 +0000 (15:47 +0000)]
The syscall names are string constants, so make them consts.

21 years agoAdd scr2txt to the required list of doc ports for "make release". I
murray [Tue, 29 Oct 2002 15:13:28 +0000 (15:13 +0000)]
Add scr2txt to the required list of doc ports for "make release".  I
think this list of the bare minimal ports required should maybe be
moved to textproc/docproj/Makefile, so that when we add a new
dependency there, we can just add it to a required or optional list,
rather than add it there and forget about it here. ;)

Noticed by: jhay
Forgotten by: nik

21 years agoUse a single style for share/doc/ makefiles.
ru [Tue, 29 Oct 2002 15:01:59 +0000 (15:01 +0000)]
Use a single style for share/doc/ makefiles.

21 years agoCosmetics.
ru [Tue, 29 Oct 2002 15:00:10 +0000 (15:00 +0000)]
Cosmetics.

21 years agoSort SUBDIR list.
ru [Tue, 29 Oct 2002 14:58:00 +0000 (14:58 +0000)]
Sort SUBDIR list.
Don't mention SGML docs which now live elsewhere.

21 years agobsd.doc.mk changes:
ru [Tue, 29 Oct 2002 14:56:09 +0000 (14:56 +0000)]
bsd.doc.mk changes:

Don't gratuitously pipe thru a cat(1) if NODOCCOMPRESS.

Only create _stamp.extra when necessary.

Get rid of SOELIMPP and OBJS.

Use Groff version of soelim(1); we need its -I option
for the following to work.

Don't needlessly chdir to SRCDIR.  Only a few documents
need CD_HACK, and those that need it either use refer(1)
or .PSPIC macro which internally uses the .psbb call.

21 years agoThe agp device also exists on alpha and ia64.
nyan [Tue, 29 Oct 2002 14:53:57 +0000 (14:53 +0000)]
The agp device also exists on alpha and ia64.

Submitted by: dfr

21 years agoDon't call warn(3).
phk [Tue, 29 Oct 2002 14:45:43 +0000 (14:45 +0000)]
Don't call warn(3).

21 years agoDon't forget to '\n'-terminate new entries. This unbreaks chpass -a.
des [Tue, 29 Oct 2002 13:58:42 +0000 (13:58 +0000)]
Don't forget to '\n'-terminate new entries.  This unbreaks chpass -a.

Submitted by: joerg

21 years ago- Some sections are for not only i386 but pc98.
nyan [Tue, 29 Oct 2002 12:51:48 +0000 (12:51 +0000)]
- Some sections are for not only i386 but pc98.
- The agp driver is for i386 only.

21 years agoDon't try to dereference a NULL pw pointer. This would happen when
joerg [Tue, 29 Oct 2002 12:45:32 +0000 (12:45 +0000)]
Don't try to dereference a NULL pw pointer.  This would happen when
attempting to use chpass -a.

21 years agoFix `pkg_add -r' by backing out revs 1.34-1.38.
obrien [Tue, 29 Oct 2002 12:17:43 +0000 (12:17 +0000)]
Fix `pkg_add -r' by backing out revs 1.34-1.38.
Revs 1.37-8 produce a bus error in some environments.
Revs 1.34-6 do not bus error, but write corrupted files.

21 years agoWhitespace cleanup
des [Tue, 29 Oct 2002 12:14:31 +0000 (12:14 +0000)]
Whitespace cleanup

21 years agoSince make release is toast anyway, add wood to the pyre:
phk [Tue, 29 Oct 2002 12:13:36 +0000 (12:13 +0000)]
Since make release is toast anyway, add wood to the pyre:

This significantly rewamps libdisks discovery of existing disk
layout.

Please send me reports if this does not work as expected on
i386 or sparc64 platforms.

I need to sort out alpha, pc98 and ia64 (in that order) before
testing on those platforms make a lot of sense.

Belived to work for: i386 sparc64
Unknown state: pc98 alpha ia64

21 years agoIn VarHead(), look into the correct (modified) string.
jmallett [Tue, 29 Oct 2002 12:11:56 +0000 (12:11 +0000)]
In VarHead(), look into the correct (modified) string.

21 years agoUpdate for OpenSSH 3.5p1.
des [Tue, 29 Oct 2002 10:18:00 +0000 (10:18 +0000)]
Update for OpenSSH 3.5p1.

21 years agoAdd a fortune for people who have read their classics.
phk [Tue, 29 Oct 2002 10:16:06 +0000 (10:16 +0000)]
Add a fortune for people who have read their classics.

21 years agoResolve conflicts.
des [Tue, 29 Oct 2002 10:16:02 +0000 (10:16 +0000)]
Resolve conflicts.

21 years agoProtect against tag expansion + fix some brainos.
des [Tue, 29 Oct 2002 10:12:51 +0000 (10:12 +0000)]
Protect against tag expansion + fix some brainos.

21 years agoSome tricks I use when I upgrade.
des [Tue, 29 Oct 2002 09:56:16 +0000 (09:56 +0000)]
Some tricks I use when I upgrade.

21 years agoCorrect shell code to expand globs in FREEBSD-Xlist
des [Tue, 29 Oct 2002 09:55:28 +0000 (09:55 +0000)]
Correct shell code to expand globs in FREEBSD-Xlist

21 years agoMore cruft.
des [Tue, 29 Oct 2002 09:54:53 +0000 (09:54 +0000)]
More cruft.

21 years agoMention that the left-hand side of the comparison
ru [Tue, 29 Oct 2002 09:48:49 +0000 (09:48 +0000)]
Mention that the left-hand side of the comparison
conditional must always be a variable expansion.

Obtained from: PMake

Do not lie that debugging .for loops is a no-op.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r106121,
des [Tue, 29 Oct 2002 09:43:00 +0000 (09:43 +0000)]
This commit was generated by cvs2svn to compensate for changes in r106121,
which included commits to RCS files with non-trunk default branches.

21 years agoVendor import of OpenSSH-portable 3.5p1.
des [Tue, 29 Oct 2002 09:43:00 +0000 (09:43 +0000)]
Vendor import of OpenSSH-portable 3.5p1.

21 years agoMostly support alternate manpage zipping.
obrien [Tue, 29 Oct 2002 09:20:22 +0000 (09:20 +0000)]
Mostly support alternate manpage zipping.

21 years agoRemove unnecessary inclusion of <rune.h> to make it obvious that this file
tjr [Tue, 29 Oct 2002 09:03:57 +0000 (09:03 +0000)]
Remove unnecessary inclusion of <rune.h> to make it obvious that this file
does not use the deprecated rune system.

21 years agoLower a priority of "session drop" messages.
maxim [Tue, 29 Oct 2002 08:53:14 +0000 (08:53 +0000)]
Lower a priority of "session drop" messages.

Requested by: Eugene Grosbein <eugen@kuzbass.ru>
MFC after: 3 days

21 years agoTweak the warning language.
obrien [Tue, 29 Oct 2002 08:41:12 +0000 (08:41 +0000)]
Tweak the warning language.

21 years agoFix various minor issues.
phk [Tue, 29 Oct 2002 07:39:18 +0000 (07:39 +0000)]
Fix various minor issues.
Don't explode on 'write' because we access a pointer we just freed.

21 years agoSparc64 will not need the same hacks as alpha did. Hopefully alpha wont
phk [Tue, 29 Oct 2002 07:38:05 +0000 (07:38 +0000)]
Sparc64 will not need the same hacks as alpha did.  Hopefully alpha wont
need them either.

21 years agothe 'd' partition hasn't been magic for years, so allocate it in natural
phk [Tue, 29 Oct 2002 07:37:11 +0000 (07:37 +0000)]
the 'd' partition hasn't been magic for years, so allocate it in natural
order instead of last.

21 years agoAdd the write_spar64_disk.c to make life easier for testers.
phk [Tue, 29 Oct 2002 07:35:36 +0000 (07:35 +0000)]
Add the write_spar64_disk.c to make life easier for testers.

This file depends on some major surgery in the rest of libdisk which is
not yet committed.

21 years agoDuh. #ifdef CTASSERT so we don't break user-land software.
phk [Tue, 29 Oct 2002 06:43:57 +0000 (06:43 +0000)]
Duh.  #ifdef CTASSERT so we don't break user-land software.

21 years agoFix winChkName() to match when the last slot contains nothing but the
semenu [Tue, 29 Oct 2002 01:03:44 +0000 (01:03 +0000)]
Fix winChkName() to match when the last slot contains nothing but the
terminating zero (it was treated as length missmatch). The mtools create
such slots if the name len is the product of 13 (max number of unicode
chars fitting in directory slot).

MFC after: 1 week

21 years agoConvert most instances of "FreeBSD" to &os;.
bmah [Tue, 29 Oct 2002 00:59:36 +0000 (00:59 +0000)]
Convert most instances of "FreeBSD" to &os;.

Suggested by: ue

21 years agoo Change .Nd to be less redundant and more consistent with upcoming policy
chris [Tue, 29 Oct 2002 00:21:03 +0000 (00:21 +0000)]
o Change .Nd to be less redundant and more consistent with upcoming policy
  man pages.
o Move a misplaced comment.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Labs

21 years agoRemove unnecessary <sys/malloc.h> include.
semenu [Tue, 29 Oct 2002 00:20:47 +0000 (00:20 +0000)]
Remove unnecessary <sys/malloc.h> include.

Submitted by: marius@alchemy.franken.de
MFC after: 1 week

21 years agoSplit var.c into var.c and var_modify.c and move all the modification funcs
jmallett [Mon, 28 Oct 2002 23:33:57 +0000 (23:33 +0000)]
Split var.c into var.c and var_modify.c and move all the modification funcs
to var_modify.c, for readability.  constify some low hanging fruit (string
manipulation functions) and the upper layers appropriately.  No longer use
the private strstr(3) implementation, while changing string code.

Tested by:      lots of successful make buildworld.

21 years agoPut a CTASSERT on the size of struct sun_disklabel.
phk [Mon, 28 Oct 2002 23:31:33 +0000 (23:31 +0000)]
Put a CTASSERT on the size of struct sun_disklabel.

Sponsored by: DARPA & NAI Labs.

21 years agoScoop out examples illustrating the label text format and refer to
chris [Mon, 28 Oct 2002 23:06:04 +0000 (23:06 +0000)]
Scoop out examples illustrating the label text format and refer to
maclabel(7) instead.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Labs

21 years agoCorrectly spell "te" as "mls".
chris [Mon, 28 Oct 2002 23:03:25 +0000 (23:03 +0000)]
Correctly spell "te" as "mls".

21 years agoAdd a man page describing the Mandatory Access Control label format.
chris [Mon, 28 Oct 2002 22:54:54 +0000 (22:54 +0000)]
Add a man page describing the Mandatory Access Control label format.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Labs

21 years agoAdd the remaning part of the new libdisk interaction.
phk [Mon, 28 Oct 2002 22:43:54 +0000 (22:43 +0000)]
Add the remaning part of the new libdisk interaction.

WARNING:  This is not a published interface, it is a stopgap measure for
WARNING:  libdisk so we can get 5.0-R out of the door.

Sponsored by: DARPA & NAI Labs

21 years agoAdd support for the new libdisk interaction.
phk [Mon, 28 Oct 2002 22:42:20 +0000 (22:42 +0000)]
Add support for the new libdisk interaction.

Sponsored by: DARPA & NAI Labs.

21 years agoFix the wizardmodes 'write' command to not explode: Don't reference
phk [Mon, 28 Oct 2002 22:40:49 +0000 (22:40 +0000)]
Fix the wizardmodes 'write' command to not explode:  Don't reference
the name in the disk tree we just deleted when we reopen.

21 years agoEnd of translation of section 1.5
gioria [Mon, 28 Oct 2002 21:46:50 +0000 (21:46 +0000)]
End of translation of section 1.5

21 years agoAdd note: cvs checkout -P needed for fresh tree.
imp [Mon, 28 Oct 2002 21:33:10 +0000 (21:33 +0000)]
Add note: cvs checkout -P needed for fresh tree.

21 years agoTrim extraneous #else and #endif MAC comments per style(9).
rwatson [Mon, 28 Oct 2002 21:17:53 +0000 (21:17 +0000)]
Trim extraneous #else and #endif MAC comments per style(9).

21 years agoCorrect a typo in a previously commented include entry that was made
rwatson [Mon, 28 Oct 2002 19:50:06 +0000 (19:50 +0000)]
Correct a typo in a previously commented include entry that was made
visible in the recent commit.

21 years agoRemove all reference to 'struct oldmac', since it's no longer required
rwatson [Mon, 28 Oct 2002 19:44:05 +0000 (19:44 +0000)]
Remove all reference to 'struct oldmac', since it's no longer required
with the new VFS/EA semantics in the MAC framework.  Move the per-policy
structures out to per-policy include files, removing all policy-specific
defines and structures out of the base framework includes and
implementation, making mac_biba and mac_mls entirely self-contained.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoClarify style(9) WRT comments following #endif, #else.
rwatson [Mon, 28 Oct 2002 19:33:22 +0000 (19:33 +0000)]
Clarify style(9) WRT comments following #endif, #else.

The closing comment is required only for long conditionally defined
code sections, with the exception of lint cases.  Attempt to document
also the logic for using '!' before the SOMETIMESSOMETHGINGHERE.
The goal of these comments is to make complex cases more
comprehensible, not to require them in all cases.  The rules here are
derived from behavior used in 90+% of the kernel source code.

Reviewed by and discussed with: jhb, bde, mike

21 years agoAdd a return type for mac_biba_high_single(), apparently lost in an
rwatson [Mon, 28 Oct 2002 19:18:29 +0000 (19:18 +0000)]
Add a return type for mac_biba_high_single(), apparently lost in an
earlier merge.  It's a 'static int'.

21 years agoRename mac_biba_subject_equal_ok() to mac_biba_subject_privileged()
rwatson [Mon, 28 Oct 2002 19:17:39 +0000 (19:17 +0000)]
Rename mac_biba_subject_equal_ok() to mac_biba_subject_privileged()
to evolve the notion of Biba privilege a bit.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoZero the trusted_interface buffer before starting parsing.
rwatson [Mon, 28 Oct 2002 19:16:44 +0000 (19:16 +0000)]
Zero the trusted_interface buffer before starting parsing.
Print a warning if a requested interface name is longer than
IFNAMSIZ.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

21 years agoAn inappropriate ASSERT slipped in during the recent merge of the
rwatson [Mon, 28 Oct 2002 18:53:53 +0000 (18:53 +0000)]
An inappropriate ASSERT slipped in during the recent merge of the
reboot checking; remove.

21 years agoReduce namespace pollution to userland.
scottl [Mon, 28 Oct 2002 17:08:07 +0000 (17:08 +0000)]
Reduce namespace pollution to userland.

Spotted-by: bde

21 years agoFix a bug in the cherry-picker kkey generator routine.
phk [Mon, 28 Oct 2002 11:06:58 +0000 (11:06 +0000)]
Fix a bug in the cherry-picker kkey generator routine.

WARNING:  You need to backup and restore the _unencrypted_ contents
WARNING:  of your GBDE disks when you take this update!

Sponsored by: DARPA & NAI Labs.

21 years agolibfetch is now WARNS5 clean in the non-SSL case.
des [Mon, 28 Oct 2002 10:37:31 +0000 (10:37 +0000)]
libfetch is now WARNS5 clean in the non-SSL case.

21 years agoCross-reference putc(3).
tjr [Mon, 28 Oct 2002 10:35:18 +0000 (10:35 +0000)]
Cross-reference putc(3).

21 years agoAllow the admin to specify a different NAS identifier than the hostname.
des [Mon, 28 Oct 2002 10:28:46 +0000 (10:28 +0000)]
Allow the admin to specify a different NAS identifier than the hostname.

Submitted by: Boris Kovalenko <boris@ntmk.ru>

21 years agoFix an off-by-one error (> where >= should have been used) which caused
des [Mon, 28 Oct 2002 10:19:03 +0000 (10:19 +0000)]
Fix an off-by-one error (> where >= should have been used) which caused
_fetch_writev() to incorrectly report EPIPE in certain cases.

Also fix a number of const warnings by using __DECONST(), plus a signed /
unsigned comparison by casting the rhs to ssize_t.

Submitted by: fenner, Craig Rodrigues <rodrigc@attbi.com>

21 years agoSimplify by using inference rules properly.
tjr [Mon, 28 Oct 2002 09:05:43 +0000 (09:05 +0000)]
Simplify by using inference rules properly.

21 years agoEmptify.
ru [Mon, 28 Oct 2002 08:44:59 +0000 (08:44 +0000)]
Emptify.

21 years agoMove SCSI drivers to third floppy disk (drivers.flp) to give "make
murray [Mon, 28 Oct 2002 08:34:48 +0000 (08:34 +0000)]
Move SCSI drivers to third floppy disk (drivers.flp) to give "make
release" a chance of finishing on the Alpha platform.

The actual split between drivers on disks 2 and 3 should be optimized
so that most users don't need the third disk, but for now, I'm just
trying to get it working.