Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
Do a sweep and remove most WARNS=6 settingsRepeating the default WARNS here makes it slightly more difficult toexperiment with default WARNS changes, e.g. if we did something absolutelybananas an
Do a sweep and remove most WARNS=6 settingsRepeating the default WARNS here makes it slightly more difficult toexperiment with default WARNS changes, e.g. if we did something absolutelybananas and introduced a WARNS=7 and wanted to try lifting the default tothat.Drop most of them; there is one in the blake2 kernel module, but I suspectit should be dropped -- the default WARNS in the rest of the build doesn'tcurrently apply to kernel modules, and I haven't put too much thought intowhether it makes sense to make it so.
show more ...
test: add libkvm read testThis test checks if value received from kvm_read is sane, based onvalue returned by sysctl interface.This should catch regression on bug fixed by r359160Reviewed by:
test: add libkvm read testThis test checks if value received from kvm_read is sane, based onvalue returned by sysctl interface.This should catch regression on bug fixed by r359160Reviewed by: jhbApproved by: jhibbits (mentor)MFC after: 1 weekSponsored by: Eldorado Research Institute (eldorado.org.br)Differential Revision: https://reviews.freebsd.org/D23783
Update the spelling of my name (continuation of r346571)Previous spellings of my name (NGie, Ngie) weren't my legal spelling. Use Enjiinstead for clarity.While here, remove "All Rights Reserved"
Update the spelling of my name (continuation of r346571)Previous spellings of my name (NGie, Ngie) weren't my legal spelling. Use Enjiinstead for clarity.While here, remove "All Rights Reserved" from copyrights I "own".MFC after: 1 week
DIRDEPS_BUILD: Connect new directories.Sponsored by: Dell EMC Isilon
Fix #if conditional added in r319008I committed an earlier version of the file by accidentThis is a no-op on ^/head and ^/stable/11.MFC after: nowSponsored by: Dell EMC Isilon
kvm_geterr_test: Compile out the portions that require kvm_open2(3) onsystems that lack the libcall, based on __FreeBSD_version.kvm_open2(3) wasn't made available until r291406, which is in ^/stab
kvm_geterr_test: Compile out the portions that require kvm_open2(3) onsystems that lack the libcall, based on __FreeBSD_version.kvm_open2(3) wasn't made available until r291406, which is in ^/stable/11,but not ^/stable/10. This makes some of kvm_geterr_test available for testingon ^/stable/10.MFC after: nowSponsored by: Dell EMC Isilon
lib/libkvm: start adding basic tests for kvm(3)- kvm_close: add a testcase to verify support for errno = EINVAL / -1 (see D10065) when kd == NULL is provided to the libcall.- kvm_geterr:-- Add
lib/libkvm: start adding basic tests for kvm(3)- kvm_close: add a testcase to verify support for errno = EINVAL / -1 (see D10065) when kd == NULL is provided to the libcall.- kvm_geterr:-- Add a negative testcase for kd == NULL returning "" (see D10022).-- Add two positive testcases:--- test the error case using kvm_write on a O_RDONLY descriptor.--- test the "no error" case using kvm_read(3) and kvm_nlist(3) as helper routines and by injecting a bogus error message via _kvm_err (an internal API) _kvm_err was used as there isn't a formalized way to clear the error output, and because kvm_nlist always returns ENOENT with the NULL terminator today.- kvm_open, kvm_open2:-- Add some basic negative tests for kvm_open(3) and kvm_open2(3). Testing positive cases with a specific `corefile`/`execfile`/`resolver` requires more work and would require user intervention today in order to reliably test this out.Reviewed by: markjMFC after: 2 monthsSponsored by: Dell EMC IsilonDifferential Revision: D10024