]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoFixes to get rid of CD_HACK.
Ruslan Ermilov [Wed, 30 Oct 2002 13:07:34 +0000 (13:07 +0000)]
Fixes to get rid of CD_HACK.

21 years agoAdd two additional references to the See Also section, which contain much
Tim J. Robbins [Wed, 30 Oct 2002 11:49:05 +0000 (11:49 +0000)]
Add two additional references to the See Also section, which contain much
better descriptions of UTF-8 and related issues.

21 years agoOops. scr2txt is in the textproc category.
Murray Stokely [Wed, 30 Oct 2002 09:20:50 +0000 (09:20 +0000)]
Oops.  scr2txt is in the textproc category.

Pointed out by: jhay
MFC After: 1 day

21 years agoMan page for ATAPI/CAM.
Thomas Quinot [Wed, 30 Oct 2002 08:42:24 +0000 (08:42 +0000)]
Man page for ATAPI/CAM.

Reviewed by: roberto

21 years agoDon't need to check if SO_OOBINLINE is defined.
Jeffrey Hsu [Wed, 30 Oct 2002 08:32:19 +0000 (08:32 +0000)]
Don't need to check if SO_OOBINLINE is defined.
Don't need to protect isipv6 conditional with INET6.
Fix leading indentation in 2 lines.

21 years agoDon't pass the return address to exception_save in register b0. Use
Marcel Moolenaar [Wed, 30 Oct 2002 07:58:11 +0000 (07:58 +0000)]
Don't pass the return address to exception_save in register b0. Use
a true scratch register. This change and future re-allocations will
eventually result in code that we can unwind to to get the preserved
registers of the process. This of course means that we cannot trash
them while saving the process context.

While re-allocating, remove the register aliases. Abstraction is in
this case disadvanteous.

21 years agoUse "deprecated" instead of "depreciated" where appropriate.
Sheldon Hearn [Wed, 30 Oct 2002 07:49:11 +0000 (07:49 +0000)]
Use "deprecated" instead of "depreciated" where appropriate.

21 years agoMake pthread_sigmask(3) operate on the thread signal mask, not the process
Jonathan Mini [Wed, 30 Oct 2002 07:13:27 +0000 (07:13 +0000)]
Make pthread_sigmask(3) operate on the thread signal mask, not the process
signal mask.

21 years agoDelete worthless comments.
Tim J. Robbins [Wed, 30 Oct 2002 06:34:52 +0000 (06:34 +0000)]
Delete worthless comments.

21 years agoUse KSE to schedule threads.
Jonathan Mini [Wed, 30 Oct 2002 06:07:18 +0000 (06:07 +0000)]
Use KSE to schedule threads.

21 years agoRecognize the (incorrect) error code a MediaHawk server sends in reply to
Dag-Erling Smørgrav [Wed, 30 Oct 2002 06:06:16 +0000 (06:06 +0000)]
Recognize the (incorrect) error code a MediaHawk server sends in reply to
unrecognized commands such as MDTM.

Requested by: Stephen Roome <stephen_roome@pepcross.com>

21 years agoRewrite cpu_switch(). The most notable change is the fact that we now
Marcel Moolenaar [Wed, 30 Oct 2002 05:55:29 +0000 (05:55 +0000)]
Rewrite cpu_switch(). The most notable change is the fact that we now
have f16-f31 as part of the context. The PCB has been reorganized to
better match how we save and restore the (preserved) registers. This
commit also moves the context restoriation to its own function (named
pcb_restore), as we did with pcb_save.

Only minimal effort has been put in writing optimal assembly. The
expectation is that there will be more rounds of changes.

21 years agoCheck NULL thread mailbox pointer.
David Xu [Wed, 30 Oct 2002 05:09:29 +0000 (05:09 +0000)]
Check NULL thread mailbox pointer.

21 years agoClarify my feelings towards fetch / libfetch.
Dag-Erling Smørgrav [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.
Dag-Erling Smørgrav [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.
Dag-Erling Smørgrav [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 Moolenaar [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.
Greg Lehey [Wed, 30 Oct 2002 03:24:16 +0000 (03:24 +0000)]
Output .lf directives.

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

21 years agoDon't forget to set syscall result.
David Xu [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()
David Xu [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.
Andrew 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.
Andrew 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
Ian Dowse [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...
Tony Finch [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
Warner Losh [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.
Robert Watson [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
Robert Watson [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.
Robert Watson [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.
Robert Watson [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.
Ollivier Robert [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
Ollivier Robert [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,
Ollivier Robert [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.
Ollivier Robert [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,
Ollivier Robert [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
Ollivier Robert [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.
Robert Watson [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()
Robert Watson [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.
Robert Watson [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 Elischer [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().
John Baldwin [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
Warner Losh [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:
Poul-Henning Kamp [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
Anton Berezin [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.
Bill 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.
Bill 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.
Ruslan Ermilov [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.
Ruslan Ermilov [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.
David Malone [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 Stokely [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.
Ruslan Ermilov [Tue, 29 Oct 2002 15:01:59 +0000 (15:01 +0000)]
Use a single style for share/doc/ makefiles.

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

21 years agoSort SUBDIR list.
Ruslan Ermilov [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:
Ruslan Ermilov [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.
Yoshihiro Takahashi [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).
Poul-Henning Kamp [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.
Dag-Erling Smørgrav [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.
Yoshihiro Takahashi [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 Wunsch [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.
David E. O'Brien [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
Dag-Erling Smørgrav [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:
Poul-Henning Kamp [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.
Juli Mallett [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.
Dag-Erling Smørgrav [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.
Poul-Henning Kamp [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.
Dag-Erling Smørgrav [Tue, 29 Oct 2002 10:16:02 +0000 (10:16 +0000)]
Resolve conflicts.

21 years agoProtect against tag expansion + fix some brainos.
Dag-Erling Smørgrav [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.
Dag-Erling Smørgrav [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
Dag-Erling Smørgrav [Tue, 29 Oct 2002 09:55:28 +0000 (09:55 +0000)]
Correct shell code to expand globs in FREEBSD-Xlist

21 years agoMore cruft.
Dag-Erling Smørgrav [Tue, 29 Oct 2002 09:54:53 +0000 (09:54 +0000)]
More cruft.

21 years agoMention that the left-hand side of the comparison
Ruslan Ermilov [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,
Dag-Erling Smørgrav [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.
Dag-Erling Smørgrav [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.
David E. O'Brien [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
Tim J. Robbins [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 Konovalov [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.
David E. O'Brien [Tue, 29 Oct 2002 08:41:12 +0000 (08:41 +0000)]
Tweak the warning language.

21 years agoFix various minor issues.
Poul-Henning Kamp [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
Poul-Henning Kamp [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
Poul-Henning Kamp [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.
Poul-Henning Kamp [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.
Poul-Henning Kamp [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
Semen Ustimenko [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;.
Bruce A. Mah [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 Costello [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.
Semen Ustimenko [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
Juli Mallett [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.
Poul-Henning Kamp [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 Costello [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 Costello [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 Costello [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.
Poul-Henning Kamp [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.
Poul-Henning Kamp [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
Poul-Henning Kamp [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
Sebastien 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.
Warner Losh [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).
Robert Watson [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
Robert Watson [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
Robert Watson [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.
Robert Watson [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