summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFH (r263712): upgrade openssh to 6.6p1des2014-04-12125-2467/+1527
| | | | MFH (r264308): restore p level in debugging output
* MFC r260607, r260610, r260934:andreast2014-04-124-3/+94
| | | | | | | | | | | | | | | | | | | 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.
* MFC: r263948bapt2014-04-121-3/+3
| | | | | | | | 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
* MFC: r263881, r263952, r263983, r264068, r264090, r264131bapt2014-04-121-12/+22
| | | | | | | | | | | | | | | | | | | | | 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
* MFC r264173:kib2014-04-121-8/+2
| | | | Use realloc(9) instead of doing the reallocation inline.
* MFC r264146:kib2014-04-122-26/+33
| | | | | | 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().
* MFC r264151:dchagin2014-04-121-4/+6
| | | | Prevent alq from panic when the invalid alq_file path specified.
* MFC r264294:hselasky2014-04-111-2/+14
| | | | Fix for infinite XHCI reset loops when the set address USB request fails.
* MFC r263889 (MFV r263887):delphij2014-04-115-30/+154
| | | | | 3993 zpool(1M) and zfs(1M) should support -p for "list" and "get" 4700 "zpool get" doesn't support -H or -o options
* MFC r263459: MFV 263436-263438:delphij2014-04-113-13/+49
| | | | | | | | | | | | 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"
* MFC r263879:bdrewery2014-04-112-11/+30
| | | | Add `-S' to display syscall numbers in the output as well.
* MFC: r261037, r264278jkim2014-04-10484-1837/+2624
| | | | Merge OpenSSL 1.0.1f and 1.0.1g.
* Merge r264084: make the Dresden Elektronik "USB Level Shifter Low Cost"joerg2014-04-102-0/+2
| | | | known to the FTDI driver.
* MFC r263429asomers2014-04-105-2/+39
| | | | | | | | | | | | | | | | | | | 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).
* MFC r264238:dim2014-04-102-0/+16
| | | | | | | | 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.
* MFC r263778:dim2014-04-099-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* MFC r264039:ae2014-04-091-1/+26
| | | | Document more parition types.
* Merge r263203: garbage collect long time obsoleted (or never used) stuffglebius2014-04-0910-103/+10
| | | | from routing API.
* Remove useless embedding of kernel struct rtentry into userland one.glebius2014-04-091-5/+0
| | | | | | This is direct commit to stable/10. Sponsored by: Nginx, Inc.
* Bump osreldate for tracking SA-14:06peter2014-04-091-1/+1
|
* Document SA-14:05.nfsserver, SA-14:06.openssl.gjb2014-04-091-0/+18
| | | | Sponsored by: The FreeBSD Foundation
* MFC 259635:jhb2014-04-084-14/+58
| | | | | | | 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.
* Fix NFS deadlock vulnerability. [SA-14:05]delphij2014-04-086-29/+126
| | | | | Fix "Heartbleed" vulnerability and ECDSA Cache Side-channel Attack in OpenSSL. [SA-14:06]
* MFC r264027, r264028, r264029, r264030, r264046, r264073:gjb2014-04-084-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* MFC r263969,263971:ae2014-04-071-5/+2
| | | | | | | Don't generate an ICMPv6 error message if packet was consumed by filter. Remove unused label. Sponsored by: Yandex LLC
* MFC r263966:ae2014-04-071-0/+1
| | | | | | | Don't copy the MF flag from original IP header to ICMP error message. PR: 188092 Sponsored by: Yandex LLC
* MFC r264121;pfg2014-04-072-2/+5
| | | | | | | | | | | | 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
* MFC r263973;pfg2014-04-074-16/+16
| | | | | | ddb: Minor style cleanups. #define should be followed by tab.
* login: Clean up PAM and audit, then exit, on SIGHUP and SIGTERM.jilles2014-04-061-18/+77
| | | | | | | | | | | | | | | | 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
* MFC r262872: fts: Don't abort if an empty pathname is given.jilles2014-04-051-5/+1
| | | | | | | | | | 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
* MFC r258794: chmod(2): Document S_ISVTX following SUSv3/SUSv4.jilles2014-04-051-10/+16
| | | | | | S_ISTXT is non-standard. While here, also update fchmodat() standards entry to POSIX.1-2008.
* waitid(2): Do not tell userland programmers to include <sys/signal.h>.jilles2014-04-051-1/+1
| | | | Userland should get these definitions by including <signal.h>.
* MFC r263244: find: When performing -quit, finish pending -exec ... + commandjilles2014-04-051-0/+1
| | | | | | | | | lines. This avoids unexpected partial processing when a find command uses both -quit and -exec ... +. GNU find does the same.
* MFC r263195: sh: Add some consts.jilles2014-04-053-11/+11
|
* MFC r262755: sh: Make argstr() return where it stopped and simplify expari()jilles2014-04-051-21/+5
| | | | using this.
* MFC r263912:kib2014-04-052-2/+4
| | | | Clear the kernel grab of the FPU state on fork.
* Document a potential panic or hang when using sas2flash togjb2014-04-041-0/+10
| | | | | | | | update firmware on mps(4) LSI controllers. Submitted by: smh Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* MFC r263878:kib2014-04-042-21/+27
| | | | Several fixes for the PCID implementation.
* MFC r263001royger2014-04-048-539/+322
| | | | | | | | Move asm IPIs handlers to C code, so both Xen and native IPI handlers share the same code. Approved by: gibbs Sponsored by: Citrix Systems R&D
* MFC r261521 by antoine: Add files to remove WITHOUT_NISemaste2014-04-041-3/+54
| | | | | PR: misc/186412 Sponsored by: The FreeBSD Foundation
* MFC r263885ray2014-04-043-1/+37
| | | | | | | | | o Add new vd_driver method to do bitblt with mask, named vd_maskbitbltchr. o Move vd_bitbltchr vga's driver method to vd_maskbitbltchr. o Implement new vd_bitbltchr method for vga driver. (It do single write for 8 pixels, have to be a bit faster). Sponsored by: The FreeBSD Foundation
* Merge r262341:glebius2014-04-041-38/+33
| | | | | - Improve logging of send errors, reporting error code and interface. - Reduce code duplication between INET and INET6.
* MFC r264107:gjb2014-04-044-32/+0
| | | | | | Remove only-works-on-amd64 restriction. Sponsored by: The FreeBSD Foundation
* MFC r262810, r262862, r264105:gjb2014-04-0414-25/+608
| | | | | | | | | | | | | | | | | | | | r262810: Merge enabling building FreeBSD/arm images as part of the release build process. r262862: Provide backwards-compatibility with release.conf SVNROOT entries that do not have a trailing '/'. r264105: Add ZEDBOARD support for release builds. * Local modifications: - Set SRCBRANCH from head/ to stable/10/. - Strip svn:merginfo from ^/projects/release-embedded to avoid pollution. Sponsored by: The FreeBSD Foundation
* MFC r263428asomers2014-04-031-49/+62
| | | | | | | share/man/man7/tests.7 Added a section on test suite configuration, and cleaned up up grammar errors and awkward prose. The config variables were discussed on freebsd-testing.
* MFC r263116asomers2014-04-034-60/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace 4.4BSD Lite's unix domain socket backpressure hack with a cleaner mechanism, based on the new SB_STOP sockbuf flag. The old hack dynamically changed the sending sockbuf's high water mark whenever adding or removing data from the receiving sockbuf. It worked for stream sockets, but it never worked for SOCK_SEQPACKET sockets because of their atomic nature. If the sockbuf was partially full, it might return EMSGSIZE instead of blocking. The new solution is based on DragonFlyBSD's fix from commit 3a6117bbe0ed6a87605c1e43e12a1438d8844380 on 2008-05-27. It adds an SB_STOP flag to sockbufs. Whenever uipc_send surpasses the socket's size limit, it sets SB_STOP on the sending sockbuf. sbspace() will then return 0 for that sockbuf, causing sosend_generic and friends to block. uipc_rcvd will likewise clear SB_STOP. There are two fringe benefits: uipc_{send,rcvd} no longer need to call chgsbsize() on every send and receive because they don't change the sockbuf's high water mark. Also, uipc_sense no longer needs to acquire the UIPC linkage lock, because it's simpler to compute the st_blksizes. There is one drawback: since sbspace() will only ever return 0 or the maximum, sosend_generic will allow the sockbuf to exceed its nominal maximum size by at most one packet of size less than the max. I don't think that's a serious problem. In fact, I'm not even positive that FreeBSD guarantees a socket will always stay within its nominal size limit. sys/sys/sockbuf.h Add the SB_STOP flag and adjust sbspace() sys/sys/unpcb.h Delete the obsolete unp_cc and unp_mbcnt fields from struct unpcb. sys/kern/uipc_usrreq.c Adjust uipc_rcvd, uipc_send, and uipc_sense to use the SB_STOP backpressure mechanism. Removing obsolete unpcb fields from db_show_unpcb. tests/sys/kern/unix_seqpacket_test.c Clear expected failures from ATF.
* o Provide a compatibility shim for netstat(1) to obtain output queueglebius2014-04-033-3/+20
| | | | | | | | | | | | | drops via NET_RT_IFLISTL sysctl. The sysctl handler appends oqdrops at the end of struct if_msghdrl, and netstat(1) sees that as an additional field of struct if_data. This allows us to fetch the data keeping ABI and API compatibility. This is direct commit to stable/10. o Merge r263331 from head, to restore printing of queue drops. Sponsored by: Nginx, Inc. Sponsored by: Netflix
* MFC r263812:bdrewery2014-04-031-3/+20
| | | | Update build(7) with LOCAL_* vars
* Document that the FreeBSD/i386 instability withgjb2014-04-031-0/+4
| | | | | | | vfs.unmapped_buf_allowed=1 may be present on VMs running on hypervisors other than VirtualBox. Sponsored by: The FreeBSD Foundation
* MFC r263809ray2014-04-031-0/+3
| | | | | | | | Fix crash on resume in vt(9). Statically allocated terminal window have not initialized callout handler, so we have to initialize it even for existing window if it is console window. Sponsored by: The FreeBSD Foundation
OpenPOWER on IntegriCloud