]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoChange type of channel speed variable from "int" to "u_int32_t" to
Orion Hodson [Wed, 21 Mar 2001 14:10:51 +0000 (14:10 +0000)]
Change type of channel speed variable from "int" to "u_int32_t" to
avoid overflow when scaling playback rate.  Fixes 44.1k playback from
being 48k (I am deaf to this difference...).

23 years agoReplace %y with %Y
Andrey A. Chernov [Wed, 21 Mar 2001 13:55:09 +0000 (13:55 +0000)]
Replace %y with %Y

23 years agoUse %c for expire/change dates
Andrey A. Chernov [Wed, 21 Mar 2001 13:46:09 +0000 (13:46 +0000)]
Use %c for expire/change dates

23 years agoUse nl_langinfo instead of %Ef
Andrey A. Chernov [Wed, 21 Mar 2001 13:41:03 +0000 (13:41 +0000)]
Use nl_langinfo instead of %Ef

23 years agoUse nl_langinfo instead of %Ef
Andrey A. Chernov [Wed, 21 Mar 2001 13:33:09 +0000 (13:33 +0000)]
Use nl_langinfo instead of %Ef

23 years agoUse nl_langinfo instead of %Ef
Andrey A. Chernov [Wed, 21 Mar 2001 13:21:20 +0000 (13:21 +0000)]
Use nl_langinfo instead of %Ef

23 years agoChange ordering of SPDIF register pokes. SPDIF enable needs to be the
Orion Hodson [Wed, 21 Mar 2001 12:51:37 +0000 (12:51 +0000)]
Change ordering of SPDIF register pokes.  SPDIF enable needs to be the
last poke in sequence.  Enabling SPDIF was coercing output rate to
48K, not good for 44.1K tracks.

23 years agoSet the device names as early as possible.
Søren Schmidt [Wed, 21 Mar 2001 11:49:07 +0000 (11:49 +0000)]
Set the device names as early as possible.

23 years agoHandle the case where the last piece of a RAID0 (striped) disk is
Søren Schmidt [Wed, 21 Mar 2001 11:48:14 +0000 (11:48 +0000)]
Handle the case where the last piece of a RAID0 (striped) disk is
not of interleave size.

23 years agoCleanup the diskerr messages a bit.
Søren Schmidt [Wed, 21 Mar 2001 11:46:15 +0000 (11:46 +0000)]
Cleanup the diskerr messages a bit.

23 years agoDo not change/get mode on a nonexisting device.
Søren Schmidt [Wed, 21 Mar 2001 11:44:58 +0000 (11:44 +0000)]
Do not change/get mode on a nonexisting device.

23 years agoProperly fix the world breakage.
Ruslan Ermilov [Wed, 21 Mar 2001 10:56:29 +0000 (10:56 +0000)]
Properly fix the world breakage.

Unpollute the Makefile.inc's abuse of SRCS variable, and move
the generation of header files into include/ subdirecory.

Reviewed by: buildworld

23 years agoAdditions to run checks on live filesystems. This change will not
Kirk McKusick [Wed, 21 Mar 2001 09:48:03 +0000 (09:48 +0000)]
Additions to run checks on live filesystems. This change will not
affect current systems until fsck is modified to use these new
facilities. To try out this change, set the fsck passno to zero
in /etc/fstab to cause the filesystem to be mounted without running
fsck, then run `fsck_ffs -p -B <filesystem>' after the system has
been brought up multiuser to run a background cleanup on <filesystem>.
Note that the <filesystem> in question must have soft updates enabled.

23 years agoAdd libssl and libcrypto compat4x libraries since the major number
Paul Saab [Wed, 21 Mar 2001 08:49:02 +0000 (08:49 +0000)]
Add libssl and libcrypto compat4x libraries since the major number
changed.  These were taken from the 4.2-RELEASE dist on ftp.freebsd.org.
This will be MFC'd shortly as it is required in RELENG_4 to maintain
compatability with binaries linked against these libraries.

23 years agoPentium II's do not support SSE, that came in with the PIII
Kris Kennaway [Wed, 21 Mar 2001 08:29:39 +0000 (08:29 +0000)]
Pentium II's do not support SSE, that came in with the PIII

Submitted by: sf

23 years agoOnly flush rules that have a rule number above that set by a new
Paul Richards [Wed, 21 Mar 2001 08:19:31 +0000 (08:19 +0000)]
Only flush rules that have a rule number above that set by a new
sysctl, net.inet.ip.fw.permanent_rules.

This allows you to install rules that are persistent across flushes,
which is very useful if you want a default set of rules that
maintains your access to remote machines while you're reconfiguring
the other rules.

Reviewed by: Mark Murray <markm@FreeBSD.org>

23 years agoAdd kernel support for running fsck on active filesystems.
Kirk McKusick [Wed, 21 Mar 2001 04:09:01 +0000 (04:09 +0000)]
Add kernel support for running fsck on active filesystems.

23 years agoClear the fs_clean flag only when the FS_UNCLEAN flag is not set
Kirk McKusick [Wed, 21 Mar 2001 04:05:20 +0000 (04:05 +0000)]
Clear the fs_clean flag only when the FS_UNCLEAN flag is not set
(as is done in unmount).

Remove a snapshot inode from the superblock list when its last
name goes away rather than when its last reference goes away.
That way it will be properly reclaimed by fsck after a crash
rather than reenabled when the filesystem is mounted.

23 years agoAdd SRCS= mk-mdmap.c and SRCS= wire-test.c to fix the world
Michael C . Wu [Wed, 21 Mar 2001 04:04:34 +0000 (04:04 +0000)]
Add SRCS= mk-mdmap.c and SRCS= wire-test.c to fix the world
breakage.  amd has its own SRCS= that prevents bsd.*.mk to function correctly.

Submitted by: bmah
Reviewed by: peter

23 years agoReport the correct inode number when panicing with freeing free inode.
Kirk McKusick [Wed, 21 Mar 2001 04:01:02 +0000 (04:01 +0000)]
Report the correct inode number when panicing with freeing free inode.
Report the correct block number when panicing with freeing free block.

23 years agoFor parallel SCSI, let us now do status with the final CTIO. For the 1080,
Matt Jacob [Wed, 21 Mar 2001 00:49:37 +0000 (00:49 +0000)]
For parallel SCSI, let us now do status with the final CTIO. For the 1080,
I was hanging after sending a xfer CTIO and a status CTIO for a non-discon
INQUIRY- the xfer CTIO was returned as completed OK, but the status CTIO
was dropped on the floor. All the fields looked good. I don't know why
it got dropped. But allowing status to go back with data xfer seemed to
work. I also noticed that with a non-disconnecting command that the
firmware handle in the ATIO is zero- this leads me to believe that the
f/w really can only handle one CTIO at a time in the discon case, and
it had no idea what to do with the second (status) CTIO.

23 years agoCheck CT2_SENDSTATUS/CT_SENDSTATUS against cto->ct_flags, not
Matt Jacob [Wed, 21 Mar 2001 00:46:44 +0000 (00:46 +0000)]
Check CT2_SENDSTATUS/CT_SENDSTATUS against cto->ct_flags, not
CAM_SEND_STATUS. Set a timeout of 2 seconds per CTIO. Make sure
that the 'real' tag value is being checked against- not the
one that also carries the firmware handle.

23 years agoNew release notes: fxp(4) needs "device miibus", pkg_create(1)
Bruce A. Mah [Tue, 20 Mar 2001 23:41:44 +0000 (23:41 +0000)]
New release notes:  fxp(4) needs "device miibus", pkg_create(1)
dependency order (submitted by sobomax), "lprm -" works for remote
printers, mergemaster(8) updates, ftpd(8) updates.

Also make sure ESS Maestro-3/Allegro is mentioned in appropriate
hardware lists (submitted by scottl).

23 years agoDocument situation around Adaptec SCSI cards more accurately. Esp.
Wilko Bulte [Tue, 20 Mar 2001 22:57:07 +0000 (22:57 +0000)]
Document situation around Adaptec SCSI cards more accurately. Esp.
for 164SX machines.

23 years agos/portmap/rpcbind
Alfred Perlstein [Tue, 20 Mar 2001 21:02:39 +0000 (21:02 +0000)]
s/portmap/rpcbind
Pointed out by: Hajimu UMEMOTO <ume@mahoroba.org>

23 years agowhitespace cleanup
Alfred Perlstein [Tue, 20 Mar 2001 20:28:09 +0000 (20:28 +0000)]
whitespace cleanup

23 years agoList libfetch.
Dag-Erling Smørgrav [Tue, 20 Mar 2001 20:21:08 +0000 (20:21 +0000)]
List libfetch.

Submitted by: bde

23 years agoUpdate copyright info, and make some slight cosmetic changes.
Coleman Kane [Tue, 20 Mar 2001 19:34:22 +0000 (19:34 +0000)]
Update copyright info, and make some slight cosmetic changes.

23 years agoChange Voodoo Graphics device ID to 0x0001121a so it gets probed.
Coleman Kane [Tue, 20 Mar 2001 19:30:46 +0000 (19:30 +0000)]
Change Voodoo Graphics device ID to 0x0001121a so it gets probed.

23 years agoSet the default manual section for usr.sbin/ to 8.
Ruslan Ermilov [Tue, 20 Mar 2001 18:17:26 +0000 (18:17 +0000)]
Set the default manual section for usr.sbin/ to 8.

23 years agoSet the default manual section for sbin/ to 8.
Ruslan Ermilov [Tue, 20 Mar 2001 18:13:31 +0000 (18:13 +0000)]
Set the default manual section for sbin/ to 8.

23 years agoPlace the call to pccard_insert_beep() in the inserted() timeout
Ian Dowse [Tue, 20 Mar 2001 18:10:19 +0000 (18:10 +0000)]
Place the call to pccard_insert_beep() in the inserted() timeout
routine instead of pccard_event(). This avoids spurious extra calls
to pccard_insert_beep() at insert or remove time which could occur
due to noise on the card-present lines.

Clean up some code in pccard_beep.c; we were depending on the order
of evaluation of function arguments, which is undefined in C. Also,
use `0' rather than `NULL' for integer values.

Reviewed by: sanpei, imp

23 years agoSet the default manual section for libexec/ to 8.
Ruslan Ermilov [Tue, 20 Mar 2001 18:10:13 +0000 (18:10 +0000)]
Set the default manual section for libexec/ to 8.

23 years agoSet the default manual section for games/ to 6.
Ruslan Ermilov [Tue, 20 Mar 2001 18:08:43 +0000 (18:08 +0000)]
Set the default manual section for games/ to 6.

23 years agoIf the MANSECT variable is specified, it will override the default
Ruslan Ermilov [Tue, 20 Mar 2001 18:06:09 +0000 (18:06 +0000)]
If the MANSECT variable is specified, it will override the default
manual section.  If, for example, MANSECT is set to 8, the default
MAN1=${PROG}.1 feature of bsd.prog.mk becomes MAN8=${PROG}.8.
Useful for games, libexec, sbin and usr.sbin subtrees.

Reviewed by: bde

23 years agoReboot(8) normally waits 5 seconds after sending SIGTERMs to all
Ian Dowse [Tue, 20 Mar 2001 17:22:48 +0000 (17:22 +0000)]
Reboot(8) normally waits 5 seconds after sending SIGTERMs to all
processes and then sends SIGKILLs. If a lot of processes are swapped
out, this delay may not be long enough, so processes such as an X
server may be killed before they have had time to clean up properly.

Make this delay more dynamic by waiting up to 60 seconds for swap
page-in activity to end. While I'm here, ANSIfy and remove a
`register' specifier.

23 years agoCorrect the top memory stats display: convert page counts to kB.
Thomas Moestl [Tue, 20 Mar 2001 16:02:16 +0000 (16:02 +0000)]
Correct the top memory stats display: convert page counts to kB.

Submitted by: Andrea Campi <andrea@webcom.it>
Approved by: rwatson
Pointy hat to: myself

23 years agoMake the pseudo-driver for "/dev/fd/*" handle fd's larger than 255.
Poul-Henning Kamp [Tue, 20 Mar 2001 13:26:13 +0000 (13:26 +0000)]
Make the pseudo-driver for "/dev/fd/*" handle fd's larger than 255.

PR: 25936

23 years agoAdd a KASSERT on unit2minor() so that we catch it if people try to pass
Poul-Henning Kamp [Tue, 20 Mar 2001 13:24:24 +0000 (13:24 +0000)]
Add a KASSERT on unit2minor() so that we catch it if people try to pass
us unit numbers which doesn't fit in 24 bits.

23 years agoFix a reference to the "vn" driver in a warning message.
Poul-Henning Kamp [Tue, 20 Mar 2001 12:31:53 +0000 (12:31 +0000)]
Fix a reference to the "vn" driver in a warning message.

23 years agomdoc(7) police: fixes to the previous revision:
Ruslan Ermilov [Tue, 20 Mar 2001 10:57:25 +0000 (10:57 +0000)]
mdoc(7) police: fixes to the previous revision:

- fixed bad formatting
- avoid using German
- removed hard sentence break

23 years agoFixed some typos.
Ruslan Ermilov [Tue, 20 Mar 2001 10:47:21 +0000 (10:47 +0000)]
Fixed some typos.

23 years agoThis manpage is heavily based on the old rpc.3 manpage, and
Ruslan Ermilov [Tue, 20 Mar 2001 10:46:22 +0000 (10:46 +0000)]
This manpage is heavily based on the old rpc.3 manpage, and
should have been repo-copied from it in the first place.

Apply all of our fixes up to and including revision 1.14 to
the original rpc.3 manpage, including conversion to mdoc(7).

23 years agoSilence some warnings
Alfred Perlstein [Tue, 20 Mar 2001 10:42:49 +0000 (10:42 +0000)]
Silence some warnings
Submitted by: LINT

23 years agoUnbreak LINT.
Alfred Perlstein [Tue, 20 Mar 2001 10:27:03 +0000 (10:27 +0000)]
Unbreak LINT.

because rpcb_clnt.h is generated during buildworld and only installed into
/usr/include/rpc (and not present in src/include/rpc) we can fix it
by simply not including it when _KERNEL is defined.

this isn't the most elegant, way and might deserve some revisiting later.

Pointed out by: bde

23 years agoFixed breakage of access() in rev.1.164. Wrong credentials were used for
Bruce Evans [Tue, 20 Mar 2001 09:38:05 +0000 (09:38 +0000)]
Fixed breakage of access() in rev.1.164.  Wrong credentials were used for
the final path component.

23 years agoRemoved the second copy of the manual page!
Ruslan Ermilov [Tue, 20 Mar 2001 09:02:32 +0000 (09:02 +0000)]
Removed the second copy of the manual page!

23 years agoRemoved duplicate $FreeBSD$.
Ruslan Ermilov [Tue, 20 Mar 2001 08:51:20 +0000 (08:51 +0000)]
Removed duplicate $FreeBSD$.

23 years agoThe TI-RPC spammed over a '#ifdef _KERNEL' hack for the xdrproc_t typedef
Alfred Perlstein [Tue, 20 Mar 2001 08:26:22 +0000 (08:26 +0000)]
The TI-RPC spammed over a '#ifdef _KERNEL' hack for the xdrproc_t typedef
revert the spammage

Pointed out by: bde

23 years agocomment out #pragma directive containing Sun SCM tags
Alfred Perlstein [Tue, 20 Mar 2001 08:20:50 +0000 (08:20 +0000)]
comment out #pragma directive containing Sun SCM tags

23 years agoNew release notes: Kerberos compatability with OpenSSH, dump(8)
Bruce A. Mah [Tue, 20 Mar 2001 06:08:45 +0000 (06:08 +0000)]
New release notes:  Kerberos compatability with OpenSSH, dump(8)
and nodump flag, ISC DHCP client update to 2.0pl5, split(1) support
for large files, units(1) update, netstat(1) per-address packet
counting, manpage updates.

Fix up notes on Adaptec SCSI RAID and DPT SmartRAID V/VI SCSI RAID
controllers (reviewed by scottl).

23 years agoThis is an MFC candidate.
Justin T. Gibbs [Tue, 20 Mar 2001 04:37:19 +0000 (04:37 +0000)]
This is an MFC candidate.

In our idle loop, use an or instruction to set PRELOADEN rather
than rewriting the contents of DMAPARAMS to DFCNTRL.  The later
may re-enable the DMA engine if the idle loop is called to complete
the preload of at least one segment when a target disconnects on
an S/G segment boundary but before we have completed fetching the
next segment.  This correts a hang, usually in message out phase,
when this situation occurs.  This bug has been here for a long
time, so the situation is rare, but not impossible to reproduce.
It only affected Ultra2/U160 controllers.

Correct a few comments.

Extra Sanity. Make sure that SCSIEN is also turned off, along with
HDMAEN, at the end of the data phase.

23 years agoRemove extra CFLAGS
Chris D. Faulhaber [Tue, 20 Mar 2001 02:55:43 +0000 (02:55 +0000)]
Remove extra CFLAGS
Add DPADD

Submitted by: bde

23 years agoRemove extra CFLAGS and redundant SRCS
Chris D. Faulhaber [Tue, 20 Mar 2001 02:54:41 +0000 (02:54 +0000)]
Remove extra CFLAGS and redundant SRCS
Add DPADD

Submitted by: bde

23 years agoAdd LIBPOSIX1E
Chris D. Faulhaber [Tue, 20 Mar 2001 02:52:56 +0000 (02:52 +0000)]
Add LIBPOSIX1E

23 years agoSuggested by kris, OpenSSH shall have a version designated to note that
Brian Feldman [Tue, 20 Mar 2001 02:11:25 +0000 (02:11 +0000)]
Suggested by kris, OpenSSH shall have a version designated to note that
it's not "plain" OpenSSH 2.3.0.

23 years agoUse the same API as the example code.
Peter Wemm [Tue, 20 Mar 2001 02:10:18 +0000 (02:10 +0000)]
Use the same API as the example code.
Allow the initial hash value to be passed in, as the examples do.
Incrementally hash in the dvp->v_id (using the official api) rather than
add it.  This seems to help power-of-two predictable filename trees
where the filenames repeat on a power-of-two cycle and the directory trees
have power-of-two components in it.  The simple add then mask was causing
things like 12000+ entry collision chains while most other entries have
between 0 and 3 entries each.  This way seems to improve things.

23 years agoMake password attacks based on traffic analysis harder by requiring that
Brian Feldman [Tue, 20 Mar 2001 02:06:40 +0000 (02:06 +0000)]
Make password attacks based on traffic analysis harder by requiring that
"non-echoed" characters are still echoed back in a null packet, as well
as pad passwords sent to not give hints to the length otherwise.

Obtained from: OpenBSD

23 years agoIncluded in the updated version of tirpc's sm_inter.x Sun added the
Alfred Perlstein [Tue, 20 Mar 2001 01:36:41 +0000 (01:36 +0000)]
Included in the updated version of tirpc's sm_inter.x Sun added the
SM_NOTIFY procedure.

Remove our hand-coded one as it was causing world breakage for
worlds compiled with NOSHARED=yes because the static linker is a
bit less forgiving (or not as broken as) our dynamic linker.

Add $FreeBSD$ while I'm here.

Pointed out by: bde

23 years agoMake it clear who can and can't set the UF_NODUMP, UF_OPAQUE, and
Dima Dorfman [Mon, 19 Mar 2001 23:51:09 +0000 (23:51 +0000)]
Make it clear who can and can't set the UF_NODUMP, UF_OPAQUE, and
SF_ARCHIVED file flags.

PR: 25227
Approved by: nik

23 years agoo Two changes made elsewhere relating to recent EA commits, but not
Robert Watson [Mon, 19 Mar 2001 23:27:37 +0000 (23:27 +0000)]
o Two changes made elsewhere relating to recent EA commits, but not
  committed to NOTES:
    - s/FFS_EXTATTR/UFS_EXTATTR/
    - add UFS_EXTATTR_AUTOSTART

Submitted by: bde

23 years agoMark 'going nowhere without my init' bug as MERGED.
Wilko Bulte [Mon, 19 Mar 2001 22:32:51 +0000 (22:32 +0000)]
Mark 'going nowhere without my init' bug as MERGED.

23 years agoAxe TCP_RESTRICT_RST. It was never a particularly good idea except for a few
Dag-Erling Smørgrav [Mon, 19 Mar 2001 22:09:00 +0000 (22:09 +0000)]
Axe TCP_RESTRICT_RST. It was never a particularly good idea except for a few
very specific scenarios, and now that we have had net.inet.tcp.blackhole for
quite some time there is really no reason to use it any more.

(last of three commits)

23 years agoAxe TCP_RESTRICT_RST. It was never a particularly good idea except for a few
Dag-Erling Smørgrav [Mon, 19 Mar 2001 22:07:32 +0000 (22:07 +0000)]
Axe TCP_RESTRICT_RST. It was never a particularly good idea except for a few
very specific scenarios, and now that we have had net.inet.tcp.blackhole for
quite some time there is really no reason to use it any more.

(second of three commits)

23 years agoAxe TCP_RESTRICT_RST. It was never a particularly good idea except for a few
Dag-Erling Smørgrav [Mon, 19 Mar 2001 22:03:11 +0000 (22:03 +0000)]
Axe TCP_RESTRICT_RST. It was never a particularly good idea except for a few
very specific scenarios, and now that we have had net.inet.tcp.blackhole for
quite some time there is really no reason to use it any more.

(first of three commits)

23 years agoRemove 'NOSHARED=yes' (../Makefile.inc already sets this)
Chris D. Faulhaber [Mon, 19 Mar 2001 21:18:48 +0000 (21:18 +0000)]
Remove 'NOSHARED=yes' (../Makefile.inc already sets this)

23 years agoThis commit was generated by cvs2svn to compensate for changes in r74485,
David E. O'Brien [Mon, 19 Mar 2001 20:56:11 +0000 (20:56 +0000)]
This commit was generated by cvs2svn to compensate for changes in r74485,
which included commits to RCS files with non-trunk default branches.

23 years agoVirgin import of GCC 2.95.3's libobjc
David E. O'Brien [Mon, 19 Mar 2001 20:56:11 +0000 (20:56 +0000)]
Virgin import of GCC 2.95.3's libobjc

23 years agoThis commit was generated by cvs2svn to compensate for changes in r74483,
David E. O'Brien [Mon, 19 Mar 2001 20:51:52 +0000 (20:51 +0000)]
This commit was generated by cvs2svn to compensate for changes in r74483,
which included commits to RCS files with non-trunk default branches.

23 years agoVirgin import of GCC 2.95.3's libstdc++
David E. O'Brien [Mon, 19 Mar 2001 20:51:52 +0000 (20:51 +0000)]
Virgin import of GCC 2.95.3's libstdc++

23 years agoThis commit was generated by cvs2svn to compensate for changes in r74481,
David E. O'Brien [Mon, 19 Mar 2001 20:49:58 +0000 (20:49 +0000)]
This commit was generated by cvs2svn to compensate for changes in r74481,
which included commits to RCS files with non-trunk default branches.

23 years agoVirgin import of GCC 2.95.3's libio -- the C++ iostream facility.
David E. O'Brien [Mon, 19 Mar 2001 20:49:58 +0000 (20:49 +0000)]
Virgin import of GCC 2.95.3's libio -- the C++ iostream facility.

23 years agoNew release notes: timed(8) fix (FreeBSD-SA-01:28), rwhod(8) fix
Bruce A. Mah [Mon, 19 Mar 2001 20:23:53 +0000 (20:23 +0000)]
New release notes:  timed(8) fix (FreeBSD-SA-01:28), rwhod(8) fix
(FreeBSD-SA-01:29), Heimdal 0.3 update, pkg_sign(1) and pkg_check(1)
added, BSD_daemon graphics.

Many MFCs for RELENG_4 noted as well.

23 years agoRemove some files that are no longer in the FSF branch.
David E. O'Brien [Mon, 19 Mar 2001 19:50:17 +0000 (19:50 +0000)]
Remove some files that are no longer in the FSF branch.

23 years agoMerge gcc-2.95.3 changes onto mainline. Update FreeBSD changes to converge
David E. O'Brien [Mon, 19 Mar 2001 19:50:16 +0000 (19:50 +0000)]
Merge gcc-2.95.3 changes onto mainline.  Update FreeBSD changes to converge
with changes made in the FSF tree.

23 years agoAllow LQR periods of 1 second and FSM retry periods of 1 second. This allows us
Roger Hardiman [Mon, 19 Mar 2001 19:47:54 +0000 (19:47 +0000)]
Allow LQR periods of 1 second and FSM retry periods of 1 second. This allows us
to run PPP over Radiocontact T-Link Radio Modems which run best when something
is transmitted at least every 1.5 seconds.

Tested by: Jennifer Clark <jen@telepresence.strath.ac.uk>
Approved by: Brian

23 years agoVirgin import of the GCC 2.95.3 compilers
David E. O'Brien [Mon, 19 Mar 2001 19:46:16 +0000 (19:46 +0000)]
Virgin import of the GCC 2.95.3 compilers

23 years agoThis commit was generated by cvs2svn to compensate for changes in r74473,
David E. O'Brien [Mon, 19 Mar 2001 19:46:16 +0000 (19:46 +0000)]
This commit was generated by cvs2svn to compensate for changes in r74473,
which included commits to RCS files with non-trunk default branches.

23 years agoAdd missing comma when KERBEROS is defined.
Alfred Perlstein [Mon, 19 Mar 2001 19:36:11 +0000 (19:36 +0000)]
Add missing comma when KERBEROS is defined.

23 years agoTeach ftpd about the new GLOB_MAXPATH flag.
Jonathan Lemon [Mon, 19 Mar 2001 19:11:00 +0000 (19:11 +0000)]
Teach ftpd about the new GLOB_MAXPATH flag.

23 years agoIntroduce the GLOB_MAXPATH flag, which allows the user to limit the
Jonathan Lemon [Mon, 19 Mar 2001 19:10:06 +0000 (19:10 +0000)]
Introduce the GLOB_MAXPATH flag, which allows the user to limit the
number of paths which glob(3) will return.  Remove the hardcoded limit
from the last commit, which restores the previous unbounded behavior.

Document the new flag in the manual page.

23 years agoo Missed in addition of setfacl.h in setfacl(1)
Robert Watson [Mon, 19 Mar 2001 18:59:36 +0000 (18:59 +0000)]
o Missed in addition of setfacl.h in setfacl(1)

23 years agoo Missed in prior commit: getfacl(1) Makefile
Robert Watson [Mon, 19 Mar 2001 18:58:16 +0000 (18:58 +0000)]
o Missed in prior commit: getfacl(1) Makefile

23 years agoo Enable getfacl(1) and setfacl(1)
Robert Watson [Mon, 19 Mar 2001 18:09:56 +0000 (18:09 +0000)]
o Enable getfacl(1) and setfacl(1)

Obtained from: TrustedBSD Project

23 years agoo POSIX.2c Userland tool support for POSIX.1e ACLs -- getfacl retrieves ACLs
Robert Watson [Mon, 19 Mar 2001 18:09:25 +0000 (18:09 +0000)]
o POSIX.2c Userland tool support for POSIX.1e ACLs -- getfacl retrieves ACLs
  from files and directories, and setfacl sets ACLs on files and directories.

Submitted by: jedgar
Obtained from: TrustedBSD Project

23 years agoTry not to engage to ATA channels that are disabled by the BIOS.
Søren Schmidt [Mon, 19 Mar 2001 13:31:58 +0000 (13:31 +0000)]
Try not to engage to ATA channels that are disabled by the BIOS.

23 years agoBring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
Alfred Perlstein [Mon, 19 Mar 2001 12:50:13 +0000 (12:50 +0000)]
Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) and
associated changes that had to happen to make this possible as well as
bugs fixed along the way.

  Bring in required TLI library routines to support this.

  Since we don't support TLI we've essentially copied what NetBSD
  has done, adding a thin layer to emulate direct the TLI calls
  into BSD socket calls.

  This is mostly from Sun's tirpc release that was made in 1994,
  however some fixes were backported from the 1999 release (supposedly
  only made available after this porting effort was underway).

  The submitter has agreed to continue on and bring us up to the
  1999 release.

  Several key features are introduced with this update:
    Client calls are thread safe. (1999 code has server side thread
    safe)
    Updated, a more modern interface.

  Many userland updates were done to bring the code up to par with
  the recent RPC API.

  There is an update to the pthreads library, a function
  pthread_main_np() was added to emulate a function of Sun's threads
  library.

  While we're at it, bring in NetBSD's lockd, it's been far too
  long of a wait.

  New rpcbind(8) replaces portmap(8) (supporting communication over
  an authenticated Unix-domain socket, and by default only allowing
  set and unset requests over that channel). It's much more secure
  than the old portmapper.

  Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded
  to support TI-RPC and to support IPV6.

  Umount(8) is also fixed to unmount pathnames longer than 80 chars,
  which are currently truncated by the Kernel statfs structure.

Submitted by: Martin Blapp <mb@imp.ch>
Manpage review: ru
Secure RPC implemented by: wpaul

23 years agoOn open create all the CD physical track devices according to the
Søren Schmidt [Mon, 19 Mar 2001 12:02:36 +0000 (12:02 +0000)]
On open create all the CD physical track devices according to the
TOC read from the CD, instead of cloning them when asked to.

23 years agoOnly allow root to attach/detach/etc ATA/ATAPI devices.
Søren Schmidt [Mon, 19 Mar 2001 11:55:13 +0000 (11:55 +0000)]
Only allow root to attach/detach/etc ATA/ATAPI devices.

23 years agoImplement D_MD_ORDER (local extension) to get month/day order from locale
Andrey A. Chernov [Mon, 19 Mar 2001 11:55:12 +0000 (11:55 +0000)]
Implement D_MD_ORDER (local extension) to get month/day order from locale

23 years agoAdd D_MD_ORDER (local extension) to get month/day order from locale
Andrey A. Chernov [Mon, 19 Mar 2001 11:53:34 +0000 (11:53 +0000)]
Add D_MD_ORDER (local extension) to get month/day order from locale

23 years agoUpdate obsolete history info.
Ruslan Ermilov [Mon, 19 Mar 2001 11:05:32 +0000 (11:05 +0000)]
Update obsolete history info.

23 years agoInvalidate cached forwarding route (ipforward_rt) whenever a new route
Ruslan Ermilov [Mon, 19 Mar 2001 09:16:16 +0000 (09:16 +0000)]
Invalidate cached forwarding route (ipforward_rt) whenever a new route
is added to the routing table, otherwise we may end up using the wrong
route when forwarding.

PR: kern/10778
Reviewed by: silence on -net

23 years agoAdd an example of a novel technique to the IPv6 code. This technique seems
Poul-Henning Kamp [Mon, 19 Mar 2001 08:51:56 +0000 (08:51 +0000)]
Add an example of a novel technique to the IPv6 code.  This technique seems
to have been developed after the IPv6 code was written, it's called "checking
for error returns".

Now netstat at least doesnt't go beserk in jails.

23 years agoFix minor mdoc(7) and spelling nits.
Ruslan Ermilov [Mon, 19 Mar 2001 08:20:34 +0000 (08:20 +0000)]
Fix minor mdoc(7) and spelling nits.

23 years agomdoc(7) police:
Ruslan Ermilov [Mon, 19 Mar 2001 08:08:22 +0000 (08:08 +0000)]
mdoc(7) police:

- lowercase Nd argument
- mark function arguments with Fa
- mark defined values with Dv
- simply copying POSIX text for RETURN VALUES and ERRORS sections is not
  always a good idea.  POSIX uses the word "shall" indicating the behavior
  the correct implementation should follow.

23 years agoAdd sysctls for reading the tunables as suggested by des.
Søren Schmidt [Mon, 19 Mar 2001 08:04:54 +0000 (08:04 +0000)]
Add sysctls for reading the tunables as suggested by des.
Minor cleanups plus checks of the ->active state.
Cosmetics.

23 years agoCleanup the alloc/release code a bit.
Søren Schmidt [Mon, 19 Mar 2001 08:02:42 +0000 (08:02 +0000)]
Cleanup the alloc/release code a bit.

Fix length error on the bmio resource.

Fix the irq release code, zero out free'd irq.

23 years agoActivate atacontrol
Søren Schmidt [Mon, 19 Mar 2001 07:59:38 +0000 (07:59 +0000)]
Activate atacontrol

23 years agoSome minor cleanups to the code, no new functionality.
Søren Schmidt [Mon, 19 Mar 2001 07:58:47 +0000 (07:58 +0000)]
Some minor cleanups to the code, no new functionality.