]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoAdd nsswitch support. By creating an /etc/nsswitch.conf file, you can
nectar [Wed, 6 Sep 2000 18:16:48 +0000 (18:16 +0000)]
Add nsswitch support.  By creating an /etc/nsswitch.conf file, you can
configure FreeBSD so that various databases such as passwd and group can be
looked up using flat files, NIS, or Hesiod.

= Hesiod has been added to libc (see hesiod(3)).

= A library routine for parsing nsswitch.conf and invoking callback
  functions as specified has been added to libc (see nsdispatch(3)).

= The following C library functions have been modified to use nsdispatch:
    . getgrent, getgrnam, getgrgid
    . getpwent, getpwnam, getpwuid
    . getusershell
    . getaddrinfo
    . gethostbyname, gethostbyname2, gethostbyaddr
    . getnetbyname, getnetbyaddr
    . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr

= host.conf has been removed from src/etc.  rc.network has been modified
  to warn that host.conf is no longer used at boot time.  In addition, if
  there is a host.conf but no nsswitch.conf, the latter is created at boot
  time from the former.

Obtained from: NetBSD

24 years agoForced commit after repocopy from src/usr.sbin/pwd_mkdb.
nectar [Wed, 6 Sep 2000 18:07:51 +0000 (18:07 +0000)]
Forced commit after repocopy from src/usr.sbin/pwd_mkdb.

24 years agoFirst cut at new boot loader.
imp [Wed, 6 Sep 2000 18:02:03 +0000 (18:02 +0000)]
First cut at new boot loader.
Rip it to shreds so that it is better, please :-)

24 years agoRevert my last change. libutil.h is still required for setusercontext()
brian [Wed, 6 Sep 2000 17:59:37 +0000 (17:59 +0000)]
Revert my last change.  libutil.h is still required for setusercontext()
and unistd.h is already included.

Requested by: gshapiro

24 years agoRevive these files in their new location. These were repo copied from
peter [Wed, 6 Sep 2000 17:59:21 +0000 (17:59 +0000)]
Revive these files in their new location.  These were repo copied from
the old files before Marcel lost the history on them.

Requested by: obrien

24 years agoDo not panic on an uninitialized VOP_xxx() call. This was meant as a
peter [Wed, 6 Sep 2000 17:51:54 +0000 (17:51 +0000)]
Do not panic on an uninitialized VOP_xxx() call.  This was meant as a
sanity check, but it is too easy to run into, eg: making an ACL syscall
when no filesystems have the ACL implementation enabled.

The original reason for the panic was that the VOP_ vector had not been
assigned and therefor could not be passed down the stack.. and there
was no point passing it down since nothing implemented it anyway.
vop_defaultop entries could not pass it on because it had a zero (unknown)
vector that was indistinguishable from another unknown VOP vector.

Anyway, we can do something reasonable in this case, we shouldn't need
to panic here as there is a reasonable recovery option (return EOPNOTSUPP
and dont pass it down the stack).

Requested by: rwatson

24 years agoThe kernel is now known as `kernel.ko' and it and its matching modules
obrien [Wed, 6 Sep 2000 17:51:31 +0000 (17:51 +0000)]
The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''.

24 years agoDon't warn about unknown mount types, since they most likely simply mean
des [Wed, 6 Sep 2000 17:44:07 +0000 (17:44 +0000)]
Don't warn about unknown mount types, since they most likely simply mean
that the right module hasn't been loaded yet (and mount(8) will do so
when necessary).

24 years agoRelease notes reflect addition of Alteon AceNIC 1000baseT and Netgear
bmah [Wed, 6 Sep 2000 17:05:01 +0000 (17:05 +0000)]
Release notes reflect addition of Alteon AceNIC 1000baseT and Netgear
GA620T 1000baseT support to the ti(4) driver and subsequent MFC.

In hardware list, re-sort list of NICs supported by ti(4) driver.

24 years agoAdd .El
ache [Wed, 6 Sep 2000 16:52:01 +0000 (16:52 +0000)]
Add .El

24 years ago/modules -> /boot/kernel
ache [Wed, 6 Sep 2000 15:55:31 +0000 (15:55 +0000)]
/modules -> /boot/kernel

24 years agoAdd /boot/kernel/
ache [Wed, 6 Sep 2000 15:34:58 +0000 (15:34 +0000)]
Add /boot/kernel/

24 years agoAdd ftp.no.freebsd.org.
sheldonh [Wed, 6 Sep 2000 13:16:58 +0000 (13:16 +0000)]
Add ftp.no.freebsd.org.

PR: 21068
Submitted by: Martin Eggen <martin@copyleft.no>

24 years agoo Synchronize vaccess() capability access control checks with TrustedBSD
rwatson [Wed, 6 Sep 2000 12:18:24 +0000 (12:18 +0000)]
o Synchronize vaccess() capability access control checks with TrustedBSD
  tree.

Obtained from: TrustedBSD Project

24 years agoAdd refcounts to the "global" DEVFS inode slots, this allows us
phk [Wed, 6 Sep 2000 11:26:43 +0000 (11:26 +0000)]
Add refcounts to the "global" DEVFS inode slots, this allows us
to recycle inodes after a destroy_dev() but not until all mounts
have picked up the change.

Add support for an overflow table for DEVFS inodes.  The static
table defaults to 1024 inodes, if that fills, an overflow table
of 32k inodes is allocated.  Both numbers can be changed at
compile time, the size of the overflow table also with the
sysctl vfs.devfs.noverflow.

Use atomic instructions to barrier between make_dev()/destroy_dev()
and the mounts.

Add lockmgr() locking of directories for operations accessing or
modifying the directory TAILQs.

Various nitpicking here and there.

24 years agoIntroduce atomic_cmpset_int() and atomic_cmpset_long() from SMPng a
phk [Wed, 6 Sep 2000 11:21:14 +0000 (11:21 +0000)]
Introduce atomic_cmpset_int() and atomic_cmpset_long() from SMPng a
few hours earlier than the rest.

The next DEVFS commit needs these functions.

Alpha versions by: dfr
i386 versions by: jakeb

Approved by:    SMPng

24 years agoThe default is for 3rd party kernel modules to live in /boot/modules
obrien [Wed, 6 Sep 2000 10:27:26 +0000 (10:27 +0000)]
The default is for 3rd party kernel modules to live in /boot/modules
rather than /modules.

24 years agoDESTDIR'ify the device.hints checking code.
obrien [Wed, 6 Sep 2000 09:27:25 +0000 (09:27 +0000)]
DESTDIR'ify the device.hints checking code.

24 years agoI forgot the leading `DESTDIR' before the kernel directory.
obrien [Wed, 6 Sep 2000 09:14:18 +0000 (09:14 +0000)]
I forgot the leading `DESTDIR' before the kernel directory.

24 years agoAvoid doing rtsol to psuedo interface.
ume [Wed, 6 Sep 2000 07:39:55 +0000 (07:39 +0000)]
Avoid doing rtsol to psuedo interface.

PR: bin/21062

24 years agoReintroduce functionality and error checks that were boneheadedly removed
des [Wed, 6 Sep 2000 07:28:02 +0000 (07:28 +0000)]
Reintroduce functionality and error checks that were boneheadedly removed
in the previous commit. Pass me the pointy hat.

PR: bin/21061

24 years agoThe kernel is now known as `kernel.ko' and it and its matching modules
obrien [Wed, 6 Sep 2000 06:22:20 +0000 (06:22 +0000)]
The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''.

Submitted by: Hisashi Hiramoto <hiramoto@phys.chs.nihon-u.ac.jp>

24 years agoWhen sigaltstack is called with a stack size that's not smaller
marcel [Wed, 6 Sep 2000 06:08:54 +0000 (06:08 +0000)]
When sigaltstack is called with a stack size that's not smaller
than LINUX_MINSIGSTKSZ but smaller than MINSIGSTKSZ, cheat and
pass MINSIGSTKSZ to the kernel. This is a workaround.

Submitted through: nate

24 years agoBring LDADD in line with DPADD.
grog [Wed, 6 Sep 2000 04:18:16 +0000 (04:18 +0000)]
Bring LDADD in line with DPADD.

Reported by: bde

24 years ago1. IP_FW_F_{UID,GID} are _not_ commands, they are extras. The sanity checking
billf [Wed, 6 Sep 2000 03:10:42 +0000 (03:10 +0000)]
1. IP_FW_F_{UID,GID} are _not_ commands, they are extras. The sanity checking
for them does not belong in the IP_FW_F_COMMAND switch, that mask doesn't even
apply to them(!).

2. You cannot add a uid/gid rule to something that isn't TCP, UDP, or IP.

XXX - this should be handled in ipfw(8) as well (for more diagnostic output),
but this at least protects bogus rules from being added.

Pointy hat: green

24 years agoIgnore ELF files with 'interpreter' section because KLDs doesn't contain it.
bp [Wed, 6 Sep 2000 02:21:43 +0000 (02:21 +0000)]
Ignore ELF files with 'interpreter' section because KLDs doesn't contain it.

Reviewed by: peter

24 years agoFix the kernel default load from "/boot/modules" to "/boot/kernel".
obrien [Tue, 5 Sep 2000 23:10:46 +0000 (23:10 +0000)]
Fix the kernel default load from "/boot/modules" to "/boot/kernel".

Reported by: dcs

24 years agoThe kernel is now known as `kernel.ko' and it and its matching modules
obrien [Tue, 5 Sep 2000 22:37:46 +0000 (22:37 +0000)]
The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''.

24 years agoTeach the NFS && NFS_ROOT case how to pick up information left by the
msmith [Tue, 5 Sep 2000 22:34:11 +0000 (22:34 +0000)]
Teach the NFS && NFS_ROOT case how to pick up information left by the
PXE loader, and use this to build the nfs_diskless structure.

24 years agoFix a bug which prevents parsing this Makefile without having a
msmith [Tue, 5 Sep 2000 22:33:07 +0000 (22:33 +0000)]
Fix a bug which prevents parsing this Makefile without having a
previously-built loader binary elsewhere.

24 years agoExport the salient configuration items in a non-pxe-specific namespace
msmith [Tue, 5 Sep 2000 22:32:31 +0000 (22:32 +0000)]
Export the salient configuration items in a non-pxe-specific namespace
to allow commonality between varying platforms.  This is a step
towards parsing the diskless configuration information with MI code
inside the kernel.

Export the interface hardware address to the kernel, so that it is possible
to determine the boot interface with certainty.

Export the NFS filehandle for the root mount to the kernel, so that the
kernel does not need to perform a mount RPC call.

24 years agoDon't scan for the "right" network interface by shooting in the dark.
msmith [Tue, 5 Sep 2000 22:29:36 +0000 (22:29 +0000)]
Don't scan for the "right" network interface by shooting in the dark.
Assume that the nfs_diskless structure is correctly set up; the provider
ought to be getting it right.

24 years agoExpose the NFS root node, so that an evil consumer can use it to get the
msmith [Tue, 5 Sep 2000 22:11:41 +0000 (22:11 +0000)]
Expose the NFS root node, so that an evil consumer can use it to get the
NFS filehandle for the root mount.

24 years agoRemove uidinfo hash table lookup and maintenance out of chgproccnt() and
truckman [Tue, 5 Sep 2000 22:11:13 +0000 (22:11 +0000)]
Remove uidinfo hash table lookup and maintenance out of chgproccnt() and
chgsbsize(), which are called rather frequently and may be called from an
interrupt context in the case of chgsbsize().  Instead, do the hash table
lookup and maintenance when credentials are changed, which is a lot less
frequent.  Add pointers to the uidinfo structures to the ucred and pcred
structures for fast access.  Pass a pointer to the credential to chgproccnt()
and chgsbsize() instead of passing the uid.  Add a reference count to the
uidinfo structure and use it to decide when to free the structure rather
than freeing the structure when the resource consumption drops to zero.
Move the resource tracking code from kern_proc.c to kern_resource.c.  Move
some duplicate code sequences in kern_prot.c to separate helper functions.
Change KASSERTs in this code to unconditional tests and calls to panic().

24 years agoNote the MFC of ATA100 support into the ata(4) driver and update the
bmah [Tue, 5 Sep 2000 21:36:50 +0000 (21:36 +0000)]
Note the MFC of ATA100 support into the ata(4) driver and update the
list of ATA controllers currently supported.

24 years agoMove extern declaration of dead_vnodeop_p to a .h file.
phk [Tue, 5 Sep 2000 21:09:56 +0000 (21:09 +0000)]
Move extern declaration of dead_vnodeop_p to a .h file.

Remove race condition in vn_isdisk().

24 years agoRegister resources in a more opportune order for the hardware.
phk [Tue, 5 Sep 2000 21:08:48 +0000 (21:08 +0000)]
Register resources in a more opportune order for the hardware.

24 years agoinitial support for multiple ac97 codecs
cg [Tue, 5 Sep 2000 21:08:01 +0000 (21:08 +0000)]
initial support for multiple ac97 codecs

24 years agoadd detach support
cg [Tue, 5 Sep 2000 21:06:11 +0000 (21:06 +0000)]
add detach support

24 years agoallow a null setdir implementation
cg [Tue, 5 Sep 2000 21:00:45 +0000 (21:00 +0000)]
allow a null setdir implementation

24 years agobe more verbose about failed unload attempts
cg [Tue, 5 Sep 2000 20:58:51 +0000 (20:58 +0000)]
be more verbose about failed unload attempts

24 years agotidy up a little, add a mask for 32bit formats
cg [Tue, 5 Sep 2000 20:56:31 +0000 (20:56 +0000)]
tidy up a little, add a mask for 32bit formats

24 years agoDocument %-macros and NLSPATH better.
ache [Tue, 5 Sep 2000 19:14:34 +0000 (19:14 +0000)]
Document %-macros and NLSPATH better.

24 years agoMake the basic AIO functions, i.e., aio_read() and aio_write(),
alc [Tue, 5 Sep 2000 18:58:07 +0000 (18:58 +0000)]
Make the basic AIO functions, i.e., aio_read() and aio_write(),
work on the Alpha, at least, for the aio_qphysio() case.  Specifically,
fix an unaligned access fault.

24 years agoMFNetBSD:
imp [Tue, 5 Sep 2000 18:25:49 +0000 (18:25 +0000)]
MFNetBSD:
1.6 2000/04/12 21:07:55 scw
Add support for the SOHOware PCMCIA Ethernet card, model ND5100-E.
This seems to be a re-badged NDC (National Datacomms. Corp) card.
It needs a quirk entry due to lack of manufacturer tuple in the CIS.
For some reason, the 'Tx/Rx' LED on the connector module is inverted
such that it is off during network activity...

24 years agocorrect silly typo..
wilko [Tue, 5 Sep 2000 17:17:36 +0000 (17:17 +0000)]
correct silly typo..

Submitted by: "Koster, K.J." <K.J.Koster@kpn.com>

24 years agoGood thing about these examples is that no one uses them, so they can
dcs [Tue, 5 Sep 2000 16:30:09 +0000 (16:30 +0000)]
Good thing about these examples is that no one uses them, so they can
stay broken for months without anyone noticing.

The boot-conf command was changed as to reproduce the behavior of builtin
loader words precisely. As a result, it now always need an argument, possibly
0 indicating that no other arguments are being passed. This broke in a
non-deterministic way (ie, it could go on working as if everything was fine).

24 years agoRegen.
gehenna [Tue, 5 Sep 2000 16:01:34 +0000 (16:01 +0000)]
Regen.

24 years agoAdd product ID (Prolific ATAPI-4 Bridge Controller).
gehenna [Tue, 5 Sep 2000 16:00:55 +0000 (16:00 +0000)]
Add product ID (Prolific ATAPI-4 Bridge Controller).

Reported by: "K.Sumitani" <sumitani@bd2.hnes.nec.co.jp>

24 years agoFully implement NLSPATH processing as described in SUSv2
ache [Tue, 5 Sep 2000 14:04:21 +0000 (14:04 +0000)]
Fully implement NLSPATH processing as described in SUSv2

24 years agoRegen.
n_hibma [Tue, 5 Sep 2000 12:28:33 +0000 (12:28 +0000)]
Regen.

24 years agoFix typo's
n_hibma [Tue, 5 Sep 2000 12:26:37 +0000 (12:26 +0000)]
Fix typo's

24 years agoLoads of scanner Ids.
n_hibma [Tue, 5 Sep 2000 12:24:05 +0000 (12:24 +0000)]
Loads of scanner Ids.

24 years agoOops! don't set errno to ENOMEM explicitly if malloc() failed.
phantom [Tue, 5 Sep 2000 12:23:08 +0000 (12:23 +0000)]
Oops! don't set errno to ENOMEM explicitly if malloc() failed.

Found by: ache

24 years agoImplement readahead buffering for non-raw files. This drastically improves
msmith [Tue, 5 Sep 2000 09:52:50 +0000 (09:52 +0000)]
Implement readahead buffering for non-raw files.  This drastically improves
the efficiency of byte-by-byte read operations on filesystems not already
supported by the block cache (especially NFS).

This should be a welcome change for users booting via PXE, as the loader
now reads its startup files almost instantly, instead of taking tens of
seconds.

24 years agoAdd ZTIA001 - Zoom Internal V90 Faxmodem.
sheldonh [Tue, 5 Sep 2000 09:42:47 +0000 (09:42 +0000)]
Add ZTIA001 - Zoom Internal V90 Faxmodem.

PR: 21028
Submitted by: Glenn Johnson <glennpj@charter.net>

24 years agoRemove the SIGSYS handler and wrapper around the __getcwd() syscall.
peter [Tue, 5 Sep 2000 09:35:36 +0000 (09:35 +0000)]
Remove the SIGSYS handler and wrapper around the __getcwd() syscall.
It was kinda silly since the sigaction() syscall that it used to setup
the handler is more recent than __getcwd(), therefore it was useless
as the wrapper would have died before even getting as far as __getcwd(2).

Reminded by: bde

24 years agoVarious cleanups towards make nullfs functional (it is still broken
bp [Tue, 5 Sep 2000 09:02:07 +0000 (09:02 +0000)]
Various cleanups towards make nullfs functional (it is still broken
at this point):

Replace all '#ifdef DEBUG' with '#ifdef NULLFS_DEBUG' and add NULLFSDEBUG
macro.

Protect nullfs hash table with lockmgr.

Use proper order of operations when freeing mnt_data.

Return correct fsid in the null_getattr().

Add null_open() function to catch MNT_NODEV (obtained from NetBSD).

Add null_rename() to catch cross-fs rename operations (submitted by
Ustimenko Semen <semen@iclub.nsu.ru>)

Remove duplicate $FreeBSD$ tags.

24 years agoAdd acap, as per IANA.
sheldonh [Tue, 5 Sep 2000 08:24:01 +0000 (08:24 +0000)]
Add acap, as per IANA.

PR: 20990
Submitted by: Lyndon Nerenberg <lyndon@orthanc.ab.ca>

24 years agoGet rid from the __P() macros.
bp [Tue, 5 Sep 2000 07:54:39 +0000 (07:54 +0000)]
Get rid from the __P() macros.

Encouraged by: peter

24 years agoo vn_extattr_set() will now call appropriate vn_start_write() and
rwatson [Tue, 5 Sep 2000 03:15:02 +0000 (03:15 +0000)]
o vn_extattr_set() will now call appropriate vn_start_write() and
  vn_finished_write() if IO_NODELOCKED is not set.

Obtained from: TrustedBSD Project

24 years agoo Remove commented out code which modified return values from
rwatson [Tue, 5 Sep 2000 02:13:14 +0000 (02:13 +0000)]
o Remove commented out code which modified return values from
  extattr_{get,set} syscalls in the face of partial reads or writes.

Obtained from: TrustedBSD Project

24 years agoRegenerate
peter [Tue, 5 Sep 2000 01:10:33 +0000 (01:10 +0000)]
Regenerate

24 years agoCatch a few more bogosities in certain chipsets before they mess us up.
peter [Tue, 5 Sep 2000 00:53:34 +0000 (00:53 +0000)]
Catch a few more bogosities in certain chipsets before they mess us up.
Some have dual host->PCI bridges for the same logical pci bus (!), eg:
some of the RCC chipsets.  This is a 32/64 bit 33/66MHz and dual pci
voltage motherboard so persumably there are electical or signalling
differences but they are otherwise the same logical bus.
The new PCI probe code however was getting somewhat upset about it and
ended up creating two pci bridges to the same logical bus, which caused
devices on that logical bus to appear and be probed twice.

The ACPI data on this box correctly identifies this stuff, so bring on
ACPI! :-)

24 years agoAdd compaq hotplug PCI device id.
peter [Tue, 5 Sep 2000 00:33:22 +0000 (00:33 +0000)]
Add compaq hotplug PCI device id.
Tidy up some loose ends.  Be a little more consistent how the ign driver
probes with the rest of the drivers in this file.

24 years agoWhen dumping the 'found devices' list in verbose mode, actually show the
peter [Tue, 5 Sep 2000 00:32:19 +0000 (00:32 +0000)]
When dumping the 'found devices' list in verbose mode, actually show the
bus/slot/function numbers.  The old PCI code used other markers or
something, but without it here under the new pci code it is very hard to
tell which device is which (this only affects bootverbose mode).

24 years agoWhen we are picking the next available unit number, specifically say
peter [Tue, 5 Sep 2000 00:30:46 +0000 (00:30 +0000)]
When we are picking the next available unit number, specifically say
what we picked.  Otherwise it is anybody's guess as to where the
device ended up.

24 years agoo Add missing "\n" to warning output in netinet/if_loop.c, when an
rwatson [Mon, 4 Sep 2000 21:46:27 +0000 (21:46 +0000)]
o Add missing "\n" to warning output in netinet/if_loop.c, when an
  unsupported address family is used on localhost interface.

    looutput: af=0 unexpected

  Speculation as to the reasons for my seeing this error are welcome, of
  course.  :-)

24 years agoYank out the NOPOLL conditionals. libc_r no longer needs it, and this
peter [Mon, 4 Sep 2000 21:28:16 +0000 (21:28 +0000)]
Yank out the NOPOLL conditionals.  libc_r no longer needs it, and this
library depends on other things that come *way* later than poll() now
(sigset size changes in particular)

24 years agoAdd a note about /etc/aliases moving /etc/mail/aliases and the problems
imp [Mon, 4 Sep 2000 21:09:01 +0000 (21:09 +0000)]
Add a note about /etc/aliases moving /etc/mail/aliases and the problems
that causes in updating.

Submitted by: Robert Watson

[[ NB: marko and I are trying an experiment: he'll try to fix typos
   quickly in UPDATING, while I concentrate on content. ]]

24 years agoThrow out a considerable number of cards that have never been tested
wilko [Mon, 4 Sep 2000 20:56:43 +0000 (20:56 +0000)]
Throw out a considerable number of cards that have never been tested
on Alpha, primarily in the storage adapter area. Things like
Soundblaster-attached CDs, WD7000 etc for example. Try to get RELNOTES
for alpha to reflect reality a bit more.

24 years agoAdd AS1200 (Tincup) to description
wilko [Mon, 4 Sep 2000 20:47:35 +0000 (20:47 +0000)]
Add AS1200 (Tincup) to description

24 years agoLINT -> NOTES
wilko [Mon, 4 Sep 2000 20:45:15 +0000 (20:45 +0000)]
LINT -> NOTES

24 years agoOff by one error.
phk [Mon, 4 Sep 2000 18:24:30 +0000 (18:24 +0000)]
Off by one error.

Submitted by: des

24 years agoRemove obsolete comment (see rev 1.84 of procfs_vnops.c)
des [Mon, 4 Sep 2000 18:19:04 +0000 (18:19 +0000)]
Remove obsolete comment (see rev 1.84 of procfs_vnops.c)

24 years agoRemove a comment that has been not only obsolete but patently wrong for the
des [Mon, 4 Sep 2000 18:18:17 +0000 (18:18 +0000)]
Remove a comment that has been not only obsolete but patently wrong for the
last 31 revisions (almost three years).

24 years agoCorrect minor typos
marko [Mon, 4 Sep 2000 16:59:32 +0000 (16:59 +0000)]
Correct minor typos

PR: 21022
Submitted by: Daniel S. Lewart <d-lewart@uiuc.edu>

24 years agoenable sshd by default. This only effects *new* installs, so
jkh [Mon, 4 Sep 2000 15:50:15 +0000 (15:50 +0000)]
enable sshd by default.  This only effects *new* installs, so
upgraders will not receive any unpleasant surprises.

24 years agoUse .St -susv2 rather than "The Single UNIX Specification".
imp [Mon, 4 Sep 2000 15:38:58 +0000 (15:38 +0000)]
Use .St -susv2 rather than "The Single UNIX Specification".

Submitted by: sheldonh

24 years agoSupport for RBC devices, like Sony Memory Sticks.
n_hibma [Mon, 4 Sep 2000 15:34:14 +0000 (15:34 +0000)]
Support for RBC devices, like Sony Memory Sticks.

Not extensively tested yet, so be warned.

Submitted by: Gerd Knops <gerti@bitart.com>

24 years agoAdd the id for the Sony memory sticks.
n_hibma [Mon, 4 Sep 2000 15:29:42 +0000 (15:29 +0000)]
Add the id for the Sony memory sticks.

24 years agoAdd Boca K56Flex PnP modem.
sheldonh [Mon, 4 Sep 2000 13:50:37 +0000 (13:50 +0000)]
Add Boca K56Flex PnP modem.

PR: 21000
Submitted by: Andrew Sparrow <spadger@best.com>

24 years ago* move $FreeBSD$ tag to its usual place (bottom of copyright)
phantom [Mon, 4 Sep 2000 13:20:56 +0000 (13:20 +0000)]
* move $FreeBSD$ tag to its usual place (bottom of copyright)
* mdoc cleanup
* document missing errno values (ERRORS section)

Reviewed by: sheldonh

24 years agoFinaly cleanup libc/nls code:
phantom [Mon, 4 Sep 2000 12:09:40 +0000 (12:09 +0000)]
Finaly cleanup libc/nls code:

* rewrite catopen() to remove duplicate code chunks and optimize
* if empty string is passed to catopen() as name argument then
   catopen() will set errno to ENOENT (File not found), not EINVAL
* move search code to LOOKUP() macro to shrink amount of duplicated code
* move common resource freeing actions to __nls_free_resources() function
* exclude from build code related to MCLoadAll defintion since it is not
  using at all
* style(9) related whitespace changes

Reviewed by: ache

24 years agoFix bug that causes gawk to choke when parsing long source files.
sheldonh [Mon, 4 Sep 2000 10:42:19 +0000 (10:42 +0000)]
Fix bug that causes gawk to choke when parsing long source files.

Reported by: Tony Fleisher <takhus@takhus.mind.net>
Submitted by: Aharon Robbins <arnold@skeeve.com>

24 years agoWhitespace-only: remove the only hard sentence break in the file.
sheldonh [Mon, 4 Sep 2000 08:58:41 +0000 (08:58 +0000)]
Whitespace-only: remove the only hard sentence break in the file.

24 years agottyname was not being passed into do_login(), so we were erroneously picking
kris [Mon, 4 Sep 2000 08:43:05 +0000 (08:43 +0000)]
ttyname was not being passed into do_login(), so we were erroneously picking
up the function definition from unistd.h instead. Use s->tty instead.

Submitted by: peter

24 years agoUpdate the NTP kernel PLL code to the 2000-08-29 version of Dave Mills
phk [Mon, 4 Sep 2000 08:19:32 +0000 (08:19 +0000)]
Update the NTP kernel PLL code to the 2000-08-29 version of Dave Mills
nanokernel.

The FreeBSD private mode hardpps Type 2 PLL has been removed.

24 years agoConstify the arg to logout(3). It is const-safe.
peter [Mon, 4 Sep 2000 08:13:49 +0000 (08:13 +0000)]
Constify the arg to logout(3).  It is const-safe.
(cosmetic: drop some "register" qualifications too.)

24 years agoMake filt_aio() check the jobstate for JOBST_JOBBFINISHED (in addition
alc [Mon, 4 Sep 2000 07:56:32 +0000 (07:56 +0000)]
Make filt_aio() check the jobstate for JOBST_JOBBFINISHED (in addition
to JOBST_JOBFINISHED) in case the aio_read() or aio_write() was performed
via the high-performance physio method, i.e., aio_qphysio().

24 years agoWhen we have both a rcsid and sccsid, ifdef 0 the sccsid. This
imp [Mon, 4 Sep 2000 06:11:25 +0000 (06:11 +0000)]
When we have both a rcsid and sccsid, ifdef 0 the sccsid.  This
appears to be the standard FreeBSD way to do this.  style(9) is silent
about this, however.

24 years agogetopt and friends are declared in <unistd.h>
imp [Mon, 4 Sep 2000 06:09:54 +0000 (06:09 +0000)]
getopt and friends are declared in <unistd.h>
getopt returns -1 not EOF.

24 years agooptarg and optind are declared in unistd.h.
imp [Mon, 4 Sep 2000 05:59:25 +0000 (05:59 +0000)]
optarg and optind are declared in unistd.h.
h_error is declared in netdb.h

24 years agostrerror is declared in <string.h>
imp [Mon, 4 Sep 2000 05:48:09 +0000 (05:48 +0000)]
strerror is declared in <string.h>
errno is declared in <errno.h>

24 years agoremove redundant optreset declaration
imp [Mon, 4 Sep 2000 05:47:14 +0000 (05:47 +0000)]
remove redundant optreset declaration

24 years agoFix typo
gshapiro [Mon, 4 Sep 2000 03:59:41 +0000 (03:59 +0000)]
Fix typo

24 years agoGet errno from <errno.h>, not from extern int.
imp [Mon, 4 Sep 2000 03:54:23 +0000 (03:54 +0000)]
Get errno from <errno.h>, not from extern int.
Add $FreeBSD$ to hopefully the right place.

24 years agoDon't print an error message if the bad option is '?'. This has been
imp [Mon, 4 Sep 2000 03:49:22 +0000 (03:49 +0000)]
Don't print an error message if the bad option is '?'.  This has been
in my tree for a long time.  bde reviewed this once upon a time and
said it was OK, iirc.  This also obviates the need to put ? in the
optstring argument to preclude the extra warning message which some
people think confuses users.  When I made my getopt cleanups of a long
time ago, this was the compromise reached.  I just neglected to commit
it until now.

24 years agoThe comparison against 0 should be against LC_ALL. category isn't a
imp [Mon, 4 Sep 2000 03:43:24 +0000 (03:43 +0000)]
The comparison against 0 should be against LC_ALL.  category isn't a
boolean and it is LC_ALL that's special.

Someone submitted this to me a long time ago, but I can't find the
mail now.

24 years agoSoften the statement about select's timeout argument. This part of
imp [Mon, 4 Sep 2000 03:32:30 +0000 (03:32 +0000)]
Soften the statement about select's timeout argument.  This part of
the system likely won't change in the future, but the warning is a
good idea.