summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* Improve wording in ctl.conf(5).trasz2014-11-081-4/+5
| | | | | | | Differential Revision: https://reviews.freebsd.org/D1020 Reviewed by: bcr@ (earlier version), wblock@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* ctld(8) doesn't require -lcam or -lssl; remove those from DPADD and LDADD.trasz2014-11-081-2/+2
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Remove unused assignments, noticed by Clang analyzer.mav2014-11-071-7/+7
| | | | MFC after: 1 week
* Backout 274170 it breaks for mipsbapt2014-11-061-2/+2
|
* fifolog_writer does not depend on libutilbapt2014-11-061-2/+2
|
* fifolog_reader does not depend on libutilbapt2014-11-061-2/+2
|
* iscsid does not need to link to libsslbapt2014-11-061-2/+2
|
* sntp does not depend on libmbapt2014-11-061-2/+2
|
* rpcbind does not need to be linked to libutilbapt2014-11-061-2/+2
|
* Add to CTL support for logical block provisioning threshold notifications.mav2014-11-061-1/+9
| | | | | | | | For ZVOL-backed LUNs this allows to inform initiators if storage's used or available spaces get above/below the configured thresholds. MFC after: 2 weeks Sponsored by: iXsystems, Inc.
* Add EXAMPLES-section entry for new key+=append syntax of sysrc(8).dteske2014-11-051-1/+7
| | | | | | | MFC after: 3 days X-MFC-to: stable/10 stable/9 X-MFC-with: 274068 Thanks to: @SeanChittenden
* Improve the ability to cancel an in-flight request by using antychon2014-11-041-24/+146
| | | | | | | interrupt, via SIGCONT, to force the read or write system call to return prematurely. Reviewed by: grehan
* Follow-up to r255036; remove beforeinstall directives from bsdconfig(8)dteske2014-11-0439-119/+0
| | | | | | | | | Makefile's, fixing concurrent installworld (`make -j17 installworld'). Thanks to: delphij, emaste Reviewed by: delphij MFC after: 3 days X-MFC-to: stable/10, stable/9
* Add key+=append syntax to sysrc(8).dteske2014-11-032-7/+27
| | | | | | Reviewed by: shurd MFC after: 3 days X-MFC-to: stable/10 stable/9
* If the start bit, PxCMD.ST, is cleared and nothing is in-flight thentychon2014-11-031-2/+6
| | | | | | PxCI, PxSACT, PxCMD.CCS and PxCMD.CR should be 0. Reviewed by: grehan
* Require root when running the pw_delete and pw_modify test programs (pw(8)ngie2014-11-031-0/+3
| | | | requires it)
* Integrate usr.sbin/useradd/t_useradd.sh from NetBSD into FreeBSD as pw_testngie2014-11-031-0/+11
| | | | | | | | | - Suffix useradd/userdel commands with pw - Remove the atf_expect_fail for bin/39546 Phabric: D921 Reviewed by: brd Sponsored by: EMC / Isilon Storage Division
* Rewrite some of the disk setup documentation to be clearer and containnwhitehorn2014-10-311-32/+34
| | | | | | | less obsolete information. Also move the entropy command down the list -- the list is ordered by likelihood of use rather than alphabetically. MFC after: 1 week
* Rework the EXAMPLES section to be a bit clearer.jhb2014-10-291-6/+58
| | | | | | | | | | | | - Add an example of using etcupdate diff. - Create a subsection on bootstrapping that is below the simple examples. This should make it clearer that 'etcupdate extract' is a one-time operation and not part of the common workflow. It also adds more suggestions on when bootstrapping is needed and additional steps to make future merges simpler. Reviewed by: adrian MFC after: 3 days
* Fix iscsictl(8) and ctld(8) to correctly handle Windows newlinestrasz2014-10-291-0/+1
| | | | | | | (CRLF) in iscsi.conf and ctl.conf. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Keep the token list sorted.trasz2014-10-291-3/+3
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Make it possible to optionally use semicolon to separate statements.trasz2014-10-292-1/+12
| | | | | | | | | | | This makes it possible to format stuff like this: target xxx { lun 0 { path /foo/bar; size 4G; } } MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Simplify code; no functional changes.trasz2014-10-293-47/+21
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Add discovery-filter. This makes it possible to restrict which targetstrasz2014-10-297-8/+193
| | | | | | | | | are returned during discovery based on initiator portal, name, and CHAP credentials. Reviewed by: mav@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Document iSNS defaults.trasz2014-10-281-1/+3
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix renaming a group via the gr_copy functionbapt2014-10-281-0/+14
| | | | | | | | | | Add a regression test to pw(8) because the bug was discovered via using: pw groupmod PR: 187189 Reported by: mcdouga9@egr.msu.edu Tested by: mcdouga9@egr.msu.edu Patch by: Marc de la Gueronniere
* Ensure pw userdel -u <invalid> do not try to remove rootbapt2014-10-282-0/+14
| | | | | | Check the uid passed is actually a number as early as possible MFC after: 1 week
* Fix atf syntaxbapt2014-10-281-1/+1
|
* Do not delete the group wheel when bad argument is passed to pw groupdel -gbapt2014-10-282-0/+17
| | | | | | | | | | | | Check that the -g argument is actually a number, if not report an error. This argument is converted without checking with atoi(3) later so without this check it converts any alpha entries into 0 meaning it deletes the group wheel Add a regression test about it PR: 90114 Reported by: bkoenig@cs.tu-berlin.de MFC after: 1 week
* Fix a regression in pw usermod -G listbapt2014-10-282-1/+40
| | | | | | | | | | The user was perperly adding the to different groups from "list" but was not removed from the other groups it could have belong to. While here add a regression test about this bug PR: 185666 Reported by: sub.mesa@gmail.com MFC after: 1 week
* Remove spurious libelf dependency.nwhitehorn2014-10-281-1/+1
| | | | Submitted by: pluknet
* When a group is renamed then the group has been invalidated for sure.bapt2014-10-282-3/+17
| | | | | | | | | In that case get the group information using the new name. Add a regression test about this bug PR: 193704 Reported by: az
* Fix build after previous commit. While here, improve error messages.trasz2014-10-281-13/+27
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Remove the distinction between strings and numbers from ctld(8) yacc parser.trasz2014-10-282-30/+59
| | | | | | | | | | This fixes problems with passing strings that look like numbers to clauses that expect strings; previously it caused syntax errors and had to be worked by user, using quotes. The workaround introduced in r267833 is no longer neccessary. MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Use pkg-1.4-style platform identifiers based on MACHINE_ARCH (e.g.nwhitehorn2014-10-273-410/+22
| | | | | | | | FreeBSD:11:amd64 instead of freebsd:11:x86:64) when bootstrapping pkg. Thanks to portmgr for providing symlinks so both styles work. Reviewed by: bapt MFC after: 3 weeks
* Fix renderingbapt2014-10-271-2/+1
| | | | Submitted by: brueffer
* Clarify the documentation of pmcstat:bapt2014-10-271-1/+8
| | | | | | | | the -d argument should be passed before -p, -s, -P or -S to be taken in account Differential Revision: https://reviews.freebsd.org/D1011 Reviewed by: adrian, gnn MFC after: 1 week
* Add a comment explaining the intent behind the I/O reservation [0x72-0x77].neel2014-10-261-0/+4
|
* Add "rpm" and "formfactor" LUN options to match istgt functionality.mav2014-10-261-1/+7
| | | | MFC after: 1 week
* Move the ACPI PM timer emulation into vmm.ko.neel2014-10-262-174/+0
| | | | | | | | | This reduces variability during timer calibration by keeping the emulation "close" to the guest. Additionally having all timer emulations in the kernel will ease the transition to a per-VM clock source (as opposed to using the host's uptime keep track of time). Discussed with: grehan
* Add basic iSNS client to the iSCSI target.mav2014-10-258-46/+759
| | | | | | | | | | | | This makes ctld(8) register its iSCSI targets and portals on configured iSNS servers to allow initiators find them without active discovery. Fetching of allowed initiators from iSNS is not implemented now, so target ACLs still should be configured manually. Reviewed by: trasz@ MFC after: 1 month Sponsored by: iXsystems, Inc.
* Improve ctld.conf example.trasz2014-10-241-10/+17
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Make the initiator-name and initiator-portal checks a little nicer.trasz2014-10-243-20/+36
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Tidy up the login code; no functional changes.trasz2014-10-241-11/+11
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* vt(4): Add PIO_VFONT_DEFAULT ioctl to restore the default builtin fontdumbbell2014-10-232-9/+42
| | | | | | | | | | | | | To restore the default font using vidcontrol(1), use the "-f" flag without an argument: vidcontrol -f < /dev/ttyv0 PR: 193910 Differential Revision: https://reviews.freebsd.org/D971 Submitted by: Marcin Cieslak <saper@saper.info> Reviewed by: ray@, emaste@ Approved by: ray@ MFC after: 1 week
* Clean up (refactor) discovery a little; no functional changes.trasz2014-10-231-9/+8
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix some buglets in the error-handling of getdevice(). In particular, reportmarkj2014-10-221-3/+3
| | | | | | | | | an error if the argument to pciconf -a doesn't have a unit number, rather than triggering an assertion failure. PR: 194506 Reported by: Anthony Cornehl <accornehl@gmail.com> Sponsored by: EMC / Isilon Storage Division
* Fix ctl.conf example to use proper paths to ZVOLs.trasz2014-10-221-4/+4
| | | | Sponsored by: The FreeBSD Foundation
* Remove misleading statement. Bump date.trasz2014-10-221-8/+2
| | | | | MFC after: 1 month Sponsored by: FreeBSD Foundation
* Comment out parts about iSER; it's not implemented.trasz2014-10-221-4/+4
| | | | Sponsored by: The FreeBSD Foundation
OpenPOWER on IntegriCloud