summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Make sure bootonly.iso for -BETAs and -RCs use the releases/gjb2013-08-131-1/+1
| | | | | | | | directory on the FTP mirrors to fetch distributions, since these are always pushed to releases/ during the release cycle. MFC after: 3 days X-MFC-To: stable/9, releng/9.2
* Fix bug in r253719: fix command line watchdog disable.alfred2013-08-101-7/+9
| | | | | r253719 disallowed watchdog(8) from disabling the watchdog by breaking the ability to pass 0 as a timeout arg. Fix this.
* Change <sys/diskpc98.h> to not redefine the same symbols that aremarcel2013-08-071-1/+1
| | | | | | | | | | | | | | | | being defined in <sys/diskmbr.h>. Instead give the symbols here a "PC98_" prefix. This way, both <sys/diskmbr.h> and <sys/diskpc98.h> can be included in the same C source file. The renaming is trivial. The only gotcha is that DOSBBSECTOR is also redefined from 0 to 1. This because DOSBBSECTOR was always used in conjunction with an addition of 1. The PC98_BBSECTOR symbol is defined as 1 and the expression is simplified. Note: it is not believed that ports are seriously impacted; or at all for that matter. Approved by: nyan@
* Fix incompatibility in ICMPV6CTL_ND6_PRLIST sysctl, and SIOCGPRLST_IN6,hrs2013-08-061-36/+21
| | | | | SIOCGDRLST_IN6, and SIOCGNBRINFO_IN6 ioctl. These userland interfaces treat expiration times in time_second, not time_uptime.
* Fix build on arm and mips.hrs2013-08-062-9/+4
|
* Update Bind to 9.8.5-P2erwin2013-08-061-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New Features Adds a new configuration option, "check-spf"; valid values are "warn" (default) and "ignore". When set to "warn", checks SPF and TXT records in spf format, warning if either resource record type occurs without a corresponding record of the other resource record type. [RT #33355] Adds support for Uniform Resource Identifier (URI) resource records. [RT #23386] Adds support for the EUI48 and EUI64 RR types. [RT #33082] Adds support for the RFC 6742 ILNP record types (NID, LP, L32, and L64). [RT #31836] Feature Changes Changes timing of when slave zones send NOTIFY messages after loading a new copy of the zone. They now send the NOTIFY before writing the zone data to disk. This will result in quicker propagation of updates in multi-level server structures. [RT #27242] "named -V" can now report a source ID string. (This is will be of most interest to developers and troubleshooters). The source ID for ISC's production versions of BIND is defined in the "srcid" file in the build tree and is normally set to the most recent git hash. [RT #31494] Response Policy Zone performance enhancements. New "response-policy" option "min-ns-dots". "nsip" and "nsdname" now enabled by default with RPZ. [RT #32251] Approved by: delphij (mentor) Sponsored by: DK Hostmaster A/S
* - Use time_uptime instead of time_second in data structures forhrs2013-08-0514-210/+244
| | | | | | | | | PF_INET6 in kernel. This fixes various malfunction when the wall time clock is changed. Bump __FreeBSD_version to 1000041. - Use clock_gettime(CLOCK_MONOTONIC_FAST) in userland utilities. MFC after: 1 month
* Apply a casting sledgehammer.jhb2013-07-301-1/+1
| | | | Submitted by: dhw
* Fix detection of arm ABIsbapt2013-07-281-5/+17
| | | | | Submitted by: andrew Obtained from: pkg git
* Fix printf of seconds for systems where time_t is 64 bits.ian2013-07-281-2/+3
|
* mdoc and language improvements.joel2013-07-281-14/+29
|
* Provide some examples for watchdogd usage.alfred2013-07-271-1/+76
|
* Fix watchdog pretimeout.alfred2013-07-271-17/+179
| | | | | | | | The original API calls for pow2ns, however the new APIs from Linux call for seconds. We need to be able to convert to/from 2^Nns to seconds in both userland and kernel to fix this and properly compare units.
* - Set the System Identifier in the Primary Volume Descriptor to FreeBSDmarius2013-07-272-6/+7
| | | | | | | | | | | | | | | | | rather than NetBSD. - Correctly set the Expiration Time in the Primary Volume Descriptor; according to ISO 9660 8.4.26.1 unspecified date and time are denoted by the digit 0 in RBP 1 to 16 but the number 0 in RBP 17. [1] - Merge iso9660_rrip.c rev. 1.11 from NetBSD: name_len should be read as unsigned byte. [2] Note: This is according to ISO 9660 9.1.10. - Rock Ridge TF entries should use a length of 5, because after the 4 bytes of generic SUSP header there is one byte of flags. See typedef of ISO_RRIP_TF in iso9660_rrip.h. [1] Submitted by: Thomas Schmitt [1] Obtained from: NetBSD [2] MFC after: 3 days
* Ensure that makefs.h is included when using ufs_bswap.h so the FFS_EI macromarius2013-07-261-0/+2
| | | | | | | is picked up when defined. Previously, ffs_subr.c was always built without support for opposite endianess as it doesn't include makefs.h on its own. MFC after: 3 days
* Remove ftp2.tr.freebsd.org, it is out of date.gavin2013-07-233-3/+0
| | | | MFC after: 3 days
* Sync-up with bsdinstall(8) FTP mirrorselect changes.dteske2013-07-222-53/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | SVN r224656: Add back ftp4, a new machine has taken its place. ftp2 and ftp8 are both IPv6 capable mirrors. cvsup4/ftp4 have already been added to the handbook. NOTE: Except put IPv6 entries in IPv6 section at the top of the list SVN r225467: Add ftp4.se.freebsd.org to the IPv4 and IPv6 mirror lists. SVN r235228: Add the IPv6 tag to ftp4.fr.freebsd.org. NOTE: Except dup entry into IPv6 section. SVN r243832: - Remove snapshots.se.freebsd.org [1] - Add ftp6.se.freebsd.org SVN r243854: Remove snapshots.jp.freebsd.org. It stopped working years ago. SVN r253543: Update mirror list to more closely match http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html MFC after: 1 week
* Update mirror list to more closely matchgavin2013-07-221-38/+7
| | | | | | http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html MFC after: 1 week
* Decode PCIe ASPM capability and status.jkim2013-07-181-20/+38
|
* Sanity-check the vm exitcode, and exit the process if it's out-of-boundsgrehan2013-07-181-2/+11
| | | | | | or there is no registered handler. Submitted by: Bela Lubkin bela dot lubkin at tidalscale dot com
* Major rework of the virtio code. Split out common parts, and modifygrehan2013-07-175-961/+1408
| | | | | | | the net/block devices accordingly. Submitted by: Chris Torek torek at torek dot net Reviewed by: grehan
* Silent warnings.kevlo2013-07-161-1/+1
|
* Fix compiler warnings.hrs2013-07-152-2/+6
|
* Re-implement $probe_only aspect of f_media_get_TYPE() (where TYPE is cdrom,dteske2013-07-1412-81/+159
| | | | | | | | | | | | | | | | | | | | | | | nfs, ftp, http, httpproxy, etc.) and f_device_get() (abstract method for calling aforementioned f_media_get_TYPE()). Previously, if $probe_only was present and non-NULL, the TYPE functions would check for $file and exit with an appropriate error status (success if the file exists and readable, failure otherwise). While this has been retained, a pair of globals has been introduced: $PROBE_EXIST and $PROBE_SIZE (see `/usr/share/bsdconfig/media/common.subr') The $PROBE_EXIST global can be used where you need the functionality of simply testing for existence (previously the _only_ functionality). Meanwhile, the new $PROBE_SIZE global can be used to cause the TYPE function to print the size of the file (in bytes) on standard-out (or -1) if not found or an error occurs. NOTE: If an error occurs, it is logged with the dprintf function, which is visible with `-d' flag or debug=1. In many cases, where you need to get the size of a file _and_ check for its existence, you can use the return status of a $PROBE_SIZE call.
* Fix a wrong memcpy of struct sockaddr.hrs2013-07-121-3/+2
| | | | Spotted by: dt71@gmx.com
* Fix bug in deleting files: If two ports had the same tarball and one ofcperciva2013-07-111-2/+2
| | | | | | | | | | | them changed (or was removed from the tree) then portsnap would delete that file. This happened earlier today when one of two empty port directories was removed. Uniquifying the lists of needed files fixes this. 9.2-RELEASE candidate. MFC after: 3 days
* Implement RTC CMOS nvram. Init some fields that are usedgrehan2013-07-113-22/+105
| | | | | | | by FreeBSD and UEFI. Tested with nvram(4). Reviewed by: neel
* Introduce a new [yet unused] function for [efficiently] getting the path todteske2013-07-101-0/+29
| | | | | | | | | | | an executable by-name without forking or using externals. In a performance benchmark of 10,000 runs on circa 2006 hardware, f_which out-performed `which' with an average completion time of ~2.5 seconds versus ~56 seconds. This should be handy for future use (not that I make it a habit to call `which' in a loop 10,000 times).
* Fix -Wmissing-variable-declarations compiler warning.rdivacky2013-07-101-1/+1
|
* Install authpf-noip.des2013-07-101-0/+3
| | | | MFC after: 3 days
* Adjust comments to fit within 80-columns.dteske2013-07-091-4/+4
|
* Fix conditional (der should match the comment above it).dteske2013-07-091-1/+1
| | | | MFC after: 1 day
* Do two things: First, don't obscure the backtitle. Second, read ~/.dialogrcdteske2013-07-091-1/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | if it exists to determine if use_shadow is true (ON) or false (OFF). The purpose of determining the value of use_shadow is to know how many lines to subtract from the maximum height value in assuring that the backtitle is not obscured. The detriment of obscuring the backtitle is that it provides information that is not easily obtained elsewhere. That is the command-line shortcut used to access the current menu. As you navigate from one dialog to the next, invariably transparently corssing module boundaries, the backtitle represents the command-line argument used to get there. Obscuring this information with a widget that is too-tall and/or too-wide would see that data go unnoticed (leaving few other ways to get that information in the same helpful context). So despite the fact that this change reduces the standard maximum height for all widgets, there is a trap-door to prevent this calculation. If you want to utilize the full screen height on the terminal (remember, this adjustment is not made for Xdialog(1)) you can set $NO_BACKTITLE to 1 (or any non-NULL value for that matter) and this calculation will be skipped. You will be able to draw a widget that partially obscures the backtitle if-necessary. MFC after: 1 day
* - Add missing "static" keywords.hrs2013-07-091-2/+7
| | | | | | | - Add a check for ifindex to if_indextoifinfo(). It returns NULL when if_indextoname() fails. MFC after: 3 days
* Add a missing white space.hrs2013-07-091-1/+1
|
* Fix some Kerberos related terminology.rmacklem2013-07-081-2/+2
| | | | | | This is a content change. Requested by: bjk
* Oops, initialize the krb5 ret values correctly (to anything non-zero).rmacklem2013-07-081-1/+1
|
* Make sure the krb5 status variables are correctly initialized.rmacklem2013-07-081-0/+1
|
* Document the new "-h" option for the gssd daemon.rmacklem2013-07-081-1/+12
| | | | | | This is a content change. Reviewed by: jhb
* Add a new "-h" option to the gssd daemon that enables support forrmacklem2013-07-081-13/+140
| | | | | | | | host based (kerberos service principal) initiator credentials in the default keytab file. This option won't actually be useful until the corresponding kernel changes are committed. Reviewed by: jhb
* Fix typos in the BSD License.dteske2013-07-0790-178/+178
|
* Be consistent with other usr.sbin programs w/respect to the copyrightdteske2013-07-071-1/+1
| | | | wording ("All rights reserved."); I had the casing wrong on many instances.
* Be consistent with other usr.sbin programs w/respect to the copyrightdteske2013-07-0788-88/+88
| | | | wording ("All rights reserved."); I had the casing wrong on many instances.
* Take the training-wheels off, after nearly 30 months of development. MFC todteske2013-07-061-5/+2
| | | | | | | | | | stable/9 planned after MFC 3-day period. The MFC to stable/9 is desired for the next release to get some much-needed time: + Living side-by-side with sysinstall for compare/contrast/transition + Living side-by-side with bsdinstall for integration/transition + Additional feedback/testing before eventual 10.0-R to make it even better MFC after: 3 days
* Don't prevent the user from hanging their system by changing networkdteske2013-07-056-17/+16
| | | | | settings while NFS mounts are active; but DO warn them and make the default action to do nothing. (thanks julian)
* Check for INDEX file first before anything else when processing modules.dteske2013-07-051-0/+2
|
* Check menuitem before calculating tag.dteske2013-07-051-2/+2
|
* Add the necessary code to reinstall packages. Both scripted accessdteske2013-07-052-1/+11
| | | | | | | | | | | (packageReinstall) and UI access have been tested successfully with a variation of different situations including: + Reinstall a package for which no other packages depend + Purposefully do thinks like reinstall a package that is not installed + Try to reinstall a package which other installed packages still depend NOTE: There is no "force" used; if a package is required by other packages, it will not be uninstalled (and therefore no reinstall is done).
* Remove superfluous continue at end of loop. (pointy-hat)dteske2013-07-051-1/+1
|
* Add support for processing add-on modules from /usr/local/libexec/bsdconfigdteske2013-07-052-3/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (this is designed to allow new modules to be installed via ports/packages). To prevent conflict with itself (sysutils/bsdconfig) as a port (which installs its base modules to the above directory, it was long-ago decided that so-called `base' modules would look different than now-defined `add-on' modules. The structure of the contents for each is the same, but the naming convention for the module directory must be different. Base modules are named `[0-9][0-9][0-9].*' to allow SysV-style organization while add-on modules must avoid this naming style and are simply listed in alphabetical order by their module directory. For example, a hypothetical port named `bsdconfig-jails' could install /usr/local/libexec/bsdconfig/jails and provide `bsdconfig jails' as well as a new menu entry in the main-menu. Add-on modules are listed in the main-menu (when bsdconfig is executed with- out arguments) below a separator after the last base-module. In `bsdconfig -h' output, add-on modules are listed right alongside base modules (sorted alphabetically in columnar fashion; left-to-right). If a base module declares a keyword used by an add-on module, the base module will always win when given `bsdconfig keyword' syntax. Add-on modules should avoid declaring any keyword found in `script.subr' as a reserved-word (`Resword') since bsdconfig also supports `bsdconfig resword' as a fall-back if no keyword is found to be declared by any module.
OpenPOWER on IntegriCloud