]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoAllow vm_object_reference() on kernel_object without Giant.
alc [Sun, 27 Jul 2003 05:43:58 +0000 (05:43 +0000)]
Allow vm_object_reference() on kernel_object without Giant.

21 years agoChanged the type of the variable `qidx' from u_int8_t to int,
robert [Sun, 27 Jul 2003 00:13:49 +0000 (00:13 +0000)]
Changed the type of the variable `qidx' from u_int8_t to int,
mainly to quiet a warning emitted by GCC 3.3 about comparing
a variable to a value which is larger than the former can hold.

The value was checked to make sure the `np->squeue' array is
not accessed behind its boundary.
This worked due to possibly accidental truncation when
(np->squeueput + 1) was larger than or equal to MAX_START (256)
when it was assigned to `qidx'.

`qidx' is used to hold the next position in the start queue
for an insertion.  The new type was chosen because some other
code in the function ncr_freeze_devq() also uses plain integers
to hold those indices.

Wrapped the line after the closing parenthesis of an `if'
condition.

21 years agoUse M_WAITOK instead of M_WAIT in sppp_attach().
gj [Sat, 26 Jul 2003 21:58:06 +0000 (21:58 +0000)]
Use M_WAITOK instead of M_WAIT in sppp_attach().

21 years agoAcquire Giant rather than asserting it is held in contigmalloc(). This is
alc [Sat, 26 Jul 2003 21:48:46 +0000 (21:48 +0000)]
Acquire Giant rather than asserting it is held in contigmalloc().  This is
a prerequisite to removing further uses of Giant from UMA.

21 years agoAdd notice about the local change in r1.25
mbr [Sat, 26 Jul 2003 21:29:28 +0000 (21:29 +0000)]
Add notice about the local change in r1.25

21 years agoFix a couple of bugs in the resume handler. Don't call the if_init
jdp [Sat, 26 Jul 2003 20:54:57 +0000 (20:54 +0000)]
Fix a couple of bugs in the resume handler.  Don't call the if_init
function unless the device is configured up.  Without this fix, the
device ends up in the RUNNING state even though it is configured down.
Also, check the RUNNING flag before calling the if_start function, in
case the if_init function failed for one reason or another.

21 years agoDefine the stop command to do nothing when only a specific
mtm [Sat, 26 Jul 2003 18:58:46 +0000 (18:58 +0000)]
Define the stop command to do nothing when only a specific
interface is to be stopped. In this case we don't want to go
beyond releasing the lease.

21 years agoWhen stopping a dhcp interface, don't just release the lease on
mtm [Sat, 26 Jul 2003 18:50:53 +0000 (18:50 +0000)]
When stopping a dhcp interface, don't just release the lease on
the address, also kill the dhclient process. Instead of doing the
release in the stop command, move it to the precmd stage and allow
rc.subr(8) to automatically kill the dhclient process by leaving the
stop command undefined.

Noticed by: mbr

21 years agoAdd Socket Communications Low Power 10/100 CF Ethernet card.
imp [Sat, 26 Jul 2003 17:52:09 +0000 (17:52 +0000)]
Add Socket Communications Low Power 10/100 CF Ethernet card.

Obtained from: NetBSD (information, not code)

21 years agoSync to 1.61 of pccarddevs
imp [Sat, 26 Jul 2003 17:46:43 +0000 (17:46 +0000)]
Sync to 1.61 of pccarddevs

21 years agoMFNetBSD:
imp [Sat, 26 Jul 2003 17:45:45 +0000 (17:45 +0000)]
MFNetBSD:
1.183: gmcgarry; Add Sharp PALDIO 611S
1.184: martin; Socket LP 10/100 CF

Obtained from: NetBSD

21 years agoo Fix usage(): remove '-l', add missed '-f', sort.
maxim [Sat, 26 Jul 2003 15:29:10 +0000 (15:29 +0000)]
o Fix usage(): remove '-l', add missed '-f', sort.

21 years agoInline a function that gcc refused to inline. This function was used
harti [Sat, 26 Jul 2003 14:57:26 +0000 (14:57 +0000)]
Inline a function that gcc refused to inline. This function was used
only in one place and it just served as semantic sugar.

21 years agoSilence a gcc-warning. Do this by inlining the macro-call. This is
harti [Sat, 26 Jul 2003 14:20:37 +0000 (14:20 +0000)]
Silence a gcc-warning. Do this by inlining the macro-call. This is
not very nice - the compiler should just silently optimize away the
unused else clause.

21 years agoThe /rescue system is now enabled by default again, so remove note
simon [Sat, 26 Jul 2003 13:04:40 +0000 (13:04 +0000)]
The /rescue system is now enabled by default again, so remove note
saying that it is disabled.

Approved by: ceri (mentor)

21 years agoSet mc_len to sizeof(mcontext_t), otherwise it is an invalid context.
davidxu [Sat, 26 Jul 2003 12:58:28 +0000 (12:58 +0000)]
Set mc_len to sizeof(mcontext_t), otherwise it is an invalid context.

21 years agoRemove references to the '-l' option in synopsis. The rest of the
simon [Sat, 26 Jul 2003 12:57:56 +0000 (12:57 +0000)]
Remove references to the '-l' option in synopsis.  The rest of the
description of this option was removed in v. 1.22.

PR: docs/54880
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
Approved by: ceri (mentor)

21 years agoMinor mdoc(7) cleanup, based on the PR below.
simon [Sat, 26 Jul 2003 12:41:44 +0000 (12:41 +0000)]
Minor mdoc(7) cleanup, based on the PR below.

PR: docs/54826
Submitted by: Lukas Ertl <l.ertl@univie.ac.at>
Reviewed by: ru
Approved by: ceri (mentor)

21 years agoFix "write from stdin".
pb [Sat, 26 Jul 2003 12:14:58 +0000 (12:14 +0000)]
Fix "write from stdin".

Reviewed by: sos
MFC after: 1 week

21 years agoFixed wrong function names in the error message that was translated to
bde [Sat, 26 Jul 2003 11:53:40 +0000 (11:53 +0000)]
Fixed wrong function names in the error message that was translated to
C in rev.1.32 so that it doesn't take 2 commits for all branches to fix
this message.

21 years agoRemove prototype of ia64_pa_access(). The function has been moved to
marcel [Sat, 26 Jul 2003 10:13:30 +0000 (10:13 +0000)]
Remove prototype of ia64_pa_access(). The function has been moved to
mem.c where it's been made static.

21 years agoEnable wake up GPE before shutdown, not only for sleeping.
takawata [Sat, 26 Jul 2003 09:54:17 +0000 (09:54 +0000)]
Enable wake up GPE before shutdown, not only for sleeping.

21 years agoAvoid using __aligned(16). Instead define the jmp_buf in terms of
marcel [Sat, 26 Jul 2003 08:03:43 +0000 (08:03 +0000)]
Avoid using __aligned(16). Instead define the jmp_buf in terms of
long doubles. This gives us 16-byte alignment. Add a CTASSERT for
the size of the jmp_buf to detect ABI breakages.

21 years agoAdd a "int fd" argument to VOP_OPEN() which in the future will
phk [Sat, 26 Jul 2003 07:32:23 +0000 (07:32 +0000)]
Add a "int fd" argument to VOP_OPEN() which in the future will
contain the filedescriptor number on opens from userland.

The index is used rather than a "struct file *" since it conveys a bit
more information, which may be useful to in particular fdescfs and /dev/fd/*

For now pass -1 all over the place.

21 years agoUnbreak ia64 builds now -Werror is enabled again. Avoid obsolete
marcel [Sat, 26 Jul 2003 07:23:25 +0000 (07:23 +0000)]
Unbreak ia64 builds now -Werror is enabled again. Avoid obsolete
memory operand construct.

21 years agoGuard against MLEN growing larger than a uint8_t due to MSIZE grwoing to a
scottl [Sat, 26 Jul 2003 07:23:24 +0000 (07:23 +0000)]
Guard against MLEN growing larger than a uint8_t due to MSIZE grwoing to a
value of 512 in LINT.  This keeps gcc from complaining.

21 years agoBah, I go and get all preachy, and then commit from the wrong branch. Revert
scottl [Sat, 26 Jul 2003 06:47:40 +0000 (06:47 +0000)]
Bah, I go and get all preachy, and then commit from the wrong branch.  Revert
the use of '-j8'.

Apologies to: ru

21 years agoFix the release build with a forgotten '-f'.
scottl [Sat, 26 Jul 2003 05:57:52 +0000 (05:57 +0000)]
Fix the release build with a forgotten '-f'.

21 years agoFixes for 64 bit cleanliness. The length arg to sysctl is a pointer to
peter [Sat, 26 Jul 2003 04:03:18 +0000 (04:03 +0000)]
Fixes for 64 bit cleanliness.  The length arg to sysctl is a pointer to
size_t not int.

Reviewed by: bp

21 years agoUse #include <string.h> rather than <strings.h> so that the strdup()
peter [Sat, 26 Jul 2003 04:02:22 +0000 (04:02 +0000)]
Use #include <string.h> rather than <strings.h> so that the strdup()
prototype gets brought into scope.  This is a big deal for 64 bit
systems where the default return value of 'int' is != pointer.

Reviewed by: bp

21 years agoGulp ... call kmem_malloc() without Giant.
alc [Sat, 26 Jul 2003 03:55:32 +0000 (03:55 +0000)]
Gulp ... call kmem_malloc() without Giant.

21 years agoFix some recently introduced warnings. 'Declaration does not declare
peter [Sat, 26 Jul 2003 03:47:56 +0000 (03:47 +0000)]
Fix some recently introduced warnings.  'Declaration does not declare
anything' etc.

21 years agoTurn -Werror back on again. I've tested with/without
peter [Sat, 26 Jul 2003 03:46:39 +0000 (03:46 +0000)]
Turn -Werror back on again.  I've tested with/without
invariants/witness/etc on i386, sparc64, amd64 and alpha for GENERIC.
Lint probably still needs fixing, as do a couple of other drivers
that have broken recently and not been noticed.

21 years agoFix typo.
davidxu [Sat, 26 Jul 2003 02:36:50 +0000 (02:36 +0000)]
Fix typo.

21 years agoChange the inline limit switch to something that exists in gcc-3.2.
peter [Sat, 26 Jul 2003 02:27:50 +0000 (02:27 +0000)]
Change the inline limit switch to something that exists in gcc-3.2.
Unfortunately, it has different units.

21 years agoRevise and improve ntfs_subr.c 1.30: read only a single cluster at a time
tjr [Sat, 26 Jul 2003 02:21:49 +0000 (02:21 +0000)]
Revise and improve ntfs_subr.c 1.30: read only a single cluster at a time
in ntfs_writentvattr_plain and ntfs_readntvattr_plain, and purge the boot
block from the buffer cache if isn't exactly one cluster long. These two
changes work around the same buffer cache bug that ntfs_subr.c 1.30 tried
to, but in a different way. This may decrease throughput by reading smaller
amounts of data from the disk at a time, but may increase it by avoiding
bogus writes of clean buffers.
Problem (re)reported by Karel J. Bosschaart on -current.

21 years agoRevert previous commit. We don't use setjmp()/longjmp() for context
marcel [Fri, 25 Jul 2003 22:36:48 +0000 (22:36 +0000)]
Revert previous commit. We don't use setjmp()/longjmp() for context
switching anymore, so there's no need to save and restore GP. This
change breaks threaded applications linked against libc_r. Pull the
tier 2 card again: relink. This will link against libthr instead.

21 years agorevision 1.51 of vm/uma_core.c modified uma_large_malloc() to acquire
alc [Fri, 25 Jul 2003 22:26:43 +0000 (22:26 +0000)]
revision 1.51 of vm/uma_core.c modified uma_large_malloc() to acquire
Giant when needed.

21 years agopowerpc isn't tinderbox-ready yet.
des [Fri, 25 Jul 2003 22:17:28 +0000 (22:17 +0000)]
powerpc isn't tinderbox-ready yet.

21 years agoUse __FBSDID().
obrien [Fri, 25 Jul 2003 21:19:19 +0000 (21:19 +0000)]
Use __FBSDID().

Brought to you by: a boring talk at Ottawa Linux Symposium

21 years agoUse __FBSDID().
obrien [Fri, 25 Jul 2003 21:10:19 +0000 (21:10 +0000)]
Use __FBSDID().

Brought to you by: a boring talk at OLS

21 years agoAdd support for the M_ZERO flag to contigmalloc().
mux [Fri, 25 Jul 2003 21:02:25 +0000 (21:02 +0000)]
Add support for the M_ZERO flag to contigmalloc().

Reviewed by: jeff

21 years agoMake this 64 bit clean. Use size_t for sysctl() length pointer args.
peter [Fri, 25 Jul 2003 20:56:57 +0000 (20:56 +0000)]
Make this 64 bit clean. Use size_t for sysctl() length pointer args.

21 years agoRemove alpha vtophys() hack from if_bgereg.h and clean up unneeded
wpaul [Fri, 25 Jul 2003 20:33:43 +0000 (20:33 +0000)]
Remove alpha vtophys() hack from if_bgereg.h and clean up unneeded
#includes formerly required to pull in vtophys support, since we
don't need them anymore.

21 years agoConvert bge(4) to use busdma. I have not tested this on anything
wpaul [Fri, 25 Jul 2003 19:42:44 +0000 (19:42 +0000)]
Convert bge(4) to use busdma. I have not tested this on anything
besides x86 yet since I don't have access to a non-x86 FreeBSD
box at the moment. Volunteers welcome.

21 years agoFix for 64 bit platforms. sysctl's length args are pointers to
peter [Fri, 25 Jul 2003 19:17:46 +0000 (19:17 +0000)]
Fix for 64 bit platforms.  sysctl's length args are pointers to
size_t, not int.  This could be fatal where size_t is long.

Reviewed by: bp

21 years agoMFi386 revision 1.416
alc [Fri, 25 Jul 2003 18:58:39 +0000 (18:58 +0000)]
MFi386 revision 1.416
 Add vm object locking to pmap_prefault().

Note: powerpc and sparc64 do not implement this function.

21 years agoDiscussions on src-committers with alfred and bde pointed out that
gad [Fri, 25 Jul 2003 18:40:36 +0000 (18:40 +0000)]
Discussions on src-committers with alfred and bde pointed out that
the "do-nothing" versions of __RCSID(), __RCSID_SOURCE(), __SCCSID(),
and __COPYRIGHT() were not strictly correct.  They should not expand
into [nothing], because the ';' which follows them would then cause
a syntax error (in a strict C compiler, if not gcc...).

So, change the do-nothing versions of those macros to use the
'struct __hack' tactic, as was already used with __FBSDID().

Approved by: discussions with bde
MFC after: 1 week

21 years agoFix amd64 build by deleting trailing whitespace. Doh!
peter [Fri, 25 Jul 2003 18:22:53 +0000 (18:22 +0000)]
Fix amd64 build by deleting trailing whitespace.  Doh!

21 years agoState that in -exec ... ; the semicolon should be quoted if invoked from
schweikh [Fri, 25 Jul 2003 17:32:43 +0000 (17:32 +0000)]
State that in -exec ... ; the semicolon should be quoted if invoked from
a shell.

PR: docs/54667
Submitted by: Patrick Alken <pa59@cornell.edu>
MFC after: 3 days

21 years agoFix output from an error message.
njl [Fri, 25 Jul 2003 17:11:15 +0000 (17:11 +0000)]
Fix output from an error message.
Use sysctl -n instead of sed

Submitted by: Scott Lambert <lambert@lambertfam.org>

21 years agoAdd wrapper for kqueue() to keep track of the allocated fd and allow it to
mp [Fri, 25 Jul 2003 17:02:33 +0000 (17:02 +0000)]
Add wrapper for kqueue() to keep track of the allocated fd and allow it to
be closed. This fixes a file descriptor leak when closing a kqueue() fd.

Reviewed by: deischen
MFC after: 1 week

21 years agoAdd an informational debugging printf of the maximum time spent in
njl [Fri, 25 Jul 2003 16:49:46 +0000 (16:49 +0000)]
Add an informational debugging printf of the maximum time spent in
EcEventWait().  If you get AE_HARDWARE_NO_RESPONSE errors, please enable
this info by setting hw.acpi.verbose=1 in loader.conf.

21 years agoBacked out the micro-optimization in 1.4. It was to help gcc-2.6.3
bde [Fri, 25 Jul 2003 15:54:23 +0000 (15:54 +0000)]
Backed out the micro-optimization in 1.4.  It was to help gcc-2.6.3
on i486's (and probably i386's), but it has had very little effect
since gcc-2.7 or gcc-2.95.  With gcc-3.3, it gave a small
pessimization for at least i386's, athlon-xp's and pentium4's, a
small optimization (I think) for pentium1's, and made no difference
for i386's.  (movzbl is best for all the later processors, and the
micro-optimization was to stop it being used on i486's.)

21 years agoNew release notes: bge(4) 5705 support.
hrs [Fri, 25 Jul 2003 14:08:32 +0000 (14:08 +0000)]
New release notes:  bge(4) 5705 support.

Update release notes:  rescue(7) man page.

MFC:  safe(4).

21 years agoMake the PC98 small boot floppy usable again.
ru [Fri, 25 Jul 2003 13:39:11 +0000 (13:39 +0000)]
Make the PC98 small boot floppy usable again.

Spotted by: nyan
Reviewed by: nyan

21 years agoWhen deciding whether to download the microcode or not look at the API rather
harti [Fri, 25 Jul 2003 12:40:03 +0000 (12:40 +0000)]
When deciding whether to download the microcode or not look at the API rather
than at the vendor. We have three different Fore cards and only the PCA200
need the microcode. Look also at the RAM address and load the code only if
it is not zero. A zero RAM address means either a bug in the driver or
this is a interface created by harp(4) in which case fatm(4) handles the
microcode issue.

21 years agoPrint the offending SPANS message only if printing is enabled.
harti [Fri, 25 Jul 2003 12:32:08 +0000 (12:32 +0000)]
Print the offending SPANS message only if printing is enabled.

21 years agoAn u_int8_t can never be bigger than 255, so remove a useless check.
mux [Fri, 25 Jul 2003 12:23:25 +0000 (12:23 +0000)]
An u_int8_t can never be bigger than 255, so remove a useless check.

Spotted by: GCC

21 years agoRemove a duplicate entry.
mux [Fri, 25 Jul 2003 11:14:03 +0000 (11:14 +0000)]
Remove a duplicate entry.

21 years agoo Do not overwrite saved interrupt priority level by alloc_hash(),
maxim [Fri, 25 Jul 2003 09:59:16 +0000 (09:59 +0000)]
o Do not overwrite saved interrupt priority level by alloc_hash(),
  use a separate variable.
o Restore interrupt priority level before return (no-op in HEAD).

Spotted by: Don Bowman <don@sandvine.com>
MFC after: 5 days

21 years agoThe RELEASE9 knob is now OBE.
ru [Fri, 25 Jul 2003 08:55:51 +0000 (08:55 +0000)]
The RELEASE9 knob is now OBE.

OK'ed by: jhb

21 years agoMoved the boot floppy generation code out from release.9 to release.10.
ru [Fri, 25 Jul 2003 08:54:41 +0000 (08:54 +0000)]
Moved the boot floppy generation code out from release.9 to release.10.
The release.9 target is now responsible only for generation of MFS root
file systems, that are built for all architectures, even those that do
not provide a floppy installation option.  The release.10 target is now
responsible for creation of a set of boot, MFS root, and fixit floppies,
and the NO_FLOPPIES variable now affects only this target.

Also, replaced the FIXIT_TARGET variable with a check of whether the
*FIXITSIZE variables are present for a given architecture, similar to
how this is done when generating boot floppies.

Discussed with: jhb

21 years agoAdd support for VBR and CBR PVCs for IP over ATM.
harti [Fri, 25 Jul 2003 08:35:26 +0000 (08:35 +0000)]
Add support for VBR and CBR PVCs for IP over ATM.

Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks

21 years agoMake library WARNS=6 clean. The problems have been: alignment on sparc64
harti [Fri, 25 Jul 2003 08:22:08 +0000 (08:22 +0000)]
Make library WARNS=6 clean. The problems have been: alignment on sparc64
and one of the usual sizeof(in_addr_t) == sizeof(u_long) bugs.

21 years agoDue to a gcc bug, it doesn't like local variables with names like 'sin'.
harti [Fri, 25 Jul 2003 08:15:09 +0000 (08:15 +0000)]
Due to a gcc bug, it doesn't like local variables with names like 'sin'.
Rename this for the moment. Also fix a sparc64 alignment warning.

21 years agoMake ilmid WARNS=6 clean. The problem were a couple of unused function
harti [Fri, 25 Jul 2003 08:09:18 +0000 (08:09 +0000)]
Make ilmid WARNS=6 clean. The problem were a couple of unused function
arguments and missing consts.

21 years agoRemove __aligned(16) from the definition of struct _ia64_fpreg. It's
marcel [Fri, 25 Jul 2003 08:02:24 +0000 (08:02 +0000)]
Remove __aligned(16) from the definition of struct _ia64_fpreg. It's
a non-standard construct. Instead, redefine struct _ia64_fpreg as a
union and put a long double in it. On ia64 and for LP64, this is
defined by the ABI to have 16-byte alignment. For ILP32 a long double
has 4-byte alignment, but we don't support ILP32.

Note that the in-memory image of a long double does not match the in-
memory image of spilled FP registers. This means that one cannot use
the fpr_flt field to interpet the bits. For this reason we continue
to use an aggregate type.

21 years agoRemove INVARIANT* and WITNESS. This makes the simulator much more
marcel [Fri, 25 Jul 2003 07:52:20 +0000 (07:52 +0000)]
Remove INVARIANT* and WITNESS. This makes the simulator much more
pleasant to use.

21 years agoReady to go live.
des [Fri, 25 Jul 2003 07:18:06 +0000 (07:18 +0000)]
Ready to go live.

21 years agoSet the interface type of the network interfaces to IFT_IPOVERATM(114).
harti [Fri, 25 Jul 2003 07:16:28 +0000 (07:16 +0000)]
Set the interface type of the network interfaces to IFT_IPOVERATM(114).
This is specified by RFC2320.

21 years agoHand the packet to bpf not only in the LLC/SNAP case, but for all
harti [Fri, 25 Jul 2003 06:43:41 +0000 (06:43 +0000)]
Hand the packet to bpf not only in the LLC/SNAP case, but for all
connections. While this confuses tcpdump, it enables other applications
to see and analyze non-IP traffic (signalling, for example).

Pointed out by: Vincent Jardin <vjardin@wanadoo.fr>

21 years agoMake the debugging variable that controls printing of UNI messages
harti [Fri, 25 Jul 2003 06:39:46 +0000 (06:39 +0000)]
Make the debugging variable that controls printing of UNI messages
accessible as a sysctl and move the debugging stuff out of DIAGNOSTICS.

Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks

21 years agoMove ia64_pa_access() from machdep.c to mem.c and declare it static.
marcel [Fri, 25 Jul 2003 05:37:13 +0000 (05:37 +0000)]
Move ia64_pa_access() from machdep.c to mem.c and declare it static.
It's only used in mem.c and cannot accidentally be used elsewhere
this way.

21 years agoMake the example "too large" message in the manual match the updated one
mckay [Fri, 25 Jul 2003 00:48:29 +0000 (00:48 +0000)]
Make the example "too large" message in the manual match the updated one
actually sent by ctm_smail since rev 1.13.

21 years agoAlign upcall stack top to odd times of 8. GCC accounts return address
davidxu [Fri, 25 Jul 2003 00:21:37 +0000 (00:21 +0000)]
Align upcall stack top to odd times of 8. GCC accounts return address
in callee function for stack alignment.

21 years agoDisable the single-step trap on a debug related trap, including of
marcel [Fri, 25 Jul 2003 00:11:14 +0000 (00:11 +0000)]
Disable the single-step trap on a debug related trap, including of
course the single-step trap itself.

21 years agoMove the mlx driver back into the kernel so that the drivers floppy doesn't
scottl [Fri, 25 Jul 2003 00:10:33 +0000 (00:10 +0000)]
Move the mlx driver back into the kernel so that the drivers floppy doesn't
overflow.

21 years agoPrint group name in getfacl output when calculating an effective
rwatson [Thu, 24 Jul 2003 23:33:25 +0000 (23:33 +0000)]
Print group name in getfacl output when calculating an effective
permission set based on a more restrictive mask.

Submitted by: Glen Gibb <grg@ridley.unimelb.edu.au>

21 years agoHide more crypto from being crunched at release time.
markm [Thu, 24 Jul 2003 20:20:16 +0000 (20:20 +0000)]
Hide more crypto from being crunched at release time.

21 years agoTurn on the extended syntax, which TCP_wrappers has by default, as
markm [Thu, 24 Jul 2003 19:58:56 +0000 (19:58 +0000)]
Turn on the extended syntax, which TCP_wrappers has by default, as
distributed.

21 years agoRemove GCC-specific debugging option.
markm [Thu, 24 Jul 2003 19:53:02 +0000 (19:53 +0000)]
Remove GCC-specific debugging option.

OK'ed by: phk

21 years agoDon't check for the existance of src/crypto/ for building items that
markm [Thu, 24 Jul 2003 18:30:25 +0000 (18:30 +0000)]
Don't check for the existance of src/crypto/ for building items that
may contain crypto. The days of ITAR paranoia are over, and the simple
macro tests that remain are sufficient.

21 years agoMissing quotes around a variable. In this case we are only
mtm [Thu, 24 Jul 2003 18:17:21 +0000 (18:17 +0000)]
Missing quotes around a variable. In this case we are only
evaluating the $_precmd command as a string. We're not actually
trying to evaluate the contents of the command.

Reported by: Glenn Johnson <gjohnson@srrc.ars.usda.gov>

21 years agoDon't lint(1) so early in the build. Its OK to keep this for the
markm [Thu, 24 Jul 2003 18:14:29 +0000 (18:14 +0000)]
Don't lint(1) so early in the build. Its OK to keep this for the
"make all" phase.

21 years agoForced commit.
markm [Thu, 24 Jul 2003 18:11:27 +0000 (18:11 +0000)]
Forced commit.

The previous commit included some commented-out macro-assignments
with comments documenting their function. These macros were of
considerable use to me in building a test "make release".

21 years agoGet the correct set of cryptographically-infected binaries
markm [Thu, 24 Jul 2003 17:28:52 +0000 (17:28 +0000)]
Get the correct set of cryptographically-infected binaries
automagically from the (secure|kerberos5)/Makefile:[KS]PROG.

21 years agoMake sure that a "make release" (more accurately the bit that makes
markm [Thu, 24 Jul 2003 17:19:15 +0000 (17:19 +0000)]
Make sure that a "make release" (more accurately the bit that makes
the crunched binary) get a non-cryptographic telnet. This is overkill
in that it covers stuff that is not normally used in a crunched binary.

21 years agoThe POSIX spec also requires that kern_sigtimedwait return
mtm [Thu, 24 Jul 2003 17:07:17 +0000 (17:07 +0000)]
The POSIX spec also requires that kern_sigtimedwait return
EINVAL if tv_nsec of the timeout is less than zero.

21 years agoMake the debugging variable that controls dumping of IP over ATM packets
harti [Thu, 24 Jul 2003 15:25:17 +0000 (15:25 +0000)]
Make the debugging variable that controls dumping of IP over ATM packets
accessible as a sysctl.

Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks

21 years agoCreate a sysctl that allows to enable/disable printing of SPANS messages.
harti [Thu, 24 Jul 2003 14:37:01 +0000 (14:37 +0000)]
Create a sysctl that allows to enable/disable printing of SPANS messages.
While here delete to sys/types.h includes when sys/param.h is also included.

Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks

21 years agoReplaced the hardcoded target names in the touch(1) commands with
ru [Thu, 24 Jul 2003 13:45:05 +0000 (13:45 +0000)]
Replaced the hardcoded target names in the touch(1) commands with
${.TARGET}, to ease maintenance.

21 years agoFree the UNI vcc to the same zone from where it was allocated from.
harti [Thu, 24 Jul 2003 12:24:41 +0000 (12:24 +0000)]
Free the UNI vcc to the same zone from where it was allocated from.
This resulted in a panic when detaching the uni31 signalling manager.

21 years agoNow that we have if_detach() don't try to get rid of all the interface
harti [Thu, 24 Jul 2003 11:17:36 +0000 (11:17 +0000)]
Now that we have if_detach() don't try to get rid of all the interface
stuff (routes, ...) by hand - simply use if_detach().

Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 week

21 years agoComplain about extraneous command line arguments.
des [Thu, 24 Jul 2003 10:44:45 +0000 (10:44 +0000)]
Complain about extraneous command line arguments.

21 years agoCreate a subtree 'harp' of the net sysctl tree. This uses a fixed
harti [Thu, 24 Jul 2003 10:33:01 +0000 (10:33 +0000)]
Create a subtree 'harp' of the net sysctl tree. This uses a fixed
OID as the other protocol family sub-trees do, that is equal to the
protocol family identifier. Make the ATM layer debugging flags
available under this tree.

Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
MFC after: 2 weeks

21 years agoForced commit for the MFC.
harti [Thu, 24 Jul 2003 09:14:50 +0000 (09:14 +0000)]
Forced commit for the MFC.

MFC after: 2 weeks

21 years agoConstify the arguments to several pdu_print functions.
harti [Thu, 24 Jul 2003 09:13:03 +0000 (09:13 +0000)]
Constify the arguments to several pdu_print functions.

21 years agoImplement cpu_set_upcall and cpu_set_upcall_kse.
davidxu [Thu, 24 Jul 2003 08:52:44 +0000 (08:52 +0000)]
Implement cpu_set_upcall and cpu_set_upcall_kse.

Reviewed by: peter

21 years agoSet fault address to si_addr.
davidxu [Thu, 24 Jul 2003 08:51:22 +0000 (08:51 +0000)]
Set fault address to si_addr.

Reviewed by: peter