Devin Teske
dc68c8b311
Fix code typo (no functional change)
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-14 21:26:48 +00:00
Baptiste Daroussin
3d85e406bb
Regression: fix usershow -7
...
Submitted by: Dan McGregor (via IRC)
MFC after: 2 days
2015-09-14 19:23:00 +00:00
Alexander Motin
860d3db9ce
Add negotiation of iSCSIProtocolLevel to 2 (RFC7144).
...
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.
2015-09-13 20:58:22 +00:00
Alexander Motin
828524c137
When updating port, apply only change of LUN map, not whole.
2015-09-13 15:08:06 +00:00
Alexander Motin
d36c617616
CTL documentation update, mostly for HA.
2015-09-12 10:23:23 +00:00
Baptiste Daroussin
ec4f7bd978
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 after: 2 days
2015-09-12 08:24:25 +00:00
Devin Teske
65f3614085
Replace `return' outside of function with exit
...
MFC after: 3 days
X-MFC-to: stable/10
Pointy hat to: me
2015-09-11 21:18:21 +00:00
Devin Teske
0a8354938c
Use a variable for readability
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 21:14:48 +00:00
Devin Teske
e5a24129fa
Update copyright
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 21:13:34 +00:00
Devin Teske
96eeaba5b1
Better to reset trap and explicitly exit success
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 21:12:41 +00:00
Devin Teske
521414ebc7
Remove trailing newline at EOF
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 21:09:39 +00:00
Devin Teske
5e1ed71e4f
Produce meaningful exit code
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 21:08:46 +00:00
Devin Teske
1a8cf17d01
Explicitly exit with success
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 21:01:26 +00:00
Devin Teske
0705286bfb
Explicitly exit with success
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 20:59:13 +00:00
Devin Teske
fef95330a8
Update copyrights
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 20:58:00 +00:00
Devin Teske
cc478f6fd3
Produce meaningful exit code
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 20:56:36 +00:00
Devin Teske
527a9f3a85
Remove use of return outside of function
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 20:45:41 +00:00
Devin Teske
ff7b134cfa
Ignore error results from newaliases(1)
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 20:39:41 +00:00
Xin LI
2d0fc14c63
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).
Note that we do not believe there is real-world impact for gstat(8)'s usage
because the strings are length checked, and the on-stack buffer belongs to
main() and we can expect to have zeros in them.
MFC after: 2 weeks
2015-09-11 06:52:57 +00:00
Alexander Motin
fb606ebabc
Remove unused target and initiator IDs.
2015-09-10 10:46:21 +00:00
Hiroki Sato
f74237f5b6
- Remove #ifdef HAVE_POLL_H.
...
- Use nitems().
MFC after: 3 days
2015-09-10 06:40:28 +00:00
Takanori Watanabe
05e526fb5a
fix compare argument for address type.
...
Submitted by: issei10193 (via Twitter)
2015-09-09 13:24:39 +00:00
Jung-uk Kim
1db13cd689
Revert r287578. This patch requires more review.
...
Requested by: adrian
2015-09-08 23:17:02 +00:00
Allan Jude
1289db4899
Add an additional check to service(8) -e incase rcvar is blank
...
Approved by: bapt (mentor)
X-MFC-With: 287576
Differential Revision: https://reviews.freebsd.org/D3604
2015-09-08 22:50:17 +00:00
Baptiste Daroussin
4c79e0d6c1
Remove extra debug that crept in
2015-09-08 22:24:20 +00:00
Baptiste Daroussin
61acb4582f
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 after: 1 week
2015-09-08 21:25:36 +00:00
Jung-uk Kim
6c2f0c65c8
Enable 802.11n support.
...
PR: 164102
2015-09-08 21:04:33 +00:00
Jung-uk Kim
c3eac7e2b4
Sort and remove duplicate compiler flags.
...
MFC after: 3 days
2015-09-08 20:41:47 +00:00
Allan Jude
32047ac5fb
service(8) -e does not respect /etc/rc.conf.d/* entries
...
PR: 173454
Submitted by: giantlock@gmail.com (original patch)
Approved by: bapt (mentor)
MFC after: 1 week
Relnotes: yes
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D3600
2015-09-08 20:22:51 +00:00
Baptiste Daroussin
b50756c759
Fix indentation, no functional changes
2015-09-08 19:25:15 +00:00
Alexander Motin
db7bf2baae
Add two new portal group options "tag" and "foreign".
...
They are going to be useful in clustered setups.
2015-09-07 13:43:05 +00:00
Baptiste Daroussin
1ed2002089
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.
MFC after: 1 week
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D3391
2015-09-06 20:05:29 +00:00
Enji Cooper
949b0d9970
Parallelize the usr.sbin/ntp subdirectory build
...
Articulate all needed dependencies for the subdirectories
MFC after: 1 week
2015-09-06 18:58:33 +00:00
Alexander Motin
a3977bea20
Allow LUN options modification via CTL_LUNREQ_MODIFY.
...
Not all changes take effect, but that is a different question.
2015-09-06 11:23:01 +00:00
Baptiste Daroussin
1bc54324e9
Yet another fix for gcc 4.2
2015-09-05 22:33:40 +00:00
Baptiste Daroussin
cb291e8aa1
Remove extra i++
...
Reported by: allanjude@
2015-09-05 21:55:01 +00:00
Baptiste Daroussin
4569e7cfe2
Fix build with gcc 4.2
...
Reported by: kib
2015-09-05 16:59:30 +00:00
Baptiste Daroussin
cddcb2599f
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
MFC after: 1 month
Relnotes: yes
Sponsored by: gandi.net
Differential Revision: https://reviews.freebsd.org/D3544
2015-09-05 00:06:01 +00:00
Cy Schubert
9bf168600c
Turn on RAWDCF by default.
...
Suggested by: ian
Approved by: roberto
MFC after: 1 week
2015-09-04 16:59:01 +00:00
Alexander Motin
c01a5fa910
Another addition to r287455.
2015-09-04 10:16:21 +00:00
Alexander Motin
3b6077ae3d
Addition to r287455.
2015-09-04 10:14:58 +00:00
Edward Tomasz Napierala
23bd2dd4a4
Use proper term in the ctld(8) and iscsid(8) man pages.
...
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2015-09-03 11:43:56 +00:00
Edward Tomasz Napierala
10b5297f57
Simplify the introductory example in ctl.conf(5) down to absolute
...
basics. The more complicated cases - like how to use physical
ports - are explained later, in the "EXAMPLES" section.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
2015-09-03 11:42:59 +00:00
Marcelo Araujo
aa44f2ed5e
Rename YP to NIS in the manpages.
...
Approved by: bapt (mentor)
Differential Revision: D3555
2015-09-03 07:18:52 +00:00
Marcelo Araujo
d84e564f14
Sync with the latest code from OpenBSD.
...
Approved by: rodrigc (mentor)
Differential Revision: D3550
2015-09-03 07:12:40 +00:00
Devin Teske
8fdb5185b9
Fix mandoc(1) "WARNING: end of line whitespace"
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-03 03:58:59 +00:00
Devin Teske
3ed46372b5
Remove non-functional examples.
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-03 03:29:44 +00:00
Xin LI
65b4f27054
Don't leak 'var'.
...
Reported by: clang static analyzer
2015-09-03 01:15:23 +00:00
Devin Teske
61016a614e
Minor code cleanups (no functional changes).
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-02 21:53:48 +00:00
Edward Tomasz Napierala
b8c19fd719
It's 2015, and some people are still trying to use fdisk and then
...
go asking what debug flags to set for GEOM to make it work. Advice
them to use gpart(8) instead.
Something similar should probably done with disklabel,
but I need to rewrite the disklabel examples first.
Reviewed by: wblock@
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3315
2015-09-02 14:08:43 +00:00