summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Remove the use of a dash in the usage, since this isn't in keepingsheldonh2000-07-032-2/+2
| | | | | | | with other utilities which offer similar functionality. This change was discussed with ache, who brought in the ability to use a dash to represent stdin in comcontrol.
* What the commit log for rev 1.16 neglected to mention was that thesheldonh2000-07-031-1/+1
| | | | | | delta touched the Name Description (Nd). It introduced a grammar error and did not fix the extraneous punctuation (Nd lines are not terminated with a period).
* Explicitly state that mountd can be made to re-read the exports file,sheldonh2000-07-031-0/+19
| | | | | | even though this may seem obvious to some folks. Requested by: obrien
* Print the correct speed when speed is less than 1MB/s.n_hibma2000-07-011-1/+1
| | | | | | Fixed in cam_xpt.c, r1.81 Submitted by: Gerd Knops <gerti@bitart.com>
* Backout rev 1.8. This really does not give us the version numberps2000-07-012-5/+5
| | | | | | of the kld's. Pointed out by: bp
* "Ease understanding" of how -punch_fw works.ru2000-06-291-9/+11
| | | | Reviewed by: sheldonh
* When printing out the transfer rate display for 'camcontrol inquiry',ken2000-06-281-1/+2
| | | | | | | | | | | | | use the current setting for tagged queueing when deciding whether or not to print "Tagged Queueing Enabled" instead of using the device's actual capabilities. This is more consistent with the rest of the transfer rate display, which relies on current settings, and is more consistent with the way we display things on boot. Reported by: Gustavo Vieira Goncalves Coelho Rios <kernel@tdnet.com.br> Reviewed by: mjacob
* Catch the usage() function up to the command line changes. Add -I andjhb2000-06-272-2/+2
| | | | remove -e.
* Added new option (-punch_fw) which allows to `punch holes'ru2000-06-272-2/+47
| | | | | | | in the ipfirewall(4) for incoming FTP/IRC DCC connections. Submitted by: Rene de Vries <rene@canyon.demon.nl> Rewritten by: ru
* - mdoc(7) style cleanupru2000-06-271-276/+300
| | | | - new version of security note from alex.
* Back out both previous commits.alex2000-06-261-200/+168
| | | | | | | | | | | | The first one got screwed up by me because of rev 1.33, which was incorrectly merged into my patches by myself, and so Ruslan (maintainer) asked me to back them out. Ruslan was ok with the second one, but since it needs rework, it'll be readded later, when it doesn't conflict with the backout of the first one. Pointy hat: alex Beer on next meeting: ru
* Add note about security concerns w/o a firewall but other machinesalex2000-06-261-0/+8
| | | | | | | | on your LAN to the "RUNNING NATD" introduction. In a different way requested by: PR: 18802 Submitted by: Zachary K Drew <drew0054@tc.umn.edu>
* mdoc style cleanup.alex2000-06-261-168/+192
| | | | Reviewed by: sheldonh
* display version number of each kld module when usingjmb2000-06-202-5/+5
| | | | the -v flag.
* Remove ``pptpalias'' since this is now done transparently by libalias(3).ru2000-06-202-51/+1
|
* Reorder the "prob" section in the output of list/show so it can be copy/pastedbillf2000-06-181-5/+6
| | | | | | | into add without problems. The previous commit had the other half of this original patch which handled tcpflags/tcpflgs confusion in output/input.
* Implement SIOCSIFLLADDR, which allows you to change the link-levelwpaul2000-06-162-1/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | address on an interface. This basically allows you to do what my little setmac module/utility does via ifconfig. This involves the following changes: socket.h: define SIOCSIFLLADDR if.c: add support for SIOCSIFLLADDR, which resets the values in the arpcom struct and sockaddr_dl for the specified interface. Note that if the interface is already up, we need to down/up it in order to program the underlying hardware's receive filter. ifconfig.c: add lladdr command ifconfig.8: document lladdr command You can now force the MAC address on any ethernet interface to be whatever you want. (The change is not sticky across reboots of course: we don't actually reprogram the EEPROM or anything.) Actually, you can reprogram the MAC address on other kinds of interfaces too; this shouldn't be ethernet-specific (though at the moment it's limited to 6 bytes of address data). Nobody ran up to me and said "this is the politically correct way to do this!" so I don't want to hear any complaints from people who think I could have done it more elegantly. Consider yourselves lucky I didn't do it by having ifconfig tread all over /dev/kmem.
* Remove unused parameter.ru2000-06-161-6/+6
|
OpenPOWER on IntegriCloud