]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoBump major number.
des [Sat, 26 May 2001 19:37:26 +0000 (19:37 +0000)]
Bump major number.

23 years agoAdd rudimentary support for an authentication callback function.
des [Sat, 26 May 2001 19:37:15 +0000 (19:37 +0000)]
Add rudimentary support for an authentication callback function.

23 years agoMAXPATHLEN -> PATH_MAX
des [Sat, 26 May 2001 19:36:49 +0000 (19:36 +0000)]
MAXPATHLEN -> PATH_MAX

23 years agoFrom the submitter:
markm [Sat, 26 May 2001 17:40:09 +0000 (17:40 +0000)]
From the submitter:

$ PERL_DL_NONLAZY=1 perl -MPOSIX -e ''
Can't load '/usr/libdata/perl/5.6.0/mach/auto/POSIX/POSIX.so' for module
POSIX: /usr/libdata/perl/5.6.0/mach/auto/POSIX/POSIX.so: Undefined
symbol "sv_setptrobj" at /usr/libdata/perl/5.6.0/XSLoader.pm line 73.
 at /usr/libdata/perl/5.6.0/mach/POSIX.pm line 24
Compilation failed in require.
BEGIN failed--compilation aborted.

This problem only exists in -CURRENT.  Most often it is reproduced when
compiling some perl extension manually.  Make test uses PERL_DL_NONLAZY,
and if a tested module uses POSIX, boom!

Luckily, we don't see it very often, mostly because the vast majority of
p5 ports do not perform the `make test' step.

Submitted by: Anton Berezin <tobez@tobez.org>
Needs to be a committer already: Anton Berezin <tobez@tobez.org>

23 years agoPlug memory leak.
des [Sat, 26 May 2001 17:23:38 +0000 (17:23 +0000)]
Plug memory leak.

PR: 27506

23 years agoo Include file to provide prototypes for regression testing-specific
rwatson [Sat, 26 May 2001 15:37:25 +0000 (15:37 +0000)]
o Include file to provide prototypes for regression testing-specific
  system calls/et al.  Not much in there just yet, but will most likely
  grow.

Obtained from: TrustedBSD Project

23 years agoMake dg_echo return up to the first 65536 bytes of a datagram.
dwmalone [Sat, 26 May 2001 14:40:39 +0000 (14:40 +0000)]
Make dg_echo return up to the first 65536 bytes of a datagram.
The patch I used isn't quite the one Lars suggested, but the size
of the largest datagram you can recv isn't #defined anywhere, and
probably isn't even bounded for some protocols.

PR: 25050
Submitted by: Lars Eggert <larse@isi.edu>

23 years agoDon't spell requester as requestor.
dwmalone [Sat, 26 May 2001 14:33:47 +0000 (14:33 +0000)]
Don't spell requester as requestor.

23 years agoCURRENT no longer needs -pthread
markm [Sat, 26 May 2001 14:06:45 +0000 (14:06 +0000)]
CURRENT no longer needs -pthread

23 years agoDocument /usr/include/fs/ntfs and /usr/include/fs/nwfs.
ru [Sat, 26 May 2001 12:04:02 +0000 (12:04 +0000)]
Document /usr/include/fs/ntfs and /usr/include/fs/nwfs.

23 years ago- sys/n[tw]fs moved to sys/fs/n[tw]fs
ru [Sat, 26 May 2001 11:57:45 +0000 (11:57 +0000)]
- sys/n[tw]fs moved to sys/fs/n[tw]fs
- /usr/include/n[tw]fs moved to /usr/include/fs/n[tw]fs

23 years agoadd Dualmode Zoom/FaxModem 56K (internal) Model 2919
sanpei [Sat, 26 May 2001 11:17:57 +0000 (11:17 +0000)]
add Dualmode Zoom/FaxModem 56K (internal) Model 2919

PR: kern/27476
Submitted by: Eric Beyer <lnxfrk@earthlink.net>

23 years agoImprove and extend. Use new modules to set policy, and provide another
markm [Sat, 26 May 2001 09:56:17 +0000 (09:56 +0000)]
Improve and extend. Use new modules to set policy, and provide another
example for WHEELSU-type su(1).

23 years agoDeconvolute the authentication mess, and hand total responsiblity
markm [Sat, 26 May 2001 09:52:36 +0000 (09:52 +0000)]
Deconvolute the authentication mess, and hand total responsiblity
for authentication to PAM. This meens that WHEELSU-type logic can
now be effected in the pam.conf "su" configuration stack. While here,
clean up the mess that the code had assumed over years of hacking by
folks using different styles. ANSIfy.

There is more policy in here that can be handed over to PAM. This will
be revisited.

23 years agoDang, I lost the sign in that brucification. DTRT with PCATCH.
phk [Sat, 26 May 2001 09:37:42 +0000 (09:37 +0000)]
Dang, I lost the sign in that brucification.  DTRT with PCATCH.

Cut Out In Cardboard by: bde

23 years agoForgot to cvs add these two files for the previous commit.
phk [Sat, 26 May 2001 09:28:43 +0000 (09:28 +0000)]
Forgot to cvs add these two files for the previous commit.

23 years agoCurrently, each wireless networking driver has it's own control program
phk [Sat, 26 May 2001 09:27:08 +0000 (09:27 +0000)]
Currently, each wireless networking driver has it's own control program
despite the fact that most people want to set exactly the same settings
regardless of which card they have.  It has been repeatidly suggested
that this configuration should be done via ifconfig.  This patch
implements the required functionality in ifconfig and add support to the
wi and an drivers.  It also provides partial, untested support for the
awi driver.

PR: 25577
Submitted by: Brooks Davis <brooks@one-eyed-alien.net>

23 years agoCreate a general facility for making dev_t's depend on another
phk [Sat, 26 May 2001 08:27:58 +0000 (08:27 +0000)]
Create a general facility for making dev_t's depend on another
dev_t.  The dev_depends(dev_t, dev_t) function is for tying them
to each other.

When destroy_dev() is called on a dev_t, all dev_t's depending
on it will also be destroyed (depth first order).

Rewrite the make_dev_alias() to use this dependency facility.

kern/subr_disk.c:
Make the disk mini-layer use dependencies to make sure all
relevant dev_t's are removed when the disk disappears.

Make the disk mini-layer precreate some magic sub devices
which the disk/slice/label code expects to be there.

kern/subr_disklabel.c:
Remove some now unneeded variables.

kern/subr_diskmbr.c:
Remove some ancient, commented out code.

kern/subr_diskslice.c:
Minor cleanup.  Use name from dev_t instead of dsname()

23 years agoRemove pcm hints here now that it's gone from GENERIC.
jkh [Sat, 26 May 2001 08:04:34 +0000 (08:04 +0000)]
Remove pcm hints here now that it's gone from GENERIC.

Reminded-by: bde

23 years agoUpdate reality in the strings comment
dougb [Sat, 26 May 2001 06:01:43 +0000 (06:01 +0000)]
Update reality in the strings comment

23 years agoFix the error buffer passed to kvm_openfiles to have a correct length
tmm [Sat, 26 May 2001 00:02:13 +0000 (00:02 +0000)]
Fix the error buffer passed to kvm_openfiles to have a correct length
of _POSIX2_LINE_MAX.

MFC after: 1 week

23 years agoUpdate comments on RELNOTESng.
bmah [Fri, 25 May 2001 23:52:26 +0000 (23:52 +0000)]
Update comments on RELNOTESng.

23 years agoList new directories created under share/examples/isdn/* in order to
bmah [Fri, 25 May 2001 23:40:58 +0000 (23:40 +0000)]
List new directories created under share/examples/isdn/* in order to
unbreak installworld.

23 years agoFix the error buffer passed to kvm_openfiles to have a correct length
tmm [Fri, 25 May 2001 23:36:09 +0000 (23:36 +0000)]
Fix the error buffer passed to kvm_openfiles to have a correct length
of _POSIX2_LINE_MAX.

MFC after: 3 days

23 years agoMark error() as __printflike() and fix a non-exploitable format string
kris [Fri, 25 May 2001 23:15:05 +0000 (23:15 +0000)]
Mark error() as __printflike() and fix a non-exploitable format string
error.

MFC after: 1 week

23 years agoFix the error buffer passed to kvm_openfiles to have a length of
tmm [Fri, 25 May 2001 23:10:27 +0000 (23:10 +0000)]
Fix the error buffer passed to kvm_openfiles to have a length of
_POSIX2_LINE_MAX as required.
While being there, wrap an overly long line.

MFC after: 3 days

23 years agoInclude elf32.h and elf64.h to be more code compatable with Solaris.
obrien [Fri, 25 May 2001 21:46:22 +0000 (21:46 +0000)]
Include elf32.h and elf64.h to be more code compatable with Solaris.

23 years agocatch up to i386: Don't acquire Giant just to print the trap and panic
gallatin [Fri, 25 May 2001 21:03:40 +0000 (21:03 +0000)]
catch up to i386: Don't acquire Giant just to print the trap and panic

23 years agomake this compile.
gallatin [Fri, 25 May 2001 20:56:28 +0000 (20:56 +0000)]
make this compile.

23 years agoThe standard Xterm geometry is 80x24, not 80x_65_.
obrien [Fri, 25 May 2001 20:51:22 +0000 (20:51 +0000)]
The standard Xterm geometry is 80x24, not 80x_65_.

In the past 2 months or so, after rlogining into another host, the
environment has the geometry wrong.  Peter suggested that this behavior
change was most likely caused by the PAM stuff that changed to run a proper
session with a forked child.  And that for some reason the window size is
no longer being transferred via an OOB message on the socket.

This change fixes my problem and seems to be a good stopgap measure until
someone has time to ktrace/ktrace -i inetd to catch all the child processes
it spawns while doing an rlogin and change window size a few times to see
how far the change messages are getting.

23 years agoAdd warnings about trusting user-supplied data.
eric [Fri, 25 May 2001 20:42:40 +0000 (20:42 +0000)]
Add warnings about trusting user-supplied data.

Reviewed by: ru
Approved by: murray
Obtained from: OpenBSD

23 years agotrack the One True Architecture (i386)
mjacob [Fri, 25 May 2001 20:33:06 +0000 (20:33 +0000)]
track the One True Architecture (i386)

23 years agoFix a minor formatting nit
imp [Fri, 25 May 2001 19:24:58 +0000 (19:24 +0000)]
Fix a minor formatting nit

23 years agoAdd vm locking to sendfile(2) and sf_buf_free().
jhb [Fri, 25 May 2001 19:23:04 +0000 (19:23 +0000)]
Add vm locking to sendfile(2) and sf_buf_free().

Reported by: Tamiji Homma <thomma@BayNetworks.com>
Tested by: Tamiji Homma <thomma@BayNetworks.com>

23 years agoMove to using the common device list.
imp [Fri, 25 May 2001 19:22:36 +0000 (19:22 +0000)]
Move to using the common device list.
Move to table driven probing of these devices since we have such a long list.

23 years agoSeparate out pci cardbus bridge definitions to a common file for use
imp [Fri, 25 May 2001 19:12:58 +0000 (19:12 +0000)]
Separate out pci cardbus bridge definitions to a common file for use
by both OLDCARD and NEWCARD.

# didn't make the tables the same because oldcard supports more devices than
# newcard and newcard's 16-bit stuff needs some work.

23 years agoTeach gcc about '%+' so it will not warn when using '%+' in a format
obrien [Fri, 25 May 2001 19:00:07 +0000 (19:00 +0000)]
Teach gcc about '%+' so it will not warn when using '%+' in a format
string when using strftime(), since our libc supports it.

PR:             26827
Submitted by:   Marc Olzheim <marcolz@ilse.nl>

23 years agoJHB would prefer the KTR examples not be in here.
obrien [Fri, 25 May 2001 18:49:08 +0000 (18:49 +0000)]
JHB would prefer the KTR examples not be in here.

23 years agoMigrate from unit based to dev base. Don't save unit number, but do save
imp [Fri, 25 May 2001 18:28:49 +0000 (18:28 +0000)]
Migrate from unit based to dev base.  Don't save unit number, but do save
dev.  Convert all uses of unit to dev as appropriate.  Minor comment fixes
to pcic_softc definition.

23 years agoAdd a check to determine whether extended attributes have been
tmm [Fri, 25 May 2001 18:24:52 +0000 (18:24 +0000)]
Add a check to determine whether extended attributes have been
initialized on the file system before trying to grab the lock of the
per-mount extattr structure, as this lock is unitialized in that case.
This is needed because ufs_extattr_vnode_inactive is called from
ufs_inactive, which is also used by EA-unaware file systems such as
ext2fs.

Reviewed by: rwatson

23 years agoUpdate copyright info
imp [Fri, 25 May 2001 18:03:07 +0000 (18:03 +0000)]
Update copyright info

23 years agoRELNOTESng is now the default for -CURRENT release builds. (Floppy
bmah [Fri, 25 May 2001 18:01:34 +0000 (18:01 +0000)]
RELNOTESng is now the default for -CURRENT release builds.  (Floppy
images get TXT renderings only; CDROM and FTP areas get TXT and HTML.)

Remove the old *.TXT release documentation files, as they
have been subsumed into RELNOTESng.  The new layout will greatly
facilitate their maintenence and help keep them internally consistent.

23 years agoTake pcm (audio) back out of GENERIC; there appears to be some
jkh [Fri, 25 May 2001 17:55:39 +0000 (17:55 +0000)]
Take pcm (audio) back out of GENERIC; there appears to be some
concensus, most notably among the maintainers, that it's better
loaded as a module.

Finally-pushed-over-the-edge-by-the-anguished-cries-of: rwatson

23 years agoMF*.TXT: isdn4bsd updates.
bmah [Fri, 25 May 2001 17:25:47 +0000 (17:25 +0000)]
MF*.TXT:  isdn4bsd updates.

23 years agoDavid kindly added the 'zs0' to /dev/MAKEDEV to make TurboLaser users
wilko [Fri, 25 May 2001 17:16:07 +0000 (17:16 +0000)]
David kindly added the 'zs0' to /dev/MAKEDEV to make TurboLaser users
happy.

Submitted by: obrien@freebsd.org

23 years agoNew release notes: O_DIRECT flag for open(2) and fcntl(2), RFC 1323
bmah [Fri, 25 May 2001 17:08:22 +0000 (17:08 +0000)]
New release notes:  O_DIRECT flag for open(2) and fcntl(2), RFC 1323
enabled by default for TCP, ipfw(8) -d, Makefile WARNS, boot-time
enable of background_fsck, ping(8) -A, vidcontrol(1) -p, telnet(1) -u,
default vinum(8) stripe size change to 279KB, OpenSSH 0.9.6.

MFCs noted:  smbfs kernel part.

23 years agoo Merge contents of struct pcred into struct ucred. Specifically, add the
rwatson [Fri, 25 May 2001 16:59:11 +0000 (16:59 +0000)]
o Merge contents of struct pcred into struct ucred.  Specifically, add the
  real uid, saved uid, real gid, and saved gid to ucred, as well as the
  pcred->pc_uidinfo, which was associated with the real uid, only rename
  it to cr_ruidinfo so as not to conflict with cr_uidinfo, which
  corresponds to the effective uid.
o Remove p_cred from struct proc; add p_ucred to struct proc, replacing
  original macro that pointed.
  p->p_ucred to p->p_cred->pc_ucred.
o Universally update code so that it makes use of ucred instead of pcred,
  p->p_ucred instead of p->p_pcred, cr_ruidinfo instead of p_uidinfo,
  cr_{r,sv}{u,g}id instead of p_*, etc.
o Remove pcred0 and its initialization from init_main.c; initialize
  cr_ruidinfo there.
o Restruction many credential modification chunks to always crdup while
  we figure out locking and optimizations; generally speaking, this
  means moving to a structure like this:
        newcred = crdup(oldcred);
        ...
        p->p_ucred = newcred;
        crfree(oldcred);
  It's not race-free, but better than nothing.  There are also races
  in sys_process.c, all inter-process authorization, fork, exec, and
  exit.
o Remove sigio->sio_ruid since sigio->sio_ucred now contains the ruid;
  remove comments indicating that the old arrangement was a problem.
o Restructure exec1() a little to use newcred/oldcred arrangement, and
  use improved uid management primitives.
o Clean up exit1() so as to do less work in credential cleanup due to
  pcred removal.
o Clean up fork1() so as to do less work in credential cleanup and
  allocation.
o Clean up ktrcanset() to take into account changes, and move to using
  suser_xxx() instead of performing a direct uid==0 comparision.
o Improve commenting in various kern_prot.c credential modification
  calls to better document current behavior.  In a couple of places,
  current behavior is a little questionable and we need to check
  POSIX.1 to make sure it's "right".  More commenting work still
  remains to be done.
o Update credential management calls, such as crfree(), to take into
  account new ruidinfo reference.
o Modify or add the following uid and gid helper routines:
      change_euid()
      change_egid()
      change_ruid()
      change_rgid()
      change_svuid()
      change_svgid()
  In each case, the call now acts on a credential not a process, and as
  such no longer requires more complicated process locking/etc.  They
  now assume the caller will do any necessary allocation of an
  exclusive credential reference.  Each is commented to document its
  reference requirements.
o CANSIGIO() is simplified to require only credentials, not processes
  and pcreds.
o Remove lots of (p_pcred==NULL) checks.
o Add an XXX to authorization code in nfs_lock.c, since it's
  questionable, and needs to be considered carefully.
o Simplify posix4 authorization code to require only credentials, not
  processes and pcreds.  Note that this authorization, as well as
  CANSIGIO(), needs to be updated to use the p_cansignal() and
  p_cansched() centralized authorization routines, as they currently
  do not take into account some desirable restrictions that are handled
  by the centralized routines, as well as being inconsistent with other
  similar authorization instances.
o Update libkvm to take these changes into account.

Obtained from: TrustedBSD Project
Reviewed by: green, bde, jhb, freebsd-arch, freebsd-audit

23 years agoFix DMA on machines with more than 128MB.
scottl [Fri, 25 May 2001 16:05:22 +0000 (16:05 +0000)]
Fix DMA on machines with more than 128MB.

Obtained from: cg
MFC after: 5 days

23 years agoMake if_tun's clone create SI_CHEAPCLONE devices.
phk [Fri, 25 May 2001 13:32:53 +0000 (13:32 +0000)]
Make if_tun's clone create SI_CHEAPCLONE devices.

23 years agoAdd the contributed directory from the i4b tarball and the files from it
hm [Fri, 25 May 2001 13:25:59 +0000 (13:25 +0000)]
Add the contributed directory from the i4b tarball and the files from it
which would be nice to have.
Move isdnd_acct and isdnctl to the contrib directory where they belong to.

23 years agoMake the PTY drivers cloning algorithm create "CHEAPCLONE" dev_t,
phk [Fri, 25 May 2001 13:23:42 +0000 (13:23 +0000)]
Make the PTY drivers cloning algorithm create "CHEAPCLONE" dev_t,
so that some twit cannot allocate all 256 PTY's with "ls -l".

23 years agoSubmitted by: phk
hm [Fri, 25 May 2001 13:04:58 +0000 (13:04 +0000)]
Submitted by: phk
Add the V.21 modem emulator code written by phk from the old i4b tarball.

23 years agoThis script can control the state of your ISDN line. It counts
alex [Fri, 25 May 2001 12:27:00 +0000 (12:27 +0000)]
This script can control the state of your ISDN line.  It counts
how many scripts/users currently use the ISDN line and uses
"ifconfig down" if noone uses it any more.

Not objected by: hm

23 years agoupdate isdn4bsd related information.
hm [Fri, 25 May 2001 12:18:47 +0000 (12:18 +0000)]
update isdn4bsd related information.

23 years agoMention that ppp.conf.isdn isn't appropriate for external TAs
brian [Fri, 25 May 2001 12:11:02 +0000 (12:11 +0000)]
Mention that ppp.conf.isdn isn't appropriate for external TAs
Add a section to ppp.conf.sample that is.

MFC after: 3 weeks

23 years ago+ Turn on SMP support by default (yes an Alpha SMP kernel works on
obrien [Fri, 25 May 2001 10:36:46 +0000 (10:36 +0000)]
+ Turn on SMP support by default (yes an Alpha SMP kernel works on
  uniprocessor systems, aren't Alpha's neat :-))
+ Add example KTR (debugging) options.

23 years agomdoc(7) police: Fix markup.
ru [Fri, 25 May 2001 09:54:38 +0000 (09:54 +0000)]
mdoc(7) police: Fix markup.

23 years agoAdd the 'next' and 'prev' commands (aliased to '+' and '-') which skip
kris [Fri, 25 May 2001 09:24:50 +0000 (09:24 +0000)]
Add the 'next' and 'prev' commands (aliased to '+' and '-') which skip
forward or backward by a specified number of tracks (defaulting to 1).
Use strvisx() to display the media catalog in case it contains unprintable
characters.  Sort includes.  Based on two patches submitted by PR, plus
style fixes and other changes of my own.

Submitted by:   Seth Kingsley <sethk@osd.bsdi.com>, Maxime Henrion <mux@qualys.com>
PR:             bin/22672, bin/26962
MFC After:      1 week

23 years agoDon't lie to diskerr() now that it listens to us.
phk [Fri, 25 May 2001 09:07:23 +0000 (09:07 +0000)]
Don't lie to diskerr() now that it listens to us.

23 years agoUse the name given to the dev_t, rather than creating our own.
phk [Fri, 25 May 2001 09:06:52 +0000 (09:06 +0000)]
Use the name given to the dev_t, rather than creating our own.
This makes it possible to give sensible information for /dev/fd.720
and similar "special" devices.

23 years agoupdate to include the latest modifications to isdn4bsd.
hm [Fri, 25 May 2001 08:45:10 +0000 (08:45 +0000)]
update to include the latest modifications to isdn4bsd.

23 years agoSubmitted by: Juha-Matti Liukkonen (Cubical Solutions Ltd) (jml@cubical.fi)
hm [Fri, 25 May 2001 08:43:30 +0000 (08:43 +0000)]
Submitted by: Juha-Matti Liukkonen (Cubical Solutions Ltd) (jml@cubical.fi)

Add a CAPI (hardware independent) driver i4bcapi(4) and hardware driver
iavc (4) to support active CAPI-based BRI and PRI cards (currently AVM
B1 and T1 cards) to isdn4bsd.

23 years ago- sys/msdosfs moved to sys/fs/msdosfs
ru [Fri, 25 May 2001 08:14:14 +0000 (08:14 +0000)]
- sys/msdosfs moved to sys/fs/msdosfs
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs

23 years agoMake it clear that -P is the default.
ru [Fri, 25 May 2001 07:32:58 +0000 (07:32 +0000)]
Make it clear that -P is the default.

PR: docs/27629

23 years agoAdd intrack field to each slot. This can be used to acknowledge
imp [Fri, 25 May 2001 05:25:43 +0000 (05:25 +0000)]
Add intrack field to each slot.  This can be used to acknowledge
interrupts on other buses.  Right now it isn't used, but will be for
the pci attachment.

# Add copyright by me for this year since I've changed so much.

23 years agoMinor name space issues.
imp [Fri, 25 May 2001 05:22:00 +0000 (05:22 +0000)]
Minor name space issues.

23 years agoRFC 1323 (TCP extensions) is now on by default.
obrien [Fri, 25 May 2001 04:27:48 +0000 (04:27 +0000)]
RFC 1323 (TCP extensions) is now on by default.

23 years agoAdd support for
imp [Fri, 25 May 2001 02:24:15 +0000 (02:24 +0000)]
Add support for
card "D" "Link DWL-650 11Mbps WLAN Card"
which is the most amusing CIS mistake I've seen in some time.

# I'm using this card to make this commit!

23 years agoI didn't fix the comment in rev 1.107.
obrien [Fri, 25 May 2001 01:46:39 +0000 (01:46 +0000)]
I didn't fix the comment in rev 1.107.

23 years agoTurn on TCP_EXTENSIONS (rfc1323) by defualt.
obrien [Fri, 25 May 2001 01:43:42 +0000 (01:43 +0000)]
Turn on TCP_EXTENSIONS (rfc1323) by defualt.

23 years agoDon't rely on cdevsw_add() when we hack about with dev_t's.
phk [Thu, 24 May 2001 20:28:06 +0000 (20:28 +0000)]
Don't rely on cdevsw_add() when we hack about with dev_t's.

23 years agoDon't take the detour around devsw() to find out if the proto-cdevsw
phk [Thu, 24 May 2001 20:27:16 +0000 (20:27 +0000)]
Don't take the detour around devsw() to find out if the proto-cdevsw
is already initialized.

23 years agoBack out rev 1.4 (wint_t and mbstate_t) as I am tired of the complaints.
obrien [Thu, 24 May 2001 19:29:15 +0000 (19:29 +0000)]
Back out rev 1.4 (wint_t and mbstate_t) as I am tired of the complaints.
The STLport will probably become broken again, but I'll work on fixing it
later.

I wish someone would explain why the NetBSD Cirtus branch has the types
in their stddef.h...

Requested by: bde, ru
PR: 27606
Submitted by: Naohiko Tsuji <yakisoba@f2.dion.ne.jp>

23 years agoNetBSD's inetd uses different syntex from FreeBSD's in faith support.
ume [Thu, 24 May 2001 19:00:22 +0000 (19:00 +0000)]
NetBSD's inetd uses different syntex from FreeBSD's in faith support.

23 years agoAdd the "auth_as_self" option to the pam_unix module (there is no
markm [Thu, 24 May 2001 18:35:52 +0000 (18:35 +0000)]
Add the "auth_as_self" option to the pam_unix module (there is no
reason not to add it to others later). This causes the pam_unix
module to check the user's _own_ password, not the password of the
account that the user is authenticating into. This will allow eg:
WHEELSU type behaviour from su(1).

23 years agoOops. Unremove vestiges of the old, broken sound drivers. They are now
bde [Thu, 24 May 2001 18:19:00 +0000 (18:19 +0000)]
Oops.  Unremove vestiges of the old, broken sound drivers.  They are now
used in new drivers.

23 years agowhitespace/style
alfred [Thu, 24 May 2001 18:06:22 +0000 (18:06 +0000)]
whitespace/style

23 years agoStick VM syscalls back under Giant if the BLEED option is not defined.
jhb [Thu, 24 May 2001 18:04:29 +0000 (18:04 +0000)]
Stick VM syscalls back under Giant if the BLEED option is not defined.

23 years agoAdd a new kernel option 'BLEED' to be used for code that is still under
jhb [Thu, 24 May 2001 17:01:51 +0000 (17:01 +0000)]
Add a new kernel option 'BLEED' to be used for code that is still under
development but is being developed in the tree for whatever reason.

Not objected to by:     peter, jlemon

23 years agoRemove vestiges of the old, broken sound drivers.
bde [Thu, 24 May 2001 16:52:13 +0000 (16:52 +0000)]
Remove vestiges of the old, broken sound drivers.

23 years agoActually rename FDESC, PORTAL, UMAP and UNION file systems.
ru [Thu, 24 May 2001 15:20:11 +0000 (15:20 +0000)]
Actually rename FDESC, PORTAL, UMAP and UNION file systems.

OK'ed by: bp

23 years agomount_fdesc -> mount_fdescfs
ru [Thu, 24 May 2001 13:23:54 +0000 (13:23 +0000)]
mount_fdesc -> mount_fdescfs
mount_portal -> mount_portalfs

23 years agomount_umap(8) -> mount_umapfs(8).
ru [Thu, 24 May 2001 13:20:41 +0000 (13:20 +0000)]
mount_umap(8) -> mount_umapfs(8).

23 years agomount_null(8) -> mount_nullfs(8).
ru [Thu, 24 May 2001 13:17:47 +0000 (13:17 +0000)]
mount_null(8) -> mount_nullfs(8).

23 years agomount_portal -> mount_portalfs.
ru [Thu, 24 May 2001 13:15:49 +0000 (13:15 +0000)]
mount_portal -> mount_portalfs.

23 years agoMissed one mount_null(8) -> mount_nullfs(8) in previous commit.
ru [Thu, 24 May 2001 13:13:56 +0000 (13:13 +0000)]
Missed one mount_null(8) -> mount_nullfs(8) in previous commit.

23 years ago(Re-)enabled boot2.
nyan [Thu, 24 May 2001 11:19:43 +0000 (11:19 +0000)]
(Re-)enabled boot2.

23 years agoUpdate boot[12] program to compile ELF binary.
nyan [Thu, 24 May 2001 11:18:32 +0000 (11:18 +0000)]
Update boot[12] program to compile ELF binary.

Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> and
kawanobe@st.rim.or.jp (Kawanobe Koh)

23 years agoRestrict even further what parts of <sys/conf.h> can be seen from
phk [Thu, 24 May 2001 09:33:08 +0000 (09:33 +0000)]
Restrict even further what parts of <sys/conf.h> can be seen from
userland.

23 years agoRemove the "undocumented" comment in re lflag.
nik [Thu, 24 May 2001 09:28:59 +0000 (09:28 +0000)]
Remove the "undocumented" comment in re lflag.

23 years agoDocument the -l option.
nik [Thu, 24 May 2001 09:28:05 +0000 (09:28 +0000)]
Document the -l option.

PR: docs/27440
Submitted by: Flix-Antoine Paradis <reel@sympatico.ca>

23 years agoIf the user exists abruptly, tip's "tipout" child can hang around
phk [Thu, 24 May 2001 09:27:02 +0000 (09:27 +0000)]
If the user exists abruptly, tip's "tipout" child can hang around
forever. Since the lock file doesn't get cleaned up, this prevents
other users from accessing the target device.

(phk adds: Man, this has been bugging me for YEARS!)

PR: 12528
Submitted by: Craig Leres leres@ee.lbl.gov
MFC after: 1 week

23 years agoAdd a -A option to ping which beeps when packets are lost.
phk [Thu, 24 May 2001 09:17:52 +0000 (09:17 +0000)]
Add a -A option to ping which beeps when packets are lost.

PR: 11818
Submitted by: Marc Evans marc@destek.net

23 years agoBackout rev. 1.22 as the change that caused problems was also backed out.
ru [Thu, 24 May 2001 08:47:57 +0000 (08:47 +0000)]
Backout rev. 1.22 as the change that caused problems was also backed out.

23 years agoMake the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.
obrien [Thu, 24 May 2001 08:47:42 +0000 (08:47 +0000)]
Make the rcsid and FreeBSD IDs more sane in the wcs* and wmem* files.
Do the same for the non-wcs*/wmem* files while I'm here.

23 years agoThis patch implements O_DIRECT about 80% of the way. It takes a patchset
dillon [Thu, 24 May 2001 07:22:27 +0000 (07:22 +0000)]
This patch implements O_DIRECT about 80% of the way.  It takes a patchset
Tor created a while ago, removes the raw I/O piece (that has cache coherency
problems), and adds a buffer cache / VM freeing piece.

Essentially this patch causes O_DIRECT I/O to not be left in the cache, but
does not prevent it from going through the cache, hence the 80%.  For
the last 20% we need a method by which the I/O can be issued directly to
buffer supplied by the user process and bypass the buffer cache entirely,
but still maintain cache coherency.

I also have the code working under -stable but the changes made to sys/file.h
may not be MFCable, so an MFC is not on the table yet.

Submitted by: tegge, dillon

23 years agoFix $FreeBSD$ style committer messed up in rev 1.7 for some reason.
obrien [Thu, 24 May 2001 07:22:08 +0000 (07:22 +0000)]
Fix $FreeBSD$ style committer messed up in rev 1.7 for some reason.

23 years agoUse bus_space functions rather than inb/outb.
imp [Thu, 24 May 2001 06:54:48 +0000 (06:54 +0000)]
Use bus_space functions rather than inb/outb.
Add defines for PCIC_INDEX and PCIC_DATA offsets.
Change PCIC_INDEX_0 to PCIC_PORT_0
Add define for PCIC_NPORT.
Document why the vadem probe works.

23 years agoProduce a config-time warning about EXT2FS and GPL_MATH_EMULATE
peter [Thu, 24 May 2001 06:26:18 +0000 (06:26 +0000)]
Produce a config-time warning about EXT2FS and GPL_MATH_EMULATE

23 years agoRemove DEV_SNP -> opt_snp.h
peter [Thu, 24 May 2001 06:24:06 +0000 (06:24 +0000)]
Remove DEV_SNP -> opt_snp.h

Forgotten by:  dd