summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* add_geom_children() cannot rely on busy disksRenato Botelho2017-09-291-11/+0
|
* Ignore CD drivesRenato Botelho2017-09-291-0/+3
|
* Try to guess target disk when there is only oneRenato Botelho2017-09-281-2/+31
|
* Detect pfSenseMirror device and use it without user interactionRenato Botelho2017-09-281-1/+5
|
* Hide md* and disks that can not be used for write operations from installerRenato Botelho2017-09-281-0/+14
|
* Save a debug of factory.shRenato Botelho2017-09-151-1/+2
|
* Hide md* and disks that can not be used for write operations from installerRenato Botelho2017-09-141-1/+14
|
* Fix a crash in gpioctl, the flags list must be null terminated.Luiz Souza2017-07-201-0/+1
| | | | (cherry picked from commit 9b57f5336c3e809f8f29d5ba2a8652619cdd18d0)
* Add initial GPIO PWM support.Luiz Souza2017-07-201-12/+54
| | | | (cherry picked from commit a70ecde4228d0d6f81b0eb8117e102d01a9a36eb)
* Merge remote-tracking branch 'origin/releng/11.1' into RELENG_2_5Renato Botelho2017-07-2017-16/+320
|\
| * MFS11 320921:jhb2017-07-132-2/+12
| | | | | | | | | | | | Add deprecation notices for various device drivers removed in 12.0. Approved by: re (kib)
| * MFS 320891grehan2017-07-133-4/+4
| | | | | | | | | | | | | | | | | | | | MFC r317542, r317543, r317543 317542 comment fix 317543 set rfb default port 317543 listen on localhost by default for rfb Approved by: re (kib)
| * MFS 320866grehan2017-07-1311-1/+275
| | | | | | | | | | | | | | | | | | | | | | | | MFC 313727, 317483 In addition, replace the missing caph routines with small helper functions (bhyverun.c) or an open-coded replacement (uart_emul.c) 313727 Capsicumize bhyve 317483 Allow CAP_MMAP_RW on memfd for PCI passthru Approved by: re (kib)
| * MFS r320855grehan2017-07-131-8/+19
| | | | | | | | | | | | ps2 mouse fixes, found by plan9/9front. Approved by: re (kib)
| * Merge r320645 from stable/11 into releng/11.1:allanjude2017-07-041-1/+10
| | | | | | | | | | | | | | Add deprecation notices for all rcmd tools Approved by: re (gjb) Relnotes: yes
* | Prepare installer files for "Recover config.xml" option. Issue #7708jim-p2017-07-182-7/+27
| | | | | | | | The actual script will be in the pfSense repo under tools/installer
* | Add script to copy config.xml off an available USB drive after the ↵jim-p2017-07-123-1/+62
| | | | | | | | | | | | | | | | installation is complete, similar to the old PFI behavior. Implements #7689 (cherry picked from commit ec316ce32d9b91fd07abc6392323f43d5365c6bd) (cherry picked from commit e471bc56255d0ba97d8ec1a9add892d069ebff42) (cherry picked from commit 528d34f4b75036e833a4be1ce2c23226a3a46011)
* | Merge remote-tracking branch 'origin/releng/11.1' into RELENG_2_5Renato Botelho2017-07-03161-639/+168033
|\ \ | |/
| * MFS r320586: MFC r320093: Check return value of seteuid() and bail outdelphij2017-07-031-2/+8
| | | | | | | | | | | | if we fail. Approved by: re (kib)
| * MFC r320183: Reduce code duplication in rpc.lockd.delphij2017-06-221-195/+76
| | | | | | | | | | | | | | | | | | | | Reuse create_service code instead of duplicating it in lookup_addresses for kernel NLM. As a (good) side effect this also fixed a few issues that were already fixed in the former but never applied to the latter. Approved by: re (gjb)
| * bsdinstall: use consistent EFI configuration across platformsemaste2017-06-193-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC r320007: - increase arm64 EFI partition to 200M, as x86 - use EFI_BOOTPART_SIZE and EFI_BOOTPART_PATH macros on x86 - increase ZFS EFI partition to 200M MFC r320008: bsdinstall: correct comment after r320007 PR: 201898 Approved by: re (kib) Relnotes: Yes Sponsored by: The FreeBSD Foundation
| * MFC: r319863allanjude2017-06-152-1/+7
| | | | | | | | | | | | | | | | | | bsdinstall: Make ZFS min_auto_ashift adjustment persistent MFC: r319864 bsdinstall: support Auto ZFS mode for ARM64 Approved by: re (gjb)
| * MFC r319954:gjb2017-06-151-6/+6
| | | | | | | | | | | | | | | | Modernize FreeBSD version numbers in freebsd-update(8). While here, expand a contraction to make textproc/igor happy. Approved by: re (kib) Sponsored by: The FreeBSD Foundation
| * MFC r319852:delphij2017-06-151-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | Fix buffer lengths. After r319369, the RPC code validates caller supplied buffer length in taddr2uaddr. When no -h is specified, the sizeof(ai_addr) is used, which is always smaller than the required size and therefore uaddr would be NULL, causing the kernel to copyin() from userland NULL and fail with EFAULT. Approved by: re (kib)
| * MFC r307517, r314342, r316357, r317545, r317777:rgrimes2017-06-131-5/+128
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r307517: Typo fixed: arbitraty -> arbitrary. PR: 213559 r314342: bhyve: document virtio-console in the manpage r316357: Minor style improvements in bhyve.8 Replace "as of now" with "at present". As the change is a really minor one, don't bump .Dd. r317545: Document raw framebuffer device and XHCI device configurations. r317777: Improve documentation of fbuf device. Approved by: grehan (mentor) Approved by: re (gjb)
| * MFC r319610:allanjude2017-06-131-5/+4
| | | | | | | | | | | | | | usr.sbin/sesutil: correct 'locate all off' to deactivate empty slot LEDs PR: 217409 Approved by: re (marius)
| * MFC r319074:trasz2017-06-061-4/+7
| | | | | | | | | | | | | | | | Minor tweaks to iscsi(4) and iscsid(8). This is mostly wording and clarification of the userspace/kernel split. Approved by: re (gjb)
| * MFC r319072:trasz2017-06-061-2/+5
| | | | | | | | | | | | Make ctld(8) mention cfiscsi(4). Approved by: re (marius)
| * MFC r318816:trasz2017-06-061-1/+1
| | | | | | | | | | | | Don't end up manpage titles with a full stop. Approved by: re (marius)
| * MFC r319369:delphij2017-06-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * limit size of buffers to RPC_MAXDATASIZE * don't leak memory * be more picky about bad parameters From: https://raw.githubusercontent.com/guidovranken/rpcbomb/master/libtirpc_patch.txt https://github.com/guidovranken/rpcbomb/blob/master/rpcbind_patch.txt via NetBSD. Approved by: re (kib)
| * MFC r316503,r316504,r316505:ngie2017-06-031-17/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Approved by: re (gjb) r316503: Clean up trailing whitespace r316504: Clean up more trailing whitespace in the licensing tort that happened to be spaces, not tabs r316505: Don't assume NAME_MAX is 255 Query the filesystem limit via getconf(3) instead
| * MFC r314579,r314785:ngie2017-06-019-0/+166410
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r314579 (by np): Add cxgbetool(8) to the base system. Move cxgbetool from tools/tools to usr.sbin. Compile and install it on platforms where cxgbe(4) is built by default. Knobs (WITH_CXGBETOOL and WITHOUT_CXGBETOOL) have been added so that the user can override the default setting. r314785: Fix some trivial manlint warnings Sentences should begin on new lines, per manlint. Bump .Dd for the change
| * MFC r313695, r313760, r314769, r314863, r314865, r316125delphij2017-05-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r313695: MFV r313676: libpcap 1.8.1 r313760: MFV r313759: license change for a few headers (4 clause BSD to 3 clause BSD). X-MFC-with: r313695 r314769: Remove compatibility with old libpcap. Differential Revision: https://reviews.freebsd.org/D9606 r314863: Stop installing pcap-int.h, which is the internal interface for libpcap. Reference: https://github.com/the-tcpdump-group/libpcap/issues/560 PR: 217221 r314865: Bump __FreeBSD_version for removal of pcap-int.h. PR: 217221 r316125: MFV r316124: Fix build when WITHOUT_INET6. Reported by: Randy Westlund <rwestlun gmail com>
| * MFC r317168:ngie2017-05-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | Add a knob, WITH*_RPCBIND_WARMSTART_SUPPORT, to allow the end-user to build rpcbind(8) with/without warmstart support. The knob defaults to off to preserve POLA for the feature. See rpcbind(8) for more details about the warmstart feature. Relnotes: yes
| * MFC r317155,r317162,r317163,r317164:ngie2017-05-302-6/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r317155: rpcbind(8): wordsmith -h description and mention -W in the SYNOPSIS section -W was already documented in the OPTIONS section. r317162: rpcbind(8): add a description for /var/run/rpcbind.sock under the FILES section r317163: rpcbind(8): post-humously document -w (warmstart) support added in r74462 warmstart support saves portmap/rpcbind(8) registration state on exit and restores the saved registration state on restart. r317164: Fix indentation per style.Makefile(5)
| * MFC r318141, r318143-r318144asomers2017-05-301-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r318141: strcpy => strlcpy Reported by: Coverity CID: 1352771 Sponsored by: Spectra Logic Corp r318143: strcpy => strlcpy Reported by: Coverity CID: 1006715 Sponsored by: Spectra Logic Corp r318144: Don't depend on assert(3) getting evaluated Reported by: imp X-MFC-With: 318141, 318143 Sponsored by: Spectra Logic Corp
| * MFC r314463:ngie2017-05-301-1/+1
| | | | | | | | | | | | Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output.
| * MFC r306375,r307802:ngie2017-05-303-59/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r306375 (by emaste): Add a WITHOUT_DIALOG src.conf(5) knob It also turns off dependencies (bsdinstall, bsdconfig, dpv, tzsetup). r307802 (by bapt): Fix build of tzsetup when WITHOUT_DIALOG is set Hide dialog specific code behind HAVE_DIALOG. It allows to build a stripped down version (missing the dialog UI) but perfectly function tzsetup when world is built WITHOUT_DIALOG Reorganise a bit the code to limit the number of blocks under HAVE_DIALOG
| * MFC ↵ngie2017-05-3040-158/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r314451,r314452,r314453,r314456,r314457,r314458,r314459,r314460,r314461,r314462,r314464,r314466,r314468,r314470,r314472,r314478: r314451: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones The SRCTOP conversion simplifies pathing in make/displayed output. Also, while here, change a hardcoded path to ar5523.bin.uu in the make target with ${.ALLSRC} . r314452: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones r314453: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones r314456: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output. r314457: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones The SRCTOP conversion simplifies pathing in make/displayed output. Also, while here, change a hardcoded path to ${RPCDIR}/ypupdate_prot.x in the make targets with ${.ALLSRC} . r314458: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output. r314459: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output. r314460: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output. r314461: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output. r314462: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones The SRCTOP conversion simplifies pathing in make/displayed output. Also, while here, change a hardcoded path to ${RPCDIR}/ypxfrd.x in the make targets with ${.ALLSRC} . r314464: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output. r314466: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output. r314468: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones Also, use :H where possible/sensical to manipulate .CURDIR-relative paths This simplifies pathing in make/displayed output. r314470: Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output. r314472: Simplify/improve idioms in usr.sbin/ntp Makefiles - Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones. This simplifies pathing in make/displayed output. - Also, use :H where possible/sensical to manipulate .CURDIR-relative paths - Remove superfluous bsd.own.mk .includes which are already handled via src.opts.mk .includes r314478: Simplify idioms in Makefiles further - Use SRCTOP-relative paths instead of .CURDIR-relative ones where possible - Use :H to manipulate .CURDIR in areas instead of ..-relative paths.
| * MFC r314541:ngie2017-05-307-11/+11
| | | | | | | | | | | | Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output.
| * MFC r318588:cy2017-05-301-2/+2
| | | | | | | | | | | | | | Fix up two assertions following malloc(). vangyzen@ notified me of the second one. The first one is fixed as well. Reported by: vangyzen@
| * MFC r318578:cy2017-05-301-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix non-recoverable name resolution failures due to negative cache entries never expiring. This patch honours the negative cache timeout. To test/experience the failure do the following: 1. Edit /etc/ncd.conf to adjust the cache timeouts as follows: positive-time-to-live hosts 30 negative-time-to-live hosts 1 2. Ensure that nsswitch.conf hosts line contains something like: hosts: files cache dns Note that cache must be specified before dns. 3. Start nscd. 4. Run the following command: while true; do nc -z -w 3 www.google.com 80; sleep 5; done 5. While running the command, remove or comment out all nameserver statements in /etc/resolv.conf. After a short while you will notice non-recoverable name rsolution failures. 6. Uncomment or replace all nameserver statements back into /etc/resolv.conf. Take note that name resolution never recovers. To recover nscd must be restarted. This patch fixes this. PR: 207804 Submitted by: Jov <amutu@amutu.com>
| * MFC r314659,r314676:ngie2017-05-294-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r314659: usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible This simplifies make logic/output r314676: Fix build after r314656 Some of the changes I introduced to use .ALLSRC were correct in spirit, but incorrect in reality -- in particular, ../Makefile.inc hadn't been pulled in via bsd.init.mk (via bsd.lib.mk, bsd.prog.mk), so the value of .ALLSRC (evaluated immediately) was empty. .include bsd.init.mk explicitly so we can be certain that the values used as dependencies in the targets are defined when the target recipe has been evaluated. Reminder: thou shalt separate out separate functional changes before committing them. (YUGE) Pointyhat to: ngie In collaboration with: bdrewery
| * MFC r318788:pfg2017-05-291-3/+6
| | | | | | | | | | | | | | | | bhyvegc_resize: make use of reallocarray(3) for bounds-checking. Also add __FBSDID. Reviewed by: grehan
| * MFC r318632, r318633:royger2017-05-291-5/+22
| | | | | | | | | | bsdinstall: mount is not needed for the ZFS install case bsdinstall: do not use distextract in scripted mode
| * MFC r314659,r314676:ngie2017-05-2966-121/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r314659: usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible This simplifies make logic/output r314676: Fix build after r314656 Some of the changes I introduced to use .ALLSRC were correct in spirit, but incorrect in reality -- in particular, ../Makefile.inc hadn't been pulled in via bsd.init.mk (via bsd.lib.mk, bsd.prog.mk), so the value of .ALLSRC (evaluated immediately) was empty. .include bsd.init.mk explicitly so we can be certain that the values used as dependencies in the targets are defined when the target recipe has been evaluated. Reminder: thou shalt separate out separate functional changes before committing them. (YUGE) Pointyhat to: ngie In collaboration with: bdrewery
| * MFC r314833rgrimes2017-05-283-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert absolute links to relative links. Style.Makefile(9) has been ignored to produce minimal diffs. MFC r314837 The relative symlink fix causes downstream issues for EMC DELL Isilon so revert the relative symlink fix pending a better solution. Reported by: ngie MFC r315091 Revert r314833 until the problem with INSTALL_RSYMLINKS can be found as it appears to break arm release builds. PR: 217705 Reported by: cyclaero@gmail.com Approved by: grehan (mentor)
| * MFC r318794, r318795:gjb2017-05-271-2/+2
| | | | | | | | | | | | Update the "first appeared in" version in several manual pages. Sponsored by: The FreeBSD Foundation
| * MFC r318599, r318643:gjb2017-05-251-18/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | r318599 (bjk): Updates for efivar.8 Fix spelling, appease igor and mandoc -Tlint, and adopt the language style to be more consistent with our corpus. r318643: Correct the "first appeared in" version for efivar(8). Sponsored by: The FreeBSD Foundation
| * MFC r317154:ngie2017-05-221-2/+3
| | | | | | | | | | | | | | | | | | Print out the signal number on exit in terminate(..) if WARMSTART is compiled into rpcbind. The signal number can provide helpful diagnostic info. Obtained from: Isilon OneFS
OpenPOWER on IntegriCloud