]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoo Update man page to reflect the new prototypes for mac_{to,from}_text.
Chris Costello [Wed, 6 Nov 2002 17:34:29 +0000 (17:34 +0000)]
o Update man page to reflect the new prototypes for mac_{to,from}_text.
o Remove a (currently) no-longer-pertinent entry from errors.

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

21 years agoAdd support for DEVICE_POLLING.
Hidetoshi Shimokawa [Wed, 6 Nov 2002 15:50:32 +0000 (15:50 +0000)]
Add support for DEVICE_POLLING.

PR: kern/44772
Submitted by: Takashi Oono <takashi@yha.att.ne.jp>
MFC after: 1 week

21 years agoMinor clean up on cdb handling.
Hidetoshi Shimokawa [Wed, 6 Nov 2002 15:34:52 +0000 (15:34 +0000)]
Minor clean up on cdb handling.

21 years agoKill EOL whitespaces, style(9) fix.
Maxim Konovalov [Wed, 6 Nov 2002 15:09:34 +0000 (15:09 +0000)]
Kill EOL whitespaces, style(9) fix.

21 years agoFix UID/GID options parsing.
Maxim Konovalov [Wed, 6 Nov 2002 14:57:18 +0000 (14:57 +0000)]
Fix UID/GID options parsing.

PR: bin/42579
Submitted by: Belousov Oleg <oleg@belousov.com>
Approved by: luigi
MFC after: 2 weeks

21 years agoRemove what was a temporary bogus assignment of bits of siginfo_t, as it does
Juli Mallett [Wed, 6 Nov 2002 14:53:35 +0000 (14:53 +0000)]
Remove what was a temporary bogus assignment of bits of siginfo_t, as it does
not look like the prerequisites to fill it in properly will be in the tree
for the upcoming release, but it's mostly done, so there is no need for these
to stay around to remind us.

21 years agoThere's no need for a locally defined usb_proc_t when we've got
Josef Karthauser [Wed, 6 Nov 2002 14:29:27 +0000 (14:29 +0000)]
There's no need for a locally defined usb_proc_t when we've got
usb_proc_ptr that does the same thing.

21 years agoAdd a MAINTAINERS entry for make(1), to the make@ alias, which anyone can use
Juli Mallett [Wed, 6 Nov 2002 14:01:08 +0000 (14:01 +0000)]
Add a MAINTAINERS entry for make(1), to the make@ alias, which anyone can use
to run patches to make(1) by.  Hopefully this will make it easier to get bugs
fixed in make(1), as well as get review by people with experience working on,
in, around, etc., make(1).

Currently it points to two people who have demonstrated maintainership (ru@
and myself) and one person interested in helping (alane@).  That list is
subject to expansion and contraction.

21 years agoMove adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc.
Yoshihiro Takahashi [Wed, 6 Nov 2002 13:47:00 +0000 (13:47 +0000)]
Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc.

21 years agoInclude "../Makefile.inc".
Yoshihiro Takahashi [Wed, 6 Nov 2002 13:41:40 +0000 (13:41 +0000)]
Include "../Makefile.inc".

21 years agoAdd missing #includes of <stdio.h>. Correct a few typos in comments.
Tim J. Robbins [Wed, 6 Nov 2002 09:37:47 +0000 (09:37 +0000)]
Add missing #includes of <stdio.h>. Correct a few typos in comments.

21 years agoImport the latest hints file from Internic. The most important change
Doug Barton [Wed, 6 Nov 2002 09:21:39 +0000 (09:21 +0000)]
Import the latest hints file from Internic. The most important change
is that J has moved, however I'm sure you'll all be very disappointed
to hear that you can no longer retrieve this file via gopher.

21 years agoClean up a little. Don't need to include fetch.h any more, and I can't
David E. O'Brien [Wed, 6 Nov 2002 09:03:53 +0000 (09:03 +0000)]
Clean up a little.  Don't need to include fetch.h any more, and I can't
find any consumers of HOSTNAME_MAX.

21 years agoBreak fileGetURL() out into its own file so that pkg_install/lib consumers
David E. O'Brien [Wed, 6 Nov 2002 08:57:03 +0000 (08:57 +0000)]
Break fileGetURL() out into its own file so that pkg_install/lib consumers
pkg_{create,delete} don't need to needlessly link with libfetch.

21 years agoWhitespace, style fixes.
Matthew N. Dodd [Wed, 6 Nov 2002 08:08:55 +0000 (08:08 +0000)]
Whitespace, style fixes.

21 years agoAdd caveats regarding the effect of PAM on PasswordAuthentication and
Dag-Erling Smørgrav [Wed, 6 Nov 2002 08:04:56 +0000 (08:04 +0000)]
Add caveats regarding the effect of PAM on PasswordAuthentication and
PermitRootLogin.

PR: docs/43776
MFC after: 1 week

21 years agoBetter emulate the FSF build for Sparc64.
David E. O'Brien [Wed, 6 Nov 2002 07:00:59 +0000 (07:00 +0000)]
Better emulate the FSF build for Sparc64.

21 years agoDon't ever disable ACPI on ia64. We cannot life without it.
Marcel Moolenaar [Wed, 6 Nov 2002 04:59:22 +0000 (04:59 +0000)]
Don't ever disable ACPI on ia64. We cannot life without it.

21 years agoDefine UMA_MD_SMALL_ALLOC so that we can allocate memory with region
Marcel Moolenaar [Wed, 6 Nov 2002 04:47:38 +0000 (04:47 +0000)]
Define UMA_MD_SMALL_ALLOC so that we can allocate memory with region
7 addresses for use by page tables and kernel stacks.

Obtained from: peter

21 years ago - Let the PCI code try to route interrupt in -current
Hidetoshi Shimokawa [Wed, 6 Nov 2002 04:07:05 +0000 (04:07 +0000)]
 - Let the PCI code try to route interrupt in -current
 - Print warning in -stable.

21 years agoRemove Realtek discriminating comments from the rl(4) manual page.
Tom Rhodes [Wed, 6 Nov 2002 03:53:08 +0000 (03:53 +0000)]
Remove Realtek discriminating comments from the rl(4) manual page.
This leaves us with 'just the facts'

PR: 31271

21 years agoHook up the userland wrapper for __mac_execve().
Robert Watson [Wed, 6 Nov 2002 03:38:47 +0000 (03:38 +0000)]
Hook up the userland wrapper for __mac_execve().

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

21 years agoCheck the FSLABEL argument and invoke the generic doFS.sh script
Marcel Moolenaar [Wed, 6 Nov 2002 03:36:57 +0000 (03:36 +0000)]
Check the FSLABEL argument and invoke the generic doFS.sh script
if it's not defined as efi. This makes sure we create a proper
MFS root filesystem and still allow the boot disk to be EFI
based.

At this time EFI auto boot works and we're properly loading the
MFS root file system. Time to create drivers.conf and get this
show on the road!

21 years agoReserve a major number for the mdsio driver: RS-485 driver for 8250-family
Robert Watson [Wed, 6 Nov 2002 02:19:28 +0000 (02:19 +0000)]
Reserve a major number for the mdsio driver: RS-485 driver for 8250-family
UARTs.

Requested by: doconnor@gsoft.com.au

21 years agoUse warn() instead of perror() or fprintf() where appropriate.
Tim J. Robbins [Wed, 6 Nov 2002 01:18:12 +0000 (01:18 +0000)]
Use warn() instead of perror() or fprintf() where appropriate.

21 years agoMount devfs with nmount(2) instead of mount(2). This error was masked
John Baldwin [Tue, 5 Nov 2002 22:56:44 +0000 (22:56 +0000)]
Mount devfs with nmount(2) instead of mount(2).  This error was masked
because errors from mount(2) were explicitly ignored.  I didn't fix that
bug.

21 years agoTake sizeof() the right string for fspath's iovec. The old string was the
John Baldwin [Tue, 5 Nov 2002 20:06:01 +0000 (20:06 +0000)]
Take sizeof() the right string for fspath's iovec.  The old string was the
same size so this doesn't fix a bug, but it makes it cleaner.

21 years agoFix formatting bogon.
Dima Dorfman [Tue, 5 Nov 2002 19:23:25 +0000 (19:23 +0000)]
Fix formatting bogon.

21 years agoUndelete FILES section (taken from RELENG_4), primarily to give the
Dima Dorfman [Tue, 5 Nov 2002 19:18:19 +0000 (19:18 +0000)]
Undelete FILES section (taken from RELENG_4), primarily to give the
location of the passwd and master.passwd files.

Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>

21 years agomaster.passwd, not master.password
Dima Dorfman [Tue, 5 Nov 2002 19:13:06 +0000 (19:13 +0000)]
master.passwd, not master.password

Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>

21 years agoSpotted a couple of places where the socket buffer's counters were being
Kelly Yancey [Tue, 5 Nov 2002 18:52:25 +0000 (18:52 +0000)]
Spotted a couple of places where the socket buffer's counters were being
manipulated directly (rather than using sballoc()/sbfree()); update them
to tweak the new sb_ctl field too.

Sponsored by: NTT Multimedia Communications Labs

21 years agoFix filt_soread() to properly flag a kevent when a 0-byte datagram is
Kelly Yancey [Tue, 5 Nov 2002 18:48:46 +0000 (18:48 +0000)]
Fix filt_soread() to properly flag a kevent when a 0-byte datagram is
received.

Verified by: dougb, Manfred Antar <null@pozo.com>
Sponsored by: NTT Multimedia Communications Labs

21 years agoo Introduce variable DOFS_SH to hold the path of the doFS.sh.
Marcel Moolenaar [Tue, 5 Nov 2002 18:06:01 +0000 (18:06 +0000)]
o  Introduce variable DOFS_SH to hold the path of the doFS.sh.
o  ia64: Set DOFS_SH to point to an alternate version.
o  ia64: Lower BIGBOOTSIZE from 120M (LS-120) to ~5M.
o  ia64: Set BIGBOOTLABEL to efi so that we can check for it
   in the alternate doFS.sh script. If the label is not efi, we
   can invoke the generic doFS.sh.

21 years agoCorrect merge-o: disable the right execve() variation if !MAC
Robert Watson [Tue, 5 Nov 2002 18:04:50 +0000 (18:04 +0000)]
Correct merge-o: disable the right execve() variation if !MAC

21 years agoUpdate policy modules for changes in arguments associated with support
Robert Watson [Tue, 5 Nov 2002 17:52:42 +0000 (17:52 +0000)]
Update policy modules for changes in arguments associated with support
for label access on the interpreter, not just the shell script.  No
policies currently present in the system rely on the new labels.

21 years agoBring in two sets of changes:
Robert Watson [Tue, 5 Nov 2002 17:51:56 +0000 (17:51 +0000)]
Bring in two sets of changes:

(1) Permit userland applications to request a change of label atomic
    with an execve() via mac_execve().  This is required for the
    SEBSD port of SELinux/FLASK.  Attempts to invoke this without
    MAC compiled in result in ENOSYS, as with all other MAC system
    calls.  Complexity, if desired, is present in policy modules,
    rather than the framework.

(2) Permit policies to have access to both the label of the vnode
    being executed as well as the interpreter if it's a shell
    script or related UNIX nonsense.  Because we can't hold both
    vnode locks at the same time, cache the interpreter label.
    SEBSD relies on this because it supports secure transitioning
    via shell script executables.  Other policies might want to
    take both labels into account during an integrity or
    confidentiality decision at execve()-time.

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

21 years agoRegen.
Robert Watson [Tue, 5 Nov 2002 17:48:04 +0000 (17:48 +0000)]
Regen.

21 years agoFlesh out the definition of __mac_execve(): per earlier discussion,
Robert Watson [Tue, 5 Nov 2002 17:47:08 +0000 (17:47 +0000)]
Flesh out the definition of __mac_execve(): per earlier discussion,
it's essentially execve() with an optional MAC label argument.

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

21 years agoDocument the current default for VersionAddendum.
Dag-Erling Smørgrav [Tue, 5 Nov 2002 17:25:15 +0000 (17:25 +0000)]
Document the current default for VersionAddendum.

21 years agoAccurately reflect our local changes and additions.
Dag-Erling Smørgrav [Tue, 5 Nov 2002 17:24:01 +0000 (17:24 +0000)]
Accurately reflect our local changes and additions.

21 years agoDocument the current default value for VersionAddendum.
Dag-Erling Smørgrav [Tue, 5 Nov 2002 17:17:09 +0000 (17:17 +0000)]
Document the current default value for VersionAddendum.

21 years agoSince neither the Biba policy nor the MLS policy make use of
Robert Watson [Tue, 5 Nov 2002 16:44:29 +0000 (16:44 +0000)]
Since neither the Biba policy nor the MLS policy make use of
transitioning, remove their transition entry points.

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

21 years agoGrab 181 for HP/Compaq ProLiant advanced server management driver
Peter Wemm [Tue, 5 Nov 2002 16:12:31 +0000 (16:12 +0000)]
Grab 181 for HP/Compaq ProLiant advanced server management driver

21 years agoAssert that appropriate vnodes are locked in mac_execve_will_transition().
Robert Watson [Tue, 5 Nov 2002 15:11:33 +0000 (15:11 +0000)]
Assert that appropriate vnodes are locked in mac_execve_will_transition().
Allow transitioning to be twiddled off using the process and fs enforcement
flags, although at some point this should probably be its own flag.

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

21 years agoHook up the mac_will_execve_transition() and mac_execve_transition()
Robert Watson [Tue, 5 Nov 2002 14:57:49 +0000 (14:57 +0000)]
Hook up the mac_will_execve_transition() and mac_execve_transition()
entrypoints, #ifdef MAC.  The supporting logic already existed in
kern_mac.c, so no change there.  This permits MAC policies to cause
a process label change as the result of executing a binary --
typically, as a result of executing a specially labeled binary.

For example, the SEBSD port of SELinux/FLASK uses this functionality
to implement TE type transitions on processes using transitioning
binaries, in a manner similar to setuid.  Policies not implementing
a notion of transition (all the ones in the tree right now) require
no changes, since the old label data is copied to the new label
via mac_create_cred() even if a transition does occur.

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

21 years agoTypo in comment: commmand -> command
Giorgos Keramidas [Tue, 5 Nov 2002 14:54:07 +0000 (14:54 +0000)]
Typo in comment: commmand -> command

Reviewed by: jhb

21 years agoFixes to unbreak Alpha releases:
Ruslan Ermilov [Tue, 5 Nov 2002 14:44:46 +0000 (14:44 +0000)]
Fixes to unbreak Alpha releases:

Strip ${RD}/mfsfd/stand/etc/defaults/rc.conf.

Don't copy loader.help to ${RD}/mfsfd/boot, it serves no useful purpose.

Removed the now no-op commands to copy ${RD}/trees/base/dev bits to
${RD}/mfsfd/dev, now that DEVFS is the default.

Removed UFS_ACL, PSEUDOFS, and COMPAT_FREEBSD4 options from the BOOTMFS
kernel.

Moved miibus network module to the drivers floppy.

isp(4) and mpt(4) now have corresponding modules, move them to the third
floppy as well.

Caution!  With these changes, mfsroot.flp has only 11K left, and
kern.flp has even less -- 5K.

21 years agoUse more non-b0rked error reporting. Print the disk we are trying to open
Juli Mallett [Tue, 5 Nov 2002 14:30:41 +0000 (14:30 +0000)]
Use more non-b0rked error reporting.  Print the disk we are trying to open
and (we have the disk error from libufs? the disk error: the errno).

Requested by: bde, <many>

21 years agoMake a small (1.2M) fixit floppy image for pc98.
Yoshihiro Takahashi [Tue, 5 Nov 2002 13:54:58 +0000 (13:54 +0000)]
Make a small (1.2M) fixit floppy image for pc98.

21 years agoWrap function prototype declarations in __BEGIN_DECLS to do the right thing
Juli Mallett [Tue, 5 Nov 2002 10:57:53 +0000 (10:57 +0000)]
Wrap function prototype declarations in __BEGIN_DECLS to do the right thing
with them in non-C cases, outside of the kernel.

Include <sys/cdefs.h> for __BEGIN_DECLS/__END_DECLS as other headers seem
to do in this area.

Requested by: Patrick Hartling <patrick@137.org>

21 years agoRemove undefined variable.
Matthew N. Dodd [Tue, 5 Nov 2002 10:56:14 +0000 (10:56 +0000)]
Remove undefined variable.
Somehow this didn't make it in the last commits.

21 years agoWrap function prototype declarations in __BEGIN_DECLS to do the right thing
Juli Mallett [Tue, 5 Nov 2002 10:55:16 +0000 (10:55 +0000)]
Wrap function prototype declarations in __BEGIN_DECLS to do the right thing
with them in non-C cases.

Requested by: Patrick Hartling <patrick@137.org>

21 years agoStyle/whitespace changes.
Matthew N. Dodd [Tue, 5 Nov 2002 10:12:03 +0000 (10:12 +0000)]
Style/whitespace changes.

21 years agoFix for GEOM.
Matthew N. Dodd [Tue, 5 Nov 2002 09:50:15 +0000 (09:50 +0000)]
Fix for GEOM.

Tested on:  i386

21 years ago- Convert to newbus, bus_space etc.
Matthew N. Dodd [Tue, 5 Nov 2002 09:37:32 +0000 (09:37 +0000)]
- Convert to newbus, bus_space etc.
- Move to MI space.

Tested on:  i386

21 years agoUse ${TARGET_ARCH} for ia64 tests.
Ruslan Ermilov [Tue, 5 Nov 2002 09:30:38 +0000 (09:30 +0000)]
Use ${TARGET_ARCH} for ia64 tests.

21 years agoo Remove devices that are commented out.
Marcel Moolenaar [Tue, 5 Nov 2002 08:35:37 +0000 (08:35 +0000)]
o  Remove devices that are commented out.
o  Enable sc
o  Remove NO_GEOM. We need GEOM for GPT.
o  Remove NO_CPU_COPTFLAGS.

21 years agoRemove mcclock. It's an Alpha left-over.
Marcel Moolenaar [Tue, 5 Nov 2002 08:23:26 +0000 (08:23 +0000)]
Remove mcclock. It's an Alpha left-over.

21 years agoCreate a special version for ia64. For auto-boot to work, we need
Marcel Moolenaar [Tue, 5 Nov 2002 06:12:52 +0000 (06:12 +0000)]
Create a special version for ia64. For auto-boot to work, we need
the loader in an EFI partition. This automaticly means we need the
kernel there as well.
In order to avoid having to worry about a geometry as much as
possible, we partition the disk with GPT.
With this, auto-boot works, but we have a problem mounting the
MFS.

21 years agoTest for the existance of kernel ppp support by seeing if the kernel has
Brooks Davis [Tue, 5 Nov 2002 05:58:31 +0000 (05:58 +0000)]
Test for the existance of kernel ppp support by seeing if the kernel has
the module compiled in or loaded instead of bogusly checking for ppp0.
Also if and only if the caller is actually root and the kernel does not
have ppp support, try to load the ppp module before giving up.

21 years agoFix typo. ioport_rid should be irq_rid.
David Xu [Tue, 5 Nov 2002 04:03:42 +0000 (04:03 +0000)]
Fix typo. ioport_rid should be irq_rid.

21 years agoSync with the stock FSF 3.2 file. This adds TRANSFER_FROM_TRAMPOLINE,
David E. O'Brien [Tue, 5 Nov 2002 03:35:56 +0000 (03:35 +0000)]
Sync with the stock FSF 3.2 file.  This adds TRANSFER_FROM_TRAMPOLINE,
which is needed in order for nexted C functions to work.

21 years agoSony CXD3222 OHCI i.LINK chips needs more DELAY before starting SCLK
Hidetoshi Shimokawa [Tue, 5 Nov 2002 02:42:28 +0000 (02:42 +0000)]
Sony CXD3222 OHCI i.LINK chips needs more DELAY before starting SCLK
when no devices are connected.

21 years agoRemove reference to struct execve_args from struct imgact, which
Robert Watson [Tue, 5 Nov 2002 01:59:56 +0000 (01:59 +0000)]
Remove reference to struct execve_args from struct imgact, which
describes an image activation instance.  Instead, make use of the
existing fname structure entry, and introduce two new entries,
userspace_argv, and userspace_envv.  With the addition of
mac_execve(), this divorces the image structure from the specifics
of the execve() system call, removes a redundant pointer, etc.
No semantic change from current behavior, but it means that the
structure doesn't depend on syscalls.master-generated includes.

There seems to be some redundant initialization of imgact entries,
which I have maintained, but which could probably use some cleaning
up at some point.

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

21 years agoLicense update authorized by NAI: remove clause 3.
Robert Watson [Tue, 5 Nov 2002 01:42:35 +0000 (01:42 +0000)]
License update authorized by NAI: remove clause 3.

21 years agoSlight redesign for fitting in with -current.
Julian Elischer [Tue, 5 Nov 2002 01:08:11 +0000 (01:08 +0000)]
Slight redesign for fitting in with -current.

21 years agoFix bogus return values from libc_r's write() routine in situations where
Archie Cobbs [Tue, 5 Nov 2002 00:59:18 +0000 (00:59 +0000)]
Fix bogus return values from libc_r's write() routine in situations where
a partial-write is followed by an error.

PR: 43335
MFC after: 1 week

21 years agoThe symbol for Hertz is Hz.
David Malone [Mon, 4 Nov 2002 22:44:42 +0000 (22:44 +0000)]
The symbol for Hertz is Hz.

21 years agoClarify language relating to ACLs, Capabtilities, and MAC, since the
Robert Watson [Mon, 4 Nov 2002 20:52:09 +0000 (20:52 +0000)]
Clarify language relating to ACLs, Capabtilities, and MAC, since the
implementation status of these services has changed substantially
since this man page was last updated.

21 years agoForce rpcbind to start even if it wasn't enabled. This solves the ypbind
Bill Fenner [Mon, 4 Nov 2002 20:51:20 +0000 (20:51 +0000)]
Force rpcbind to start even if it wasn't enabled.  This solves the ypbind
problems people were having at startup.

Approved by:    re

21 years agoUpdate license, historical information.
Robert Watson [Mon, 4 Nov 2002 20:45:44 +0000 (20:45 +0000)]
Update license, historical information.

21 years agoPoint out that the MAC Framework is considered experimental.
Robert Watson [Mon, 4 Nov 2002 20:42:58 +0000 (20:42 +0000)]
Point out that the MAC Framework is considered experimental.

21 years agoUpdate ntpd to 4.1.1b. There are two new drivers and the usual bunch of
Ollivier Robert [Mon, 4 Nov 2002 19:44:26 +0000 (19:44 +0000)]
Update ntpd to 4.1.1b. There are two new drivers and the usual bunch of
fixes. See contrib/ntp/ChangeLog for details.

MFC after: 1 month
Prodded by: jhay
Tested on: sparc64 (panther), alpha (beast) and i386.

21 years agoMerge conflicts.
Ollivier Robert [Mon, 4 Nov 2002 19:38:46 +0000 (19:38 +0000)]
Merge conflicts.

MFC after: 1 month

21 years agoThis commit was generated by cvs2svn to compensate for changes in r106424,
Ollivier Robert [Mon, 4 Nov 2002 19:36:11 +0000 (19:36 +0000)]
This commit was generated by cvs2svn to compensate for changes in r106424,
which included commits to RCS files with non-trunk default branches.

21 years agoVirgin import of ntpd 4.1.1b
Ollivier Robert [Mon, 4 Nov 2002 19:36:11 +0000 (19:36 +0000)]
Virgin import of ntpd 4.1.1b

21 years agoAfter waiting for help with the markup, I finally decided to just patch
Nick Sayer [Mon, 4 Nov 2002 19:30:04 +0000 (19:30 +0000)]
After waiting for help with the markup, I finally decided to just patch
the page myself. The new language is more accurate than what was there
before, but the most accurate way of describing the funcionality eludes
me.

PR: kern/33904
MFC after: 1 month

21 years agoExport the function vm_page_splay().
Alan Cox [Mon, 4 Nov 2002 19:21:39 +0000 (19:21 +0000)]
Export the function vm_page_splay().

21 years agoFix a grammar bogon.
John Baldwin [Mon, 4 Nov 2002 19:18:57 +0000 (19:18 +0000)]
Fix a grammar bogon.

PR: 44883
Submitted by: Christian Brueffer <chris@unixpages.org>

21 years agoCall pcm_chn_destroy() in pcm_killchan() so that channel mutexes are destroyed and...
Olivier Houchard [Mon, 4 Nov 2002 19:12:02 +0000 (19:12 +0000)]
Call pcm_chn_destroy() in pcm_killchan() so that channel mutexes are destroyed and struct pcm_channel freed.

Reviewed by: cg
MFC after: 3 days

21 years agoLicense: update, remove clause three of BSD license per approval of
Robert Watson [Mon, 4 Nov 2002 18:11:17 +0000 (18:11 +0000)]
License: update, remove clause three of BSD license per approval of
NAI.

Add cautionary notes on the experimental status of the MAC Framework
in FreeBSD 5.0.

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

21 years agoImplement mpo_check_system_acct and mpo_check_system_settime() for Biba:
Robert Watson [Mon, 4 Nov 2002 17:50:52 +0000 (17:50 +0000)]
Implement mpo_check_system_acct and mpo_check_system_settime() for Biba:
require Biba privilege to configure either, and require that accounting
files be high integrity.  Note that this does allow implicit information
flow from low to high integrity, but it also protects the integrity
of accounting data.

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

21 years agoHook the new nextboot(8) manpage up to the build.
Gordon Tetlow [Mon, 4 Nov 2002 17:39:54 +0000 (17:39 +0000)]
Hook the new nextboot(8) manpage up to the build.

21 years agoCorrect use of mac_biba_subject_privileged() in swapon() code.
Robert Watson [Mon, 4 Nov 2002 17:36:47 +0000 (17:36 +0000)]
Correct use of mac_biba_subject_privileged() in swapon() code.

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

21 years agoAdd a nextboot manual page.
Gordon Tetlow [Mon, 4 Nov 2002 17:35:22 +0000 (17:35 +0000)]
Add a nextboot manual page.

Spotted by: brandt@fokus.gmd.de

21 years agoMove the modules in the mfsroot to /modules instead of /stand/modules so
John Baldwin [Mon, 4 Nov 2002 15:44:57 +0000 (15:44 +0000)]
Move the modules in the mfsroot to /modules instead of /stand/modules so
that they aren't copied over into /stand of new installations.

Submitted by: matusita
Tested on: i386

21 years agoPermit MAC policies to instrument the access control decisions for
Robert Watson [Mon, 4 Nov 2002 15:13:36 +0000 (15:13 +0000)]
Permit MAC policies to instrument the access control decisions for
system accounting configuration and for nfsd server thread attach.
Policies might use this to protect the integrity or confidentiality
of accounting data, limit the ability to turn on or off accounting,
as well as to prevent inappropriately labeled threads from becoming nfs
server threads.

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

21 years agoUpdate the list of FTP mirrors to reflect the current situation.
Peter Pentchev [Mon, 4 Nov 2002 15:06:09 +0000 (15:06 +0000)]
Update the list of FTP mirrors to reflect the current situation.

Reviewed by:    -doc, -hubs
Approved by:    silence on -doc, -hubs

21 years agoRemove mac_cache_fslabel_in_vnode sysctl -- with the new VFS/MAC
Robert Watson [Mon, 4 Nov 2002 14:55:14 +0000 (14:55 +0000)]
Remove mac_cache_fslabel_in_vnode sysctl -- with the new VFS/MAC
construction, labels are always cached.

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

21 years agoUse ${RD}/trees/base/boot/loader for kern.flp instead of /boot/loader.
Yoshihiro Takahashi [Mon, 4 Nov 2002 12:26:44 +0000 (12:26 +0000)]
Use ${RD}/trees/base/boot/loader for kern.flp instead of /boot/loader.

21 years agoPolish a bit here and there.
Poul-Henning Kamp [Mon, 4 Nov 2002 09:31:02 +0000 (09:31 +0000)]
Polish a bit here and there.
Reenable the geom.ctl device so people can play with gbde.

Sponsored by: DARPA & NAI Labs

21 years agoRun a revision on the GBDE encryption facility.
Poul-Henning Kamp [Mon, 4 Nov 2002 09:27:01 +0000 (09:27 +0000)]
Run a revision on the GBDE encryption facility.

Replace ARC4 with SHA2-512.
Change lock-structure encoding to use random ordering rather for obscurity.
Encrypt lock-structure with AES/256 instead of AES/128.
Change kkey derivation to be MD5 hash based.
Watch for malloc(M_NOWAIT) failures and ditch our cache when they happen.
Remove clause 3 of the license with NAI Labs consent.

Many thanks to "Lucky Green" <shamrock@cypherpunks.to> and "David
Wagner" <daw@cs.berkeley.edu>, for code reading, inputs and
suggestions.

This code has still not been stared at for 10 years by a gang of
hard-core cryptographers.  Discretion advised.

NB: These changes result in the on-disk format changing: dump/restore needed.

Sponsored by:   DARPA & NAI Labs.

21 years agoAdd OpenBSD 3.2.
Maxim Konovalov [Mon, 4 Nov 2002 09:19:24 +0000 (09:19 +0000)]
Add OpenBSD 3.2.

Submitted by: Sergey A. Osokin <osa@freebsd.org.ru>
MFC after: 1 week

21 years agoAdded install documentation for pc98.
Yoshihiro Takahashi [Mon, 4 Nov 2002 08:45:31 +0000 (08:45 +0000)]
Added install documentation for pc98.

21 years agoRestore /var/games; lots of ports' games use it.
Mark Murray [Mon, 4 Nov 2002 07:50:48 +0000 (07:50 +0000)]
Restore /var/games; lots of ports' games use it.

21 years agoAdd debug.doslowdown to enable/disable niced slowdown on I/O. Default
Kirk McKusick [Mon, 4 Nov 2002 07:29:20 +0000 (07:29 +0000)]
Add debug.doslowdown to enable/disable niced slowdown on I/O. Default
to off until locking interference issues get sorted out.

Sponsored by:   DARPA & NAI Labs.

21 years agoAdd descriptions for some _PC_* variables from <sys/unistd.h> that
Tim J. Robbins [Mon, 4 Nov 2002 07:21:44 +0000 (07:21 +0000)]
Add descriptions for some _PC_* variables from <sys/unistd.h> that
were missing.

21 years agoCross-reference setfacl(1).
Tim J. Robbins [Mon, 4 Nov 2002 06:46:53 +0000 (06:46 +0000)]
Cross-reference setfacl(1).

21 years agoReject slices where begin == end.
Poul-Henning Kamp [Mon, 4 Nov 2002 06:30:38 +0000 (06:30 +0000)]
Reject slices where begin == end.
Remove clause 3 from the license with NAI Labs consent.

Sponsored by: DARPA & NAI Labs

21 years agoRemove clause 3 in the license with NAI's consent.
Poul-Henning Kamp [Mon, 4 Nov 2002 06:29:05 +0000 (06:29 +0000)]
Remove clause 3 in the license with NAI's consent.
Reject slices with type==0.
Diddle the bootverbose printfs.

Sponsored by: DARPA & NAI Labs