summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* MFC r288120: Fix crash on parsing some inf filesamdmi32015-10-062-1/+7
|
* MFC 288272jpaetzel2015-10-051-2/+2
| | | | | | | | | Increase group limit for kerberized NFSv4 PR: 202659 Submitted by: matthew.l.dailey@dartmouth.edu Reviewed by: rmacklem dfr Sponsored by: iXsystems
* MFC r288486, r288488: Set default block size for CD to expected 2048 bytes.mav2015-10-053-2/+6
|
* MFC r288310: Add to CTL initial support for CDROMs and removable devices.mav2015-10-057-7/+53
| | | | Relnotes: yes
* MFC r288259: Remove some duplicate, legacy, dead and questionable code.mav2015-10-053-597/+27
|
* MFC r288061: Make cltd ignore HA ports.mav2015-10-051-1/+7
|
* MFC r287823: Add ctl-lun config option for consistency in HA setups.mav2015-10-055-3/+36
|
* MFC r287766: Add negotiation of iSCSIProtocolLevel to 2 (RFC7144).mav2015-10-051-0/+5
| | | | | We may need to pass negotiated value to kernel level, but so far it is not necessary, since it does not use any new features without request.
* MFC r287757: When updating port, apply only change of LUN map, not whole.mav2015-10-053-3/+11
|
* MFC r287707: CTL documentation update, mostly for HA.mav2015-10-051-2/+5
|
* MFC r287620: Remove unused target and initiator IDs.mav2015-10-052-213/+125
|
* MFC r287534: Add two new portal group options "tag" and "foreign".mav2015-10-055-7/+58
| | | | They are going to be useful in clustered setups.
* MFC r287500: Allow LUN options modification via CTL_LUNREQ_MODIFY.mav2015-10-055-18/+123
| | | | Not all changes take effect, but that is a different question.
* MFC r287455, r287458, r287459: Remove some dead code.mav2015-10-052-2/+0
|
* MFC r286806: Drop "internal" CTL frontend.mav2015-10-053-256/+1
| | | | | | Its idea was to be a simple initiator and execute several commands from kernel level, but FreeBSD never had consumer for that functionality, while its implementation polluted many unrelated places.
* MFC 287473,287485,287493,287494bapt2015-10-053-0/+303
| | | | | | | | | | | | | | | | | | Add a new sesutil(8) utility This is an utility for managing SCSI Enclosure Services (SES) device. For now only one command is supported "locate" which will change the test of the external LED associated to a given disk. Usage if the following: sesutil locate disk [on|off] Disk can be a device name: "da12" or a special keyword: "all". Reviewed by: mav Relnotes: yes Sponsored by: gandi.net
* MFC r281532 (by delphij): Eliminate unused headers.mav2015-10-057-14/+0
|
* MFC r279314 (by trasz): Add missing error check.mav2015-10-051-1/+4
|
* MFC r278622 (by trasz): Remove unused code.mav2015-10-054-42/+0
|
* MFC r287982:bdrewery2015-10-031-3/+0
| | | | Replace afterinstall: hack from r54681 with 'make delete-old' functionality.
* Fix a regression with SA-15:24 patch that prevented NIS fromdelphij2015-10-021-4/+7
| | | | working.
* MFC r288381:bdrewery2015-10-021-7/+6
| | | | | All supported releases have the -m support from r186678, so remove the mention of it and reword this a bit to remove 'you'.
* MFC r288380:bdrewery2015-10-021-2/+14
| | | | | Document the post-merge actions of calling tzsetup(8) and services_mkdb(8) added in r259134.
* MFC r280793vangyzen2015-10-022-2/+8
| | | | | | | | | | pmcstat.8: fix -a flag description; improve -m flag to match The -a flag reads a file saved by -O, not -o. The -m flag requires the -R flag. Copy that paragraph from -a. Sponsored by: Dell Inc.
* MFC r287927:delphij2015-10-011-2/+2
| | | | | | | Use strlcpy() instead of strncpy() because subsequent mkstemps expects the string be nul-terminated. Reviewed by: neel
* MFC r287979:bdrewery2015-09-291-4/+0
| | | | Remove redundant beforeinstall.
* MFC 283613,287374:jhb2015-09-292-30/+21
| | | | | | | | | Use the cpuset API more consistently: - Fetch the root set from cpuset_getaffinity() instead of assuming all CPUs from 0 to hw.ncpu are the root set. - Use CPU_SETSIZE and CPU_FFS. - The original notion of halted CPUs the manpage and code refers to is gone. Use the term "available" instead.
* The Sun RPC framework uses a netbuf structure to represent thedelphij2015-09-291-5/+19
| | | | | | | | | | | | | | | | | | | transport specific form of a universal transport address. The structure is expected to be opaque to consumers. In the current implementation, the structure contains a pointer to a buffer that holds the actual address. In rpcbind(8), netbuf structures are copied directly, which would result in two netbuf structures that reference to one shared address buffer. When one of the two netbuf structures is freed, access to the other netbuf structure would result in an undefined result that may crash the rpcbind(8) daemon. Fix this by making a copy of the buffer that is going to be freed instead of doing a shallow copy. Security: FreeBSD-SA-15:24.rpcbind Security: CVE-2015-7236
* MFC: r288116jkim2015-09-251-5/+3
| | | | Remove unsupported S5 (power off) state.
* MFC: r267248, r267260, r267261, r267320jkim2015-09-251-1/+5
| | | | Document 'k' option for acpiconf(8).
* MFC 288208jpaetzel2015-09-251-1/+1
| | | | | | Fix typo. Sponsored by: iXsystems
* MFC r287650:delphij2015-09-251-4/+4
| | | | | | Use strlcpy() in favor of strncpy() as it's defined to have a nul character at the end of string buffer, and the code context do expects this to behave correctly (e.g. strchr).
* MFC 281734-281736,287997-287998:hrs2015-09-201-27/+16
| | | | | | | | | | | | | | | | | - Fix a crash on a rpc entry when an IPv6 address is explicitly specified in -a flag. - Fix a bug that sockaddr_in was used where sockaddr_in6 should have been used. This was not actually harmful because offsetof(struct sockaddr_in, sin_port) is equal to offsetof(struct sockaddr_in6, sin6_port). - Remove unused union p_un. - Use NI_MAXHOST-long buffer for getnameinfo(). Although INET6_ADDRSTRLEN was designed to hold the longest IPv6 address in IPv4-mapped address format a long time ago, getnameinfo() can return scope identifier in addition to it.
* MFC: r287580bapt2015-09-151-3/+3
| | | | Remove extra debug that crept in
* MFC: r287579bapt2015-09-153-34/+181
| | | | | | | | | | | | | | | Implement pubkey support for the bootstrap Note that to not interfer with finger print it expects a signature on pkg itself which is named pkg.txz.pubkeysign To genrate it: echo -n "$(sha256 -q pkg.txz)" | openssl dgst -sha256 -sign /thekey \ -binary -out ./pkg.txz.pubkeysig Note the "echo -n" which prevent signing the '\n' one would get otherwise PR: 202622
* MFC: r287701bapt2015-09-141-0/+1
| | | | | | | | | | Regression: fix pw usermod -d Mark the user has having been edited if -d option is passed to usermod and so the request change of home directory actually happen PR: 203052 Reported by: lenzi.sergio@gmail.com
* MFC: r287522bapt2015-09-133-4/+10
| | | | | | | | | | Prefer pciids database from ports if present Given the pciids database on ports is updated more often than the one in base prefer this version if present, otherwise read the one from base. Relnotes: yes Differential Revision: https://reviews.freebsd.org/D3391
* MFC 259169, 259176, 287097:hrs2015-09-131-80/+69
| | | | | | | | | - Ansify function definitions. - Change the type of addr argument in dump() function to be able disambiguate link-local addresses from different zones. - Add static and remove unused variables.
* MFC 287095, 287610, 287611, 287617:hrs2015-09-131-201/+0
| | | | Remove obsolete API (SIOCGDRLST_IN6 and SIOCGPRLST_IN6) support.
* MFC r287468, turn on RAWDCF by default.cy2015-09-121-1/+1
|
* MFC r277853sbruno2015-09-041-1/+1
| | | | | | | Check for invalid length or more than max length for the interpreter, instead of the validity of the string pointer holding the interpreter. Submitted by: sson
* MFC r286964asomers2015-09-039-0/+255
| | | | Add ATF functional tests for fstyp(8). No ZFS or GELI tests yet.
* MFC r286892asomers2015-09-013-5/+42
| | | | | | | | | Serve /etc/eui64 via NIS. The C library already knows how to lookup eui64 entries from NIS. For example, fwcontrol(8) does it. But /var/yp/Makefile.dist doesn't build the eui64 maps, and ypinit(8) doesn't push them to slaves. This change fixes that.
* MFC: r286409brueffer2015-08-241-12/+23
| | | | | | | | | Manpage cleanup. - new sentence -> new line - fix manpage references - fix macro usage - fix a typo
* MFC: r285133,r285136,r285137,r285156,r285157,r285158,r285256,r285318,r285395,bapt2015-08-2327-1973/+3052
| | | | | | | | | | | | | | | | | | | r285396,r285398,r285401,r285403,r285405,r285406,r285408,r285409,r285411, r285412,r285413,r285415,r285418,r285430,r285433,r285434,r285442,r285948, r285984,r285985,r285989,r285996,r285997,r286045,r286047,r286066,r286150, r286151,r286152,r286154,r286155,r286156,r286157,r286173,r286196,r286197, r286198,r286199,r286200,r286201,r286202,r286203,r286204,r286210,r286211, r286217,r286218,r286258,r286259,r286341,r286775,r286982,r286986,r286991, r286993 Validate most pw inputs. Rewrite the way parsing sub arguments is made to simplify code and improve maintenability Add -y (NIS) to userdel/usermod pw userdel -r <rootdir> now deletes directories in the rootdir Only parse pw.conf when needed Reject usermod and userdel if the user concerned is not on the user database supposed to be manipulated
* MFC r286947: Add a new exit-timeout option to watchdogd.ian2015-08-232-8/+26
|
* MFC r286462: Refactor early stages of security negotiation.mav2015-08-221-73/+77
|
* Instant-MFC r286933:delphij2015-08-191-2/+14
| | | | | | | | | | | | | | | | | | Issue warning and refuse to proceed further if the configured repository signature_type is unsupported by bootstrap pkg(7). Previously, when signature_type specified an unsupported method, the bootstrap pkg(7) would proceed like when signature_type is "none". MITM attackers may be able to use this vulnerability and bypass validation and install their own versions of pkg(8). At this time, only fingerprint and none are supported by the bootstrap pkg(7). FreeBSD's official pkg(8) repository uses the fingerprint method and is therefore unaffected. Errata candidate.
* MFC r286456: Remove some code duplication.mav2015-08-151-7/+1
|
* MFC r286621, r286622: Fix couple minor typos.mav2015-08-141-2/+2
|
OpenPOWER on IntegriCloud