| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Fix the gcc build after r295407.
|
|
|
|
|
|
|
|
|
| |
r268620:
Make generation of nslexer.c more robust.
r294876:
nslexer.c does not depend on nsparser.h.
r294877:
Replace nslexer.l->nslexer.c custom rule with a -D CFLAG.
|
|
|
|
| |
Set a value for _RECURSING_PROGS for debugging.
|
|
|
|
| |
Revert yacc dependency back to pre-r241298.
|
|
|
|
| |
Remove old compatibility checks.
|
|
|
|
|
|
|
|
| |
Add debug output via ATF_REQUIRE_MSG when the first call to
mlock(2) fails
This helps identify the problem with running this test on my VM
hosts (ENOMEM)
|
|
|
|
| |
Remove things set already by bsd.progs.mk.
|
|
|
|
|
| |
(partial) Move PROGS logic to proper place and remove redundant and unneeded
logic.
|
|
|
|
|
|
|
| |
Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail on
64-bit architectures where sizeof(int) != sizeof(size_t).
PR: 206758
|
|
|
|
| |
Remove self-reference to destroy_dev_drain(9).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r296286:
Remove filemon->lock wrappers.
r296470:
Only call bwillwrite() for logging to vnodes, as other fo_write() calls do.
r296472:
Require kldunload -f to unload.
r296473:
Add missing break for r296472.
r296575:
FILEMON_SET_FD: Disallow changing the fd.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adjust vm.max_wired in order to avoid hitting EAGAIN artificially
Set vm.max_wired to INT_MAX in :mlock_err, :mlock_mmap, and :mlock_nested to
avoid hitting EAGAIN artificially on the system when running the tests
Require root privileges in order to set the sysctl
Add allow_sysctl_side_effects to require.config as this test is now adjusting
sysctls that can affect the global system state
Unlike the version submitted by cem in OneFS, this version uses a scratch file
to save/restore the previous value of the sysctl. I _really_, _really_ wish
there were better hooks in atf/kyua for per test suite setup/teardown -- using
a file is kludgy, but it's the best I can do to avoid situations where (for
instance), sysctl(3) may fail and drop a core outside the kyua sandbox.
Based on a patch submitted by cem, but modified to take business logic out of
ATF_TP_ADD_TCS(3).
|
|
|
|
|
|
|
| |
r295161:
Add order for installworld/distribution.
r296014:
Add order for installworld/installkernel.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r295341:
Require /bin/getfacl and /bin/setfacl when running the acl tests
For cases where these utilities aren't installed, the tests would fail today
in a non-intuitive manner on sub-testcase #3 in each of the test scripts
r295345:
Use basenames for getfacl, setfacl, and zpool to work around the
fact that Jenkins hardcodes image sizes to 2GB with the FreeBSD_HEAD
job
This is to stop the unnecessary failure emails because we've gone
over the 2GB limit
|
|
|
|
|
|
|
| |
r296002:
Don't hide AR command as bsd.lib.mk's r283925 changed as well.
r296012:
OBJS and POBJS have not been used since r215127.
|
|
|
|
|
|
|
| |
r295994:
PROGS: Remove the 'build one' optimization since it breaks 'build multiple'
r296000:
PROGS: Only the main process will install INCS.
|
|
|
|
|
|
|
| |
Delete argsize to fix a -Wunused-but-set-variable warning with gcc 4.9
The variable isn't actually checked -- just the end result which gets
returned from the function
|
|
|
|
| |
Support a WANT_MAKE_VERSION.
|
|
|
|
|
| |
Properly fix these builds by adding NO_WMISSING_VARIABLE_DECLARATIONS from
r249657.
|
|
|
|
| |
PROGS: Only recurse on called targets like done for SUBDIR in r291635.
|
|
|
|
| |
Remove `r_tmp` to fix a -Wunused-but-set-variable warning with gcc 4.9
|
|
|
|
|
| |
Add #include <string.h> to mute warning from clang/gcc about implicitly
declaring strcmp(3)
|
|
|
|
| |
Make libc __pthread_map_stacks_exec() interposed.
|
|
|
|
| |
Remove the assert which outlived its usefulness.
|
|
|
|
|
|
|
| |
Do not call vn_fullpath(9) (through the pmc_getfilename() wrapper)
when its result is immediately ignored, i.e. for kernel processes
forked from the user process. Do not test for non-null before freeing
string.
|
|
|
|
|
| |
Remove useless checks for NULL before calling free(9), in the kernel
elf linkers.
|
|
|
|
|
| |
Finish r173600. There is no need to test a condition if both cases
result in the same value.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Include rtld itself when iterating over loaded ELF objects in
dl_iterate_phdr(3).
MFC r294373:
Do not call callbacks for dl_iterate_phdr(3) with the rtld bind and
phdr locks locked.
MFC r294470 (by kan):
Fix initlist_add_object invocation parameters.
MFC r294936 (by kan):
Do not unlock rtld_phdr_lock over callback invocations.
|
|
|
|
| |
Use correct size for malloc.
|
|
|
|
|
|
|
|
|
| |
PR: 202971
Submitted by: adamw@FreeBSD.org
Reviewed by: bdrewery@
Approved by: wblock@
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D5429
|
|
|
|
|
|
|
|
| |
ZFS send fails to transmit some holes
PR: 207714
Approved by: re (gjb)
Sponsored by: Multiplay
|
|
|
|
|
| |
Upgrade the firmware carried in driver and loaded during hardware
initialization (a.k.a STORM firmware) to version 7.13.1 (latest version)
|
|
|
|
|
| |
Fix the wrong format, format specifies type 'int' but the argument has type
'long', it was spotted by clang.
|
|
|
|
|
|
| |
Return dst as the result from memcpy(9) on amd64.
PR: 207422
|
|
|
|
|
|
| |
In bpf_getdltlist(), do not call copyout(9) while holding bpf lock.
Copy the data into temprorary malloced buffer and drop the lock for
copyout.
|
|
|
|
|
|
|
|
| |
Remove references to Giant in the description of vrele(9). Add notes
about vnode lock and sleeping.
MFC r296001:
Fix year.
|
|
|
|
| |
Fix useless check. m_pkthdr.len should be equal to orglen.
|
|
|
|
|
|
|
|
| |
ichsmb: Add PCI device IDs for Intel Sunrise Point-H,
Wellsburg, and Lynx-Point LP SMBus controllers.
Remove whitespace.
Sponsored by: Dell Inc.
|
|
|
|
|
|
| |
Fix "naive" use of ftell(3).
Secure coding practices, FIO19-C.
|
|
|
|
|
|
| |
crontab: ftruncate() with ftello() instead of ftell().
Obtained from: OpenBSD (CVS rev. 1.47)
|
|
|
|
|
|
| |
cron: use (char *)NULL instead of (char *)0 in execle.
Obtained from: OpenBSD (CVS Rev 1.25)
|
|
|
|
|
|
|
| |
ostiInitiatorIOCompleted(): wrong sizeof() argument.
Detected by: PVS Static Analysis
CID: 1331601, 1331523
|
|
|
|
|
|
|
| |
firewire: fix a mismatch introduced in r230558.
Found by: PVS Static Analysis
Reviewed by: sbruno
|
|
|
|
| |
noted by mav@
|
| |
|
|
|
|
|
|
|
|
| |
fixes build with a non-standard DOC_PREFIX, but it is still a temporal
measure because some of them should be done by using XInclude,
not by entity reference.
- Trim old entries and bump version numbers.
|
|
|
|
|
|
|
|
|
|
|
| |
Configure the correct bMaxPacketSize for control endpoints before
requesting the initial complete device descriptor and not as part of
the subsequent babble error recovery. Babble means that the received
USB packet was bigger than than configured maximum packet size. This
only affects enumeration of FULL speed USB devices which use a
bMaxPacketSize different from 8 bytes. This patch might help fix
enumeration of USB devices which exhibit USB I/O errors in dmesg
during boot.
|
|
|
|
|
|
| |
Be more verbose when truncating number of HID items.
Suggested by: Larry Rosenman <ler@lerctr.org>
|
|
|
|
|
| |
Fix variable assignment inside if-clause in the smsc driver.
Found by D5245 / PVS.
|
|
|
|
|
|
| |
0xffffffff.
This should be a purely cosmetic change.
|