summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Some tweaks to get this to cope with ELF where the address space startspeter1997-09-131-8/+18
| | | | | | | | | | higher up in memory (0x0800000 upwards) rather than near zero (0x1000 for our qmagic a.out format). The method that mount_mfs uses to allocate the memory within data size rlimits for the ram disk is entirely too much of a kludge for my liking. I mean, if it's run as root, surely it makes sense to just raise the resource limits to infinity or something, and if it's a non-root user mount (do these work? with mfs?) it could just fail if it's outside limits.
* If a host in an export line in /etc/exports (or within a netgroup onjlemon1997-09-121-7/+18
| | | | | | | | an export line) is unresolvable, make a note of it via syslog and skip that individual host instead of skipping the entire line. PR: 1981, 815 Perused by: joerg
* Fix typo in comment.danny1997-09-121-1/+1
|
* Mention the IPFIREWALL_DEFAULT_TO_ACCEPT option and it's effect onpeter1997-09-101-2/+14
| | | | rule 65535
* Fix typo (65434 -> 65534)peter1997-09-101-1/+1
|
* tell dset how to save the pnp info in the kernel...jmg1997-09-091-0/+86
|
* Ingored incoming packets are now dropped whenbrian1997-09-062-2/+20
| | | | | deny_incoming option is set to yes. Submitted by: Ari Suutari <ari@suutari.iki.fi>
* Fix my e-mail address. Old work addres is no good.eivind1997-08-311-1/+1
|
* fix a few spelling changesjmg1997-08-301-1/+1
| | | | | | | | Submitted by: Josh Gilliam Closes PR's: 4429, 4431-4438 PS: He has agreed to submit all contrib fixes back to the original author.
* Added hw.machine_arch.kato1997-08-301-1/+2
|
* Plug info agthering attack as pointed out on Bugtraq recently.guido1997-08-291-9/+14
| | | | Obtained from: OpenBSD
* .Xr vnconfig 8. This was suggested by Dworkin Muller <dworkin@village.org>imp1997-08-261-2/+3
| | | | | when he tried to figure out how to swap to a file and had to ask me for help.
* Fixed an example.bde1997-08-252-2/+2
|
* Removed duplicate MOPT_FORCE and sorted the first one. Rev.1.5 andbde1997-08-252-6/+4
| | | | Lite2 messed up the ordering differently.
* Moved getmntops() stuff back to mntopt.h so that it is visible in otherbde1997-08-254-16/+10
| | | | mount utilities.
* Backed out previous commit - don't clobber the (normally equivalent)bde1997-08-252-4/+2
| | | | default for NOSHARED.
* Support all mount flags that are supported in the kernel.bde1997-08-253-3/+12
|
* add Id line (so that the commit on RELENG_2_2 will have it too)jmg1997-08-251-0/+1
|
* Forgot to cvs add this new file.steve1997-08-242-0/+80
|
* Try to avoid mounting filesystems multiple times. Also whilesteve1997-08-2414-58/+198
| | | | | | | I'm here do some -Wall cleaning. PR: kern/1839 Reviewed and corrected by: joerg
* 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
OpenPOWER on IntegriCloud