]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agouse correct contants (from net/ethernet.h)
alfred [Fri, 6 Apr 2001 22:21:57 +0000 (22:21 +0000)]
use correct contants (from net/ethernet.h)

ETHER_TYPE_LEN instead of sizeof(u_int16_t) when looking at an ethernet
  header

ETHERTYPE_IP instead of 0x800

23 years agoreplace hardcoded 1518 with ETHER_MAX_LEN
alfred [Fri, 6 Apr 2001 21:48:19 +0000 (21:48 +0000)]
replace hardcoded 1518 with ETHER_MAX_LEN

23 years agoAdd a new ddb command 'show pcpu' which lists some of the per-cpu data.
jhb [Fri, 6 Apr 2001 21:41:52 +0000 (21:41 +0000)]
Add a new ddb command 'show pcpu' which lists some of the per-cpu data.
Specifically, the cpuid, curproc, curpcb, npxproc, and idleproc members.
Also, if witness is compiled into the kernel, then a list of all the spin
locks held by this CPU is displayed.  By default the information for the
current CPU is displayed, but a decimal cpu id may be specified as a
parameter to obtain information on a specific CPU.

23 years ago- Split out the functionality of displaying the contents of a single lock
jhb [Fri, 6 Apr 2001 21:37:52 +0000 (21:37 +0000)]
- Split out the functionality of displaying the contents of a single lock
  list into a public witness_list_locks() function.  Call this function
  twice in witness_list() instead of using an evil goto.
- Adjust the 'show locks' command to take an optional parameter which
  specifies the pid of a process to list the locks of.  By default the
  locks held by the current process are displayed.

23 years agoAdd ATA66 and ATA100 mode support for Acer chipsets.
sos [Fri, 6 Apr 2001 19:18:35 +0000 (19:18 +0000)]
Add ATA66 and ATA100 mode support for Acer chipsets.

MFC candidate :)

23 years agoCorrect a bug in rev 1.589. The `make obj' that was removed for
obrien [Fri, 6 Apr 2001 19:06:19 +0000 (19:06 +0000)]
Correct a bug in rev 1.589.  The `make obj' that was removed for
sysinstall was also effectively a `make obj' for src/release.

23 years agoMerge tzdata2001b from vendor branch.
wollman [Fri, 6 Apr 2001 16:46:52 +0000 (16:46 +0000)]
Merge tzdata2001b from vendor branch.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r75264,
wollman [Fri, 6 Apr 2001 16:43:21 +0000 (16:43 +0000)]
This commit was generated by cvs2svn to compensate for changes in r75264,
which included commits to RCS files with non-trunk default branches.

23 years agoLatest timezone database form Arthur Olson. This update includes changes
wollman [Fri, 6 Apr 2001 16:43:21 +0000 (16:43 +0000)]
Latest timezone database form Arthur Olson.  This update includes changes
to the following locations:

Antarctica
Australia (additional historical comments)
Bangladesh (new spelling of Dhaka)
Brazil (multiple changes; America/Porto_Acre renamed America/Rio_Branco)
CNMI
Canada
Chile
Dominican Republic
East Timor
Falkland Islands
Fiji
France (additional history)
Guam
Israel (additional historical comments)
Latvia
Mexico
Moldova (Europe/Tiraspol removed)
Netherlands (additional history)
Paraguay
Philippines (additional history)
Tonga
United States (additional historical comments)

Obtained from: Arthur Olson; <ftp://elsie.nci.nih.gov/pub/tzdata2001b.tar.gz>

23 years agoClean up telnet's argument processing a bit. autologin and encryption is
nsayer [Fri, 6 Apr 2001 15:56:10 +0000 (15:56 +0000)]
Clean up telnet's argument processing a bit. autologin and encryption is
now the default, so ignore the arguments that turn it on. Add a new -y
argument to turn off encryption in case someone wants to do that. Sync
these changes with the man page (including removing the now obsolete
statement about availability only in the US and Canada).

23 years agofix security hole created by fragment cache
darrenr [Fri, 6 Apr 2001 15:52:28 +0000 (15:52 +0000)]
fix security hole created by fragment cache

23 years agoExecute this script in a "C" locale environment.
ru [Fri, 6 Apr 2001 14:40:26 +0000 (14:40 +0000)]
Execute this script in a "C" locale environment.

Currently, cs_CZ.ISO_8859-2 locale's collation sequence is
broken, and this caused grep(1) to skip some include files.

Reported by: Michal Mertl <mime@traveller.cz>

23 years agoDo not log every potential exploit attempt since a denial-of-service
jedgar [Fri, 6 Apr 2001 14:34:15 +0000 (14:34 +0000)]
Do not log every potential exploit attempt since a denial-of-service
may result.

23 years ago- Correct off-by-one error and buffer underflow from previous fix
jedgar [Fri, 6 Apr 2001 14:15:38 +0000 (14:15 +0000)]
- Correct off-by-one error and buffer underflow from previous fix
- int -> unsigned char fixes

Submitted by: ache, dillon, Mark Andrews, et.al. (on -security)

23 years agoAxe the per-cpu variable witness_spin_check as it was replaced by the
jhb [Fri, 6 Apr 2001 07:20:27 +0000 (07:20 +0000)]
Axe the per-cpu variable witness_spin_check as it was replaced by the
per-cpu spinlocks list.

23 years agopipe/queue are the only consumers of flow_id, so only set it in those cases
billf [Fri, 6 Apr 2001 06:52:25 +0000 (06:52 +0000)]
pipe/queue are the only consumers of flow_id, so only set it in those cases

23 years agoLabel the OpenSSH section, then add a small explanation for the existence
green [Fri, 6 Apr 2001 05:52:53 +0000 (05:52 +0000)]
Label the OpenSSH section, then add a small explanation for the existence
of the non-typo "csshd" service.

Prodded by: markm
Reviewed by: markm, dwhite, rwatson

23 years agoMake sure the euid is restored in an obscure error situation.
gad [Fri, 6 Apr 2001 02:14:39 +0000 (02:14 +0000)]
Make sure the euid is restored in an obscure error situation.

Submitted by: J Wunsch <j@ida.interface-business.de> in freebsd-audit

23 years agoIt's possible to kldload netgraph (as well as the other ng_* bits),
brian [Thu, 5 Apr 2001 22:53:35 +0000 (22:53 +0000)]
It's possible to kldload netgraph (as well as the other ng_* bits),
so do it if required.

23 years agoDon't need to preload the `vn' KLD anymore as we use `md' for release
obrien [Thu, 5 Apr 2001 22:36:41 +0000 (22:36 +0000)]
Don't need to preload the `vn' KLD anymore as we use `md' for release
building.

23 years agoBump the default / size up another 10MB to 120MB.
obrien [Thu, 5 Apr 2001 21:34:47 +0000 (21:34 +0000)]
Bump the default / size up another 10MB to 120MB.

Requested by: jhb

23 years agoRemove -Wall. It breaks compiling with non-gcc compilers.
obrien [Thu, 5 Apr 2001 20:52:33 +0000 (20:52 +0000)]
Remove -Wall.  It breaks compiling with non-gcc compilers.

23 years agoRev 1.10 actually only tested booting from floppies. Thus that is all
obrien [Thu, 5 Apr 2001 20:45:25 +0000 (20:45 +0000)]
Rev 1.10 actually only tested booting from floppies.  Thus that is all
that was fixed.

There are other problems why the current sources for the Alpha `cdboot'
do not produce a working loader.  Because we use the 4.0-RELEASE `cdboot'
binary, it will not get these fixes at the current time.  Thus CD booting
on certain AlphaServer boxes is still broken.

23 years agoIPv6 support for skeyaccess(3). You can specify IPv6 address
ume [Thu, 5 Apr 2001 19:56:54 +0000 (19:56 +0000)]
IPv6 support for skeyaccess(3).  You can specify IPv6 address
using `internet' keyword into /etc/skey.access.

Not Objected to by: -audit and -net

23 years ago- correct logic of per-address input packet counts for lo0
ume [Thu, 5 Apr 2001 19:45:02 +0000 (19:45 +0000)]
- correct logic of per-address input packet counts for lo0
- reject packets to fe80::xxxx%lo0 (xxxx != 1)

Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp>

23 years agoNew release notes: ata(4) configure options are now loader tunables,
bmah [Thu, 5 Apr 2001 18:12:50 +0000 (18:12 +0000)]
New release notes:  ata(4) configure options are now loader tunables,
isp(4) target mode support (submitted by mjacob).

Update hardware lists from isp(4) manpage, fix typos.

23 years agoAdd IPv6 support to showmount(8). This replaces IPv4-specific code
iedowse [Thu, 5 Apr 2001 17:18:36 +0000 (17:18 +0000)]
Add IPv6 support to showmount(8). This replaces IPv4-specific code
with calls to the new protocol-independent clnt_*_create functions
provided by ti-rpc. Martin submitted a more complex patch to achieve
this, but it turns out that clnt_create() does everything we need.

Reviewed by: Martin Blapp <mb@imp.ch>

23 years agoSoften the dire warnings about this code. Things are kinda working
imp [Thu, 5 Apr 2001 17:00:46 +0000 (17:00 +0000)]
Soften the dire warnings about this code.  Things are kinda working
now and it does compile :-).  There are still some issues, but it is a
good time to soften the warning.

23 years agoMore error handling cleanups.
sos [Thu, 5 Apr 2001 15:45:53 +0000 (15:45 +0000)]
More error handling cleanups.

23 years agoReactivate SRA.
nsayer [Thu, 5 Apr 2001 14:09:15 +0000 (14:09 +0000)]
Reactivate SRA.

Make handling of SIGINT and SIGQUIT follow SIGTSTP in TerminalNewMode().
This allows people to break out of SRA authentication if they wish to.

23 years agoFix a few bugs in BSDPAN:
joe [Thu, 5 Apr 2001 13:59:51 +0000 (13:59 +0000)]
Fix a few bugs in BSDPAN:

* Fix a bug which prevented the second invocation of overloaded
  subs governed by SelfLoader from functioning.

* Fix a bug with XS modules.  MakeMaker determines where the xsubpp
  preprocessor is located by adding "ExtUtils" string to the Perl's
  system path.  At the same time, BSDPAN has to fool MakeMaker into
  thinking that the Perl's system path is elsewhere.  Now we
  `reverse-adjust' the notion of the Perl's system path for a
  moment, so xsubpp utility is found.

This should fix the breakage with some p5- ports.

Reported by: vanilla
Submitted by: Anton Berezin <tobez@tobez.org>

23 years agoRemove the recently-depricated LIBPOSIX1E
jedgar [Thu, 5 Apr 2001 12:11:02 +0000 (12:11 +0000)]
Remove the recently-depricated LIBPOSIX1E

23 years agoOn burners that return faulty ready on fixate, wait for the
sos [Thu, 5 Apr 2001 11:17:33 +0000 (11:17 +0000)]
On burners that return faulty ready on fixate, wait for the
expected fixate time before returning.

Dont print error messages to the console on READ_TOC on
a blank media.

23 years agoAdd new flag ATPR_F_QUIET to atapi_request.
sos [Thu, 5 Apr 2001 11:15:24 +0000 (11:15 +0000)]
Add new flag ATPR_F_QUIET to atapi_request.

Cleanup error handling.

23 years agoCorrect the sysctl names to match the tuneables.
sos [Thu, 5 Apr 2001 11:13:07 +0000 (11:13 +0000)]
Correct the sysctl names to match the tuneables.

Proberly flush the tag queue on detach.

23 years agoDon't call prom_open() multiple times. This confuses some versions of SRM
dfr [Thu, 5 Apr 2001 10:28:52 +0000 (10:28 +0000)]
Don't call prom_open() multiple times. This confuses some versions of SRM
and makes it impossible to boot from floppy and CD on some AlphaServer
platforms.

Detective work by: Michael Richards <michael@fastmail.ca>

23 years agotest should be for == 0, not < 0
alfred [Thu, 5 Apr 2001 09:47:07 +0000 (09:47 +0000)]
test should be for == 0, not < 0

23 years agoWe don't use the "pseudo-device" configuration option any longer,
mpp [Thu, 5 Apr 2001 09:37:55 +0000 (09:37 +0000)]
We don't use the "pseudo-device" configuration option any longer,
so update the example to use the correct definition.

Add an example for documenting kernel compile options, along with
a small example of how to reference them in the main text of the
man page (I.e. the .Dv macro).

Inspired-by: a brief exchange I saw in in the commit messages mail
23 years agoWI_TIMEOUT is 65536
alfred [Thu, 5 Apr 2001 09:25:37 +0000 (09:25 +0000)]
WI_TIMEOUT is 65536

65536 * 10msec == 10 minutes 55 seconds == hung machine

Instead wait for the busy bits for a max of ~2 seconds (200 * 10msec)

23 years agoRecord -lposix1e death.
ru [Thu, 5 Apr 2001 07:59:19 +0000 (07:59 +0000)]
Record -lposix1e death.

23 years agomdoc(7) police: add missing LIBRARY section.
ru [Thu, 5 Apr 2001 07:51:48 +0000 (07:51 +0000)]
mdoc(7) police: add missing LIBRARY section.

23 years agoUnbreak world.
ru [Thu, 5 Apr 2001 07:47:06 +0000 (07:47 +0000)]
Unbreak world.

Submitted by: jhay

23 years agoRecord -lposix1e merge with -lc.
ru [Thu, 5 Apr 2001 07:42:56 +0000 (07:42 +0000)]
Record -lposix1e merge with -lc.

23 years agoFixed some printf format errors (don't assume that ntohl() returns u_long).
bde [Thu, 5 Apr 2001 07:37:55 +0000 (07:37 +0000)]
Fixed some printf format errors (don't assume that ntohl() returns u_long).

23 years agomdoc(7) police rev 1.11: convert descriptions and cross-references
ru [Thu, 5 Apr 2001 07:35:59 +0000 (07:35 +0000)]
mdoc(7) police rev 1.11: convert descriptions and cross-references
for the ACL editing library functions to the plain tagged list.

23 years agoDon't leak resources:
alfred [Thu, 5 Apr 2001 06:56:10 +0000 (06:56 +0000)]
Don't leak resources:

Don't leak iospace when irq allocation fails.  (call wi_free())

Call bus_release_resource() with the correct "rid" obtained from
bus_alloc_resource() that's saved in the softc instead of a hardcoded
0.

23 years agoo Rather than arbitrarily construct a credential in the nfs_statfs()
rwatson [Thu, 5 Apr 2001 06:12:38 +0000 (06:12 +0000)]
o Rather than arbitrarily construct a credential in the nfs_statfs()
  VFS operation, make use of the calling process's credential.  This
  solution may not be ideal (there are a number of other possible
  proposals, including making use of the proc0 credential, adding a
  credential argument to the VFSOP, and switching from a hard-coded
  ucred to a hard-coded nfscred), it is simple and appears to
  work.  The arguments against using simply crget() are fairly
  strong: it is the only place in the code (other than a nearly
  identical invocation in ncp) where crget() is invoked, other than
  in the process credential creation code; as ucred becomes extensible,
  this use of crget() without appropriate context results in less and
  less meaningful credential data.  The implementation here will
  probably be tweaked as a result of experimentation and further
  exploration of the requirements.  In the mean-time, it allows
  progress to be made in ucred expansion for new security models without
  causing a crash every time df is used on an NFS mounted file system.

  This code has been interop tested against FreeBSD and Solaris NFS
  servers.  While using the process credentials should not introduce
  interop problems, please let me know if any turn out to exist.

Reviewed by: freebsd-arch

23 years agoChange a couple of M_WAITOKs used in M_PREPEND() to M_TRYWAITs, which
bmilekic [Thu, 5 Apr 2001 04:20:48 +0000 (04:20 +0000)]
Change a couple of M_WAITOKs used in M_PREPEND() to M_TRYWAITs, which
is what they should be. As the returned mbuf is already checked for
failure of M_PREPEND even in the wait case, nothing more to be done
here.

23 years agoVarious style fixes.
bmilekic [Thu, 5 Apr 2001 03:55:27 +0000 (03:55 +0000)]
Various style fixes.
Also place the macros under #ifdef _KERNEL. Equally hide the internal
structures such as the freelist structs which include condition variables.

Reviewed by: bde
Mostly suggested by: bde

23 years agoDefault the UTC question to "yes" on the Alpha.
obrien [Thu, 5 Apr 2001 02:46:40 +0000 (02:46 +0000)]
Default the UTC question to "yes" on the Alpha.

23 years agoThis builds fine with -Wall.
obrien [Thu, 5 Apr 2001 02:46:21 +0000 (02:46 +0000)]
This builds fine with -Wall.

23 years agoWhen we change the interface MTU, run through the routing table and tweak
brian [Thu, 5 Apr 2001 02:23:48 +0000 (02:23 +0000)]
When we change the interface MTU, run through the routing table and tweak
all route MTUs too.

23 years ago- Add descriptions and cross-references for the ACL editing library
jedgar [Thu, 5 Apr 2001 01:48:07 +0000 (01:48 +0000)]
- Add descriptions and cross-references for the ACL editing library
  functions.
- Place the acl_dup() description in alphabetical order.
- Move the POSIX.1e descriptions under the ENVIRONMENT section to the
  STANDARDS section.

Reviewed by: rwatson
Obtained from: TrustedBSD Project

23 years agoInstall the acl_create_entry.3 man page
jedgar [Thu, 5 Apr 2001 01:36:54 +0000 (01:36 +0000)]
Install the acl_create_entry.3 man page

23 years agoNew release note: Fix for ntpd(8) vulnerability.
bmah [Thu, 5 Apr 2001 01:36:39 +0000 (01:36 +0000)]
New release note:  Fix for ntpd(8) vulnerability.

Correction:  fetch(1) recently gained a -U option, not ftp(1) (pointed
out by des).

23 years agoMake it clear that commands within labels must be indented to be
dd [Thu, 5 Apr 2001 01:25:42 +0000 (01:25 +0000)]
Make it clear that commands within labels must be indented to be
recognized.

PR: 26293
Reviewed by: brian

23 years agoDocument the extattr_(get|set|delete)_fd calls, and add a note warning
dd [Thu, 5 Apr 2001 01:24:05 +0000 (01:24 +0000)]
Document the extattr_(get|set|delete)_fd calls, and add a note warning
people that these calls are likely to change in the future.

Reviewed by: rwatson

23 years agoFix bpf devices so select() recognizes that they are always writable.
gad [Wed, 4 Apr 2001 23:27:35 +0000 (23:27 +0000)]
Fix bpf devices so select() recognizes that they are always writable.

PR: 9355
Submitted by: Bruce Evans <bde@zeta.org.au>
Reviewed by: Garrett Rooney <rooneg@electricjellyfish.net>  (see pr :-)

23 years agoFix a potential ROOT-exploit in NTPD.
phk [Wed, 4 Apr 2001 23:07:22 +0000 (23:07 +0000)]
Fix a potential ROOT-exploit in NTPD.

PR: 26358
Reviewed by: dima

23 years agoDon't allow immediate values of 0 for operations that can take either an
ken [Wed, 4 Apr 2001 22:50:57 +0000 (22:50 +0000)]
Don't allow immediate values of 0 for operations that can take either an
immediate value or the accumulator.  0 is the chip's internal
representation for the accumulator, and so 0 is an invalid immediate value
when the accumulator can also be specified as an argument.

Submitted by: gibbs

23 years agoRedo a lot of the target mode infrastructure to be cognizant of Dual Bus
mjacob [Wed, 4 Apr 2001 21:58:29 +0000 (21:58 +0000)]
Redo a lot of the target mode infrastructure to be cognizant of Dual Bus
cards like the 1280 && the 12160. Cleanup isp_target_putback_atio.
Make sure bus and correct tag ids and firmware handles get propagated
as needed.

23 years agocall a watchdog timeout like it is.
alfred [Wed, 4 Apr 2001 21:56:25 +0000 (21:56 +0000)]
call a watchdog timeout like it is.

23 years agoRoll platform minor.
mjacob [Wed, 4 Apr 2001 21:56:15 +0000 (21:56 +0000)]
Roll platform minor.

Change target mode state definitions to be aware of 'channel' (for the
dualbus 1280/12160 cards).

23 years agoComplete some Ansification. Check to make sure, in tdma_mk, that we won't
mjacob [Wed, 4 Apr 2001 21:53:59 +0000 (21:53 +0000)]
Complete some Ansification. Check to make sure, in tdma_mk, that we won't
overflow the request queue. The reason we want to do this is that we
now push out completed CTIOs as we complete them- this gets the QLogic
working on them quicker. So we need to know whether we can put the entire
burrito out before we start.

We now support conjoint status with data for the last CTIO for both Fibre
Channel and SCSI. Leave the old code in place in case we need to go back
(minor 3 line ifdef).

Ultra-ultra important- *don't* set rq->req_seg_count for non-data
target mode requests in isp_pci_dmasetup. D'oh- this is actually
the tag value area for a CTIO. What *was* I thinking? Boy howdy
does both aic7xxx and sym get awfully unhappy when on reconnect
you give them a constant '1' for a tag value.

23 years agoPerform some more Ansification. Remove and then replace the isp_putback_atio
mjacob [Wed, 4 Apr 2001 21:49:51 +0000 (21:49 +0000)]
Perform some more Ansification. Remove and then replace the isp_putback_atio
function- we did it a bit cleaner. We only use this if a CTIO completes with
!CT_OK state. We now have managed to get away without having to poke around
and trying to find the original ATIO- the csio we're using has the tag_id
and lun values with it which is mostly what we need when we do the putback.

Make sure we correctly propagate AT_TQAE->CT_TQAE for tags. Make sure
we call ISP_DMAFREE only if we had DATA to move.

23 years agoAmazing. The bits to enable tagged queing in target mode, grok that a
mjacob [Wed, 4 Apr 2001 21:46:48 +0000 (21:46 +0000)]
Amazing. The bits to enable tagged queing in target mode, grok that a
tag is active for an ATIO, and say that you want to reconnect with
a tag value in a CTIO have *never* been exercised until now. This lossage
derived from Solaris code where this stuff originally came from that is
about 7 years old. Amazing.

We now bundle the incoming tag (legal values are 0..256) as the low
16 bits of the ccb_accept_tio's at_tagid while we put the firmware
handle for this ATIO in the top 16 bits- define some macros to make
this cleaner.

Complete some Ansification.

23 years agoAdd some target mode definitions and firmware (FC only) attribute definitions.
mjacob [Wed, 4 Apr 2001 21:44:10 +0000 (21:44 +0000)]
Add some target mode definitions and firmware (FC only) attribute definitions.

23 years agoAnsification of source.
mjacob [Wed, 4 Apr 2001 21:43:43 +0000 (21:43 +0000)]
Ansification of source.

23 years agoAfter loading f/w, for FC cards print out Firmware Attributes.
mjacob [Wed, 4 Apr 2001 21:42:59 +0000 (21:42 +0000)]
After loading f/w, for FC cards print out Firmware Attributes.

Redo establishment of default SCSI parameters whether or not
we've been compiled for target mode. Unfortunately, the Qlogic
f/w is confused so that if we set all targets to be 'safe' (i.e.,
narrow/async), it will also then report narrow, async if we're
contacted in target mode from that target (acting in initiator
role). D'oh!

Fix ISPCTL_TOGGLE_TMODE to correctly enable the right channel for
dual channel cards. Add some more opcodes. Fix a stupid NULL
pointer bug.

23 years agoRemove the libposix1e, since it has been repo copied to libc/posix1e and
tmm [Wed, 4 Apr 2001 18:29:03 +0000 (18:29 +0000)]
Remove the libposix1e, since it has been repo copied to libc/posix1e and
integrated into libc.

Approved by: rwatson
Obtained from: TrustedBSD Project

23 years agoIf we have and error and are booting verbosely, don't be complaining
mjacob [Wed, 4 Apr 2001 18:24:35 +0000 (18:24 +0000)]
If we have and error and are booting verbosely, don't be complaining
if this was a non-retryable selection timeout- wading through 256 targets
worth of Fibre Channel 'selection timeouts' is tedious at best.

23 years agosetfacl and getfacl no longer need to link against libposix1e, since it
tmm [Wed, 4 Apr 2001 18:20:08 +0000 (18:20 +0000)]
setfacl and getfacl no longer need to link against libposix1e, since it
has been integrated into libc.

Approved by: rwatson
Obtained from: TrustedBSD Project

23 years agoActivate build of posix1e extensions in libc and libc_r that have been
tmm [Wed, 4 Apr 2001 18:17:28 +0000 (18:17 +0000)]
Activate build of posix1e extensions in libc and libc_r that have been
moved in from libposix1e, and deactivate build of the soon-to-be-removed
libposix1e.

Approved by: rwatson
Obtained from: TrustedBSD Project

23 years agoAdd thread safety wrappers for the posix1e syscalls that deal with file
tmm [Wed, 4 Apr 2001 18:10:25 +0000 (18:10 +0000)]
Add thread safety wrappers for the posix1e syscalls that deal with file
descriptors.

Approved by: rwatson
Obtained from: TrustedBSD Project

23 years agoAdd entries for the posix1e functions that will be overridden in libc_r.
tmm [Wed, 4 Apr 2001 18:04:10 +0000 (18:04 +0000)]
Add entries for the posix1e functions that will be overridden in libc_r.

Approved by: rwatson
Obtained from: TrustedBSD Project

23 years agoPrepare for the inclusion of libposix1e into libc: retire the old
tmm [Wed, 4 Apr 2001 18:00:52 +0000 (18:00 +0000)]
Prepare for the inclusion of libposix1e into libc: retire the old
Makefile, add Makefile.inc needed for libc build; add
#include "namespace.h"/#include "un-namespace.h" pairs around the
includes of sys/acl.h and sys/capability.h, and an additional underscore
in front of the functions that will be overridden in libc_r.

Approved by: rwatson
Obtained from: TrustedBSD Project

23 years agoUse a plain .Dv for kernel option names rather than .Qq Dv to be consistent
jhb [Wed, 4 Apr 2001 17:41:50 +0000 (17:41 +0000)]
Use a plain .Dv for kernel option names rather than .Qq Dv to be consistent
with other manpages.

23 years agoWe don't use quotes around kernel options now.
jhb [Wed, 4 Apr 2001 17:32:08 +0000 (17:32 +0000)]
We don't use quotes around kernel options now.

23 years agoAdd removable_interfaces to /etc/defaults/rc.conf. It is used
bmah [Wed, 4 Apr 2001 16:48:57 +0000 (16:48 +0000)]
Add removable_interfaces to /etc/defaults/rc.conf.  It is used
(undocumented until now) by /etc/pccard_ether.

MFC candidate.

Pointed out by: Dave Crane <dave@trig.net>
Reviewed by: -mobile

23 years agoAdd the VLAN interface type to the list of ARP-capable interface types.
yar [Wed, 4 Apr 2001 15:14:06 +0000 (15:14 +0000)]
Add the VLAN interface type to the list of ARP-capable interface types.

23 years agoChange the type of the VLAN interface from IFT_PROPVIRTUAL,
yar [Wed, 4 Apr 2001 15:10:58 +0000 (15:10 +0000)]
Change the type of the VLAN interface from IFT_PROPVIRTUAL,
which was a temporary hack, to IFT_L2VLAN, which is the type
assigned by IANA.

23 years agoFixed a null pointer bug in rev.1.10. Rev.1.10 was supposed to to
bde [Wed, 4 Apr 2001 15:09:54 +0000 (15:09 +0000)]
Fixed a null pointer bug in rev.1.10.  Rev.1.10 was supposed to to
move the "for safety" zeroing of unused members of timebuf to a better
place.  It actually moved the zeroing to a worse place and didn't add
necessary braces.

Fixed a nearby older bug.  timebuf.tm_gmtoff was sometimes used even
when timebuf was invalid.  Even when it is zeroed, a failing mktime()
might set it to nonzero.

PR: 25243

23 years agoAdd recently assigned interface types.
yar [Wed, 4 Apr 2001 14:18:57 +0000 (14:18 +0000)]
Add recently assigned interface types.

Obtained from: ftp://ftp.isi.edu/in-notes/iana/assignments/smi-numbers

23 years agoSync up to NetBSD, Step 2:
yar [Wed, 4 Apr 2001 14:13:03 +0000 (14:13 +0000)]
Sync up to NetBSD, Step 2:

Add the interface types 0x37 through 0xbd.

Obtained from: NetBSD

23 years agoSync up to NetBSD again, Step 1:
yar [Wed, 4 Apr 2001 14:04:52 +0000 (14:04 +0000)]
Sync up to NetBSD again, Step 1:

* Set the CSRG SCCS ID to the revision this file is actually based on
  (the file itself has been updated to Lite2 in rev. 1.4).

* Fix some typos in comments.

* Add a comment to the trailing #endif according to style(9)

23 years agoCentralize DMA buffer configuration.
orion [Wed, 4 Apr 2001 13:48:33 +0000 (13:48 +0000)]
Centralize DMA buffer configuration.

Simplify initialization and remove offending DMA channel resets there.
The resets trash whatever is pointed to DMA registers, but at cmi_attach()
time the DMA registers have not been initialized with valid addresses.

Reviewed by: Cameron Grant <gandalf@vilnya.demon.co.uk>

23 years agoPut back required ')'.
ru [Wed, 4 Apr 2001 12:15:52 +0000 (12:15 +0000)]
Put back required ')'.

Submitted by: jhay

23 years agomdoc(7) police: removed final dot from the .Nd call.
ru [Wed, 4 Apr 2001 12:00:29 +0000 (12:00 +0000)]
mdoc(7) police: removed final dot from the .Nd call.

23 years agomdoc(7) police: there is no single manpage that uses ``.Sy not''.
ru [Wed, 4 Apr 2001 11:57:03 +0000 (11:57 +0000)]
mdoc(7) police: there is no single manpage that uses ``.Sy not''.

23 years agomdoc(7) police: fix markup and spelling.
ru [Wed, 4 Apr 2001 11:51:59 +0000 (11:51 +0000)]
mdoc(7) police: fix markup and spelling.

23 years agomdoc(7) police: removed hard sentence break.
ru [Wed, 4 Apr 2001 11:33:01 +0000 (11:33 +0000)]
mdoc(7) police: removed hard sentence break.

23 years agomdoc(7) police: removed hard sentence breaks.
ru [Wed, 4 Apr 2001 11:27:36 +0000 (11:27 +0000)]
mdoc(7) police: removed hard sentence breaks.

23 years agomdoc(7) police: you don't need to use enclose macros for blocks of text.
ru [Wed, 4 Apr 2001 11:25:07 +0000 (11:25 +0000)]
mdoc(7) police: you don't need to use enclose macros for blocks of text.

23 years agomdoc(7) police: .Nm remembers its argument on the first call.
ru [Wed, 4 Apr 2001 11:19:09 +0000 (11:19 +0000)]
mdoc(7) police: .Nm remembers its argument on the first call.

23 years agomdoc(7) police: add missing .Pa call.
ru [Wed, 4 Apr 2001 10:48:13 +0000 (10:48 +0000)]
mdoc(7) police: add missing .Pa call.

23 years agomdoc(7) police: add a missing comma in the SEE ALSO.
ru [Wed, 4 Apr 2001 10:39:06 +0000 (10:39 +0000)]
mdoc(7) police: add a missing comma in the SEE ALSO.

23 years agomdoc(7) police: use .Nm instead of hardcoded name.
ru [Wed, 4 Apr 2001 10:36:16 +0000 (10:36 +0000)]
mdoc(7) police: use .Nm instead of hardcoded name.

23 years agomdoc(7) police: cosmetics.
ru [Wed, 4 Apr 2001 10:33:13 +0000 (10:33 +0000)]
mdoc(7) police: cosmetics.

23 years agomdoc(7) police: use proper markup for function arguments.
ru [Wed, 4 Apr 2001 10:23:27 +0000 (10:23 +0000)]
mdoc(7) police: use proper markup for function arguments.

23 years agoA much better (more correct) fix for handling ``!'' characters
brian [Wed, 4 Apr 2001 10:11:43 +0000 (10:11 +0000)]
A much better (more correct) fix for handling ``!'' characters

Obtained from: NetBSD