]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoRemove efree(), it isn't used consistently enough to even pretend that it
Juli Mallett [Wed, 23 Oct 2002 23:16:43 +0000 (23:16 +0000)]
Remove efree(), it isn't used consistently enough to even pretend that it
might help on the systems it could possibly be used as a bandaid for.  In
fact, the only thing it's useful for is instrumenting free(3) calls, and in
that capacity, it's better served as a local patch, than a public wrapper.

21 years agoRename ifconfig's "mac" argument to "maclabel" to prevent confusion
Robert Watson [Wed, 23 Oct 2002 22:50:04 +0000 (22:50 +0000)]
Rename ifconfig's "mac" argument to "maclabel" to prevent confusion
regarding 802.1 MAC and Mandatory Access Control (MAC).  Some
potential for confusion remains further in other areas of the
system regarding Message Authentication Codes (MAC).

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

21 years agoFix for changed getbsize arg type.
Mark Murray [Wed, 23 Oct 2002 22:09:05 +0000 (22:09 +0000)]
Fix for changed getbsize arg type.

21 years agoWe must be careful to avoid recursive copy-on-write faults when
Kirk McKusick [Wed, 23 Oct 2002 21:47:02 +0000 (21:47 +0000)]
We must be careful to avoid recursive copy-on-write faults when
trying to clean up during disk-full senarios.

Sponsored by: DARPA & NAI Labs.

21 years agoRemove the hack to build groff statically on alpha, now that the rtld
Andrew Gallatin [Wed, 23 Oct 2002 21:28:52 +0000 (21:28 +0000)]
Remove the hack to build groff statically on alpha, now that the rtld
has been extended to grok binaries with only one PLT_LOAD segment

An UPDATING entry about this is pending review..

Approved by: ru

21 years agoMore lobotomy:
Poul-Henning Kamp [Wed, 23 Oct 2002 21:05:42 +0000 (21:05 +0000)]
More lobotomy:
        remove CHUNK_BSD_COMPAT, it was a bad idea, and now its gone.
        remove DOSPTYP_ONTRACK, missed in OnTrack removal commit.
        unifdef -DHAVE_GEOM
make tst01 compile again.

21 years agoRemove another 10 mindless #ifdefs.
Poul-Henning Kamp [Wed, 23 Oct 2002 20:35:42 +0000 (20:35 +0000)]
Remove another 10 mindless #ifdefs.

21 years agoWe always need sys/pcpu.h now, not just for the SMP case.
John Baldwin [Wed, 23 Oct 2002 20:18:33 +0000 (20:18 +0000)]
We always need sys/pcpu.h now, not just for the SMP case.

Approved by: jake

21 years agoRely on sysctl kern.disks to be there, and get rid of one of the far too
Poul-Henning Kamp [Wed, 23 Oct 2002 20:15:10 +0000 (20:15 +0000)]
Rely on sysctl kern.disks to be there, and get rid of one of the far too
many lists of disk device driver names in the system.  At this point
we should really get the names from the XML, but hey...

21 years agoRemove unnecessary ioctls tickling kernel side to realize that we fiddled
Poul-Henning Kamp [Wed, 23 Oct 2002 20:02:33 +0000 (20:02 +0000)]
Remove unnecessary ioctls tickling kernel side to realize that we fiddled
with the disk.  GEOM will automatically retaste when we closet he filedesc.

21 years agoUntangle #ifdefs in the write-end of things by giving each arch its
Poul-Henning Kamp [Wed, 23 Oct 2002 19:52:32 +0000 (19:52 +0000)]
Untangle #ifdefs in the write-end of things by giving each arch its
own file and own copy of WriteDisk() to do things in.

This should have happened years ago, instead of adding #ifdefs all
over the place.

21 years agoSeparate the struct disklabel filling stuff from the rest of Write_FreeBSD().
Poul-Henning Kamp [Wed, 23 Oct 2002 19:32:18 +0000 (19:32 +0000)]
Separate the struct disklabel filling stuff from the rest of Write_FreeBSD().

21 years agoChange the type of an unused variable to appease a warning.
Mark Murray [Wed, 23 Oct 2002 19:10:15 +0000 (19:10 +0000)]
Change the type of an unused variable to appease a warning.

21 years agoA crude temporary hack to fix building of ms(7) formatted documents
Ruslan Ermilov [Wed, 23 Oct 2002 19:04:00 +0000 (19:04 +0000)]
A crude temporary hack to fix building of ms(7) formatted documents
while I am working on a real fix.

21 years agoAdjust for getbsize argument type change.
Mark Murray [Wed, 23 Oct 2002 19:02:17 +0000 (19:02 +0000)]
Adjust for getbsize argument type change.

21 years agoAdjust argument passed to getbsize().
Mark Murray [Wed, 23 Oct 2002 18:55:20 +0000 (18:55 +0000)]
Adjust argument passed to getbsize().

21 years agoRemove NO_GEOM from sparc64.
Poul-Henning Kamp [Wed, 23 Oct 2002 18:27:37 +0000 (18:27 +0000)]
Remove NO_GEOM from sparc64.

Reminded by: jhb

21 years agoRemove duplicate declaration.
Mark Murray [Wed, 23 Oct 2002 17:35:11 +0000 (17:35 +0000)]
Remove duplicate declaration.

21 years agoRemove unneeded function prototypes.
Mark Murray [Wed, 23 Oct 2002 16:20:12 +0000 (16:20 +0000)]
Remove unneeded function prototypes.

21 years ago- New-bussify the rc(4) device driver.
John Baldwin [Wed, 23 Oct 2002 15:53:09 +0000 (15:53 +0000)]
- New-bussify the rc(4) device driver.
- Add detach support to the driver so that you can kldunload the module.
  Note that currently rc_detach() fails to detach a unit if any of its
  child devices are open, thus a kldunload will fail if any of the tty
  devices are currently open.
- sys/i386/isa/ic/cd180.h was moved to sys/dev/ic/cd180.h as part of
  this change.

Requested by: rwatson
Tested by: rwatson

21 years agoDon't send/recieve packets when the interface is down.
Hidetoshi Shimokawa [Wed, 23 Oct 2002 15:16:37 +0000 (15:16 +0000)]
Don't send/recieve packets when the interface is down.

21 years agonpx(4) doesn't honor port hints so don't provide an example one.
John Baldwin [Wed, 23 Oct 2002 14:52:53 +0000 (14:52 +0000)]
npx(4) doesn't honor port hints so don't provide an example one.

21 years agoFix cut&paste mistake.
Poul-Henning Kamp [Wed, 23 Oct 2002 14:37:43 +0000 (14:37 +0000)]
Fix cut&paste mistake.

21 years agoMake the first argument of getbsize a size_t* instead of an int*, as this is what...
Mark Murray [Wed, 23 Oct 2002 14:18:07 +0000 (14:18 +0000)]
Make the first argument of getbsize a size_t* instead of an int*, as this is what the quantity actually is. Fix an easy const while I'm here.

21 years ago- Dequeue OCBs more safely in sbp_abort_all_ocbs().
Hidetoshi Shimokawa [Wed, 23 Oct 2002 13:04:02 +0000 (13:04 +0000)]
- Dequeue OCBs more safely in sbp_abort_all_ocbs().

21 years ago- The GEOM system does not work on pc98.
Yoshihiro Takahashi [Wed, 23 Oct 2002 13:00:09 +0000 (13:00 +0000)]
- The GEOM system does not work on pc98.
- Fix to build w/o the HAVE_GEOM option.

21 years agoMFi386: revision 1.10
Yoshihiro Takahashi [Wed, 23 Oct 2002 12:54:05 +0000 (12:54 +0000)]
MFi386: revision 1.10

21 years agoOnly define SEEK_{SET,CUR,END} if not already defined (by <stdio.h>)
Poul-Henning Kamp [Wed, 23 Oct 2002 12:13:10 +0000 (12:13 +0000)]
Only define SEEK_{SET,CUR,END} if not already defined (by <stdio.h>)

21 years agoNeed to run lint1 from ${WORLDTMP}/usr/libexec during buildworld.
Ruslan Ermilov [Wed, 23 Oct 2002 12:05:27 +0000 (12:05 +0000)]
Need to run lint1 from ${WORLDTMP}/usr/libexec during buildworld.

Spotted by: fjoe

21 years agoFix the NetBSD RCS id's on these files; somehow they were initially
Tim J. Robbins [Wed, 23 Oct 2002 11:08:40 +0000 (11:08 +0000)]
Fix the NetBSD RCS id's on these files; somehow they were initially
committed with the tags unexpanded.

21 years agoReimplement more efficiently, using a single forward scan (like strrchr(3))
Tim J. Robbins [Wed, 23 Oct 2002 10:52:04 +0000 (10:52 +0000)]
Reimplement more efficiently, using a single forward scan (like strrchr(3))
instead of scanning forwards to find the end of the string then scanning
backwards to find the character.

21 years agoReimplement, handling the case where c == L'\0' correctly and fixing
Tim J. Robbins [Wed, 23 Oct 2002 10:47:47 +0000 (10:47 +0000)]
Reimplement, handling the case where c == L'\0' correctly and fixing
some style(9) bugs.

21 years agoAdd the new extra argument also in the alpha case.
Poul-Henning Kamp [Wed, 23 Oct 2002 10:47:00 +0000 (10:47 +0000)]
Add the new extra argument also in the alpha case.

21 years agoquery ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152.
Hajimu UMEMOTO [Wed, 23 Oct 2002 10:45:09 +0000 (10:45 +0000)]
query ip6.arpa then ip6.int for IPv6 reverse lookup.  follows RFC3152.

Obtained from: KAME
MFC after: 1 week

21 years agoWhitespace cleanup.
Dag-Erling Smørgrav [Wed, 23 Oct 2002 10:26:54 +0000 (10:26 +0000)]
Whitespace cleanup.

21 years agoBe consistent about declaring a function "static", and consistent
Mark Murray [Wed, 23 Oct 2002 10:23:38 +0000 (10:23 +0000)]
Be consistent about declaring a function "static", and consistent
about the type of argv.

21 years agoConstify, staticify, rationalise types and fix other related warnings.
Mark Murray [Wed, 23 Oct 2002 10:20:01 +0000 (10:20 +0000)]
Constify, staticify, rationalise types and fix other related warnings.

21 years agoAdd a Standards section, claiming conformance to IEEE Std. 1003.1-2001.
Tim J. Robbins [Wed, 23 Oct 2002 10:16:21 +0000 (10:16 +0000)]
Add a Standards section, claiming conformance to IEEE Std. 1003.1-2001.
Also add a note to the Bugs section pointing out that strerror() and
perror() share the same static buffer.

21 years agoConstify to squash some warnings.
Mark Murray [Wed, 23 Oct 2002 10:15:44 +0000 (10:15 +0000)]
Constify to squash some warnings.

21 years agoVery minor whitespace/style nit.
Mark Murray [Wed, 23 Oct 2002 10:14:30 +0000 (10:14 +0000)]
Very minor whitespace/style nit.

21 years agoPut parentheses around function-like macros to shut up warnings.
Mark Murray [Wed, 23 Oct 2002 10:12:12 +0000 (10:12 +0000)]
Put parentheses around function-like macros to shut up warnings.

21 years agoKill EOL spaces.
Maxim Konovalov [Wed, 23 Oct 2002 10:07:55 +0000 (10:07 +0000)]
Kill EOL spaces.

Approved by: luigi
MFC after: 1 week

21 years agoUse syslog for messages about dropped sessions, do not flood a console.
Maxim Konovalov [Wed, 23 Oct 2002 10:05:19 +0000 (10:05 +0000)]
Use syslog for messages about dropped sessions, do not flood a console.

Suggested by: Eugene Grosbein <eugen@kuzbass.ru>
Approved by: luigi
MFC after: 1 week

21 years agoTranslate to English.
Dag-Erling Smørgrav [Wed, 23 Oct 2002 08:55:14 +0000 (08:55 +0000)]
Translate to English.

21 years agoThis commit was generated by cvs2svn to compensate for changes in r105770,
Dag-Erling Smørgrav [Wed, 23 Oct 2002 08:21:00 +0000 (08:21 +0000)]
This commit was generated by cvs2svn to compensate for changes in r105770,
which included commits to RCS files with non-trunk default branches.

21 years ago(MFP4#19900) Write message to stdout, not stderr.
Dag-Erling Smørgrav [Wed, 23 Oct 2002 08:21:00 +0000 (08:21 +0000)]
(MFP4#19900) Write message to stdout, not stderr.

Submitted by: jmallet
Sponsored by: Rachel Hestilow <rachel@jerkcity.com>

21 years agoupdate version numbers to (consistenly):
Assar Westerlund [Wed, 23 Oct 2002 06:12:21 +0000 (06:12 +0000)]
update version numbers to (consistenly):

krb4 1.0.5 fb1 (including the kadmind fix)
heimdal 0.5 fb1 (including the kadmind fix)

21 years agoThis commit was generated by cvs2svn to compensate for changes in r105765,
Assar Westerlund [Wed, 23 Oct 2002 06:10:08 +0000 (06:10 +0000)]
This commit was generated by cvs2svn to compensate for changes in r105765,
which included commits to RCS files with non-trunk default branches.

21 years agoimport 1.29 to fix buffer overflow:
Assar Westerlund [Wed, 23 Oct 2002 06:10:08 +0000 (06:10 +0000)]
import 1.29 to fix buffer overflow:

check the length of the authenticator and rlen

Obtained from: Heimdal CVS

21 years agoAdd two missing </para> I noticed during translation.
Udo Erdelhoff [Wed, 23 Oct 2002 06:02:16 +0000 (06:02 +0000)]
Add two missing </para> I noticed during translation.

21 years agoMissplaced FREE_LOCK causes a panic when hit while taking a snapshot.
Kirk McKusick [Wed, 23 Oct 2002 05:14:06 +0000 (05:14 +0000)]
Missplaced FREE_LOCK causes a panic when hit while taking a snapshot.

Sponsored by: DARPA & NAI Labs.

21 years agoHook raidctl up to the build.
Scott Long [Wed, 23 Oct 2002 04:50:34 +0000 (04:50 +0000)]
Hook raidctl up to the build.

Submitted by: tjr

21 years agoReplace this wcsncpy() implementation with one based on strncpy.c to fix
Tim J. Robbins [Wed, 23 Oct 2002 04:35:25 +0000 (04:35 +0000)]
Replace this wcsncpy() implementation with one based on strncpy.c to fix
two major bugs:
- off-by-one overflow when the length of the source string exceeds or
  equals the destination buffer size.
- old version was not padding the destination buffer with null wide chars

21 years agoTeach ifconfig(8) how to print and set the MAC labels on network
Robert Watson [Wed, 23 Oct 2002 03:40:47 +0000 (03:40 +0000)]
Teach ifconfig(8) how to print and set the MAC labels on network
interfaces using the 'mac' argument.  Without MAC support in the
kernel, this does not change the behavior of ifconfig.

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

21 years agoDon't complain if we have an inconsistent map that may be the
Marcel Moolenaar [Wed, 23 Oct 2002 03:33:06 +0000 (03:33 +0000)]
Don't complain if we have an inconsistent map that may be the
result of an incomplete migration. An incomplete migration is
one where the MBR is not turned into a PMBR after creating the
GPT. This early in the game it's more convenient to allow the
inconsistency, because that avoids that we have to destroy the
MBR partitioning for now.

21 years agoAdd a new '-s' option to su(1): if the flag is present, attempt to
Robert Watson [Wed, 23 Oct 2002 03:19:34 +0000 (03:19 +0000)]
Add a new '-s' option to su(1): if the flag is present, attempt to
also set the user's MAC label as part of the user credential setup
by setting setusercontext(3)'s SETMAC flag.  By default, change only
traditional process properties.

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

21 years agoIf LOGIN_SETMAC is set and MAC is enabled in the kernel, then see
Robert Watson [Wed, 23 Oct 2002 03:17:22 +0000 (03:17 +0000)]
If LOGIN_SETMAC is set and MAC is enabled in the kernel, then see
if the user has a 'label' entry in their login class.  If so, attempt
to set that label on the process as part of the credential setup.  If
we're unable to parse the label, or unable to set the label, fail.
In the future, we may also want to warn if a label is set but the
kernel doesn't support MAC.

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

21 years agoIntroduce simple command line tools to manage MAC labels on processes and
Robert Watson [Wed, 23 Oct 2002 03:15:24 +0000 (03:15 +0000)]
Introduce simple command line tools to manage MAC labels on processes and
files.  Basically wrappers for mac_{get,set}_{file,link,pid,proc}(3).
Man pages to be updated shortly.

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

21 years agoHandle binaries with arbitrary number PT_LOAD sections, not only
Alexander Kabaev [Wed, 23 Oct 2002 01:57:39 +0000 (01:57 +0000)]
Handle binaries with arbitrary number PT_LOAD sections, not only
ones with one text and one data section.

The text and data rlimit checks still needs to be fixed to properly
accout for additional sections.

Reviewed by: peter (slightly different patch version)

21 years agoDe-obfuscate and correct the include path handling for SysV style includes.
Juli Mallett [Wed, 23 Oct 2002 01:57:33 +0000 (01:57 +0000)]
De-obfuscate and correct the include path handling for SysV style includes.

PR: 32759
Submitted by: Mark Valentine
Reviewed by: Matthew Emmerton" <matt@gsicomp.on.ca>
MFC after: 15 days

21 years agoAdd support for binaries with arbitrary number of PT_LOAD sections.
Alexander Kabaev [Wed, 23 Oct 2002 01:43:29 +0000 (01:43 +0000)]
Add support for binaries with arbitrary number of PT_LOAD sections.

Reviewed by: peter

21 years agoMinor grammar fix: referenced to -> in reference to.
Giorgos Keramidas [Tue, 22 Oct 2002 23:36:10 +0000 (23:36 +0000)]
Minor grammar fix: referenced to -> in reference to.

21 years agoAdd description of fetch-recursive target.
Giorgos Keramidas [Tue, 22 Oct 2002 23:11:38 +0000 (23:11 +0000)]
Add description of fetch-recursive target.

21 years agoRefer to doc/en_US.ISO8859-1 for documentation.
Giorgos Keramidas [Tue, 22 Oct 2002 23:06:29 +0000 (23:06 +0000)]
Refer to doc/en_US.ISO8859-1 for documentation.

21 years agoSplit an excessively long sentence.
Giorgos Keramidas [Tue, 22 Oct 2002 22:52:24 +0000 (22:52 +0000)]
Split an excessively long sentence.

21 years agofixed a kernel crash by "ifconfig stf0 inet 1.2.3.4"
SUZUKI Shinsuke [Tue, 22 Oct 2002 22:50:38 +0000 (22:50 +0000)]
fixed a kernel crash by "ifconfig stf0 inet 1.2.3.4"
MFC after: 1 week

21 years agoImprove wording by removing repetitive use of 'default'.
Giorgos Keramidas [Tue, 22 Oct 2002 22:43:24 +0000 (22:43 +0000)]
Improve wording by removing repetitive use of 'default'.

21 years agoThe ipfw module is only loaded if necessary.
Giorgos Keramidas [Tue, 22 Oct 2002 22:39:18 +0000 (22:39 +0000)]
The ipfw module is only loaded if necessary.

21 years agos/then/than/ where appropriate.
Giorgos Keramidas [Tue, 22 Oct 2002 22:36:56 +0000 (22:36 +0000)]
s/then/than/ where appropriate.

21 years agorulset -> ruleset
Giorgos Keramidas [Tue, 22 Oct 2002 22:34:29 +0000 (22:34 +0000)]
rulset -> ruleset

21 years agoFill in missing parts of the ATAPI/CAM XPT: implement XPT_RESET_BUS
Thomas Quinot [Tue, 22 Oct 2002 20:18:51 +0000 (20:18 +0000)]
Fill in missing parts of the ATAPI/CAM XPT: implement XPT_RESET_BUS
and XPT_RESET_DEV.

In order to properly handle reset requests whether they originate in the
ATA layer (atacontrol reinit) or from the CAM layer (camcontrol reset)
ata_reinit does not cause the SIM to be deallocated anymore. The SIM
is now unconditionnally created for each ATAPI bus.

This change may cause existing bus ids to change on some setups.

Reviewed by: roberto
Approved by: sos

21 years agoForgot to include <errno.h> when using 'errno' here.
Juli Mallett [Tue, 22 Oct 2002 19:55:44 +0000 (19:55 +0000)]
Forgot to include <errno.h> when using 'errno' here.

21 years agoUse an error message closer to old dumpfs(8) in the case of truncated/no
Juli Mallett [Tue, 22 Oct 2002 19:36:10 +0000 (19:36 +0000)]
Use an error message closer to old dumpfs(8) in the case of truncated/no
superblock.

Submitted by: kkenn

Can't use it verbatim, at least I hate to, as the ", skipped" bit doesn't
make much sense in a library, to me.

21 years agoWhen errno is not set, do not use warn(3).
Juli Mallett [Tue, 22 Oct 2002 19:31:05 +0000 (19:31 +0000)]
When errno is not set, do not use warn(3).

21 years agoUse the libufs_printerror() function, which hopefully will deconfuse users
Juli Mallett [Tue, 22 Oct 2002 19:27:09 +0000 (19:27 +0000)]
Use the libufs_printerror() function, which hopefully will deconfuse users
getting error cases in a libufsificated dumpfs(8).

Poked by: kkenn

21 years agoAdd the concept of a per-disk error string, and a function which prints it
Juli Mallett [Tue, 22 Oct 2002 19:25:58 +0000 (19:25 +0000)]
Add the concept of a per-disk error string, and a function which prints it
along with the errno, if one is set.

21 years agoStyle fix: space between 'switch' and '('.
Robert Watson [Tue, 22 Oct 2002 19:01:49 +0000 (19:01 +0000)]
Style fix: space between 'switch' and '('.

21 years agoDon't dereference the 'x' pointer if it is NULL, instead skip the
John Baldwin [Tue, 22 Oct 2002 18:44:59 +0000 (18:44 +0000)]
Don't dereference the 'x' pointer if it is NULL, instead skip the
assignment.  The netsmb code likes to call these functions with a NULL
x argument a lot.

Reported by: Vallo Kallaste <kalts@estpak.ee>

21 years agos/mls/biba/ in a copy+paste error for a printf.
Robert Watson [Tue, 22 Oct 2002 18:36:47 +0000 (18:36 +0000)]
s/mls/biba/ in a copy+paste error for a printf.

21 years ago- Expand struct trapframe to 256 bytes, make all fields fixed width and the
Jake Burkholder [Tue, 22 Oct 2002 18:03:15 +0000 (18:03 +0000)]
- Expand struct trapframe to 256 bytes, make all fields fixed width and the
  same size.  Add some fields that previously overlapped with something else
  or were missing.
- Make struct regs and struct mcontext (minus floating point) the same as
  struct trapframe so converting between them is easy (null).
- Add space for saving floating point state to struct mcontext.  This requires
  that it be 64 byte aligned.
- Add assertions that none of these structures change size, as they are part
  of the ABI.
- Remove some dead code in sendsig().
- Save and restore %gsr in struct trapframe.  Remember to restore %fsr.
- Add some comments to exception.S.

21 years ago- No need for pmtimer hint anymore.
John Baldwin [Tue, 22 Oct 2002 17:32:51 +0000 (17:32 +0000)]
- No need for pmtimer hint anymore.
- npx doesn't need an 'at' hint anymore.

21 years agoNo need for pmtimer hint anymore.
John Baldwin [Tue, 22 Oct 2002 17:32:27 +0000 (17:32 +0000)]
No need for pmtimer hint anymore.

21 years agoAdd an identify method that creates a pmtimer0 device if it doesn't alreedy
John Baldwin [Tue, 22 Oct 2002 17:30:52 +0000 (17:30 +0000)]
Add an identify method that creates a pmtimer0 device if it doesn't alreedy
exist.  Hints are no longer needed to instantiate a pmtimer(4) device.

21 years agoRemove the mac_te policy bits from 'struct oldmac' -- we're not going
Robert Watson [Tue, 22 Oct 2002 17:19:06 +0000 (17:19 +0000)]
Remove the mac_te policy bits from 'struct oldmac' -- we're not going
to merge mac_te, since the SEBSD port of SELinux/FLASK provides a much
more mature Type Enforcement implementation.  This changes the size
of the on-disk 'struct oldmac' EA labels, which may require regeneration.

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

21 years agoremove unused __sys_sigaltstack() declaration
Max Khon [Tue, 22 Oct 2002 17:13:32 +0000 (17:13 +0000)]
remove unused __sys_sigaltstack() declaration

Approved by: deischen

21 years agofix pthread_suspend/resume_all_np() declarations
Max Khon [Tue, 22 Oct 2002 17:11:49 +0000 (17:11 +0000)]
fix pthread_suspend/resume_all_np() declarations

Approved by: deischen

21 years agoopt_mac.h is no longer required for any of these modules, remove from
Robert Watson [Tue, 22 Oct 2002 17:10:15 +0000 (17:10 +0000)]
opt_mac.h is no longer required for any of these modules, remove from
the dependencies.

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

21 years agoAdd Sun type 6 USB keyboard and mouse to supported device list.
Bruce A. Mah [Tue, 22 Oct 2002 17:09:23 +0000 (17:09 +0000)]
Add Sun type 6 USB keyboard and mouse to supported device list.

PR: 43974
Submitted by: Hendrik Scholz <hendrik@scholz.net>

21 years agoNew release notes: devctl, gbde(8), RAIDframe/raid(4), devd(8),
Bruce A. Mah [Tue, 22 Oct 2002 17:05:36 +0000 (17:05 +0000)]
New release notes:  devctl, gbde(8), RAIDframe/raid(4), devd(8),
removal of many (but not all) games.

21 years agoDon't enforce MAC Biba policy for socket visibility if Biba is not
Robert Watson [Tue, 22 Oct 2002 17:02:42 +0000 (17:02 +0000)]
Don't enforce MAC Biba policy for socket visibility if Biba is not
explicitly enabled.

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

21 years agoReserve a major number for NVIDIA.
Matthew N. Dodd [Tue, 22 Oct 2002 16:42:16 +0000 (16:42 +0000)]
Reserve a major number for NVIDIA.

21 years agoExplain to users that they may want to kldload aio.
Alfred Perlstein [Tue, 22 Oct 2002 16:12:27 +0000 (16:12 +0000)]
Explain to users that they may want to kldload aio.
Move Xref sections.

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

21 years agoChange the `mutex_prof' structure to use three variables contained
Robert Drehmel [Tue, 22 Oct 2002 16:06:28 +0000 (16:06 +0000)]
Change the `mutex_prof' structure to use three variables contained
in an anonymous structure as counters, instead of an array with
preprocessor-defined names for indices.  Remove the associated XXX-
comment.

21 years agoInvoke mac_check_vnode_mmap() during mmap operations on vnodes,
Robert Watson [Tue, 22 Oct 2002 15:56:44 +0000 (15:56 +0000)]
Invoke mac_check_vnode_mmap() during mmap operations on vnodes,
permitting policies to restrict access to memory mapping based on
the credential requesting the mapping, the target vnode, the
requested rights, or other policy considerations.

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

21 years agoIntroduce MAC_CHECK_VNODE_SWAPON, which permits MAC policies to
Robert Watson [Tue, 22 Oct 2002 15:53:43 +0000 (15:53 +0000)]
Introduce MAC_CHECK_VNODE_SWAPON, which permits MAC policies to
perform authorization checks during swapon() events; policies
might choose to enforce protections based on the credential
requesting the swap configuration, the target of the swap operation,
or other factors such as internal policy state.

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

21 years agoMissed in previous merge: export sizeof(struct oldmac) rather than
Robert Watson [Tue, 22 Oct 2002 15:33:33 +0000 (15:33 +0000)]
Missed in previous merge: export sizeof(struct oldmac) rather than
sizeof(struct mac).

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

21 years agoMFi386: revision 1.543.
Yoshihiro Takahashi [Tue, 22 Oct 2002 15:25:25 +0000 (15:25 +0000)]
MFi386: revision 1.543.

21 years agoRemove more private MAKEDEV kludges.
Poul-Henning Kamp [Tue, 22 Oct 2002 15:25:19 +0000 (15:25 +0000)]
Remove more private MAKEDEV kludges.

21 years agoList some of the Compact Flash readers known to work with this driver.
Luigi Rizzo [Tue, 22 Oct 2002 15:23:13 +0000 (15:23 +0000)]
List some of the Compact Flash readers known to work with this driver.

MFC after: 3 days

21 years agoMerged from sys/isa/syscons_isa.c revision 1.20.
Yoshihiro Takahashi [Tue, 22 Oct 2002 15:22:49 +0000 (15:22 +0000)]
Merged from sys/isa/syscons_isa.c revision 1.20.