summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* - simplify option flagssumikawa2000-10-091-13/+11
| | | | | | | - do not print header when using -c - linklocal address are not cleared when using -c Obtained from: KAME
* String buffer overflow cleanup.kris2000-10-098-39/+39
| | | | Reviewed by: green, alex
* Initiate deorbit burn sequence for <machine/mouse.h>.phk2000-10-091-3/+1
| | | | | | | | | | Replace all in-tree uses with <sys/mouse.h> which repo-copied a few moments ago from src/sys/i386/include/mouse.h by peter. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/mouse.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/mouse.h> files will be removed.
* String buffer safety cleanup. I don't think any of these were exploitablekris2000-10-094-12/+8
| | | | | | | | | | | remotely, but they would be if e.g. it happened to call the logging function using a DNS hostname. Also replace random() by arc4random() - only one of these is arguably required since it's directly used in the protocol, but we might as well replace both to avoid using two different PRNGs. Reviewed by: green, alex
* Initiate deorbit burn sequence for <machine/console.h>.phk2000-10-0811-11/+13
| | | | | | | | | Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>. This is also the appropriate fix for exo-tree sources. Put warnings in <machine/console.h> to discourage use. November 15th 2000 the warnings will be converted to errors. January 15th 2001 the <machine/console.h> files will be removed.
* Fixed printf format errors which corrupted /var/db/mounttab on i386's withbde2000-10-081-3/+5
| | | | | 64-bit longs (don't assume that time_t is long; assume that time_t's are representable as longs).
* Enable use of poll()kris2000-10-081-1/+1
|
* Sync with KAME. Don't write past the end of the fd_set.kris2000-10-081-6/+27
| | | | Obtained from: KAME
* Sync with KAME. Format string auditing and manpage cleanups.kris2000-10-082-7/+10
| | | | | Obtained from: KAME Submitted by: Bill Sommerfeld <sommerfeld@netbsd.org>
* Sync with KAME. Format string auditing and manpage cleanups.kris2000-10-089-24/+42
| | | | | Obtained from: KAME Submitted by: Bill Sommerfeld <sommerfeld@netbsd.org>
* Sync with KAME. Format string auditing, and add -a flag to autoprobekris2000-10-067-49/+195
| | | | | | interfaces. Obtained from: KAME
* Don't try to compare other attributes if the type doesn't match, it'sphk2000-10-061-0/+1
| | | | nothing but trouble, and no use anyway.
* Don't whine about modes on symlinks.phk2000-10-061-0/+1
|
* PR: 21729murray2000-10-052-0/+4
| | | | | | | | | Approved by: jkh Write kern_securelevel_enable variable to rc.conf if user selects medium or low security in sysinstall. This overrides the case where a user selects fascist security and then tries to go back to a lower setting.
* If user selects no distributions at all, assume "User" asjkh2000-10-052-6/+12
| | | | | | | | a default. This should prevent people from whacking return at the Distributions menu and getting nothing selected as a result (a minimal "standard" system will at least install). Flagged as big tech support headache by: Chris Shumway <cshumway@osd.bsdi.com>
* Fix abuse of the Pa, Nm and Ar macros. This necessitated a rewordingsheldonh2000-10-051-35/+39
| | | | | | of the description for the "power" internal command. Reviewed by: sanpei
* check {IO,IRQ}_ASSIGNED flags beforesanpei2000-10-041-3/+8
| | | | | | | | release {io,irq} resources. fix multi io window in release io routine PR: 20454
* Make the output of mtree(8) more systematic and machine readable.phk2000-10-033-48/+46
| | | | | | | | | | | | The new format is: filename {changed,missing,extra} $field expected $foo found $bar ... Fix various bugs along the way: Don't complain about directory sizes differing. Correctly check flags.
* Reflect new packet option default.rnordier2000-10-021-6/+6
|
* Set MAINTAINER.rnordier2000-10-023-0/+6
|
* Added NEC PC-9801-83, 84, PC-9801-103, 104, PC-9801N-25 and PC-9801N-J02Rnyan2000-10-022-0/+2
| | | | | | | | support which use National Semiconductor DP8393X (SONIC) as ethernet controller. Currently, this driver is used on only PC-98. Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp> Obtained from: NetBSD/pc98
* Make reconfiguring an external service as builtin service work.dwmalone2000-10-021-0/+1
| | | | | | PR: 21650 Submitted by: ben Tested by: dan@ducky.nz.freebsd.org
* Stop internal ident service spinning until the timeout if thedwmalone2000-10-021-0/+2
| | | | | | | connection goes away. Spotted by people on -STABLE about 2 weeks ago. Submitted by: Based on a patch by alfred and Maxime Henrion <mux@qualys.com>
* Fix StallOp implementaion. I've noticed that StallOp corresponds toiwasaki2000-10-022-2/+1
| | | | | | | OsdSleepUsec(), SleepOp corresponds to OsdSleep() by reading ACPICA source code. - Add OsdSleepUsec() which uses DELAY() simply. - Change unit of acpi_sleep() argument; microseconds to milliseconds.
* Really fix the struct callout collision. AMD does not need topeter2000-10-021-1/+1
| | | | | | | #include <sys/mbuf.h>. (which #include's <machine/mutex.h> and then <sys/proc.h> and then <sys/callout.h>, leading to the collision). <sys/mbuf.h> is really one of those 'no user servicable parts inside' things.
* fix some minor problem in PIOCSRESOURCE ioctl.sanpei2000-10-011-2/+2
| | | | | | | | | | | | | | - If resource which was allocated for pcic was requested via this ioctl, bus_alloc_resource would be succeeded and that resource was returned as free resource. So check whether requested resource was used for pcic or not before bus_alloc_resource test. - merge SYS_RES_IRQ routine into other SYS_RES_* routine and clean up. problem reported by: Yohei Terada <terada@jiro.c.u-tokyo.ac.jp>
* Remove ACPI_NO_OSDFUNC_INLINE option from kernel configuration. Nowiwasaki2000-10-012-0/+5
| | | | | | | that it's enabled in acpireg.h only if DIAGNOSTIC option is specified. ACPICA OSD functions will be compiled in machine/acpi_machdep.c again tentatively (if DIAGNOSTIC option is specified). # Should we have acpica_osd.c ?
* - Add acpi_disable_events() and set it with EVENTHANDLER_REGISTER in order toiwasaki2000-09-302-4/+20
| | | | | | | | avoid power on again problem after acpi_soft_off() calling. - Implement SleepOp/StallOp in AML interpreter. Also provide ACPICA compatibility. - Minor changes on __inline function declaration in acpica_osd.h (obtained from NetBSD porting).
* Update include paths for new header locations.msmith2000-09-308-8/+15
| | | | Submitted by: iwasaki
* More updates to the ACPI code:msmith2000-09-302-2/+7
| | | | | | | | | | | | | | | - Move all register I/O into acpi_io.c - Move event handling into acpi_event.c - Reorganise headers into acpivar/acpireg/acpiio - Move find-RSDT and find-ACPI-owned-memory into acpi_machdep - Allocate all resources (except those detailed only by AML) as real resources. Add infrastructure that will make adding resource support to AML code easy. - Remove all ACPI #ifdefs in non-ACPI code - Removed unnecessary includes - Minor style and commenting fixes Reviewed by: iwasaki
* Add ia64 support.dfr2000-09-294-0/+6
|
* Adjust for new location and name of kernel.jkh2000-09-292-66/+34
| | | | | PR: 21423 Reported by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
* Fix cosmetic error in rmjob message.wollman2000-09-271-2/+0
| | | | PR: 21006
* Set SO_REUSEADDR so that lpd can start while old lpd connections are stillwollman2000-09-271-2/+15
| | | | | | | winding down (or timing out). Also, be slightly more informative in mcleanup() about why lpd is exiting. PR: 21595
* Fix specification for ftp5.fr.freebsd.orgjkh2000-09-272-2/+2
| | | | Reported by: Jean-Claude Christophe <jch@oleane.net>
* Fix the http proxy fetch code.jkh2000-09-254-14/+40
| | | | | Submitted by: Philipp Mergenthaler <p@i609.hadiko.de> PR: 21449
* Re-add -P option (for POSIX-like command line interface)ache2000-09-252-6/+11
|
* GC some old no longer supported options.phk2000-09-251-1/+0
|
* Fix typomarko2000-09-251-1/+1
|
* Make the ``-r'' option actually do something :)marko2000-09-252-1/+3
| | | | | | Also tidy up it's output. Approved by: jkh
* Fix a small bogon with a boolean yes/no question check.jkh2000-09-252-4/+4
|
* Add Lithuania.jkh2000-09-242-0/+4
| | | | Submitted by: Domas Mituzas <midom@dammit.lt>
* One small tweak on the security profile code; don't be verbose ifjkh2000-09-244-52/+58
| | | | | setting up default values for an express/custom install. It would be confusing to see the informational popup completely out of context.
* Add forgotten -n option to SYNOPSIS sectionalfred2000-09-231-1/+1
| | | | Submitted by: Reinier Bezuidenhout <rbezuide@oskar.nanoteq.co.za>
* add ``xe'' driversanpei2000-09-222-0/+2
| | | | Approved by: jkh
* Update the mptable manpage to remove mention of kernel options (whichmsmith2000-09-221-2/+3
| | | | there aren't going to be shortly).
* Stop printing out the Nfoo options help, since these tunables are about tomsmith2000-09-221-26/+0
| | | | go away.
* One whack at the idea of having "security profiles" which select thejkh2000-09-2211-316/+454
| | | | | | | | appropriate(?) defaults for "low", "medium" and "high" security environments. Medium is basically what we currently have with a little seat-belt tightening where it made sense. Low is the same as medium but without the tightening. High is positively fascist with nothing turned on by default and an automatic call to 911 if it can find a modem.
* Remove the bogus check against "none" for release names (whichjkh2000-09-223-9/+11
| | | | | | | | | | really doesn't make any sense, what was I smoking) and allow the more canonical usage of "any" for either side of the comparison for release name or architecture (meaning you can also set CD_VERSION=any in a cdrom.inf file to cause sysinstall to always match it and likewise with the architecture, if specified). Sensibly suggested by: Makoto MATSUSHITA <matusita@jp.FreeBSD.org>
* "zope language" --> "zope platform".sobomax2000-09-221-1/+1
| | | | Requested by: asami
OpenPOWER on IntegriCloud