Commit Graph

195122 Commits

Author SHA1 Message Date
gjb
bfa777d36f MFC r264343:
Add SRC_UPDATE_SKIP, DOC_UPDATE_SKIP, and PORTS_UPDATE_SKIP
  variables.  These are intended to allow bypassing the
  'svn co /usr/{src,doc,ports}' step in the chroot when the
  tree exists from external means.

  The use case here is that /usr/src, /usr/doc, and /usr/ports
  in the chroot exist as result of zfs dataset clones, so it
  is possible (and happens quite often) that the included
  distributions may not be consistent.  (This is not the case
  for -RELEASE builds, but does happen for snapshot builds.)

Sponsored by:	The FreeBSD Foundation
2014-04-14 03:57:45 +00:00
dteske
4f557eb938 MFC r264243:
Loosen the processing of *_IF_aliasN vars to be less strict. Previously,
the first alias had to be _alias0 and processing stopped at the first non-
defined variable (preventing gaps). Allowing gaps gives the administrator
the ability to group aliases in an adhoc manner and also lifts the
requirement to renumber aliases simply to comment-out an existing one.
Aliases are processed in numerical ascending order.

NB: Also Patches mdconfig{,2} rc(8) boot scripts to loosen the numbering
scheme for mdconfig_mdN settings to be less strict in the same manner.

Discussed on:	-rc
2014-04-14 01:44:56 +00:00
gjb
7c94aa998b Document r260431, kern.panic_reboot_wait_time sysctl.
Sponsored by:	The FreeBSD Foundation
2014-04-13 22:41:30 +00:00
gjb
0d9d6402ca Fix order by svn revision.
Sponsored by:	The FreeBSD Foundation
2014-04-13 22:41:28 +00:00
gjb
f4d8cbef4d Document r260385, unmapped I/O in GEOM RAID.
Sponsored by:	The FreeBSD Foundation
2014-04-13 22:41:26 +00:00
gjb
d9a5796275 Document r260338
Sponsored by:	The FreeBSD Foundation
2014-04-13 22:41:24 +00:00
gjb
0c367a5c5e Document r260177, camcontrol '-b' addition.
Sponsored by:	The FreeBSD Foundation
2014-04-13 22:41:22 +00:00
rpaulo
760b289b96 MFC r263925
Enable all cryptocaps because net80211 can do software encryption.
2014-04-12 23:48:02 +00:00
gjb
54852c4432 Move OpenSSH entry to 'contrib' where it belongs.
Sponsored by:	The FreeBSD Foundation
2014-04-12 20:51:38 +00:00
gjb
47e675c819 Remove reference to FreeBSD 6.2-R in the freebsd-update(8) note.
Rewrap.

Sponsored by:	The FreeBSD Foundation
2014-04-12 20:50:31 +00:00
gjb
8c9af7f73b Clean up leading/trailing whitespace.
Rewrap paragraphs and long lines.

Sponsored by:	The FreeBSD Foundation
2014-04-12 20:49:07 +00:00
gjb
c9fa2d7cbf Trim stale entries.
Use consistent <para>&nbsp;</para> for empty sections.

Sponsored by:	The FreeBSD Foundation
2014-04-12 20:42:03 +00:00
gjb
4dd62b7757 Document r264377, OpenSSH update to 6.6p1.
While here, bump copyright year.

Todo: strip old entries from this file since 10.0-RELEASE.

Sponsored by:	The FreeBSD Foundation
2014-04-12 20:32:46 +00:00
des
faff1e38d2 MFH (r263712): upgrade openssh to 6.6p1
MFH (r264308): restore p level in debugging output
2014-04-12 20:22:59 +00:00
andreast
0918f176a2 MFC r260607, r260610, r260934:
r260607:
The onyx codec works also as module, so add it.

r260610:
Described in the man page but not implemented. Here it comes,
atomic_swap_32/64. The latter only for powerpc64.

r260934:
Fix the resource information for the i2s-a node on certain G5 PowerMacs.
This is the first step needed to get the snapper codec working on those
machines.
The second step is to enable the corresponding I2S device and its clock.

Tested on machines where the snapper codec was already working, a G4 PowerBook
and a PowerMac9,1 with a Shasta based macio.
The PowerMac7,2/7,3 with a K2 based macio can now also play sound.
2014-04-12 19:57:15 +00:00
bapt
87cf2668fd MFC: r263948
Convert an unused banner from skeleton.c into a comment.
It is added to every generated files and fix build at certain warning level with clang 3.4

Submitted by:	Thomas Dickey <dickey@his.com> (byacc upstream)
Spotted by:	glebius
2014-04-12 15:13:43 +00:00
bapt
e7708e06f4 MFC: r263881, r263952, r263983, r264068, r264090, r264131
Some xdev fixes:

- if TARGET_ARCH is not defined and XDEV_ARCH is defined then early define
  TARGET_ARCH to the valud of XDEV_ARCH: This allow the xdev-build target
  to be able to correctly chose the compiler it needs to build
- Allow overwriting XDTP to allow a user to not chose where the xdev env will
  live in
- Fix build for gcc only xdev (like ia64) by providing the proper -B to the
  toolchain and not relying on gcc being installed already in base
- Fix TOOLS_PREFIX so the generated toolchain has the right default sysroot when
  installed intead of getting the DESTDIR one
- Fix supporting DESTDIR
- Also overwrite CXX (needed for cross building c++ libraries with clang) and
  CPP (needed to cross build some libraries when gcc is the target default
  compiler but gcc is not installed on the building host)
- Prevent XDTP from being a relative path:
  XDTP is used as the default SYSROOT for clang and thus should be an absolute path.
- Respect default CC
2014-04-12 15:06:15 +00:00
kib
91bb0a33cf MFC r264173:
Use realloc(9) instead of doing the reallocation inline.
2014-04-12 14:18:25 +00:00
kib
67f7cbcad8 MFC r264146:
Fix a race between kqueue_register() and kqueue_scan() setting KN_INFLUX
flag while knlist is not locked, which caused lost notifications from
parallel knote().
2014-04-12 14:08:53 +00:00
dchagin
ee7f22ddbc MFC r264151:
Prevent alq from panic when the invalid alq_file path specified.
2014-04-12 06:50:11 +00:00
hselasky
fde2f5ed58 MFC r264294:
Fix for infinite XHCI reset loops when the set address USB request fails.
2014-04-11 06:13:56 +00:00
delphij
d336d68dfb MFC r263889 (MFV r263887):
3993 zpool(1M) and zfs(1M) should support -p for "list" and "get"
4700 "zpool get" doesn't support -H or -o options
2014-04-11 01:27:33 +00:00
delphij
f4b8b0fe7c MFC r263459: MFV 263436-263438:
3947 zpool(1M) references nonexistent zfs-features(5)
4540 zpool(1M) man page doesn't describe "readonly" property
3948 zfs sync=default is not accepted
4611 zfs(1M) still mentions 'send -r' in synopsis
4415 zpool(1M) man page missing "import -m" description
4570 Document dedupditto pool property
4572 Dedup-related documentation additions for zpool and zdb.
1371 Add -D option description to zpool(1M) manpage
4571 Add documentation for -T and interval to "zpool list"
2014-04-11 01:23:46 +00:00
bdrewery
69b3d64798 MFC r263879:
Add `-S' to display syscall numbers in the output as well.
2014-04-11 01:00:51 +00:00
jkim
aeb5a4ff70 MFC: r261037, r264278
Merge OpenSSL 1.0.1f and 1.0.1g.
2014-04-10 22:39:22 +00:00
joerg
8f4a94c1c9 Merge r264084: make the Dresden Elektronik "USB Level Shifter Low Cost"
known to the FTDI driver.
2014-04-10 21:53:50 +00:00
asomers
2ab6848d63 MFC r263429
Fix kern/187712: config(8) does not respect KERNCONFDIR.
The impact of this bug is that you cannot build a kernel if both of the
following are true:
1) The kernel config file is in a non-default location
2) The kernel config file uses the "include" statement from config(5).

usr.sbin/config/main.c
usr.sbin/config/config.8
usr.sbin/config/config.h
usr.sbin/config/lang.l
	Added a "-I path" option to config(8).  By analogy to cc(1), it adds
	an extra path in which the "include" statement will search for
	files.

Makefile.inc1
        Pass "-I ${KERNCONFDIR}" to config(8).
2014-04-10 19:51:33 +00:00
dim
4ebc67638d MFC r264238:
For GNU as, add two missing modes for each of the fcomip and fucomip
instructions.  Partially obtained from OpenBSD by Pedro Giffuni, while I
added the fcomip variants.

Apparently this should help with compiling certain variants of WebKit.
2014-04-10 07:00:24 +00:00
dim
b4a5074609 MFC r263778:
Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process
all the SUBDIR entries in parallel, instead of serially.  Apply this
option to a selected number of Makefiles, which can greatly speed up the
build on multi-core machines, when using make -j.

This can be extended to more Makefiles later on, whenever they are
verified to work correctly with parallel building.

I tested this on a 24-core machine, with make -j48 buildworld (N = 6):

		before    stddev       after    stddev
		=======   ======       =======  ======
real time        1741.1     16.5         959.8     2.7
user time       12468.7     16.4       14393.0    16.8
sys  time        1825.0     54.8        2110.6    22.8

(user+sys)/real     8.2                   17.1

E.g. the build was approximately 45% faster in real time.  On machines
with less cores, or with lower -j settings, the speedup will not be as
impressive.  But at least you can now almost max out a machine with
buildworld!

Submitted by:	jilles

MFC r263833:

Enable parallel building for gnu/usr.bin and usr.bin/clang too.
2014-04-09 18:16:58 +00:00
ae
fa4bb91966 MFC r264039:
Document more parition types.
2014-04-09 13:35:39 +00:00
glebius
a25c39725c Merge r263203: garbage collect long time obsoleted (or never used) stuff
from routing API.
2014-04-09 11:15:50 +00:00
glebius
ecc4e56cfa Remove useless embedding of kernel struct rtentry into userland one.
This is direct commit to stable/10.

Sponsored by:	Nginx, Inc.
2014-04-09 11:10:44 +00:00
peter
f93104a916 Bump osreldate for tracking SA-14:06 2014-04-09 01:26:58 +00:00
gjb
1b6ca6a1ab Document SA-14:05.nfsserver, SA-14:06.openssl.
Sponsored by:	The FreeBSD Foundation
2014-04-09 00:40:15 +00:00
jhb
98708b1b49 MFC 259635:
Add an option to ignore accesses by the guest to unimplemented MSRs.

Also, ignore a couple of SandyBridge uncore PMC MSRs that Centos 6.4 writes
to during boot.
2014-04-08 20:40:54 +00:00
delphij
7ec723c6ae Fix NFS deadlock vulnerability. [SA-14:05]
Fix "Heartbleed" vulnerability and ECDSA Cache Side-channel
Attack in OpenSSL. [SA-14:06]
2014-04-08 18:27:39 +00:00
gjb
6f50d7f091 MFC r264027, r264028, r264029, r264030, r264046, r264073:
r264027:
  Add a new release build variable, WITH_COMPRESSED_IMAGES.

  When set to a non-empty value, the installation medium is
  compressed as part of the 'install' target in the release/
  directory.

r264028:
  Clean up trailing whitespace in release/Makefile.

r264029:
  Fix logic error.

r264030:
  If WITH_COMPRESSED_IMAGES is set, add the compressed images
  to the CLEANFILES list.

r264046:
  Use xz(1) instead of gzip(1) to compress release images
  when WITH_COMPRESSED_IMAGES is used.

r264073:
  Allow overriding xz(1) path.

Sponsored by:	The FreeBSD Foundation
2014-04-08 00:53:31 +00:00
ae
d32682111b MFC r263969,263971:
Don't generate an ICMPv6 error message if packet was consumed by filter.
  Remove unused label.

Sponsored by:	Yandex LLC
2014-04-07 12:58:54 +00:00
ae
92efc4b623 MFC r263966:
Don't copy the MF flag from original IP header to ICMP error message.

PR:		188092
Sponsored by:	Yandex LLC
2014-04-07 12:50:08 +00:00
pfg
f0fa402e84 MFC r264121;
gcc: define __block when block support is enabled

This mimics the behaviour in clang and lets us build cleanly
the libdispatch port on platforms where the base gcc is still
the default compiler.

Bump __FreeBSD_version for ports.

Tested by:	theraven
2014-04-07 01:55:54 +00:00
pfg
0a0ec7aed4 MFC r263973;
ddb: Minor style cleanups.

#define should be followed by tab.
2014-04-07 01:49:30 +00:00
jilles
68268e8fb3 login: Clean up PAM and audit, then exit, on SIGHUP and SIGTERM.
This avoids leaving stale entries in utmpx after the connection is closed on
an open login session. It also allows a clean way (SIGTERM) to forcibly
terminate a user's terminal session.

This does not affect the situation for "hung" processes after the connection
is closed. The foreground process group receives SIGHUP and the tty becomes
inaccessible.

Also replace all use of the obsolete signal() function with sigaction() (not
only the part where it is actually required: SIGHUP and SIGTERM must mask
the other as well when caught).

PR:		misc/183495
2014-04-06 10:56:27 +00:00
jilles
a3f8ed8103 MFC r262872: fts: Don't abort if an empty pathname is given.
Make fts_open(3) treat an empty pathname like any other pathname that cannot
be lstatted because of [ENOENT].

It is rather confusing if  rm -rf file1 "" file2  does not remove file1 and
file2.

PR:		bin/187264
2014-04-05 20:26:17 +00:00
jilles
15366d2a0d MFC r258794: chmod(2): Document S_ISVTX following SUSv3/SUSv4.
S_ISTXT is non-standard.

While here, also update fchmodat() standards entry to POSIX.1-2008.
2014-04-05 20:11:40 +00:00
jilles
738573dde6 waitid(2): Do not tell userland programmers to include <sys/signal.h>.
Userland should get these definitions by including <signal.h>.
2014-04-05 20:09:51 +00:00
jilles
af95ef01bb MFC r263244: find: When performing -quit, finish pending -exec ... + command
lines.

This avoids unexpected partial processing when a find command uses both
-quit and -exec ... +.

GNU find does the same.
2014-04-05 20:05:50 +00:00
jilles
b37f0c842b MFC r263195: sh: Add some consts. 2014-04-05 20:01:08 +00:00
jilles
76e2b229a4 MFC r262755: sh: Make argstr() return where it stopped and simplify expari()
using this.
2014-04-05 19:43:47 +00:00
kib
660fbf80db MFC r263912:
Clear the kernel grab of the FPU state on fork.
2014-04-05 14:24:29 +00:00
gjb
0e5fcf594c Document a potential panic or hang when using sas2flash to
update firmware on mps(4) LSI controllers.

Submitted by:	smh
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-04-04 21:35:17 +00:00