summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* fixup list station support:sam2006-08-101-4/+23
| | | | | | o add sanity check to avoid possible looping o use intended api for IEEE80211_IOC_STA_INFO o when operating in sta mode get the sta info for the ap
* o Spell.maxim2006-08-101-1/+1
| | | | Submitted by: ru
* o Strip eol whitespaces.maxim2006-08-091-2/+2
|
* o New sentence, new line.maxim2006-08-091-2/+3
| | | | o Touch Dd for -r.
* Allow geli to operate on read-only providers.pjd2006-08-092-4/+7
| | | | | Initial patch from: vd MFC after: 2 weeks
* Add missing #.pjd2006-08-071-1/+1
|
* Eliminate a pair of unneeded parentheses slipped in from previous version ofmarck2006-08-061-1/+1
| | | | | | fix. Noticed by: ru
* strlen(3) returns size_t, which is not strictly equivalent to int an 64-bitmarck2006-08-061-3/+4
| | | | | | | archs, hence printf(3) warning. Fix this. Noticed by: tinderbox Approved by: rse
* Use the SLIST_NEXT macro instead of sle_next.stefanf2006-08-051-2/+2
| | | | Checked with: cmp(1)
* Do not pass-through the tailing newline character from the ctime(3)rse2006-08-051-3/+5
| | | | | | | | output to setproctitle(3) in order to get rid of the ugly two-character escape sequence "\n" in the ps(1) output of a dump(8) process: << [...] finished in 0:00 at Sat Aug 5 14:44:39 2006\n (dump) >> [...] finished in 0:00 at Sat Aug 5 14:44:39 2006 (dump)
* Use floating point instead of hacking something together. Suggested bynjl2006-08-041-10/+8
| | | | | | bde@. Fix nearby int conversion and a couple style bugs. MFC after: 1 day
* Block a variety of signals which may afffect reboot(8), before killingbms2006-08-021-2/+15
| | | | | | | | | | init(8), to avoid losing a race to them and dying before being able to call reboot(2). PR: bin/64664 Submitted by: maxim Obtained from: NetBSD MFC after: 30 days
* Block SIGHUP before killing init(8), to avoid a race condition which maybms2006-08-021-3/+3
| | | | | | | | kill the current process and hang the system when attempting reboot. PR: bin/64664 Reviewed by: ssouhal, phk (historic) MFC after: 30 days
* Add eye candy while I'm here: a blank line betweenyar2006-07-271-0/+1
| | | | the license and the $FreeBSD$ line.
* INET6 has no effect on rtsol, it's an IPv6-only tool with itsyar2006-07-271-7/+0
| | | | | | | | code independent of the macro. This utility is just omitted from the build as a whole by ../Makefile if MK_INET6 is set to false. Pointed out by: ume Tested with: cmp(1)
* rtsol is just a stripped-down version of rtsold and as such it shouldyar2006-07-271-1/+2
| | | | | | be built only if MK_INET6 is true: it's specific to IPv6. Pointed out by: ume
* These IPv6-only tools have no explicit dependency on the INET6 macro.yar2006-07-271-1/+1
| | | | Tested with: cmp(1)
* Obey MK_INET6_SUPPORT.yar2006-07-273-9/+28
| | | | This is also a good chance to apply style.Makefile(5) in some cases.
* add beacon miss threshold controlsam2006-07-262-1/+29
| | | | | Submitted by: Henrik Brix Andersen <henrik@brixandersen.dk> MFC after: 2 weeks
* Specify correct argument range for tag/untag keywords.oleg2006-07-251-2/+2
| | | | Approved by: glebius (mentor)
* Fix printing of negative decimal values in Kelvin to Celsius conversion.njl2006-07-251-2/+6
| | | | MFC after: 3 days
* style.Makefile(5): Remove -Wall from CFLAGS.stefanf2006-07-171-1/+1
|
* Remove duplicated assignment.stefanf2006-07-171-1/+0
|
* Teach mount(8) about a 'late' keyword, which means the file system shoulddes2006-07-122-7/+38
| | | | | | | | | | | | | | | | | | not be mounted unless the -l flag was specified. Add an rc script, mountlate, which basically runs 'mount -a -l'. It runs after DAEMON but before LOGIN. This is useful for things like loopback mounts, because mountcritremote runs before mountd / nfsd (since /usr might be a remote file system), so an attempt to mount a loopback network file system in mountcritremote will fail. Also add a progress message to mountcritlocal, for the sake of symmetry with similar messages in mountcritremote and mountlate. Reviewed by: freebsd-rc MFC after: 3 weeks
* o replace special handling of clone operations by a clone callbacksam2006-07-094-100/+127
| | | | | | | mechanism o change vlan cloning to use callback and pass all vlan parameters on create using the new SIOCREATE2 ioctl o update vlan set logic to match existing practice
* Fix cut-n-paste bug: compare argument s against known aliases,marcel2006-07-071-6/+6
| | | | | not the global optarg. This bug goes unnoticed because optarg is so far always the actual argument for the formal argument s.
* Send client identifier unconditionally. My ancient D-Link router responsejkim2006-07-031-4/+0
| | | | | | | | | with NACK if I don't set it. Setting 'option dhcp-client-identifier' is alternative but it is inconvenient because I have to keep the list of all MAC addresses. As bin/94743 pointed out, it is always sent from Windows clients and I found Mac OS X does the same. OK'd by: brooks
* remove display of the ERP ie from the list sta output (it's alwayssam2006-06-232-5/+55
| | | | | | zero); replace it with station capabilities MFC after: 1 month
* Improve support for Intel based Macs:marcel2006-06-223-2/+12
| | | | | o Accept hfs as partition type. o Print Apple HFS partitions using a friendly name.
* Move the duplicated logic of parsing partition types into a newmarcel2006-06-225-57/+56
| | | | function called parse_uuid().
* Import interface groups from OpenBSD. This allows to group interfaces inmlaier2006-06-193-1/+208
| | | | | | | | order to - for example - apply firewall rules to a whole group of interfaces. This is required for importing pf from OpenBSD 3.9 Obtained from: OpenBSD (with changes) Discussed on: -net (back in April)
* - Fail with an understandable error message if we cannot detect thesimon2006-06-181-2/+5
| | | | | | | | | | | | | | | | sector size, instead of later failing with an error about /boot/mbr not being a multiple of the sector size (since we end up with an assumed sector size of MAX_SEC_SIZE * 2). - We query the sector size via an IOCTL anyway, so if that succeeds use that instead of probing for it via read(2) calls. This fixes the problem with fdisk failing to operate on at least graid3 and md(4) devices on kernels with src/sys/geom/geom_dev.c before rev. 1.90, due to fdisk failing to detect the sector size. - When detecting the root device allow "/" characters in it, which happens with e.g. gmirror devices. Reviewed by: cperciva MFC after: 1 week
* Add support of 'tablearg' feature for:oleg2006-06-152-80/+128
| | | | | | | | | | | | | | | | | | | - 'tag' & 'untag' action parameters. - 'tagged' & 'limit' rule options. Rule examples: pipe 1 tag tablearg ip from table(1) to any allow ip from any to table(2) tagged tablearg allow tcp from table(3) to any 25 setup limit src-addr tablearg sbin/ipfw/ipfw2.c: 1) new macros GET_UINT_ARG - support of 'tablearg' keyword, argument range checking. PRINT_UINT_ARG - support of 'tablearg' keyword. 2) strtoport(): do not silently truncate/accept invalid port list expressions like: '1,2-abc' or '1,2-3-4' or '1,2-3x4'. style(9) cleanup. Approved by: glebius (mentor) MFC after: 1 month
* o Revert a previous delta as strlcpy(3) operates with NUL-terminatedmaxim2006-06-141-1/+2
| | | | | strings and cp is not. Fix logic in the original code and eliminate core dumps on lines without '\n'.
* o Replace (an incorrect) string copy gymnastics with strlcpy(3).maxim2006-06-141-2/+1
| | | | | | PR: bin/98905 Submitted by: Fabian Keil MFC after: 1 week
* o Fix typo.maxim2006-06-111-1/+1
| | | | Obtained from: DragonFlyBSD
* Fix a typo s/Made/Make. Use .Pp for a line break, it will quiet thetrhodes2006-06-101-2/+2
| | | | mdoc(7) warning.
* Minor style tweaks while nearby. Namely ANSIfy and parens on return values.jmallett2006-06-101-26/+15
|
* Rather than using specified_ro to parse the options list an extra time, andjmallett2006-06-101-32/+6
| | | | | | keeping a flag to check whether we actually wanted to mount the filesystem readonly, setup the options list so that we start off by assuming rw is what's desired and let later flags change that.
* Reparent the process that executes the window= command from the ttyskib2006-06-081-1/+13
| | | | | | | | | to the init. This prevents zombies from being accumulated. PR: bin/64198 Tested by: Eugene Grosbein <eugen at www svzserv kemerovo su> Approved by: kan (mentor) MFC after: 1 month
* Allow to use the old -a option to specify an encryption algorithm to usepjd2006-06-061-9/+27
| | | | | (for backward compatibility), but print a warning to inform about the change.
* Clarify and merge two sentences.brueffer2006-06-061-4/+2
| | | | Discussed with: pjd
* Mdoc cleanup and some wording improvements.brueffer2006-06-061-15/+15
|
* Print pfsync interface status if either syncpeer or syncdev is configured.glebius2006-06-061-6/+11
|
* Remove section committed by mistake. It is not yet ready.pjd2006-06-061-33/+0
|
* Document geli(8) data authentication.pjd2006-06-051-12/+116
| | | | Supported by: Wheel Sp. z o.o. (http://www.wheel.pl)
* Userland bits of geli(8) data authentication.pjd2006-06-051-15/+29
| | | | | | | Now, encryption algorithm is given using '-e' option, not '-a'. The '-a' option is now used to specify authentication algorithm. Supported by: Wheel Sp. z o.o. (http://www.wheel.pl)
* Fix "mount -u -o ro".rodrigc2006-06-021-1/+24
| | | | Requested by: maxim
* o Implement findblk command: find the inode(s) owning the specifiedmaxim2006-06-022-1/+272
| | | | | | | disk block(s) number(s). Obtained from: NetBSD MFC after: 2 months
* Print dynamic rules for IPv6 as well.mlaier2006-06-021-5/+15
| | | | | | PR: bin/98349 Submitted by: Mark Andrews MFC after: 2 weeks
OpenPOWER on IntegriCloud