dteske
d84010cd10
Use a variable for readability
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 21:14:48 +00:00
dteske
336ab64092
Update copyright
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 21:13:34 +00:00
dteske
d06c7f4aee
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
dteske
cf27eb785e
Remove trailing newline at EOF
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 21:09:39 +00:00
dteske
619846e1ef
Produce meaningful exit code
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 21:08:46 +00:00
dteske
b7553a37e9
Explicitly exit with success
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 21:01:26 +00:00
dteske
41e091074a
Explicitly exit with success
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 20:59:13 +00:00
dteske
4f2a0e318f
Update copyrights
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 20:58:00 +00:00
dteske
5e54510dd0
Produce meaningful exit code
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 20:56:36 +00:00
dteske
5bd4f328a6
Remove use of return outside of function
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 20:45:41 +00:00
dteske
bc7a1b0134
Ignore error results from newaliases(1)
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-11 20:39:41 +00:00
delphij
85e8cd9339
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
mav
1d4ff31d06
Remove unused target and initiator IDs.
2015-09-10 10:46:21 +00:00
hrs
f39d1c8c53
- Remove #ifdef HAVE_POLL_H.
...
- Use nitems().
MFC after: 3 days
2015-09-10 06:40:28 +00:00
takawata
1f333be9cd
fix compare argument for address type.
...
Submitted by: issei10193 (via Twitter)
2015-09-09 13:24:39 +00:00
jkim
f9bfc1cae4
Revert r287578. This patch requires more review.
...
Requested by: adrian
2015-09-08 23:17:02 +00:00
allanjude
8779e55553
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
bapt
390f3fc8ff
Remove extra debug that crept in
2015-09-08 22:24:20 +00:00
bapt
57a6813e1e
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
jkim
61177b5cd0
Enable 802.11n support.
...
PR: 164102
2015-09-08 21:04:33 +00:00
jkim
673603781f
Sort and remove duplicate compiler flags.
...
MFC after: 3 days
2015-09-08 20:41:47 +00:00
allanjude
7f8c7d805b
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
bapt
7519c8e26a
Fix indentation, no functional changes
2015-09-08 19:25:15 +00:00
mav
0bc1e39132
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
bapt
50ceb9f7c2
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
ngie
b198bf28c2
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
mav
037d401b2c
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
bapt
1933476d25
Yet another fix for gcc 4.2
2015-09-05 22:33:40 +00:00
bapt
9dfaf9b47b
Remove extra i++
...
Reported by: allanjude@
2015-09-05 21:55:01 +00:00
bapt
791763d67e
Fix build with gcc 4.2
...
Reported by: kib
2015-09-05 16:59:30 +00:00
bapt
eaf711e5bd
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
06704b6128
Turn on RAWDCF by default.
...
Suggested by: ian
Approved by: roberto
MFC after: 1 week
2015-09-04 16:59:01 +00:00
mav
57f927630c
Another addition to r287455.
2015-09-04 10:16:21 +00:00
mav
ab2fecaad6
Addition to r287455.
2015-09-04 10:14:58 +00:00
trasz
7a19b70f33
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
trasz
6534f807e4
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
araujo
c12d2cd4bc
Rename YP to NIS in the manpages.
...
Approved by: bapt (mentor)
Differential Revision: D3555
2015-09-03 07:18:52 +00:00
araujo
e4a962650c
Sync with the latest code from OpenBSD.
...
Approved by: rodrigc (mentor)
Differential Revision: D3550
2015-09-03 07:12:40 +00:00
dteske
13f4f3ba5b
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
dteske
f2a4a0206d
Remove non-functional examples.
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-03 03:29:44 +00:00
delphij
93aa277f11
Don't leak 'var'.
...
Reported by: clang static analyzer
2015-09-03 01:15:23 +00:00
dteske
81fc8f528c
Minor code cleanups (no functional changes).
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-02 21:53:48 +00:00
trasz
c05bbe4d23
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
dteske
bc8e82466a
Bump version for altered long-opts processing
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-01 22:39:09 +00:00
dteske
e5e9551177
Simplify long-option processing
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-01 22:37:33 +00:00
dteske
b13e78aa16
Bump version for prior fix (SVN r287381)
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-01 21:52:56 +00:00
dteske
e4210d1e2c
Style: Remove whitespace around brackets from function syntax options
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-01 21:50:55 +00:00
dteske
5acd37bdec
Comment for escape() function.
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-01 21:48:22 +00:00
dteske
21e840d426
Comment
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-01 21:42:00 +00:00
dteske
4518a723b5
Properly escape arguments when moving into jail or chroot
...
MFC after: 3 days
X-MFC-to: stable/10
2015-09-01 21:40:04 +00:00