summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Add missed BETA* to list.gjb2012-12-091-1/+1
| | | | | | Approved by: simon (implicit) MFC after: 3 days X-MFC-With: r244058
* Get 'uname -r' earlier, so it can be used to determine what branch isgjb2012-12-091-1/+12
| | | | | | | | being run to set BSDINSTALL_DISTSITE accordingly. This change allows non-RELEASE branches to use the FTP snapshots directory for bootonly.iso installations. Approved by: simon
* A number of places in the source tree still reference cuad.* aftereadler2012-12-086-19/+19
| | | | | | | | | | | sio(4) was deprecated by uart(4). s/cuad/cuau/g/ PR: docs/171533 Reviewed by: imp Approved by: cperciva (implicit) MFC after: 3 weeks
* remove redundant yyparse declarationsbapt2012-12-051-1/+0
| | | | | PR: conf/174079 Submitted by: Garrett Cooper <yanegomi@gmail.com>
* - Move definition of V_deembed_scopeid to scope6_var.h.hrs2012-12-051-48/+6
| | | | | | - Deembed scope id in L3 address in in6_lltable_dump(). - Simplify scope id recovery in rtsock routines. - Remove embedded scope id handling in ndp(8) and route(8) completely.
* Simplify string duplication: use strdup instead of malloc + strcpyeadler2012-12-051-6/+5
| | | | | | Submitted by: db Approved by: cperciva MFC after: 2 weeks
* Avoid overflowing the file buffereadler2012-12-051-1/+1
| | | | | | Submitted by: db Approved by: cperciva MFC after: 2 weeks
* Use strdup instead of malloc + strcpyeadler2012-12-051-6/+4
| | | | | | Submitted by: db Approved by: cperciva MFC after: 2 weeks
* Avoid overflow of file buffereadler2012-12-051-1/+1
| | | | | | Submitted by: db Approved by: cperciva MFC after: 2 weeks
* Remove useless check for NULL prior to free.eadler2012-12-052-4/+2
| | | | | Approved by: cperciva MFC after: 2 weeks
* Remove pointless check for the existence of /usr/bin/less which existseadler2012-12-051-13/+1
| | | | | | | | in all configurations. Reviewed by: mjg Approved by: cperciva MFC after: 2 weeks
* Add ability to mergemaster to permit the user to typeeadler2012-12-051-0/+5
| | | | | | | | | the absolute path to PAGER if mergemaster can not find the one already set. Reviewed by: mjg Approved by: cperciva MFC after: 2 weeks
* if PACKAGESITE url scheme is not 'file://', always try to revolv SRV records andbapt2012-12-054-9/+222
| | | | | | | use them if any. It allows the bootstrap to use directly pkg.FreeBSD.org instead of pkgbeta.FreeBSD.org MFC after: 1 month
* Remove snapshots.jp.freebsd.org. It stopped working years ago.joel2012-12-041-1/+0
| | | | Discussed with: hrs
* - Remove snapshots.se.freebsd.org [1]joel2012-12-031-1/+1
| | | | | | - Add ftp6.se.freebsd.org Discussed with: brd [1]
* Document maxthreads and minthreads argumentsalfred2012-12-021-2/+13
|
* Merge a number of changes required to hook up OpenBSM 1.2-alpha2'srwatson2012-12-012-0/+35
| | | | | | | | | | | | | | | | | | | auditdistd (distributed audit daemon) to the build: - Manual cross references - Makefile for auditdistd - rc.d script, rc.conf entrie - New group and user for auditdistd; associated aliases, etc. The audit trail distribution daemon provides reliable, cryptographically protected (and sandboxed) delivery of audit tails from live clients to audit server hosts in order to both allow centralised analysis, and improve resilience in the event of client compromises: clients are not permitted to change trail contents after submission. Submitted by: pjd Sponsored by: The FreeBSD Foundation (auditdistd)
* Don't allow minthreads > maxthreads.alfred2012-11-281-0/+4
| | | | Suggested by: rmacklem
* Fix typo.alfred2012-11-281-1/+1
| | | | Pointed out by: marck
* Autoconfigure nfsd threads based on ncpu.alfred2012-11-271-20/+97
| | | | | | | | | | | | | | | | Rick Macklem and I discussed the default number of nfsd threads and concluded that it is too low to perform adiquitely on today's hardware. We decided to auto tune the number of nfsds based on the number of cpus in the system. While I'm here I've also added: 1) ability to set the minthreads/maxthreads from userland. 2) ability to run nfsd in debug mode via the cli. Reviewed by: rmacklem MFC after: 2 weeks
* Allow setting of NULL titles with f_dialog_[back]title().dteske2012-11-271-2/+2
| | | | Approved by: adrian (co-mentor) (implicit)
* Change self-initialization to occur when loaded versus the previous behaviordteske2012-11-271-34/+5
| | | | | | | | | which was to self-initialize during the first function-call. This didn't work so well because the first call was may or may-not be within a sub-shell (which prevented proper setup of the pass-thru file descriptor, resulting in dialogs that would not display). Approved by: adrian (co-mentor) (implicit)
* Comments.dteske2012-11-271-2/+2
| | | | Approved by: adrian (co-mentor) (implicit)
* Provide an option to users to shoot themselves in the foot.eadler2012-11-268-7/+45
| | | | | | Reviewed by: bapt Approved by: cperciva MFC after: 1 month
* Use modern license instead of being consistent with the other pkg_ toolseadler2012-11-263-11/+25
| | | | | | | | | | | | Use a more informative message Fix some style(9) nits. Bump version number In pkg_add only warn users after the chroot is performed. Submitted by: gavin, jilles Reviewed by: beat, bapt Approved by: cperciva MFC after: 1 month
* Split IP address validation routines and improve error detection for dotted-dteske2012-11-252-37/+91
| | | | | | quad notation in IPv6 addresses. Approved by: adrian (co-mentor) (implicit)
* Whitespace.dteske2012-11-244-4/+4
| | | | Approved by: adrian (co-mentor) (implicit)
* Add IPv6 address-validation routine.dteske2012-11-242-2/+157
| | | | Approved by: adrian (co-mentor) (implicit)
* - Use sin6_scope_id instead of sin6_addr.s6_addr[2].hrs2012-11-231-17/+11
| | | | - Support a flag for ALLOW/BLOCK in source-specific multicast (RFC 4604).
* Merge ACPICA 20121114.jkim2012-11-202-4/+5
|
* In NIS mode first chmod(2) the temporary file and is succeed then rename(2)bapt2012-11-201-2/+2
|
* Correctly set the password file mode after renaming in NIS modebapt2012-11-201-0/+2
|
* Remove unneeded includes.eadler2012-11-201-2/+0
| | | | | | | Tested with "make universe"; there are no conditional features. Approved by: cperciva MFC after: 3 daus
* Minor mdoc fix.joel2012-11-181-1/+1
|
* Standardize EXIT STATUS instructions in man pages when possible.eadler2012-11-181-4/+2
| | | | | Approved by: bcr (mentor) MFC after: 3 days
* - Increase the number of retry for NET_RT_DUMP from 5 to 15.hrs2012-11-182-9/+140
| | | | | | | | | | - Use 2001:db8:: as an example instead of deprecated 3ffe:: address block. - Add check for connected routes. - Add support of RTM_IFANNOUNCE for dyanmically-added/removed interfaces. - Add support of *, ?, and [ in the interface list. - Add -P number to specify route flag which will never expire. - Add -Q number to specify route flag which route6d will add to routes via RIP. - Add -p pidfile to specify the process ID file.
* Overhaul of route6d(8):hrs2012-11-181-445/+392
| | | | | | | | | - Use queue(3) for linked-list. - Use a consistent naming scheme for struct members. - Use ANSI C style function declaration. - Add check of RTM_VERSION mismatch. There is no functional change.
* Use sin6_scope_id instead of KAME-specific embedded scope id.hrs2012-11-181-27/+8
|
* Fill sin6_scope_id in sockaddr_in6 before passing it from the kernel tohrs2012-11-171-24/+0
| | | | | | | | | | | | userland via routing socket or sysctl. This eliminates the following KAME-specific sin6_scope_id handling routine from each userland utility: sin6.sin6_scope_id = ntohs(*(u_int16_t *)&sin6.sin6_addr.s6_addr[2]); This behavior can be controlled by net.inet6.ip6.deembed_scopeid. This is set to 1 by default (sin6_scope_id will be filled in the kernel). Reviewed by: bz
* Replicate a feature from sysinstall documented indteske2012-11-1644-103/+216
| | | | | | | | | | | | stable/9/usr.sbin/sysinstall/help/shortcuts.hlp (reproduced below): If /usr/sbin/sysinstall is linked to another filename, say `/usr/local/bin/configPackages', then the basename will be used as an implicit command name. To get a list of modules you can link to, see `bsdconfig -h' output. Approved by: adrian (co-mentor) (implicit)
* This wasn't supposed to be in there - I committed the wrong patch.eadler2012-11-151-1/+0
| | | | Approved by: cperciva (implicit)
* Add support for a -q flag. While here make the custom argument parsingeadler2012-11-152-13/+30
| | | | | | | | | use getopt instead of hacking on it more. This change also fixes the method of silencing the compiler warning about gfn being used uninitialized. Approved by: cperciva MFC after: 1 week
* Be declarative about if an error has occured.eadler2012-11-151-8/+8
| | | | | | | | Fixes overflow on very large group files with lots of errors. This is unlikely to occur in practice. Approved by: cperciva MFC after: 1 week
* Fix error code if file isn't readable.eadler2012-11-151-1/+1
| | | | | Approved by: cperciva MFC after: 1 week
* Check the range of the gideadler2012-11-151-0/+15
| | | | | Approved by: cperciva MFC after: 1 week
* Add a missing check for freadeadler2012-11-151-0/+2
| | | | | Approved by: cperciva MFC after: 3 days
* Document all of the options that wpa_supplicant accepts.issyl02012-11-071-21/+50
| | | | | | | PR: docs/171755 Reviewed by: gavin Approved by: gabor (mentor) MFC after: 5 days
* Replace log(3) with flsll(3) for watchdogd(8) and drop libm dependency.delphij2012-11-032-3/+4
| | | | MFC after: 2 weeks
* If no contents keyword is specified, the default for files issjg2012-11-031-0/+47
| | | | | | the named file. Approved by: marcel (mentor)
* Teach pw(8) about how to use pw/gr API to reduce code duplicationbapt2012-10-3014-620/+175
| | | | MFC after: 2 months
OpenPOWER on IntegriCloud