summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Add a "-i" option ("insecure") which disables the checks forjdp2000-08-074-35/+36
| | | | | | | root ownership, etc. I will soon commit a companion knob for "/etc/rc.conf". Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
* 0xA0 = Suspend to disk.joe2000-08-072-0/+2
|
* Consistency fix.rnordier2000-08-061-1/+1
|
* Fix world-breakage: warnx("..') --> warnx("...")alex2000-08-051-1/+1
| | | | | | Submitted by: Alain Thivillon <Alain.Thivillon@hsc.fr>, Udo Erdelhoff <ue@nathan.ruhr.de> Approved by: green
* Don't call errx() without a format string, to protect against possiblekris2000-08-051-4/+4
| | | | | | % characters in localized error messages from ipsec_strerror(). Obtained from: OpenBSD
* Don't call warnx() without a format string (localized error messageskris2000-08-051-4/+4
| | | | | | could conceivably cause a crash). Obtained from: OpenBSD
* Resolve conflicts from vendor merge.sheldonh2000-08-026-17/+19
|
* Use ${LIBDATADIR} instead of hardcoding /usr/libdata into thesheldonh2000-08-012-2/+2
| | | | | | | ${TABDIR} path. PR: 17945 Submitted by: Benno Rice <benno@netizen.com.au>
* Darren,darrenr2000-07-301-1/+4
| | | | | | | | | | | Could you please enable my "state top" patches in the FreeBSD distribution. I developped the stuff under FreeBSD, so it must be good there :-) Here is a patch (relative to the RELENG_4 branch). Thanks, Frank
* Rename the loadable nullfs kernel module: null -> nullfssheldonh2000-07-282-10/+10
|
* Add reference to sysctl.conf.obrien2000-07-271-0/+1
|
* This commit was generated by cvs2svn to compensate for changes in r63925,obrien2000-07-271-0/+511
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Alternate script for dhclient to use in setting the received configurationobrien2000-07-271-0/+511
| | | | | | | on the host. PR: 15342 Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
* Fix the reporting of a raw device node.asmodai2000-07-261-2/+2
| | | | | | | Change a warnx to an errx since we should only attempt to use this utility on a character device. Approved by: green
* Describe the syncer(4)-related sysctls kern.filedelay, kern.dirdelaysheldonh2000-07-261-1/+3
| | | | and kern.metadelay, thanks to mckusick's feedback.
* If a directory is world-writable or is not owned by root, skip itjdp2000-07-263-5/+35
| | | | | | | | | | | and emit a warning. This is a security measure since ldconfig influences the shared libraries used by all programs. I think the check should be made even more stringent by also ignoring group-writable directories. I will make that change soon unless we encounter a good reason not to do it. Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
* If the lost+found directory is created by fsck, it will do a cacheino()mckusick2000-07-243-3/+15
| | | | | | | | | | | | | | which sets the inoinfo's i_parent and i_dotdot to 0, but they never get set to ROOTINO. This means that propagate will never find lost+found and its descendents, subdirectories will remain DSTATE (instead of DFOUND) even though they *are* correctly linked in, and pass4.c will try to clear them unsuccessfully, thinking that there is no link count from the DSTATE directory's parent. The result is that you need to run fsck twice and get link count increasing errors (which are unexpected and fatal when running in preen mode). The fix is to set i_parent and i_dotdot to "parent" after the second cacheino() call in dir.c:allocdir(). Obtained from: "Ethan Solomita" <ethan@geocast.com> (of the NetBSD Project)
* Blah, need to add /usr/bin to the path also.obrien2000-07-211-1/+1
| | | | | | Of course this is a bug in that the dhclient script will not work properly if one has a local / and an NFS mounted /usr and needs to obtain its IP address via DHCP before being able to mount /usr.
* Fix a really stupid bug where I assumed sizeof(int) == 2. This resulted injhb2000-07-212-2/+2
| | | | | | | MBR's with a 4th slice failing the signature check and fdisk saying that they are invalid. Submitted by: bde
* Need /usr/sbin for arp(8).obrien2000-07-201-1/+1
|
* Patchlevel 3 of the ISC 2.0 dhcp client now requires us to give it theobrien2000-07-201-0/+1
| | | | shell script's PATH setting in the environment.
* Show the actual command line usage in the man page and usage error string.archie2000-07-192-5/+17
|
* Make "ifconfig" with no arguments equivalent to "ifconfig -a".archie2000-07-181-0/+4
|
* Cross-reference mount_nfs(8) and showmount(8).sheldonh2000-07-181-1/+2
| | | | | PR: 20008 Reported by: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
* Order the cross-references in the SEE ALSO section, in preparationsheldonh2000-07-181-2/+2
| | | | for PR 20008.
* - Don't try to free mboot.bootinst before it has been allocated. If, forjhb2000-07-172-4/+4
| | | | | | | | | | some reason, mboot.bootinst is not initialized to NULL at the beginning of the program, then the last commit to this would try to free whatever bogus address is in it. - Restore the behavior of free()'ing the mboot.bootinst buffer after we abuse it to determine the sector size of the disk (as clearly noted in the comments). Properly fix the double free() bug by setting the pointer to NULL after we free it.
* Suggest looking at rc.conf(5) on how to start natd(8) during boot.ru2000-07-171-0/+3
| | | | Submitted by: dcs
* Fix a paste-o in the tcpoptions check (not a security problem, just abillf2000-07-171-1/+1
| | | | | | error in the usage printf()) Reviewed by: rwatson
* Don't try to make files immutable (ie. chflags) before setting access times.dwmalone2000-07-162-4/+4
| | | | | | PR: 19973 Submitted by: Arjan de Vet <Arjan.deVet@adv.iae.nl> Reviewed by: Matthew Jacob <mjacob@feral.com>
* Make a tighter test for valid inode numbers in getnextinode().mckusick2000-07-153-6/+9
|
* Fix memory leak/double free found by phkmallocache2000-07-152-16/+20
| | | | Uniform mboot.bootinst allocation code to be independent of functions order
* * Clarify text on choosing a dump deviceben2000-07-141-7/+17
| | | | | | | | | | | | * Remove the text which states only devices with minor number 1 can be used - this is no longer true. * Mention that dumpon(8) cannot be used to capture dumps from panics during kernel initialization. * /dev/wd -> /dev/ad PR: 19848 Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de> Reviewed by: sheldonh
* Clarify "mount -a -t" example - it only unmounts stuff in /etc/fstab.dwmalone2000-07-131-2/+5
| | | | | | | | Fix a typo. PR: 19438 Submitted by: Eoin Lawless <eoin@maths.tcd.ie> Reviewed by: sheldon
* Note that "ether" is a supported address family for setting addresses.jhb2000-07-121-0/+1
|
* - Always respect cylinder boundaries when creating slices unless the userjhb2000-07-122-34/+140
| | | | | | explicitly sets the geometry. - Allow for MBR boot loaders that are longer than one sector. Only accept boot loaders if their size is a multiple of the sector size, however.
* Add support to the 'ether' address family to support setting of addresses.jhb2000-07-121-23/+28
| | | | | | This allows you to set ether addresses with 'ifconfig ether'. Also, use some saner socket address families that allow several special case tests to be removed.
* Ensure that block and character devices as well as fifo's and socketsmckusick2000-07-123-0/+18
| | | | | | | | | all have zero length. A non-zero length panic's the kernel when one of these is deleted. PR: 19426 Submitted by: Ian Dowse <iedowse@maths.tcd.ie> Reviewed by: dwmalone@FreeBSD.org
* Array of long support.phk2000-07-111-4/+10
| | | | Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
* Don't call sprintf() with no format string.kris2000-07-101-1/+1
|
* Don't call warn() with no format string.kris2000-07-101-1/+1
|
* Don't call err with no format string.kris2000-07-102-2/+2
|
* Make "ldconfig" with no arguments behave the same as "ldconfig -R".jdp2000-07-092-1/+4
| | | | Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
* Teach fsck about snapshot files. These changes should have nomckusick2000-07-0618-45/+363
| | | | | | | effect on operation of fsck on filesystems without snapshots. If you get compilation errors, be sure that you have copies of /usr/include/sys/mount.h (1.94), /usr/include/sys/stat.h (1.21), and /usr/include/ufs/ffs/fs.h (1.16) as of July 4, 2000 or later.
* Correct style bugs in previous commitkris2000-07-062-4/+4
|
* Add the snapshot option to mount_ufs.mckusick2000-07-064-0/+4
|
* Sync with KAMEkris2000-07-051-1/+1
| | | | Obtained from: KAME
* Sync with KAMEkris2000-07-051-54/+135
| | | | Obtained from: KAME
* Sync with latest KAME code.kris2000-07-052-234/+635
| | | | Obtained from: KAME
* Support for unsigned integer and long sysctl variables. Update thejhb2000-07-051-2/+10
| | | | | | | | | SYSCTL_LONG macro to be consistent with other integer sysctl variables and require an initial value instead of assuming 0. Update several sysctl variables to use the unsigned types. PR: 15251 Submitted by: Kelly Yancey <kbyanc@posi.net>
* synchronize with latest kame tree.itojun2000-07-049-353/+543
| | | | | behavior change: policy syntax was changed. you may need to update your setkey(8) configuration files.
OpenPOWER on IntegriCloud