summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Have sysctl print out a more useful error message when it detects that thesilby2003-10-211-1/+6
| | | | user has attempted to write to a read only, tunable value.
* Change the default mode for lost+found from 01777 to 0700. Theiedowse2003-10-191-1/+1
| | | | | | | | | | original intention of the less restrictive permissions was to allow users to move or delete recovered files that they own. However, it is better to not create world-writable directories by default; the administrator can always pre-create lost+found if different permissions are desired. Reviewed by: mckusick
* Only automatically create an 'a' partition when there is nothingphk2003-10-181-4/+22
| | | | but a 'c' partition.
* Make the regression test run also with obj directories.phk2003-10-172-2/+6
|
* - styleume2003-10-171-25/+28
| | | | | | | | - rename variable - use strlcpy - const'fy Obtained from: KAME
* Insert an overview of the plans here, in case I get run over by a bus.phk2003-10-131-0/+32
|
* - support AES counter mode for ESP.ume2003-10-132-0/+6
| | | | | | | | - use size_t as return type of schedlen(), as there's no error check needed. - clear key schedule buffer before freeing. Obtained from: KAME
* - support AES XCBC MAC for AHume2003-10-132-0/+3
| | | | | | - correct SADB_X_AALG_RIPEMD160HMAC to 8 Obtained from: KAME
* - RIPEMD160 supportume2003-10-122-0/+3
| | | | | | - pass size arg to ah->result (avoid assuming result buffer size) Obtained from: KAME
* Describe '-M' in usage().fjoe2003-10-111-5/+7
| | | | | PR: 57462 Submitted by: Ryuichiro Imura <imura@ryu16.org>
* correct unsafe use of realloc().ume2003-10-111-5/+5
| | | | Obtained from: KAME
* Add a full example of a file-backed disk creation, I used the Handbook'sblackend2003-10-111-0/+9
| | | | | | | example. PR: docs/51897 Submitted by: Kevin Oberman <oberman@es.net>
* s/disklabel/bsdlabel where needed.blackend2003-10-113-5/+5
|
* I think it is more correct to use modfind() than kldfind() here.phk2003-10-101-2/+2
|
* Revision 1.61 changed the allocation of buffer 'buf' in DoFile() frommarcel2003-10-081-6/+0
| | | | | | | | | | | | | the stack to the heap to work around a problem on ia64. Now, roughly 16 months and two compiler updates later, it isn't an issue anymore in the sense that putting a 1M buffer on the stack just works and we don't actually need to work around anything anymore. However, since there's no advantage or need to put the buffer on the stack (again), this change merely removes the XXX comment describing that there's an explicit reason for the heap allocation. Hence, this change is a functional no-op. PR: ia64/38677
* Create a .snap directory mode 770 group operator in the root of eachmckusick2003-10-081-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | filesystem that is checked in background. Create the snapshot in this directory rather than in the root. There are two benefits: 1) For terabyte-sized filesystems, the snapshot may require many minutes to build. Although the filesystem will not be suspended during most of the snapshot build, the snapshot file itself is locked during the entire snapshot build period. Thus, if it is accessed during the period that it is being built, the process trying to access it will block holding its containing directory locked. If the snapshot is in the root, the root will lock and the system will come to a halt until the snapshot finishes. By putting the snapshot in a subdirectory, it is out of the likely path of any process traversing through the root and hence much less likely to cause a lock race to the root. 2) The dump program is usually run by a non-root user running with operator group privilege. Such a user is typically not permitted to create files in the root of a filesystem. By having a directory in group operator with group write access available, such a user will be able to create a snapshot there. Having the dump program create its snapshot in a subdirectory below the root will benefit from point (1) as well. Sponsored by: DARPA & NAI Labs.
* Improve regression test with an image file which must work.phk2003-10-072-2/+3316
|
* Autoload kernel module if necessary.phk2003-10-071-0/+9
| | | | Submitted by: mr
* Interior decoration changes.phk2003-10-071-5/+5
|
* Remove the hardcoded default block/frag/cpg values from bsdlabeliedowse2003-10-051-44/+5
| | | | | | | | | and the logic for setting them according to the partition size. Instead, unspecified filesystem values are left at 0 so that newfs will use its own defaults. It just caused confusion to have the defaults duplicated in two different places. Reviewed by: phk
* remove include of route.h now that ip_dummynet.h no longer exposessam2003-10-031-1/+0
| | | | | | data structures that have an embedded struct route Sponsored by: FreeBSD Foundation
* By popular demand, added the "static ARP" per-interface option.ru2003-10-012-1/+11
|
* - Support for multibyte charsets in LIBICONV.fjoe2003-09-2613-439/+299
| | | | | | | | - CD9660_ICONV, NTFS_ICONV and MSDOSFS_ICONV kernel options (with corresponding modules). - kiconv(3) for loadable charset conversion tables support. Submitted by: Ryuichiro Imura <imura@ryu16.org>
* Add the -xresolve flag to the route(8) man page.bms2003-09-261-0/+9
| | | | Reviewed by: ru
* fix typo: s/Instaed/Instead/rse2003-09-261-1/+1
|
* fix typo: s/sytem/system/rse2003-09-261-1/+1
|
* Add Cisco Skinny Station protocol support to libalias, natd, and ppp.marcus2003-09-232-0/+33
| | | | | | | | | | | | | | | Skinny is the protocol used by Cisco IP phones to talk to Cisco Call Managers. With this code, one can use a Cisco IP phone behind a FreeBSD NAT gateway. Currently, having the Call Manager behind the NAT gateway is not supported. More information on enabling Skinny support in libalias, natd, and ppp can be found in those applications' manpages. PR: 55843 Reviewed by: ru Approved by: ru MFC after: 30 days
* revert to version 1.25 and use va_copy to obtain another copy of theps2003-09-211-2/+5
| | | | | | | variable arguments. version 1.26 incorrectly truncated the message if the buffer was too long. Requested by: bde
* Document the -x and -y options.phk2003-09-211-0/+14
|
* Fix improper use of varargs.ps2003-09-201-2/+2
| | | | Reviewed by: peter
* o add support for setting 128-bit WEP keyssam2003-09-171-4/+7
| | | | | o use IEEE80211_KEYBUF_SIZE instead of magic numbers o distinguish between 40-, 104-, and 128-bit WEP keys when printing status
* Remove an unneccessary comma.ceri2003-09-141-1/+1
|
* Get rid of duplicates.ru2003-09-142-2/+2
|
* mdoc(7): Properly mark C headers.ru2003-09-103-3/+3
|
* mdoc(7): There cannot be a subsection inside a list.ru2003-09-101-2/+4
| | | | Reported by: naddy
* Document the alternate way of matching MAC addresses: by a bitmask.roam2003-09-101-2/+22
| | | | | | PR: 56021 Submitted by: Glen Gibb <grg@ridley.unimelb.edu.au> MFC after: 1 month
* mdoc(7): Use the new feature of the .In macro.ru2003-09-086-14/+14
|
* Replace a reference to non existant mount_ffs(8) by a reference to mount(8).charnier2003-09-071-1/+1
|
* Apply a bandaid to get this working on sparc64 again; the introductiontmm2003-09-041-4/+4
| | | | | | | | of do_cmd() broke things, because this function assumes that a socklen_t is large enough to hold a pointer. A real solution to this problem would be a rewrite of do_cmd() to treat the optlen parameter consistently and not use it to carry a pointer or integer dependent on the context.
* Add a flag that reports the existence of a dump, and does nothing else.dougb2003-09-042-4/+32
| | | | | | | | The immediate purpose for this option is to use it in rc.d so that we can make savecore behavior conditional. Tremendous assistance with ideas and sanity checking provided by tjr and b@etek.chalmers.se.
* Check an arguments count before proceed in sysctl_handler().maxim2003-09-021-1/+1
| | | | | | | | PR: bin/56298 Submitted by: Kang Liu <liukang@bjpu.edu.cn> MFC after: 2 weeks # We need a regression test suit for ipfw(2)/ipfw(8) badly.
* Backout Rev. 1.24brueffer2003-08-301-1/+1
| | | | English lessons provided by: jhb
* Grammar fixbrueffer2003-08-291-1/+1
|
* Introduce more knobs to slim down FreeBSD userlandphk2003-08-291-2/+5
| | | | | | | NO_TOOLCHAIN skips Compilers and Binutils NO_USB skips USB stuff NO_VINUM skips Vinum stuff NO_ACPI skips ACPI stuff
* When we initialize a disk with a virgin label, create also an 'a'phk2003-08-271-0/+4
| | | | | partition which starts after the bootstrap area and fills the entire disk.
* Make build of atm, ip6fw and ping6 depend on existing NOATM andphk2003-08-271-3/+9
| | | | NOINET6 conditionals.
* Adjust to the new sys/ata.h layoutsos2003-08-241-29/+35
|
* use arc4random.ume2003-08-221-1/+1
| | | | MFC after: 3 days
* Fix alignment of the trailing \imp2003-08-221-1/+1
|
* Get rid of a __DECONST by strdup'ing the string in question. Whenharti2003-08-201-1/+2
| | | | | | | called this way the program just prints its help intro, so the memory leak is not a problem. Pointed out by: bde
OpenPOWER on IntegriCloud