]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoSwitch to using the new $PIR interrupt routing code and remove the old
jhb [Wed, 18 Feb 2004 22:41:53 +0000 (22:41 +0000)]
Switch to using the new $PIR interrupt routing code and remove the old
code.  The pci_cfgreg.c file now just controls reading/writing PCI config
registers.

20 years agoRework the $PIR (aka PCIBIOS) PCI interrupt routing code and split it off
jhb [Wed, 18 Feb 2004 22:40:23 +0000 (22:40 +0000)]
Rework the $PIR (aka PCIBIOS) PCI interrupt routing code and split it off
into its own file:
- All of the $PIR interrupt routing is now done in a link-centric fashion.
  When a host-PCI bridge that uses the $PIR attaches, it calls pir_parse()
  to parse the table.  This scans for link devices and merges all the masks
  for each link device from the table entries.  It then looks at the intline
  register of PCI devices connected to a link to figure out if the BIOS has
  routed this link and if so to which IRQ.
- The IRQ for any given link can be overridden via a hint like so:
  'hw.pci.link.0x62.irq=10'  Any IRQ set in this matter is treated as if it
  were set that way by the BIOS.
- We only call the BIOS to route each link device once.
- When a PCI device wants to route an interrupt, we look it up in the $PIR
  to find the associated link.  If the link is routed, we simply return the
  IRQ it is using.  If it is not routed, we have to pick one.  This uses a
  different algorithm from the old code.  First off, when we try to pick
  an interrupt from a mask of possible interrupts, we try to pick the one
  that is least loaded as far as PCI devices.  We maintain this weight based
  on the number of devices attached to each link device.  When choosing an
  IRQ, we first attempt to route using any PCI only interrupts (the old
  code did this as well).  If that doesn't work, we try to use the list of
  IRQs that the BIOS has used.  This is a new step that the new code didn't
  do and avoids using IRQ 3 or 4 for every virgin interrupt routing.  If
  none of the IRQs that the BIOS used worked, then we fall back to trying
  anything.
- The fallback mask for !PC98 was fixed to include IRQ 3 and not allow IRQ
  2.
- We don't use the $PIR to route interrupts on a PCI-PCI bridge unless it
  has already been used to route on at least one Host-PCI bridge.  This
  helps to avoid mixing and matching x86 firmware PCI interrupt routing
  methods (which is a Bad Thing(tm)).

Silence on: current@

20 years agoImprove contents, ruin formatting.
phk [Wed, 18 Feb 2004 22:10:08 +0000 (22:10 +0000)]
Improve contents, ruin formatting.

20 years agoInstall gnuregex.h as wrapper for gnu/regex.h (with warning)
ache [Wed, 18 Feb 2004 22:09:34 +0000 (22:09 +0000)]
Install gnuregex.h as wrapper for gnu/regex.h (with warning)

20 years agoUse %zu for size_t, like God intended.
des [Wed, 18 Feb 2004 21:51:02 +0000 (21:51 +0000)]
Use %zu for size_t, like God intended.

20 years agoFix printf() format bug in previous commit (size_t != int).
des [Wed, 18 Feb 2004 21:37:36 +0000 (21:37 +0000)]
Fix printf() format bug in previous commit (size_t != int).
Use %ju and an (uintmax_t) cast to print size_t values.
Use %jd and an (intmax_t) cast to print off_t values.
Use off_t variables to hold the difference between two off_t values.
Don't bother with unsigned char where char will do nicely.

20 years agoChange the disk(9) API in order to make device removal more robust.
phk [Wed, 18 Feb 2004 21:36:53 +0000 (21:36 +0000)]
Change the disk(9) API in order to make device removal more robust.

Previously the "struct disk" were owned by the device driver and this
gave us problems when the device disappared and the users of that device
were not immediately disappearing.

Now the struct disk is allocate with a new call, disk_alloc() and owned
by geom_disk and just abandonned by the device driver when disk_create()
is called.

Unfortunately, this results in a ton of "s/\./->/" changes to device
drivers.

Since I'm doing the sweep anyway, a couple of other API improvements
have been carried out at the same time:

The Giant awareness flag has been flipped from DISKFLAG_NOGIANT to
DISKFLAG_NEEDSGIANT

A version number have been added to disk_create() so that we can detect,
report and ignore binary drivers with old ABI in the future.

Manual page update to follow shortly.

20 years agoAdd */lib/getopt* I miss somehow initially.
ache [Wed, 18 Feb 2004 18:53:13 +0000 (18:53 +0000)]
Add */lib/getopt* I miss somehow initially.

20 years agoCorrect minor typos.
ceri [Wed, 18 Feb 2004 18:52:09 +0000 (18:52 +0000)]
Correct minor typos.

20 years agoOnly call chflags() on directories once.
ceri [Wed, 18 Feb 2004 18:45:11 +0000 (18:45 +0000)]
Only call chflags() on directories once.

Approved by: ru
MFC after: 1 week

20 years agoRemove thr_getschedparam.c since it's contents have been moved into
mtm [Wed, 18 Feb 2004 15:59:54 +0000 (15:59 +0000)]
Remove thr_getschedparam.c since it's contents have been moved into
thr_setschedparam.c

20 years agoAdd a -n option that stops ip6fw making any changes to the rules
dwmalone [Wed, 18 Feb 2004 15:56:53 +0000 (15:56 +0000)]
Add a -n option that stops ip6fw making any changes to the rules
in the kernel.

Submitted by: Orla McGann <orly@redbrick.dcu.ie>
MFC after: 3 weeks

20 years agoThere are consumers of rwlocks, inluding our own libc, that depend on
mtm [Wed, 18 Feb 2004 15:30:10 +0000 (15:30 +0000)]
There are consumers of rwlocks, inluding our own libc, that depend on
a PTHREAD_RWLOCK_INITIALIZER to do for rwlocks what
a similarly named symbol does for statically initialized mutexes.
This symbol was dropped in The Open Group Base Specifications Issue 6
and does not exist in IEEE Std 1003.1, 2003, but it should still be
supported for backwards compatibility.

Pointy hat: mtm

20 years agoo Catch up with the mutex priority protocol fixes.
mtm [Wed, 18 Feb 2004 15:26:00 +0000 (15:26 +0000)]
o Catch up with the mutex priority protocol fixes.
o Move pthread_getschedparam() into the same file with it's
  pthread_set* counterpart. Copyright on both files is identical.

20 years agoo Style
mtm [Wed, 18 Feb 2004 15:22:52 +0000 (15:22 +0000)]
o Style
o Instead of checking both the passed in pointer and its value
  for NULL, only check the latter. Any caller that passes in
  a NULL pointer is obviously wrong.

20 years agoo Refactor and, among other things, get rid of insane nesting levels.
mtm [Wed, 18 Feb 2004 15:16:31 +0000 (15:16 +0000)]
o Refactor and, among other things, get rid of insane nesting levels.
o Fix mutex priority protocols. Keep separate counts of priority
  inheritance and protection mutexes to make things easier.
  This will not have much affect since this is only the
  userland side, and the rest involves kernel scheduling.

20 years agoRevamp the statistics code, and switch to a much more compact display
des [Wed, 18 Feb 2004 15:12:00 +0000 (15:12 +0000)]
Revamp the statistics code, and switch to a much more compact display
format.  The old code tried to produce the exact same output as the
pre-libfetch implementation, but I no longer see any value in this.

20 years agoMove the initialization of thread priority to a common function.
mtm [Wed, 18 Feb 2004 15:05:56 +0000 (15:05 +0000)]
Move the initialization of thread priority to a common function.

20 years agoMove the weak references to the top of the file to conform
mtm [Wed, 18 Feb 2004 14:56:20 +0000 (14:56 +0000)]
Move the weak references to the top of the file to conform
to the format of other similar files in libthr.

20 years agoAdd partial support for large (>4GB) files on ext2 filesystems. This
tjr [Wed, 18 Feb 2004 14:08:25 +0000 (14:08 +0000)]
Add partial support for large (>4GB) files on ext2 filesystems. This
support is partial in that it will refuse to create large files on
filesystems that haven't been upgraded to EXT2_DYN_REV or that don't
have the EXT2_FEATURE_RO_COMPAT_LARGE_FILE flag set in the superblock.

MFC after: 2 weeks

20 years agoo Fix a bridge example: sysctl net.inet.ip.forwarding=1 is needless,
maxim [Wed, 18 Feb 2004 08:30:08 +0000 (08:30 +0000)]
o Fix a bridge example: sysctl net.inet.ip.forwarding=1 is needless,
bridge(4) is working on a level below.  Suggest
sysctl net.inet.ip.check_interface=0 instead.

MFC after:      2 weeks

20 years agoAdd "-q" argument to setfmac and setfsmac to allow the patient but
rwatson [Wed, 18 Feb 2004 05:40:15 +0000 (05:40 +0000)]
Add "-q" argument to setfmac and setfsmac to allow the patient but
exhausted reader not to see non-fatal warnings.

20 years agoUse correct thousands separator for the Italian locale.
cperciva [Wed, 18 Feb 2004 05:23:09 +0000 (05:23 +0000)]
Use correct thousands separator for the Italian locale.

PR: misc/54477
Submitted by: Nicola Vitale <nivit@libero.it>
Approved by: rwatson (mentor)
Confirmed by:  #freebsd, Google

20 years agoDon't ignore errors from vfs_allocate_syncvnode.
cperciva [Wed, 18 Feb 2004 05:20:54 +0000 (05:20 +0000)]
Don't ignore errors from vfs_allocate_syncvnode.

PR: kern/18503
Submitted by: Anatoly Vorobey <mellon@pobox.com>
Approved by: rwatson (mentor)

20 years agoMention that kernel environment variables may be configured in
wes [Wed, 18 Feb 2004 05:20:31 +0000 (05:20 +0000)]
Mention that kernel environment variables may be configured in
/boot/loader.conf.  Make the description flow a bit better.

Complaints by: Nate Lawson <nate@root.org>

20 years agoFix misspellings in the freebsd-tips fortunes. The same PR has
cperciva [Wed, 18 Feb 2004 05:18:27 +0000 (05:18 +0000)]
Fix misspellings in the freebsd-tips fortunes.  The same PR has
a patch to mention portupgrade in freebsd-tips as well; I'm not
sure if that belongs here, so I'll leave it for someone else.

PR: misc/37073
Submitted by: Sean Chittenden <sean@chittenden.org>
Approved by: rwatson (mentor)

20 years agoFixed some style bugs (spaces instead of tabs in macro definitions ...).
bde [Wed, 18 Feb 2004 02:56:14 +0000 (02:56 +0000)]
Fixed some style bugs (spaces instead of tabs in macro definitions ...).

20 years agoCheckpoint a hack to enable running i386 libc_r binaries on a 64 bit
peter [Wed, 18 Feb 2004 00:54:17 +0000 (00:54 +0000)]
Checkpoint a hack to enable running i386 libc_r binaries on a 64 bit
kernel.  I'm not happy with it yet - refinements are to come.
This hack allows the kern.ps_strings and kern.usrstack sysctls to respond
to a 32 bit request, such as those coming from emulated i386 binaries.

20 years agoBackout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is
mlaier [Wed, 18 Feb 2004 00:04:52 +0000 (00:04 +0000)]
Backout MT_TAG removal (i.e. bring back MT_TAGs) for now, as dummynet is
not working properly with the patch in place.

Approved by: bms(mentor)

20 years agoremove dead code
rees [Tue, 17 Feb 2004 22:28:26 +0000 (22:28 +0000)]
remove dead code

Approved by: alfred

20 years agoAdd vector for memmove() (currently aliased to memcpy()) a implement
wpaul [Tue, 17 Feb 2004 21:50:39 +0000 (21:50 +0000)]
Add vector for memmove() (currently aliased to memcpy()) a implement
ExInterlockedAddLargeStatistic().

20 years agoMake the distinction between sysctl kernel environment variables and
wes [Tue, 17 Feb 2004 20:38:49 +0000 (20:38 +0000)]
Make the distinction between sysctl kernel environment variables and
device.hints kernel environment variables when disabling ACPI.

Some users are getting confused when they see hint.acpi.0.disabled.
They are confusing it with a sysctl MIB.

Finally, add a reference for device.hints(5) and kenv(1)
in the "SEE ALSO" section of the man page.

PR: docs/62974
Submitted by: Christian S.J. Peron <maneo@bsdpro.com>

20 years agoDont use the bio_taskqueue if we are in timeout.
sos [Tue, 17 Feb 2004 19:24:11 +0000 (19:24 +0000)]
Dont use the bio_taskqueue if we are in timeout.
Use taskqueue_thread rather than taskqueue_swi (maybe we should have
a taskqueue_ata).

20 years agol2ping(8) should not loose echo data if target does not responds to the ping
emax [Tue, 17 Feb 2004 18:37:12 +0000 (18:37 +0000)]
l2ping(8) should not loose echo data if target does not responds to the ping

Reviewed by: imp (mentor), ru

20 years agoDo not place dirmask in unnamed padding. Move it to the bottom of this
trhodes [Tue, 17 Feb 2004 16:53:41 +0000 (16:53 +0000)]
Do not place dirmask in unnamed padding.  Move it to the bottom of this
list where it should have been added originally.

Prodded by: bde

20 years agoIPSEC and FAST_IPSEC have the same internal API now;
ume [Tue, 17 Feb 2004 14:02:37 +0000 (14:02 +0000)]
IPSEC and FAST_IPSEC have the same internal API now;
so merge these (IPSEC has an extra ipsecstat)

Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>

20 years agoo Be consistent with the declaration: pri -> priority.
maxim [Tue, 17 Feb 2004 13:31:36 +0000 (13:31 +0000)]
o Be consistent with the declaration: pri -> priority.

Spotted by: Dmitry Rzhavin
MFC after: 1 week

20 years agoCorrect a comment.
dwmalone [Tue, 17 Feb 2004 12:30:32 +0000 (12:30 +0000)]
Correct a comment.

Reviewed by: alfred, tanimura

20 years agoBacked out previous commit since it just causes panics unless a special
bde [Tue, 17 Feb 2004 11:11:10 +0000 (11:11 +0000)]
Backed out previous commit since it just causes panics unless a special
value for MSGBUF_SIZE is configured.  MSGBUF_SIZE =
(32768 * bootverbose ? 2 : 1) is always 1 or 2, so there is not enough space
in the buffer for metadata, and blindly using the nonexistent space tends
to cause fatal pagefaults.  I think
MSGBUF_SIZE = (32768 * (bootverbose ? 2 : 1)) would be always 32768 since
bootverbose is only statically initialized to 0 early when MSGBUF_SIZE is
used.  MSGBUF_SIZE = (32768 * ((boothowto & RB_VERBOSE) ? 2 : 1)) should
work, but this belongs in <sys/msgbuf.h> even less than previous versions.
MSGBUF_SIZE shouldn't be a macro.

20 years agoMechanical whistespace cleanup.
des [Tue, 17 Feb 2004 10:21:03 +0000 (10:21 +0000)]
Mechanical whistespace cleanup.

20 years agoRemove configurations which aren't used in production.
des [Tue, 17 Feb 2004 10:02:55 +0000 (10:02 +0000)]
Remove configurations which aren't used in production.

20 years agoWhitespace nit.
des [Tue, 17 Feb 2004 09:59:45 +0000 (09:59 +0000)]
Whitespace nit.

20 years agoIf the "next free cluster" field of the FSInfo block is 0xFFFFFFFF,
tjr [Tue, 17 Feb 2004 08:51:49 +0000 (08:51 +0000)]
If the "next free cluster" field of the FSInfo block is 0xFFFFFFFF,
it means that the correct value is unknown. Since this value is just
a hint to improve performance, initially assume that the first non-reserved
cluster is free, then correct this assumption if necessary before writing
the FSInfo block back to disk.

PR: 62826
MFC after: 2 weeks

20 years agoReport the difference between ufs and ufs2.
grog [Tue, 17 Feb 2004 08:43:05 +0000 (08:43 +0000)]
Report the difference between ufs and ufs2.

Submitted by: "Christian S.J. Peron" <maneo@bsdpro.com>

20 years agoRe-add sio.S, and properly deal with assembler files.
ru [Tue, 17 Feb 2004 07:13:04 +0000 (07:13 +0000)]
Re-add sio.S, and properly deal with assembler files.

Repocopied by: joe

20 years agoOops, use -I${DESTDIR}/usr/include/gnu instead of ... /../../include/gnu
ache [Tue, 17 Feb 2004 05:38:45 +0000 (05:38 +0000)]
Oops, use -I${DESTDIR}/usr/include/gnu instead of ... /../../include/gnu

20 years agoNew release note: pw(8) -H.
bmah [Tue, 17 Feb 2004 05:30:26 +0000 (05:30 +0000)]
New release note:  pw(8) -H.

MFCs noted:  libdisk fix for PC98, killall(8) -e.

20 years agoAdd com5-com8 (cuaa4-cuaa7) to /etc/remote so they are available to
rwatson [Tue, 17 Feb 2004 05:10:12 +0000 (05:10 +0000)]
Add com5-com8 (cuaa4-cuaa7) to /etc/remote so they are available to
tip by default.  On my systems, at least, pccard modems like to turn
up on higher addresses.

20 years agoWhitespace fixes, no content changes. Translators may ignore this
bmah [Tue, 17 Feb 2004 05:08:32 +0000 (05:08 +0000)]
Whitespace fixes, no content changes.  Translators may ignore this
commit.

20 years agoNew release notes: TCP RFC 2385 (TCP-MD5) support, libarchive(3),
bmah [Tue, 17 Feb 2004 05:05:43 +0000 (05:05 +0000)]
New release notes:  TCP RFC 2385 (TCP-MD5) support, libarchive(3),
killall(1) -e, sdpd(8), awk 20040207, GNU readline patches 001-005,
GNU tar renaming, OpenPAM Eelgrass.

20 years agoExplain what console names are valid.
grog [Tue, 17 Feb 2004 04:53:47 +0000 (04:53 +0000)]
Explain what console names are valid.

20 years agoRecognize if the user supplies the full pathname to /dev/console and friends,
grog [Tue, 17 Feb 2004 04:51:06 +0000 (04:51 +0000)]
Recognize if the user supplies the full pathname to /dev/console and friends,
and DTRT.

Explain if he supplies a pathname that is not in /dev.

20 years agoRemove unneeded files
ache [Tue, 17 Feb 2004 03:43:12 +0000 (03:43 +0000)]
Remove unneeded files

20 years agoRemove getopt*.c, we already have compatible getopt_long() in libc
ache [Tue, 17 Feb 2004 03:40:32 +0000 (03:40 +0000)]
Remove getopt*.c, we already have compatible getopt_long() in libc

20 years agoRemove unneeded files
ache [Tue, 17 Feb 2004 03:22:35 +0000 (03:22 +0000)]
Remove unneeded files

20 years agoRemove getopt*.c, we already have compatible getopt_long() in libc
ache [Tue, 17 Feb 2004 03:18:24 +0000 (03:18 +0000)]
Remove getopt*.c, we already have compatible getopt_long() in libc
(cc toolchain use it rarely, so no surprizes should occurse)

20 years agoRemove unneded files
ache [Tue, 17 Feb 2004 02:09:53 +0000 (02:09 +0000)]
Remove unneded files

20 years agoRemove getopt*.c, we already have compatible getopt_long() in libc
ache [Tue, 17 Feb 2004 02:08:03 +0000 (02:08 +0000)]
Remove getopt*.c, we already have compatible getopt_long() in libc

20 years agoRemove unnecessary newlines from errx() arguments.
tjr [Tue, 17 Feb 2004 02:02:18 +0000 (02:02 +0000)]
Remove unnecessary newlines from errx() arguments.

20 years agoRemove getopt*.c, we already have compatible getopt_long() in libc
ache [Tue, 17 Feb 2004 01:59:37 +0000 (01:59 +0000)]
Remove getopt*.c, we already have compatible getopt_long() in libc

20 years agoRemove unneded files
ache [Tue, 17 Feb 2004 01:51:07 +0000 (01:51 +0000)]
Remove unneded files

20 years agoRemove getopt*.c, we already have compatible getopt_long() in libc
ache [Tue, 17 Feb 2004 01:49:20 +0000 (01:49 +0000)]
Remove getopt*.c, we already have compatible getopt_long() in libc

20 years agoRemove unneded files
ache [Tue, 17 Feb 2004 01:41:49 +0000 (01:41 +0000)]
Remove unneded files

20 years agoRemove getopt*.c, we already have compatible getopt_long() in libc
ache [Tue, 17 Feb 2004 01:40:25 +0000 (01:40 +0000)]
Remove getopt*.c, we already have compatible getopt_long() in libc

20 years agoRemove getopt*.c, we already have compatible getopt_long() in libc
ache [Tue, 17 Feb 2004 01:34:53 +0000 (01:34 +0000)]
Remove getopt*.c, we already have compatible getopt_long() in libc

20 years agoRemove files no longer needed
ache [Tue, 17 Feb 2004 01:20:41 +0000 (01:20 +0000)]
Remove files no longer needed

20 years agoRemove files no longer needed
ache [Tue, 17 Feb 2004 01:10:29 +0000 (01:10 +0000)]
Remove files no longer needed

20 years agoRemove getopt*.c, we already have compatible getopt_long() in libc
ache [Tue, 17 Feb 2004 01:08:34 +0000 (01:08 +0000)]
Remove getopt*.c, we already have compatible getopt_long() in libc

20 years agoRemove files no longer needed
ache [Tue, 17 Feb 2004 01:04:18 +0000 (01:04 +0000)]
Remove files no longer needed

20 years agoRemove getopt*.c, we already have getopt_long() in libc
ache [Tue, 17 Feb 2004 00:56:16 +0000 (00:56 +0000)]
Remove getopt*.c, we already have getopt_long() in libc

20 years agogetopt_long() returned 0 (i.e. long options) case not handled, add it
ache [Tue, 17 Feb 2004 00:53:50 +0000 (00:53 +0000)]
getopt_long() returned 0 (i.e. long options) case not handled, add it
(symptom: "bc --quiet" not works while "bc -q" works)

20 years agoThe callrpc call to unmonitor hosts was passing the wrong xdr
alfred [Tue, 17 Feb 2004 00:13:59 +0000 (00:13 +0000)]
The callrpc call to unmonitor hosts was passing the wrong xdr
decode/encode functions for the arguments to the statd unmonitor
call.  Fix it.

20 years agoRemove old explicit -I${DESTDIR}/usr/include/readline
ache [Tue, 17 Feb 2004 00:06:33 +0000 (00:06 +0000)]
Remove old explicit -I${DESTDIR}/usr/include/readline
it is no longer needed

20 years agoFix the AMD64 build: this file shouldn't exist.
obrien [Mon, 16 Feb 2004 23:47:02 +0000 (23:47 +0000)]
Fix the AMD64 build: this file shouldn't exist.

20 years agoSwitch back to regex.h
ache [Mon, 16 Feb 2004 23:46:39 +0000 (23:46 +0000)]
Switch back to regex.h

20 years agoFormally switch back to regex.h (not sure it ever needed here - libgnuregex
ache [Mon, 16 Feb 2004 23:38:37 +0000 (23:38 +0000)]
Formally switch back to regex.h (not sure it ever needed here - libgnuregex
is not used)

20 years agoSwitch back to regex.h and fix error when mismatched regex.h used with
ache [Mon, 16 Feb 2004 23:25:49 +0000 (23:25 +0000)]
Switch back to regex.h and fix error when mismatched regex.h used with
system libgnuregex

20 years agoRemove some more 'makedev' related macros.
le [Mon, 16 Feb 2004 23:14:13 +0000 (23:14 +0000)]
Remove some more 'makedev' related macros.

Approved by:     grog (mentor)

20 years agoAlso remove "makedev" from the online help.
le [Mon, 16 Feb 2004 23:04:52 +0000 (23:04 +0000)]
Also remove "makedev" from the online help.

20 years agoRemove files no longer needed
ache [Mon, 16 Feb 2004 22:56:36 +0000 (22:56 +0000)]
Remove files no longer needed
Switch back to regex.h

20 years ago1) Remove files no longer needed.
ache [Mon, 16 Feb 2004 22:43:05 +0000 (22:43 +0000)]
1) Remove files no longer needed.
2) Switch back to regex.h

20 years agoInstall regex.h under include/gnu
ache [Mon, 16 Feb 2004 22:32:13 +0000 (22:32 +0000)]
Install regex.h under include/gnu

20 years agoAdd "gnu" to the list of subdirs
ache [Mon, 16 Feb 2004 22:23:34 +0000 (22:23 +0000)]
Add "gnu" to the list of subdirs

20 years agoShorten the name of the socket option used to enable TCP-MD5 packet
bms [Mon, 16 Feb 2004 22:21:16 +0000 (22:21 +0000)]
Shorten the name of the socket option used to enable TCP-MD5 packet
treatment.

Submitted by: Vincent Jardin

20 years agoBack out previous commit due to objections.
des [Mon, 16 Feb 2004 21:36:59 +0000 (21:36 +0000)]
Back out previous commit due to objections.

20 years agoBack out previous commit; it doesn't seem to do what I thought it does.
des [Mon, 16 Feb 2004 21:31:14 +0000 (21:31 +0000)]
Back out previous commit; it doesn't seem to do what I thought it does.

20 years agoIncrease the size of MSGBUF_SIZE if booted with -v.
obrien [Mon, 16 Feb 2004 20:42:11 +0000 (20:42 +0000)]
Increase the size of MSGBUF_SIZE if booted with -v.

20 years agoAdd a 'realclean' target, which simply and quickly removes everything
gad [Mon, 16 Feb 2004 20:18:25 +0000 (20:18 +0000)]
Add a 'realclean' target, which simply and quickly removes everything
that was built in previous 'make buildworld' and 'make buildkernel'.  The
target knows enough to run a 'chflags -R 0' and a second 'rm' if the first
'rm' ran into any errors while removing files.

Suggested by: email with Richard Coleman Re: upcoming 64b-time_t changes.
Reviewed by: imp, marcel, and others on -hackers
MFC after: 1 week

20 years agoRemove -Wbad-function-cast. Its main purpose is to catch bugs that we
des [Mon, 16 Feb 2004 20:07:06 +0000 (20:07 +0000)]
Remove -Wbad-function-cast.  Its main purpose is to catch bugs that we
already catch with -Wstrict-prototypes, and it causes spurious warnings
for some perfectly legitimate constructs.

20 years agoDocument the change in M_WAITOK semantics.
des [Mon, 16 Feb 2004 18:46:16 +0000 (18:46 +0000)]
Document the change in M_WAITOK semantics.

20 years agoDon't panic if we fail to satisfy an M_WAITOK request; return 0 instead.
des [Mon, 16 Feb 2004 18:41:58 +0000 (18:41 +0000)]
Don't panic if we fail to satisfy an M_WAITOK request; return 0 instead.
The calling code will either handle that gracefully or cause a page fault.

20 years agoDon't bother storing a result when all you need are the side effects.
des [Mon, 16 Feb 2004 18:38:46 +0000 (18:38 +0000)]
Don't bother storing a result when all you need are the side effects.

20 years agoAvoid code duplication on platforms where int and long are the same size.
des [Mon, 16 Feb 2004 18:37:00 +0000 (18:37 +0000)]
Avoid code duplication on platforms where int and long are the same size.

20 years agoRandom style fixes and a comment update. No functional changes.
des [Mon, 16 Feb 2004 18:19:15 +0000 (18:19 +0000)]
Random style fixes and a comment update.  No functional changes.

20 years agocorrect function name in comment.
ume [Mon, 16 Feb 2004 18:07:53 +0000 (18:07 +0000)]
correct function name in comment.

Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>

20 years agoWe aren't D_TAPE. We aren't anything. The reasons why this was ever set
mjacob [Mon, 16 Feb 2004 17:43:57 +0000 (17:43 +0000)]
We aren't D_TAPE. We aren't anything. The reasons why this was ever set
at all is lost in the mists of time.

20 years agoFix type in a sysctl. It used to be: net.key.prefered_oldsa
guido [Mon, 16 Feb 2004 17:09:53 +0000 (17:09 +0000)]
Fix type in a sysctl. It used to be: net.key.prefered_oldsa
and is corrected to net.key.preferred_oldsa
This makes it consistent with the KAME IPsec implementation.

Approved by: sam

20 years agodon't update outgoing ifp, if ipsec tunnel mode encapsulation
ume [Mon, 16 Feb 2004 17:05:06 +0000 (17:05 +0000)]
don't update outgoing ifp, if ipsec tunnel mode encapsulation
was not made.

Obtained from: KAME

20 years agonuke unused functions.
ume [Mon, 16 Feb 2004 17:02:44 +0000 (17:02 +0000)]
nuke unused functions.

Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>

20 years agowe don't need to include ipsec.h.
ume [Mon, 16 Feb 2004 16:58:48 +0000 (16:58 +0000)]
we don't need to include ipsec.h.

Submitted by: "Bjoern A. Zeeb" <bzeeb+freebsd@zabbadoz.net>