Sheldon Hearn
42a1247753
* Add a command-line option to enable debugging mode, which sends error
...
messages to stderr instead of syslog.
* Fix manpage with respect to diagnostics.
Reported by: rfg@monkeys.com (Ronald F. Guilmette)
1999-06-17 14:44:42 +00:00
KATO Takenori
f360e91d4d
Sync with sys/i386/i386/machdep.c revision up to 1.341.
1999-06-17 11:09:39 +00:00
KATO Takenori
773e7f413e
Sync with sys/i386/conf/options.i386 revision 1.117.
1999-06-17 11:07:52 +00:00
Ruslan Ermilov
42cf8219dc
Merge from non-crypto version:
...
- "-N" option
- "-E" security fix
- "-s src_addr" option
Requested by: markm
1999-06-17 09:24:37 +00:00
Sheldon Hearn
1181cf3c52
Various fixes for inetd's TCP Wrappers support:
...
1) Handle forking and non-forking internal services correctly.
Turn on wrapping for internal services because it works now.
2) Preserve server names for each service on HUP.
3) Honour hosts_options(5) severity option.
4) Add IMPLEMENTATION NOTES section to clarify TCP Wrappers
usage and limitations.
This change may cause previously allowed builtin services (e.g. daytime)
to be denied in existing configurations.
PR: 12097
Reviewed by: markm
1)
Reported by: Pierre Beyssac <pb@fasterix.freenix.org>
2)
Submitted by: Masachika ISHIZUKA <ishizuka@ish.org>
3)
Submitted by: David Malone <dwmalone@maths.tcd.ie>
1999-06-17 09:16:08 +00:00
Ruslan Ermilov
a6bd23ccf6
Add "-N" option to the SYNOPSIS and usage().
1999-06-17 07:12:39 +00:00
Bruce Evans
212dfe6fc7
Fixed a missing userland dev_t to kernel dev_t conversion.
1999-06-17 07:07:55 +00:00
Alan Cox
29b45e9e99
vm_map_insert sometimes extends an existing vm_map entry, rather than
...
creating a new entry. vm_map_stack and vm_map_growstack can panic when
a new entry isn't created. Fixed vm_map_stack and vm_map_growstack.
Also, when extending the stack, always set the protection to VM_PROT_ALL.
1999-06-17 05:49:00 +00:00
Julian Elischer
4e1b754078
Reformat comment to match indentation of code around it.
1999-06-17 01:25:25 +00:00
Alan Cox
94f7e29a2a
Move vm_map_stack and vm_map_growstack after the definition
...
of the vm_map_clip_end macro. (The next commit will modify
vm_map_stack and vm_map_growstack to use vm_map_clip_end.)
1999-06-17 00:39:26 +00:00
Alan Cox
1fc43fd11d
Remove some unused declarations and duplicate initialization.
1999-06-17 00:27:39 +00:00
Kirk McKusick
f9c8cab591
Add a vnode argument to VOP_BWRITE to get rid of the last vnode
...
operator special case. Delete special case code from vnode_if.sh,
vnode_if.src, umap_vnops.c, and null_vnops.c.
1999-06-16 23:27:55 +00:00
Brian Somers
2a7bd79571
Add the -p switch - tells rwhod to ignore POINTOPOINT interfaces.
...
Mostly submitted by: Stefan Zehl <sec@42.org>
PR: 12216
1999-06-16 21:05:21 +00:00
Ruslan Ermilov
a0a549c7fd
Init(8) will halt the system if sent USR1 signal,
...
or halt and turn the power off if sent SIGUSR2.
PR: 5451
Submitted by: Leif Neland <leifn@image.dk>
Reworked by: ru
Reviewed by: -hackers
1999-06-16 20:01:19 +00:00
Tor Egge
23fc6cddce
Close a race window where a tcp socket is closed while tcp_pcblist is
...
copying out tcp socket info, causing a NULL pointer to be dereferenced.
1999-06-16 19:05:17 +00:00
Dmitrij Tejblum
9a56b5f763
Make syscall tracing work: include "opt_ktrace.h" and make it compile.
1999-06-16 18:55:35 +00:00
Dmitrij Tejblum
7a6ec4cfb2
Syscall arguments are now properly aligned. Print them, and syscall return
...
values, as longs, instead of int.
1999-06-16 18:46:40 +00:00
Dmitrij Tejblum
71ddfdbbd5
Make sure syscall arguments properly aligned in ktrace records.
...
Make syscall return value a register_t.
Based on a patch from Hidetoshi Shimokawa.
Mostly reviewed by: Hidetoshi Shimokawa and Bruce Evans.
1999-06-16 18:37:01 +00:00
Matt Jacob
233d9cfce2
Use vput instead of vrele.
...
Reviewed by: Matthew Dillon <dillon@apollo.backplane.com>
Submitted by: Ville-Pertti Keinonen <will@iki.fi>
Obtained from: Matthew Dillon <dillon@apollo.backplane.com>
1999-06-16 18:35:58 +00:00
Nick Hibma
f06b2abff3
Remove option USBVERBOSE
...
Add the options for debugging used in dev/usb/*.c
Submitted by: Kazu
1999-06-16 17:34:36 +00:00
Bill Paul
05222a2c7d
Grrr! The PNIC II's multicast hash table is only 128 bits wide, not 512
...
like the original PNIC and the MX98715A (from which the PNIC II is derived).
This requires special handling. Save the card type, and in mx_calchash(),
if we see that the card is a PNIC, return only the low 7 bits of the
hash instead of the low 9 bits.
1999-06-16 16:27:30 +00:00
David Greenman
cd3fe8d008
Changed trypbuf to a getpbuf to work around a problem where redundant writes
...
would occur when clustering them - caused by running out of buffers
and taking a degenerate code path as a result. It appears that waiting
instead for buffers to become available is okay.
Submitted by: Matthew Dillon <dillon@apollo.backplane.com>
Discovered by: Craig A Soules <soules+@andrew.cmu.edu>
1999-06-16 15:54:30 +00:00
Ruslan Ermilov
ec5035fa0b
Add "-s src_addr" option to allow setting of the source IP address.
1999-06-16 15:26:22 +00:00
Kazutaka YOKOTA
5c539f036d
Print verbose messages when there is error.
...
Oked by: des
1999-06-16 14:04:45 +00:00
Bill Fumerola
73568d2bf1
Fix non-benign typo.
...
Submitted by: Daniel Baker <dbaker@cuckoo.com>
1999-06-16 12:26:40 +00:00
Tor Egge
a31bad69da
Clean up bitrot in interrupt tracing code.
1999-06-16 03:53:52 +00:00
Tor Egge
01cf8ad024
If we still haven't got a sufficient number of free buffers after the
...
call to flushdirtybuffers() then sleep in waitfreebuffers().
PR: 11697
Reviewed by: David Greenman, Matt Dillon
1999-06-16 03:19:04 +00:00
Kirk McKusick
e4ab40bcb6
Get rid of the global variable rushjob and replace it with a function in
...
kern/vfs_subr.c named speedup_syncer() which handles the speedup request.
Change the various clients of rushjob to use the new function.
1999-06-15 23:37:29 +00:00
Matt Jacob
e672bf9cd6
If we retry this operation from the top of this routine, we need to
...
make sure we've freed any allocated resources (to avoid a memory leak)
and and do the right thing with respect to the nfs node hash lock we'd
acquired.
1999-06-15 23:24:14 +00:00
Julian Elischer
28808d20e9
Add a couple of command definitions.
...
Also add offsets into the IDE parameter block so that it is humanly
possible to match the structure to the manufacturer's documentation.
(basically this is just changes to comments)
1999-06-15 23:13:09 +00:00
Kirk McKusick
5e1a20fd26
COM_LLCONSOLE should over-ride COM_DEBUGGER request.
1999-06-15 22:15:10 +00:00
Mike Pritchard
3d416122d3
cam_get_device() was returning 0 on failure, and 1 on success, while
...
camcontrol(8) and the documentation in camlib.c and cam(3) all expect
-1 on failure and 0 on success. Updated camlib.c to return the values
specified by the documentation.
PR: 12023
1999-06-15 20:03:01 +00:00
Mike Pritchard
d9a91c1439
Correctly document the two different object file formats that can be
...
used with objformat.
PR: 10877
1999-06-15 19:19:51 +00:00
Mike Pritchard
145da7ad10
Document the IMPLEMENTATION NOTES section since we have a number of
...
man pages that use it.
PR: 10659
1999-06-15 19:03:54 +00:00
Ruslan Ermilov
5f13a5ab2e
This really belongs to section 8.
1999-06-15 14:04:19 +00:00
Dag-Erling Smørgrav
9b953cf681
Kill option FAILSAFE.
...
PR: i386/12187
Approved by: bde
1999-06-15 13:14:56 +00:00
Ruslan Ermilov
689b0bd1d4
Document the usage of escape character in a service name.
...
PR: 7101
Reminded by: jhs
1999-06-15 12:56:38 +00:00
Roger Hardiman
105d5f266a
MFS: No longer needed with PicoBSD 0.44
1999-06-15 12:51:57 +00:00
Roger Hardiman
3e69db1b49
MFS: No longer needed in PicoBSD 0.44
1999-06-15 12:40:32 +00:00
Roger Hardiman
69be7dc19e
Add VIA Apollo Master VT82c570 chipset. (I have 2 of these)
...
Also, Apollo IDE controller has device ID of 1571 and 0571
1999-06-15 12:01:26 +00:00
Roger Hardiman
f2488e30c5
MFS: No longer needed in PicoBSD 0.44
1999-06-15 11:45:25 +00:00
Roger Hardiman
27c2745d8a
MFS: No longer needed in PicoBSD 0.44
1999-06-15 11:40:13 +00:00
Mark Newton
009b52bf57
Ensoniq AudioPCI sound cards haven't worked since the newbus integration
...
because they haven't been able to attach. Now fixed.
Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-06-15 00:00:10 +00:00
John Birrell
bfc6f8cf11
Add the System V message queue and semaphore options for better 3rd party
...
software support out-of-the-box (like i386 does).
1999-06-14 22:59:55 +00:00
David E. O'Brien
ba83352b78
Support Alpha and -CURRENT in the "-r" option case.
1999-06-14 21:58:59 +00:00
Nik Clayton
501bebb5be
Include <sys/time.h> for correctness. BDE has a better version of this,
...
but it's more complex, and in his words
Commit your version, since it is the only one that is clearly permitted
(if not best), and I'll untangle it later.
PR: docs/11589
Reviewed by: Bruce "he kicks ass" Evans
1999-06-14 19:03:46 +00:00
Ruslan Ermilov
1c51699372
It was possible to circumvent telnet's security ``-E'' (no escape at all)
...
option by running it with ``-8 -E'' and passing it 0xff character.
PR: 6317
Reviewed by: des, David Borman <dab@bsdi.com> (the author)
1999-06-14 18:46:15 +00:00
Roger Hardiman
b8f659fe68
Last commit was incorrect. Remove the 'rp' PCI device
1999-06-14 18:16:51 +00:00
Roger Hardiman
45f63ade9b
Comment out the PCI Comtrol Rocketport entries.
...
The PicoBSD 'isp' build fails when both the PCI and ISA versions of the
'rp' driver are included at the same time
1999-06-14 18:08:17 +00:00
Roger Hardiman
a48da6e82e
Update to PicoBSD 0.44 from RELENG_3
1999-06-14 16:48:23 +00:00