summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Bring the man page more into line with reality.alex1996-06-151-259/+94
|
* Our kernel is not called /netbsd. ;)asami1996-06-141-4/+4
| | | | Submitted by: "Philippe Charnier" <charnier@lirmm.fr>
* Big sweep over ipfw, picking up where Poul left off:alex1996-06-091-23/+197
| | | | | | | | | | | | | | | - Filter based on ICMP types. - Accept interface wildcards (e.g. ppp*). - Resolve service names with the -N option. - Accept host names in 'from' and 'to' specifications - Display chain entry time stamps with the -t option. - Added URG to tcpflags. - Print usage if an unknown tcpflag is used. - Ability to zero individual accounting entries. - Clarify usage of port ranges. - Misc code cleanup. Closes PRs: 1193, 1220, and 1266.
* Return make_union, s-bit removedache1996-05-191-2/+1
|
* Disable setuid permission for mount_union(1).pst1996-05-172-6/+0
| | | | | | | | | This covers the security problem descibed in SA-96:10 and Jeff says that when we upgrade to Lite2 (which fixes this problem), mount no longer needs to be setuid, so we'll never be going back. Submitted by: hsu Reviewed by: pst
* Large security hole in mount_union, the underlying filesystem for which doesn'tjkh1996-05-171-1/+2
| | | | | even work. Until pst wakes up, best action deemed to be the simple disabling of this command.
* Accept mount(8)'s calling convention of passing just the filesystem typewollman1996-05-142-9/+23
| | | | as argv[0].
* One program I missed in removing MOUNT_* constants.wollman1996-05-133-51/+63
|
* Get rid of the last vestiges of the old MOUNT_* constants in thewollman1996-05-1327-519/+376
| | | | | | | | | mount_* programs. While we're at it, collapse the four now-identical mount programs for devfs, fdesc, kernfs, and procfs into links to a new mount_std(8) which can mount any really generic filesystem such as these when called with the appropriate argv[0]. Also, convert the mount programs to use sysexits.h.
* Document LFS as broken.jkh1996-05-122-0/+6
|
* Some cosmetics and some better error-checking.phk1996-05-111-46/+43
| | | | | | Reviewed by: phk Submitted by: "Daniel O'Callaghan" <danny@panda.hilink.com.au> Submitted by: Archie Cobbs <archie@whistle.com>
* From: Terry Lambert <terry@lambert.org>nate1996-05-093-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | Subject: Fix for annoying fsck bug Date: Wed, 24 Jan 1996 13:33:29 -0700 (MST) The following small diff fixes the annoying fsck bug that causes it to need to be run twice to end up with correct reference counts for inodes for directories that had subdirectories relocated into the lost+found directory. I found the need to rerun *extremely* annoying. This fix causes the count to be correctly adjusted later in pass 4 by correctly stating the parent reference count. Note that the parent reference count is incremented when the directory entry is made (for ".."), but is not really there in the case of a directory that does not make an entry in its parent dir. This can be tested by waiting for the inode sync after cd'ing from a shell into a test fs. Then you "mkdir xxx yyy zzz", wait a second, and hit the machine reset button. Reviewed by: nate (Tested lots of crashes :) Submitted by: Terry Lambert <terry@lambert.org>
* Update route(8) to print out current meanings of rt_flags RTF_* bits.wollman1996-05-081-4/+10
|
* Connect ccd man page and ccdconfig to parent Makefiles.asami1996-05-041-1/+1
| | | | Ok'd by: peter
* Better method of choosing libdescrypt/libscrypt.markm1996-05-041-6/+6
|
* Split CRYPTOBJDIR -> SCRYPTOBJDIR/DESCRYPTOBJDIR for init(8)markm1996-05-041-2/+8
|
* Stupid bug, the default man page goes to section 1, not 8.joerg1996-05-031-0/+1
| | | | | | Closes PR #misc/1172: Error in sbin/dset/Makefile Submitted by: masafumi@tky007.tth.expo96.ad.jp (Masafumi NAKANE)
* Specify FreeBSd on the .Os line, since this is a FreeBSD-specificmpp1996-05-021-4/+3
| | | | program. Use the .Fx (FreeBSD) macro in the HISTORY section.
* Oops, forgot to `cvs add' this one first...joerg1996-05-021-0/+80
|
* Add a man page.joerg1996-05-021-1/+0
|
* NBPG -> getpagesize()phk1996-05-022-2/+2
|
* Default to udp if neither udp nor tcp is specified. The previous revisionbde1996-05-011-1/+2
| | | | | was broken. It forced udp in all cases except the extremely unusual case argc == 0.
* changed a strchr to a strrchr so that modules with a `.' in the patherich1996-04-261-2/+2
| | | | can be loaded (e.g. ./mymod.o)
* Fixed a couple of format strings to match the change of pid_t from longbde1996-04-131-1/+1
| | | | | | to int32_t. I only fixed the ones that I noticed the warnings for. Perhaps most of the format strings are correct now because they were wrong before. Except of course if int32_t isn't compatible with `int'.
* default to udp if no flags specified...closes PR#bin/759scrappy1996-04-131-0/+1
| | | | - should this be documented in the man page?
* removed xref to icheck(8), ncheck(8) as they don't existscrappy1996-04-111-3/+1
|
* Fix a core dump when the user gives "-w" without an "="smpatel1996-04-101-1/+4
|
* English corrections from jdp.ache1996-04-091-18/+23
| | | | Add main purpose description (MSDOS timestamps)
* Do not install the now unsupported netns and netisompp1996-04-081-1/+1
| | | | | related man pages. Comment out cross references to those man pages from other man pages.
* Correct some man page xrefs, and some other minor changes to bring somempp1996-04-082-29/+29
| | | | | | man pages up to mdoc guidelines and fix some minor formatting glitches. Also fixed a number of man pages to not abuse the .Xr macro to display functions and path names and a lot of other junk.
* Correct some man page cross references and file location references.mpp1996-04-074-12/+12
|
* Don't immediately give up if a single read() or write() wasn'tjoerg1996-04-061-5/+31
| | | | | sufficient to transfer all the data from stdin, or to stdout. Working on pipes causes further fragmentation.
* More info and more correctionsache1996-04-051-4/+8
|
* Describe new adjkerntz variant + various changes from jdpache1996-04-051-50/+91
|
* Detect if /etc/wall_cmos_clock gone while adjkerntz paused.ache1996-04-051-1/+6
|
* Dynamically sense /etc/wall_cmos_clock presence/absenseache1996-04-051-20/+8
|
* Fix error with multiply 'adjkerntz -a' copies running.ache1996-04-051-32/+86
| | | | | Manage adjkerntz kernel variable even for UTC clocks. Code cleanup.
* Add a small message to the ``CAVEATS'' section saying if you get thegpalmer1996-04-033-3/+27
| | | | | warning about the root directory, then you could corrupt your filesystem if you write to it. Someone, please, feel free to improve this :-)
* recognize "allow", "accept" and "pass"phk1996-04-031-6/+8
| | | | add new feature for "established"
* A couple of bug-fixes.phk1996-04-021-4/+4
| | | | | Reviewed by: phk Submitted by: "Frank ten Wolde" <franky@pinewood.nl>
* Move rpc.statd and rpc.lockd to usr.sbin via repository copy as perpeter1996-04-0214-2530/+0
| | | | | | discussionn when they were initially added some time ago. These programs are not needed before nfs is up and running to possibly mount /usr so they dont need to be static and on the root fs.
* Some minor tweaks for statdpeter1996-04-014-101/+25
| | | | | | - use rpcgen to generate unmodified code instead of havinf it in the repository - use "natural" function names to avoid conflicts with prototypes etc.
* Tweaks for the stub lockd.peter1996-04-016-242/+46
| | | | | | | - Use rpcgen to generate the unmodified boilerplate code rather than having it in the repository. - Eliminate the conflicting function names by changing them to their "natural" rpcgen generated names
* Fixed a type to match Lite2's fixed-width type changes.bde1996-03-191-1/+1
| | | | Obtained from: 4.4BSD-Lite2
* Change the messages slightly when there is no "mount_type" executableasami1996-03-152-8/+38
| | | | | | | | | | | | | | | | | | | | | found when the user specifies "mount -t type". Instead of printing out one message for each path element (/sbin, /usr/sbin), it prints out: mount: exec mount_type not found in /sbin, /usr/sbin: No such file or directory The code is quite long for such a stupid little piece of aesthesism but it is very straghtforward so I guess it's ok. Besides, I don't want to do a "char foo[100];" and have malloc break down when someone decides to add a few more paths to a variable that's far apart from this code. :) By the way, there is no malloc() off-by-one error for the '\0' at the end of the string although I don't explicitly add 1 to the length. The code allocates strlen(path element)+2 bytes for each path element, and doesn't use the last two bytes (for the delimiting ", "). Reviewed by: the list (I hope)
* Properly distinguish 3 different cases:ache1996-03-122-10/+23
| | | | | No redial command. Empty redial command. Non-empty redial command. Pointed-by: bde
* Re-open line after hangup in any caseache1996-03-121-15/+2
|
* Backout my changes to disallow "mount /mnt /mnt" until I can verifympp1996-03-112-44/+0
| | | | | that nfs mounts work again (I locked up my home machine testing it and can't see what happened until I get home from work tonight).
* Only restrict the user from doing something like "mount /mnt /mnt"mpp1996-03-112-8/+14
| | | | | for file system types that actually cause a panic (ufs, msdos, cd9660). This makes /proc mountable again.
* Do not allow the caller to specify the same path for the specialmpp1996-03-102-0/+38
| | | | | | | | | | | | | device file and the mount point. This prevents the "unexpected recursive lock" panic from happening. This is a temporary fix. A kernel fix would be much much more ugly than this, and still wouldn't be the "right" way to fix it. After some of Terry's file system rework is installed, it will be possible to properly fix this problem in a clean manner. Until then, this change should prevent use from getting a problem report on this every month or so (and I just noticed that someone in one of the freebsd news groups was complaining about this problem, too).
OpenPOWER on IntegriCloud