summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Mention the various reasons for messages of the form:joerg1997-08-242-2/+34
| | | | | | xxxxx filesystem is not available Inspired by: PR 3311, and a following discussion with Mikhail
* Make it explicit that arguments to -c are in hex, while other numbers arejoerg1997-08-241-11/+22
| | | | | | | | in usual "C" notation. Also fixed the examples section. PR: 3313
* Always include the section name in the .Xr macro and cleanupsteve1997-08-242-22/+28
| | | | | | | .Nm macro usage. PR: docs/3940 Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
* Remove the reference to the nonexistant dump(5) manpage.steve1997-08-231-2/+1
| | | | PR: docs/3704
* Protect against target containing a '%' which might be misinterpretedsteve1997-08-232-4/+14
| | | | | | by err(3). PR: bin/3864
* Make the daemon process a true daemon by calling setsid().joerg1997-08-231-1/+2
| | | | | PR: bin/3202 Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
* another -I/sys to -I${.CURDIR}/../../sysjmg1997-08-221-1/+1
|
* Add -R (rescan or refresh) option to rescan and rebuild the hintspeter1997-08-222-13/+27
| | | | | | | | | | | file based on the previous list of directories stored there which should overcome a weakness of the '-m' switch which can only add libs. This is an ideal way of updating the hints list after adding or removing a shlib since it will remove entries that are gone and doesn't need to have all the directories spelled out each time. (eg: rm -f /usr/lib/libtcl75*; ldconfig -R) This only works for version 2 hints files (which we've been generating for a year or so) which store the path.
* Enable simultaneous use of -u and -p options. Release any resources beforejlemon1997-08-211-7/+10
| | | | | | calling post-processing script. PR: 2864 Submitted by: Mike Spengler <mks@msc.edu>
* Bring comment on '-a' flag in line with reality.danny1997-08-211-2/+1
|
* Fix a typo and while here cleanup the use of the .Nm macro.steve1997-08-201-6/+7
| | | | | PR: docs/4339 Submitted by: Matthew Hunt <mph@pobox.com>
* ".if exists(${CURDIR}/../../secure)" rather than testing relative to thedavidn1997-08-181-2/+2
| | | | object directory.
* Test that rc.shutdown exists before attempting to run it - silentlydavidn1997-08-181-1/+13
| | | | return success if it doesn't to prevent any unwanted error msgs.
* Add an ntohs() and format an IP address with inet_ntoa() whenfenner1997-08-111-3/+3
| | | | | | | printing the details of a received ICMP packet. PR: bin/3766 Submitted by: denny1@home.com (Denton Gentry)
* - Buffer space problem found by Sergio Lenzi <lenzi@bsi.com.br>brian1997-08-105-92/+297
| | | | | | | | fixed. Natd now waits with select(2) for buffer space to become available if write fails. - Packet aliasing library upgraded to 2.2. Submitted by: Ari Suutari <suutari@iki.fi>
* If, in a level N dump, the file with the inode number X is ajoerg1997-08-101-2/+6
| | | | | | | | | non-directory file with more than one link to it, but in a level M > N dump, the file with the inode number X is a plain file, "restore", when restoring the level M dump, won't remove all the hard links to the old file. Submitted by: guy@netapp.com (Guy Harris)
* Support interface names up to 15 characters in length. In order toalex1997-08-081-4/+4
| | | | | | | | | | | | accommodate the expanded name, the ICMP types bitmap has been reduced from 256 bits to 32. A recompile of kernel and user level ipfw is required. To be merged into 2.2 after a brief period in -current. PR: bin/4209 Reviewed by: Archie Cobbs <archie@whistle.com>
* don't lose track of how many packets we've sentjulian1997-08-071-3/+3
| | | | | | if we get 'host unreachable'. (or any other errors than ENOBUFS) makes -c work again even if you can't get there.. This really needs a rework..
* runshutdown(): get rid of getdtablesize loop, it gains nothing nowache1997-08-061-4/+1
| | | | but can waste time if many descriptors are available
* rc.shutdown fixes:ache1997-08-061-12/+12
| | | | | | 1) revoke -> HUP 2) controlling terminal already present 3) add missing setprocresources call
* Add /etc/rc.shutdown capability to init.davidn1997-08-023-18/+171
| | | | | Add sample /etc/rc.shutdown (which is just a shell for now). Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>
* Allow service names as the divert/tee arg.brian1997-07-251-5/+19
|
* Cleaned up revisions 1.22 and 1.23.bde1997-07-201-21/+24
| | | | | Fixed minor bugs in revisions 1.12 and 1.23 (variables assigned to in signal handlers weren't declared as volatile).
* Calculate and print out the standard deviation of the round trip times.wollman1997-07-183-19/+33
| | | | | | | This isn't necessarily the best statistic, but it is by far the easiest to calculate. Update the man page to be more explicit about precisely which statistics are printed out. Revert some of jmg's bogus man page changes from rev 1.11.
* Check if routed had the same problems that route(1) had.julian1997-07-182-19/+35
| | | | | | | The answer is not really, but almost. it sent data that was ok, though it was a hack, but it was bug-compatible with the kernel on receiving them. This also had been fixed with a hack.. I hacked it better I think.
* fix what appears to me to be absolutle bogus codejulian1997-07-181-6/+7
| | | | | | | | to do with netmasks.. we fed totally bogus data into the kernel to do with default routes and it just believed us. this led to: 1/ kernel panics 2/ the default route refusing to be deleted or added (depending on a number of factors, usually it worked ok.)
* Merge WebNFS support from NetBSD.dfr1997-07-162-2/+47
| | | | Obtained from: NetBSD
* Removed "hack to prevent overflow of a 32bit block number". Lite2 has abde1997-07-131-3/+1
| | | | | | | better hack in ffs_vfsops.c. The hack here restricted the maximum file size to 2^39 bytes (512GB). fs_bsize * 2^31 - 1 (16TB for the default blocksize of 8K) would have been better. There is no good way to remove this limit on old BSD4.4 file systems.
* kill the undeadpeter1997-07-132-733/+0
|
* Fix a problem introduced with a recent change that caused a hang withsef1997-07-131-10/+28
| | | | | | | | | unreachable hosts. Note that most of this consists of telling SIGINT and SIGALRM to interrupt the system call, instead of restarting them. Also try to get rid of some potential races Bruce didn't like; hopefully they aren't a problem (potential or otherwise) now. Reviewed by: julian
* Allow ldconfig to accept files (containing directory paths) as well asjkh1997-07-112-9/+73
| | | | | | directory paths. Reviewed by: jkh & jdp Submitted by: Hans Zuidam <hans@brandinnovators.com>
* don't count packets as being transmitted when we know that the sendto()julian1997-07-091-2/+4
| | | | failed (e.g. ENOBUFS)
* ping called printf() from a signal handler..julian1997-07-091-5/+26
| | | | | | | | | | this is a NO-NO re-arange to just set a "please die immediatly" flag in the signal handler and handle this in the normal thread. also handle ping -f better on slow links by backing off a bit when we get a ENOBUFFS from the sendto().
* Move logwtmp(shutdown) call before any real action in death().ache1997-07-081-4/+4
|
* 1. Replace malloc+bzero by callocache1997-07-051-28/+5
| | | | 2. Revoke internal active session list only now, not whole /etc/ttys
* Add -D_NEW_VFSCONF to eliminate compilation warningache1997-07-051-2/+2
|
* Document recent changes (config files and -D...) and not so recent changesbde1997-07-051-42/+106
| | | | | | (bios drive number...). Submitted by: mostly by yokota
* death: revoke all lines listed in /etc/ttys instead of sending HUPache1997-07-041-3/+27
| | | | to all processes
* Add Xref to nologin(5).max1997-07-041-0/+1
|
* Die and stay dead. Ya got it?!jdp1997-07-042-776/+0
|
* Include <libutil.h> instead of private declarationsache1997-07-031-8/+2
|
* Remove unneded cast in login_getclassbyname which cause warningache1997-07-021-2/+2
|
* This commit was generated by cvs2svn to compensate for changes in r27163,bde1997-07-023-0/+1121
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import Lite2's src/sbin, except for XNSrouted and routed. All relevantbde1997-07-0219-84/+1277
| | | | | | | | | | files in src/sbin are off the vendor branch, so this doesn't change the active versions.
* | Import Lite2's src/sbin, except for XNSrouted and routed. All relevantbde1997-07-021-0/+388
| | | | | | | | | | files in src/sbin are off the vendor branch, so this doesn't change the active versions.
* | Remove lines inside #ifdef 0/#endif.charnier1997-06-302-64/+2
| |
* | Configure static linkage in the normal way (default to -static usingbde1997-06-291-2/+2
| | | | | | | | NOSHARED?= yes).
* | Print fs_maxfilesize.bde1997-06-291-2/+2
| |
* | Prepare to remove the declaration of sys_siglist from <unistd.h>.bde1997-06-291-2/+2
| | | | | | | | | | | | It should only be declared in <signal.h> if at all. Modload used to depend on getting it from <unistd.h> because it only included <sys/signal.h>.
* | Attempt to open the device for reading before actually adding the devicepst1997-06-281-1/+14
| | | | | | | | | | | | | | | | | | to the session list. If the device comes back as unconfigured, just ignore that line in /etc/ttys. If someone HUP's init, we'll try again. This change stops getty's from hanging on vty and sio ports that don't exist, either due to LKM drivers not being loaded, or probes failing. Reviewed by: bde
OpenPOWER on IntegriCloud