Commit Graph

211319 Commits

Author SHA1 Message Date
mav
bbe5427644 Switch initiator IDs in target mode to the same address space as target
IDs in initiator mode -- index in port database instead of handlers.

This makes initiator IDs persist across role changes and firmware resets,
when handlers previously assigned by firmware are lost and reused.

Sponsored by:	iXsystems, Inc.
2015-07-13 21:01:24 +00:00
gjb
6527bc2154 Document r272906, pfil(9) default hash change.
Sponsored by:	The FreeBSD Foundation
2015-07-13 20:07:17 +00:00
gjb
6e73ab3362 Document r278551, ral(4) support for Ralink RT5390 and RT5392
chipsets.

Sponsored by:	The FreeBSD Foundation
2015-07-13 20:07:14 +00:00
gjb
7f0aa6ff14 Document r282921, nvd(4) and nvme(4) included in GENERIC.
Add Intel to sponsors.ent (note, &intel; cannot be used here).

Sponsored by:	The FreeBSD Foundation
2015-07-13 20:07:11 +00:00
gjb
fe148a814c Document r273375, bhyve support for AMD processors with SVM/AMD-V.
Sponsored by:	The FreeBSD Foundation
2015-07-13 20:07:09 +00:00
gjb
407240d6e6 Sort by svn revision.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:50 +00:00
gjb
63817cc293 Remove duplicate file(1) version entry.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:48 +00:00
gjb
a4321358d1 Sort (yet again) by revision number.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:46 +00:00
gjb
881c9acee4 Reword previous mkimg(1) update.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:43 +00:00
gjb
a137cbf8a8 Document r279139, mkimg(1) '-c' option.
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:41 +00:00
gjb
e2553b1294 s/vs/versus/ to make igor(1) happy.
Rewrap as result.

Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:38 +00:00
gjb
f79a0ee505 Document r276893, EFI support added to mkimg(1).
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:36 +00:00
gjb
cea457f09f Document r282465, apple-boot, apple-hfs, apple-ufs support in gpart(8).
Sponsored by:	The FreeBSD Foundation
2015-07-13 18:53:34 +00:00
loos
a59cb6a48a Bring a few simplifications to a10_gpio:
o Return the real hardware state in gpio_pin_getflags() instead of keep
   the last state in an internal table.  Now the driver returns the real
   state of pins (input/output and pull-up/pull-down) at all times.
 o Use a spin mutex.  This is required by interrupts and the 1-wire code.
 o Use better variable names and place parentheses around them in MACROS.
 o Do not lock the driver when returning static data.

Tested with gpioled(4) and DS1820 (1-wire) sensors on banana pi.
2015-07-13 18:19:26 +00:00
cem
08bb34a547 pipe_direct_write: Fix mismatched pipelock/unlock
If a signal is caught in pipelock, causing it to fail, pipe_direct_write
should not try to pipeunlock.

Reported by:	pho
Differential Revision:	https://reviews.freebsd.org/D3069
Reviewed by:	kib
Approved by:	markj (mentor)
MFC after:	1 week
Sponsored by:	EMC / Isilon Storage Division
2015-07-13 17:45:22 +00:00
allanjude
4067f24f01 Fix a typo in bsdinstall
A variable was misspelled resulting in chmod executing on the installer instead of on the target chroot

PR:		191402
Submitted by:	Martin Simmons <martin@lispworks.com>
Approved by:	brueffer
MFC after:	3 days
Sponsored by:	ScaleEngine Inc.
Differential Revision:	https://reviews.freebsd.org/D3061
2015-07-13 17:40:24 +00:00
mav
d576761ee8 Make role sysctl handling from r284727 less strict. 2015-07-13 15:51:28 +00:00
gjb
ce0c67cc96 Document r283307, mkimg(1) now used for i386 memstick images.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:45:02 +00:00
gjb
30cf1f47bf Document r277216, 510.status-world-kernel addition.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:59 +00:00
gjb
48db8330d0 Document r282693, native FreeBSD/arm build support in release tools.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:57 +00:00
gjb
919bfa54a5 Document r262955, 3wire ttys class.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:55 +00:00
gjb
79bb53be71 Sort by previous commit by revision ID.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:52 +00:00
gjb
b4e47a9a3c Document r273955, growfs rc(8) script addition.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:50 +00:00
gjb
4925868f37 Document r284683, ttyu{1,2,3} enabled by default on arm.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:47 +00:00
gjb
d4b19e72d5 Document r282613, nc(1) update to OpenBSD 5.7's version.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:45 +00:00
gjb
29628679df Fix revision for zoneinfo update.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:42 +00:00
gjb
49eb8210c2 Document r284398, tzdata update to 2015e.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:40 +00:00
gjb
c4e563926e Document r282608, date(1) update for compatibility with GNU.
Sponsored by:	The FreeBSD Foundation
2015-07-13 15:44:37 +00:00
brueffer
99fef66f4c Markup fixes. 2015-07-13 15:26:03 +00:00
mav
5a7280556e Unify port database use for target and initiator roles.
Aside from cleaner and more consistent code, this allows ports to be both
target and initiator same time, and easily switch from any role to any.

Sponsored by:	iXsystems, Inc.
2015-07-13 15:11:05 +00:00
brueffer
31a9499bfb Fix a typo and duplicate word. 2015-07-13 14:25:15 +00:00
brueffer
15e50c23e5 Don't claim c99 is a wrapper around gcc; it's a wrapper around the system cc.
PR:		201303
Submitted by:	Bruce Cran
MFC after:	1 week
2015-07-13 14:13:15 +00:00
luigi
c1ee844bc0 set the refcount for the structure (dropped by mistake in the last commit). 2015-07-13 10:23:52 +00:00
jlh
e5b0d6783a Allow again periodic scripts to be run from command-line.
PR:		188109
Submitted by:	Jason Unovitch
MFC after:	1 week
2015-07-13 10:15:01 +00:00
bapt
ba90467d76 Really fix -o 2015-07-13 09:12:05 +00:00
bapt
3137e99447 Add regression tests to ensure we keep allowing creating users with uid0 2015-07-13 09:09:09 +00:00
bapt
bfc5fcd1dc Regression fix: allow to create users with uid0
Reported by:	Jan Mikkelsen <janm@transactionware.com>
2015-07-13 09:08:27 +00:00
bapt
7f2e5a63d2 Fix logic of check duplicates that has been inverted 2015-07-13 09:07:38 +00:00
markm
054d3d8bb0 Rework the read routines to keep the PRNG sources happy. These work
in units of crypto blocks, so must have adequate space to write.
This means needing to be careful about buffers and keeping track
of external read request length.

Approved by:	so (/dev/random blanket)
2015-07-13 08:38:21 +00:00
bapt
610f9926f9 Prevent potential integer overflow
PR:		192971
Submitted by:	David Carlier <david.carlier@hardenedbsd.org>
2015-07-13 05:59:41 +00:00
bapt
cd420706fe Prevent potential integer overflow
PR:		192971
Submitted by:	David Carlier <david.carlier@hardenedbsd.org>
2015-07-13 05:56:27 +00:00
adrian
20587f04e1 Fixes the RF switch state polling by comparing with the revision of the
PHY instead of the revision of the RADIO.

This fixes the RF switch state polling.

This is from DragonflyBSD, Commit 202e28d1f65e9f35df6032400df3242a3bafb483

Obtained from:	DragonflyBSD
2015-07-13 05:13:39 +00:00
delphij
05fed0489a Bump version after 4.2.8p3 import.
Note: currently 'mkver' script is using hardcoded knowledge and always
emits -a in the version string, a more through solution would be to generate
the script with something that we own.
2015-07-12 23:32:23 +00:00
bapt
e657e72f8d Ensure skeldir is abolute path (relatively to the rootdir) 2015-07-12 22:08:58 +00:00
bapt
16b27ac1cf pw -R <rootdir> userdel can now cleanup installation
Rewrite rm_r to use *at function, allowing to remove home directories along with
users. only crontabs and at(1) installation are not removed

Relnotes:	yes
2015-07-12 21:43:57 +00:00
bapt
8621997ee9 Rework the home directory creation and copy or the skel content to use *at
functions

This allows to simplify the code a bit for -R by not having to keep modifying
path and also prepare the code to improve support -R in userdel

While here, add regression tests for the functionality
2015-07-12 20:29:51 +00:00
ian
93f91db3aa Add PRINTF_BUFR_SIZE=128 to avoid interleaved output. 2015-07-12 19:58:12 +00:00
alc
c97201a229 Correct the description of MADV_DONTNEED. Specifically, after using
MADV_DONTNEED, while pages faults on the affected address range are more
likely to occur, they are not guaranteed to occur.

MFC after:	3 days
2015-07-12 19:18:19 +00:00
gjb
eb8d3d79be Do not mount /var/log and /var/tmp as md(4)-backed devices.
Discussed with:	ian
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
2015-07-12 19:17:05 +00:00
allanjude
7d5369ba8e Remove excess copyright lines propogated by copy/paste
Approved by:	trasz
2015-07-12 19:16:19 +00:00