summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge bmake-20151201sjg2015-12-10138-1291/+4313
|
* MFC r291919:ngie2015-12-101-6/+0
| | | | | | | | | | | Enable bin/ls testcases disabled previously because of issues with how kyua 0.11's version of report-junit was rendering non-printable characters Upgrade to kyua 0.12 to obtain a fixed version of the command Output verified with python 2.7.10's xml.dom.minidom module Sponsored by: EMC / Isilon Storage Division
* MFC: r291658bapt2015-12-091-1/+2
| | | | | | | | | | pw_checkname since the beginning is too strict on GECOS field, relax it a bit so gecos can be used to store multibytes data. This was unseen before FreeBSD 10.2 as this validation function was motly unused since FreeBSD 10.2 the usage of this function has been generalized to improve Reported by: des
* MFC: r291657bapt2015-12-092-9/+32
| | | | | | | Fix handling of numeric-only names with pw lock Add a regression test about it PR: 204968
* MFC r291579:ae2015-12-081-0/+10
| | | | | | | | | | | | | | | In the same way fix the problem described in r291578 for IGMPv3. In case when router has a lot of multicast groups, the reply can take several packets due to MTU limitation. Also we have a limit IGMP_MAX_RESPONSE_BURST == 4, that limits the number of packets we send in one shot. Then we recalculate the timer value and schedule the remaining packets for sending. The problem is that when we call igmp_v3_dispatch_general_query() to send remaining packets, we queue new reply in the same mbuf queue. And when number of packets is bigger than IGMP_MAX_RESPONSE_BURST, we get endless reply of IGMPv3 reports. To fix this, add the check for remaining packets in the queue.
* Fix typo in r291986.ae2015-12-081-1/+1
| | | | (this is derect commit to stable/10)
* MFC r291578:ae2015-12-081-0/+10
| | | | | | | | | | | | | | | | mld_v2_dispatch_general_query() is used by mld_fasttimo_vnet() to send a reply to the MLDv2 General Query. In case when router has a lot of multicast groups, the reply can take several packets due to MTU limitation. Also we have a limit MLD_MAX_RESPONSE_BURST == 4, that limits the number of packets we send in one shot. Then we recalculate the timer value and schedule the remaining packets for sending. The problem is that when we call mld_v2_dispatch_general_query() to send remaining packets, we queue new reply in the same mbuf queue. And when number of packets is bigger than MLD_MAX_RESPONSE_BURST, we get endless reply of MLDv2 reports. To fix this, add the check for remaining packets in the queue. PR: 204831
* MFC r291605:bdrewery2015-12-083-63/+55
| | | | | Fix errors being ignored in many phases of the build since the bmake integration.
* MFC r291226:bdrewery2015-12-081-1/+1
| | | | | | Fix ld not respecting --sysroot. Relnotes: yes
* Document SA-15:26gjb2015-12-071-0/+7
| | | | Sponsored by: The FreeBSD Foundation
* MFC r290920:kib2015-12-072-14/+30
| | | | | Raise OOM when pagedaemon is unable to produce a free page in several back-to-back passes.
* 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.
OpenPOWER on IntegriCloud