summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix the vulnerability with TCP ECE packets recently fixed in ipfw.kris2001-01-231-2/+2
| | | | This is untested, but believed to work.
* avoid conflicting #define symbol (s/FW_IFNLEN/IP6&/).ume2001-01-221-3/+3
| | | | Obtained from: KAME
* mdoc police.ben2001-01-221-2/+3
| | | | Submitted by: ru
* man(7) -> mdoc(7).ru2001-01-222-144/+126
|
* Room to hold rules should be dynamically allocated.ume2001-01-201-10/+18
| | | | PR: kern/24248
* Add 'netrange' parameter to 'range' command and fix a couple of typos.ben2001-01-201-3/+3
| | | | | PR: 23984 Submitted by: Jimmy Olgeni <olgeni@uli.it>
* Removed unused copy of ../mount/getmtopts.3.bde2001-01-175-461/+5
| | | | | | | | | | | Removed used copies of ../mount/getmntopts.c ../mount/mntopts.h. Use the versions in ../mount directly like all other mount utilities. Removed used copy of ../mount/pathnames.h. Use the version in ../mount for free as a side effect of using the mntopts files there. We should not use it at all, since the 2/3 of the definitions in it are in <paths.h> and the other 1/3 should be in ../mountd/pathnames.h and is not used by mount_ifs anyway.
* Removed unused rotting copy of ../mount/mount.8. It should never havebde2001-01-171-385/+0
| | | | been repo-copied.
* mdoc(7) police: fixed broken references.ru2001-01-161-1/+1
|
* Prepare for mdoc(7)NG.ru2001-01-167-14/+14
|
* Fix typo.grog2001-01-151-4/+6
| | | | | | | | | Submitted by: Jimmy Olgeni <olgeni@uli.it> PR: 24233 Fix typos. Submitted by: "Jeroen C. van Gelderen" <jeroen@vangelderen.org>
* The ffs superblock includes a 128-byte region for use by temporaryiedowse2001-01-156-10/+17
| | | | | | | | | | | | | | | | | | | | in-core pointers to summary information. An array in this region (fs_csp) could overflow on filesystems with a very large number of cylinder groups (~16000 on i386 with 8k blocks). When this happens, other fields in the superblock get corrupted, and fsck refuses to check the filesystem. Solve this problem by replacing the fs_csp array in 'struct fs' with a single pointer, and add padding to keep the length of the 128-byte region fixed. Update the kernel and userland utilities to use just this single pointer. With this change, the kernel no longer makes use of the superblock fields 'fs_csshift' and 'fs_csmask'. Add a comment to newfs/mkfs.c to indicate that these fields must be calculated for compatibility with older kernels. Reviewed by: mckusick
* Add a couple of newlines in the output from route monitorphk2001-01-151-2/+4
|
* Replace reference to replacing mkfs(8) with a paragraph actuallyeivind2001-01-151-3/+1
| | | | describing what newfs *does*.
* Document the -N option in the usage message and the man page.des2001-01-142-8/+10
|
* Add a -N option that makes sysctl(8) print out just the variable names.des2001-01-141-10/+31
| | | | | | | | | | | | | | Zsh users can add the following to their .zshrc for sysctl completion: function listsysctls { case $1 in *.*) set -A reply $(sysctl -AN ${1%.*}) ;; *) set -A reply $(sysctl -AN) ;; esac } compctl -K listsysctls sysctl While I'm here, brucify the getopt() switch.
* Remove references to lockinfo.plex.grog2001-01-141-10/+7
| | | | Reported by: dougb
* Mdoc(7)ify.ru2001-01-101-36/+66
|
* o IPFW incorrectly handled filtering in the presence of previouslyrwatson2001-01-091-3/+2
| | | | | | | | | | | | | | | | | | | | reserved and now allocated TCP flags in incoming packets. This patch stops overloading those bits in the IP firewall rules, and moves colliding flags to a seperate field, ipflg. The IPFW userland management tool, ipfw(8), is updated to reflect this change. New TCP flags related to ECN are now included in tcp.h for reference, although we don't currently implement TCP+ECN. o To use this fix without completely rebuilding, it is sufficient to copy ip_fw.h and tcp.h into your appropriate include directory, then rebuild the ipfw kernel module, and ipfw tool, and install both. Note that a mismatch between module and userland tool will result in incorrect installation of firewall rules that may have unexpected effects. This is an MFC candidate, following shakedown. This bug does not appear to affect ipfilter. Reviewed by: security-officer, billf Reported by: Aragon Gouveia <aragon@phat.za.net>
* Document fsck_ffs's new SIGINFO handler.iedowse2001-01-031-0/+12
| | | | Reviewed by: sheldonh
* Minor layout fixes.ben2001-01-011-0/+4
| | | | | PR: 24004 Submitted by: Jimmy Olgeni <olgeni@uli.it>
* Add padding space and a version number to the md_ioctl structre for futurephk2001-01-012-3/+18
| | | | | | | | | | | | extension. Add ability to create a preload disk giving an address and a length (suggested by imp) Fix bug relating to very small md(4) devices. Update md.c copyright to reflect the status of code copied from vn.c. (noticed by dillon)
* Further tidy up the sbin/init and release builds.peter2001-01-011-28/+2
|
* This is not necessarily the correct fix, but at least sbin/init compilesphk2001-01-011-8/+11
| | | | in a sterile environment like "make release"
* This is the first snapshot of the new all-singing-and-dancing md(4).phk2000-12-311-6/+13
| | | | | | Using the mdconfig(8) program you can now configure memory disks on malloc(9), swap or a file/vnode. preloaded md disks also work as usual.
* Improve cmdline parsing and messages.phk2000-12-313-21/+210
| | | | | Add a rudimentary man-page. (I'm no mdoc wizard, feel free to attack my mistakes and blunders)
* Use macro API to <sys/queue.h>phk2000-12-302-6/+6
| | | | | Submitted by: "Peter Avalos" <pavalos@theshell.com> Reviewed by: /sbin/md5
* Add mdconfig into the build.phk2000-12-281-0/+1
|
* Preliminary scaffolding for the new integrated vn+md device driver.phk2000-12-282-0/+110
| | | | | | | | | | | | | | | | | I decided to work on the md(4) driver and integrate the vn(4) functionality into it mainly based on the name being more suitable. Ideally 'vd' as in "virtual disk" would probably be the most logical but our sound-master pointed out that this would cause uncontrollable fits of giggles in the brits. Another complication would the needed changes to the ramdisk boot/root functionality. The vn driver will stay around for some time after I complete this merge for transition reasons, and I'll make it whine to people that they should migrate to the md(4) driver for some time before it dies. The kernel part of the new md(4) driver will be committed after more testing.
* typo: modifes -> modifieshoek2000-12-282-2/+2
|
* Retire kernfs (userland part).des2000-12-284-11/+4
|
* When trying to deduce the diskname from the name so we can runphk2000-12-272-8/+13
| | | | | | | | | | | | | | | | | parallel fsck's one per drive, use the shortest prefix ending in a digit rather than the longest prefix ending in a digit. This makes "/dev/ad0s1a" and "/dev/ad0s2a" appear to both reside on the disk "/dev/ad0" and consequently they will be fsck'ed sequentially rather than in parallel as now. In general this heuristic is rather soft and errorprone. For instance ccd may often reside on two or more physical disks. A good solution would be to look for passes larger than 1 until no disks are found in a particular pass, that way people could put ccd stripes in pass 3... and have them fsck'ed sequentially. Reviewed by: mjacob
* Use official API to <sys/queue.h> instead of groping around inside thephk2000-12-271-17/+16
| | | | | | data structures. Reviewed by: imp
* Prepare for mdoc(7)NG.ru2000-12-277-26/+26
|
* Fix hard sentence break introduced in previous commit.sheldonh2000-12-201-2/+2
|
* Cosmetics.grog2000-12-201-38/+42
| | | | | | | | Correct location of history file. Change references from /dev/wd to /dev/ad. Use more appropriate defaults for stripe size in examples.
* roughlength: Use correct format strings.grog2000-12-201-4/+4
|
* Correct some comments.grog2000-12-201-3/+6
| | | | | | vinum_attach: Get correct names (were being overwritten). Submitted by: Terry Glanfield <Terry.Glanfield@program-products.co.uk>
* o Add an example for a large file system.imp2000-12-191-7/+9
| | | | | | | o Remove bug about boot blocks hating non-8k file systems. This hasn't been the case for a long time. Not Objected to by: hackers, doc
* Prepare for mdoc(7)NG.ru2000-12-193-64/+64
|
* Add a missing period and newline to a message.phk2000-12-181-1/+2
| | | | | PR: 23334 Submitted by: Rich Morin <rdm@cfcl.com>
* Prepare for mdoc(7)NG.ru2000-12-1837-92/+92
|
* Add a -a option to show the entire message buffer.phk2000-12-172-5/+26
|
* Extend the ldconfig security check so that it ignores group-writablejdp2000-12-172-2/+8
| | | | | | | | | | | directories in addition to world-writable directories. As before, this check can be disabled with the "-i" option, which in turn can be made the default for boot-up by setting "ldconfig_insecure=YES" in "/etc/rc.conf". Also fix an mdoc nit in the manual page. Submitted by: Maxime Henrion <mux@qualys.com>
* Add a simple SIGINFO handler to fsck_ffs. Shortly after receipt ofiedowse2000-12-159-0/+47
| | | | | | | | a SIGINFO (normally via Ctrl-T), a line will be output indicating the current phase number and progress information relevant to the current phase. Approved by: mckusick
* Add missing coma in SEE ALSO sectionphantom2000-12-142-3/+3
| | | | Reported by: Rich Morin <rdm@cfcl.com>
* mdoc(7) police: added missing .Os call.ru2000-12-146-6/+6
|
* mdoc(7) police: removed history info from the .Os FreeBSD call.ru2000-12-146-12/+15
|
* Fix a logical bug introduced by changing the formatting.tomsoft2000-12-131-1/+1
| | | | | Submitted by: ru Reviewed by: chm
* Mdoc(7)ify.ru2000-12-132-51/+62
|
OpenPOWER on IntegriCloud