summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r290917:kib2015-12-071-3/+63
| | | | | | Provide the OOM-specific vm_pageout_oom_pagecount() function which estimates the amount of reclamaible memory which could be stolen if the process is killed.
* MFC r290915:kib2015-12-071-1/+2
| | | | | Do not skip a process which has inhibited thread due to the swap-out, in the OOM selection loop.
* MFC r291446:kib2015-12-061-18/+10
| | | | | | | | | | Minor cleanup. Systematically use ANSI C functions definitions. Correct type of the flags argument to the dev_pager_putpages() function. vm_pager_free_nonreq() does not exist in stable/10, this part is not merged.
* MFC r289452,r289469:ngie2015-12-051-0/+5
| | | | | | | | | | | | | | | | | r289452 (by trasz): Add iscsictl(8) and iscsid(8) to rescue(8). The point is to make it easier to build md_root images from rescue(8), to use with iSCSI boot. The change increases the size of rescue by 62kB, from 8728kB to 8790kB. Reviewed by: bapt@ Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D3865 r289469: Make iscsictl and iscsid build if MK_ISCSI == yes
* MFC r290908,r291615:ngie2015-12-052-4/+10
| | | | | | | | | | | | | r290908: Integrate contrib/netbsd-tests/lib/libcrypt/t_crypt.c in to the FreeBSD test suite as lib/libcrypt/crypt_test Sponsored by: EMC / Isilon Storage Division r291615 (by rodrigc): Hack test so that it works on FreeBSD.
* MFC r291296:ngie2015-12-051-0/+1
| | | | Link localeconv(3) to localeconv_l(3)
* MFC r283801,r290846,r290851,r290856,r290860:ngie2015-12-059-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r283801 (by araujo): Fix warning of implicit declaration of function 'mkdir'. Differential Revision: D2662 Reviewed by: rodrigc, ngie r290846: Bump WARNS to 2 Sponsored by: EMC / Isilon Storage Division r290851: Change WARNS to 2 across the board with all the libc testcases This effectively "reverts" r290846 Sponsored by: EMC / Isilon Storage Division r290856 (by bapt): also skip the definition of ':fopen_regular' to avoid the build to fail due to unused variables defined by ATF macros r290860 (by bapt): Remove unused variables to fix building world
* MFC: r291150rmacklem2015-12-053-7/+50
| | | | | | | | | | | | | When the nfsd threads are terminated, the NFSv4 server state (opens, locks, etc) is retained, which I believe is correct behaviour. However, for NFSv4.1, the server also retained a reference to the xprt (RPC transport socket structure) for the backchannel. This caused svcpool_destroy() to not call SVC_DESTROY() for the xprt and allowed a socket upcall to occur after the mutexes in the svcpool were destroyed, causing a crash. This patch fixes the code so that the backchannel xprt structure is dereferenced just before svcpool_destroy() is called, so the code does do an SVC_DESTROY() on the xprt, which shuts down the socket upcall.
* MFC: r291117rmacklem2015-12-051-0/+38
| | | | | | | | Revert r283330 since it broke directory caching in the client. At this time I cannot see a way to fix directory caching when it has partial blocks in the buffer cache, due to the fact that the syscall's uio_offset won't stay the same as the lblkno * NFS_DIRBLKSIZ offset.
* Add dependency for c++filt on libiberty.bdrewery2015-12-051-0/+1
| | | | | | | | | This is a direct commit since c++filt does not exist in head. This ws racing after my SUBDIR_PARALLEL changes here recently. Reported by: peter Sponsored by: EMC / Isilon Storage Division
* MFC r291238:kevlo2015-12-0514-14/+33
| | | | | | Add dependency to uether. Reviewed by: hselasky
* Remove stale tools/regression directory that should have been deletedngie2015-12-0525-2296/+0
| | | | | | in r291840 Sponsored by: EMC / Isilon Storage Division
* MFC r290537,r290540,r290560,r290856,r290871,r291839:ngie2015-12-0514-23/+2653
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r290537: Integrate tools/regression/lib/libc/stdio into the FreeBSD test suite as lib/libc/tests/stdio - Fix some whitespace - Convert the testcases to ATF - Convert "/dev/null" to _PATH_DEVNULL Sponsored by: EMC / Isilon Storage Division r290540: printfloat_test and scanfloat_test need symbols from msun; these are automatically provided on amd64, but not i386. Add libm to DPADD/LDADD to unbreak the i386 tinderbox Pointyhat to: ngie Sponsored by: EMC / Isilon Storage Division r290560: Convert print_positional_test over to ATF Somehow missed in r290537 Sponsored by: EMC / Isilon Storage Division r290856 (by bapt): also skip the definition of ':fopen_regular' to avoid the build to fail due to unused variables defined by ATF macros r290871: Disable -Wformat with scanfloat_test when compiling with gcc to avoid a "use of assignment suppression and length modifier together in scanf format" warning on line 90 (it's intentional) Sponsored by: EMC / Isilon Storage Division r291839: Initialize errno to 0 in the nul testcase before testing it For some odd reason stable/10 requires this, otherwise it always fails the errno == 0 check on line 196. Sponsored by: EMC / Isilon Storage Division
* Fix mis-merge in r291816, nl_defs.h not used here.bdrewery2015-12-041-1/+1
|
* MFC: r291091bapt2015-12-041-11/+5
| | | | | | | | | | | | | install: do not follow symlinks In case the target of install is a dead symlink, install(1) used to not consider it as "existing" because of the usage of stat(2) instead of lstat(2). meaning the old file (the symlink) is not removed before the new file is created. The symlink is being followed and the new file becoming the target of the symlink instead of the target of install(1) Reviewed by: jhb, brooks Differential Revision: https://reviews.freebsd.org/D4191
* MFC r291348:bdrewery2015-12-0419-19/+19
| | | | Use LIBEXECDIR for /usr/libexec.
* MFC r291339:bdrewery2015-12-041-2/+2
| | | | Follow-up r291330: h_testbits.h is only needed by xdr_test.
* MFC r291331:bdrewery2015-12-041-0/+1
| | | | Avoid requiring 'make depend' here.
* MFC r291330:bdrewery2015-12-044-5/+4
| | | | Replace DPSRCS that work fine in SRCS.
* MFC r284289,r288267:bdrewery2015-12-048-5/+10
| | | | | | | r284289: Misc fixes from projects/bmake r288267: Remove redundant .NOPATH.
* MFC r291329:bdrewery2015-12-049-18/+1
| | | | Remove redundant DPSRCS which were already in SRCS.
* MFC r291026:bdrewery2015-12-042-3/+0
| | | | Remove unneeded libmd from bootstrap-tools (reverting r246784).
* MFC r290665:bdrewery2015-12-044-6/+1
| | | | Build all of sys/modules with SUBDIR_PARALLEL.
* MFC r291081:bdrewery2015-12-042-1/+1
| | | | | Rename checked-in 'includes' to 'includes.sh' to avoid colliding with share/mk target 'make includes'.
* MFC r290812:bdrewery2015-12-041-2/+2
| | | | Avoid setting schg in the objtree for lib32 build.
* MFC r290435:bdrewery2015-12-041-2/+2
| | | | Don't allow environment-set options to bleed into src.conf.5 generation.
* MFC r290431:bdrewery2015-12-041-0/+1
| | | | Add SUBDIR_PARALLEL.
* MFC r290170:bdrewery2015-12-041-3/+0
| | | | Remove unneeded NULL as this is initialized with M_ZERO.
* MFC r290169:bdrewery2015-12-041-1/+1
| | | | Use memmove(3) to avoid overlapping copy.
* MFC r290374:bdrewery2015-12-041-1/+0
| | | | Remove unneeded mutex.h include, missed in r287155.
* MFC r290084:bdrewery2015-12-041-1/+0
| | | | Remove unneeded NAME override.
* MFC r290083:bdrewery2015-12-0417-28/+28
| | | | Use more appropriate ${SHAREDIR} rather than /usr/share.
* MFC r289393:bdrewery2015-12-0431-5/+69
| | | | Add more SUBDIR_PARALLEL.
* MFC r289669:bdrewery2015-12-041-4/+6
| | | | Fix building in a directory with SUBDIRs and SUBDIR_PARALLEL.
* MFC r289289,r290181:bdrewery2015-12-041-3/+6
| | | | | | | | | r289289: Fix support for building a PROG_CXX, and PROG, directly. r290181: Unbreak bsd.progs.mk with PROGS (but not PROGS_CXX) and when invoking the "one of many" targets, e.g. `make hello_world`, where hello_world is a C program
* MFC r289286,r291338,r291340:bdrewery2015-12-041-0/+22
| | | | | | | | | | r289286: Follow-up r288218 by ensuring common objects are built before recursing. r291338: Fix the "common object" handling to not depend on ".o" if SRCS only contains headers. r291340: Follow-up r291338 to handle .d, .y and .l files better as well.
* MFC r289872:bdrewery2015-12-041-3/+7
| | | | Replace gcc reference with 'cc' and document the default ${CC}.
* MFC r289870,r289871:bdrewery2015-12-042-0/+3
| | | | | | | r289870: Add bsd.crunchgen.mk to bsd.README. r289871: Sort properly.
* MFC r289736:bdrewery2015-12-041-1/+8
| | | | Document that we use {} for variable expansion.
* MFC r289379:bdrewery2015-12-042-32/+0
| | | | Remove directories disconnected since r169718.
* MFC r289375:bdrewery2015-12-041-2/+2
| | | | Fix wrong use of .for; the iteration variable is not used in the loop.
* MFC r289374:bdrewery2015-12-041-1/+0
| | | | Remove excess .else
* MFC r289360,r289361,r289378,r289430,r289605,r289676:bdrewery2015-12-044-53/+54
| | | | | | | | | | | | | | | | | | | r289360: Add temporary workaround for .MAKE being applied to _worldtmp, since r251750. r289361: Consider top-level targets to be .PHONY as bmake won't build them otherwise if a file with the same name is found in the directory. r289378: Mark sub-make targets as .MAKE and .PHONY to handle -n and always-build properly. r289430: Remove .MAKE from targets that do more than just run sub-makes, such as calling rm or mtree. r289605: Add missing .PHONY for parallel subdir target. r289676: Add some missing '+', .MAKE, and .PHONY modifiers.
* MFC r284105,r284106,r284163:bdrewery2015-12-044-71/+98
| | | | | | | | | | | | r284105: Cleanup some indentation issues. r284106: Implement '-s' to copy as symlink, similar to the current -l link(2) handling. r284163: Cleanup some style(9) issues. Relnotes: yes
* MFC r291001:bdrewery2015-12-041-0/+3
| | | | | | ipfw: Fix dynamic IPv6 rules showing junk for non-specified address masks. Relnotes: yes
* MFH (r287917, r287918, r289063): upgrade to latest Unbounddes2015-12-04124-621/+2966
| | | | | | | | MFH (r283301, r289592, r291582): rc script improvements MFH (r287880): respect manually configured forwarders when using DHCP MFH (r289321): deconfuse man page PR: 184047 203580 204931
* MFC r290913,r291181:ngie2015-12-042-0/+24
| | | | | | | | | | | | | | | | | | | r290913: Port contrib/netbsd-tests/kernel/t_mqueue.c to FreeBSD - Add missing headers - Ensure mqueuefs is loaded - Make sure the mqueuefs path is absolute and relative to / - Cast the result of mq_open returning -1 to (mqd_t) to mute a compiler warning Sponsored by: EMC / Isilon Storage Division r291181: Integrate contrib/netbsd-tests/kernel/t_mqueue into the FreeBSD test suite as tests/sys/kern/mqueue_test
* MFC r291180:ngie2015-12-041-2/+3
| | | | | | | | | | Fix up convert.c generation - Use a temporary file for convert.c to reduce likelihood of an interrupted build resulting in bad code being written to convert.c - Truncate the file instead of appending to it to ensure that the file being touched will not result in duplicate declarations/definitions from kern_acct.c if/when kern_acct.c changes.
* MFC r291359,r291362:ngie2015-12-041-1/+4
| | | | | | | | | | | | | r291359: Skip over lines that start with # (comments) r291362: r291359 was incorrect. Skip over tokens that start with `#' as fgetln can return more than one '\n' delimited line in a buffer Handle empty lines too, just in case
* MFC r291363:ngie2015-12-049-583/+582
| | | | Clean up trailing whitespace
OpenPOWER on IntegriCloud