#
319486 |
|
02-Jun-2017 |
ngie |
MFC r318210,r318211:
Approved by: re (gjb)
r318210:
ssp_test:read:: query the value of MAXPATHLEN via getconf(1)
In the event the value of PATH_MAX was changed, the assumption that MAXPATHLEN is 1024 (and hence the buffer length required to trigger SSP to fail for read(2)) would be invalidated. Query getconf(1) for the actual value of MAXPATHLEN via _XOPEN_PATH_MAX instead, and increment the value by 1 to ensure that the SSP support tests the stack smashing support properly.
r318211:
Fix up previous commit
- Apply the logic to the FreeBSD block - Fix a typo with the getconf(1) call that I would have caught, were it not for the fact that I got the blocks wrong. - Consolidate the hardcoded buffer sizes to the NetBSD block.
This would have been discovered had I run the test on a system where PATH_MAX != 1024 (I don't have that at my disposal right at this moment).
MFC with: r318210
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
292578 |
|
21-Dec-2015 |
ngie |
Don't dump core files with lib/libc/ssp/ssp_test and lib/libc/gen/assert_test
The default `sysctl kern.corefile` value is compatible with `kyua test` (FreeBSD will dump to the current directory). If it's set to an absolute path however, `kyua test` will not be able to clean up the corefiles after the fact
The corefiles have little value when testing the behavior of feature behavior, so just disable corefile generation
MFC after: 1 week Obtained from: Isilon OneFS (^/onefs/head@r511419) Sponsored by: EMC / Isilon Storage Division
|
#
276527 |
|
02-Jan-2015 |
ngie |
Don't install h_raw if dealing with clang 3.5.0+ to unbreak the tests2 Jenkins job
The h_raw application doesn't do proper bounds checking without the option being supplied via the build, which means that it doesn't throw signals and fail as expected
PR: 196430 X-MFC with: r276479
|
#
274066 |
|
03-Nov-2014 |
ngie |
Port lib/libc/ssp to FreeBSD
In most cases, the buffers and data were resized, but when dealing with the helpers, some of the code was adjusted to fail more reliably
Submitted by: pho
|
#
272458 |
|
02-Oct-2014 |
ngie |
Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , minus the vendor Makefiles
Provide directions for how to bootstrap the vendor sources in FREEBSD-upgrade
MFC after 2 weeks Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
|
#
272345 |
|
01-Oct-2014 |
ngie |
Tag ^/base/vendor/NetBSD/tests/09.30.2014_20.45 from ^/base/vendor/NetBSD/tests/dist
Sponsored by: EMC / Isilon Storage Division
|
#
272343 |
|
01-Oct-2014 |
ngie |
Check in first src/tests snapshot from NetBSD anoncvs
Sources were obtained like so:
% export CVSROOT="anoncvs@anoncvs.NetBSD.org:/cvsroot" % cvs -z9 co -D "09/30/2014 20:45" -P src/tests % mv src/tests/* tests/dist/.
'*CVS*' has been added to svn:ignore to ease updating periodically from upstream
Some line ending issues had to be resolved with test outputs and scripts via dos2unix and by deleting the eol-style property set in usr.bin/sort
Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
|
#
302408 |
|
07-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
292578 |
|
21-Dec-2015 |
ngie |
Don't dump core files with lib/libc/ssp/ssp_test and lib/libc/gen/assert_test
The default `sysctl kern.corefile` value is compatible with `kyua test` (FreeBSD will dump to the current directory). If it's set to an absolute path however, `kyua test` will not be able to clean up the corefiles after the fact
The corefiles have little value when testing the behavior of feature behavior, so just disable corefile generation
MFC after: 1 week Obtained from: Isilon OneFS (^/onefs/head@r511419) Sponsored by: EMC / Isilon Storage Division
|
#
276527 |
|
02-Jan-2015 |
ngie |
Don't install h_raw if dealing with clang 3.5.0+ to unbreak the tests2 Jenkins job
The h_raw application doesn't do proper bounds checking without the option being supplied via the build, which means that it doesn't throw signals and fail as expected
PR: 196430 X-MFC with: r276479
|
#
274066 |
|
03-Nov-2014 |
ngie |
Port lib/libc/ssp to FreeBSD
In most cases, the buffers and data were resized, but when dealing with the helpers, some of the code was adjusted to fail more reliably
Submitted by: pho
|
#
272458 |
|
02-Oct-2014 |
ngie |
Import the NetBSD test suite from ^/vendor/NetBSD/tests/09.30.2014_20.45 , minus the vendor Makefiles
Provide directions for how to bootstrap the vendor sources in FREEBSD-upgrade
MFC after 2 weeks Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
|
#
272345 |
|
01-Oct-2014 |
ngie |
Tag ^/base/vendor/NetBSD/tests/09.30.2014_20.45 from ^/base/vendor/NetBSD/tests/dist
Sponsored by: EMC / Isilon Storage Division
|
#
272343 |
|
01-Oct-2014 |
ngie |
Check in first src/tests snapshot from NetBSD anoncvs
Sources were obtained like so:
% export CVSROOT="anoncvs@anoncvs.NetBSD.org:/cvsroot" % cvs -z9 co -D "09/30/2014 20:45" -P src/tests % mv src/tests/* tests/dist/.
'*CVS*' has been added to svn:ignore to ease updating periodically from upstream
Some line ending issues had to be resolved with test outputs and scripts via dos2unix and by deleting the eol-style property set in usr.bin/sort
Discussed with: rpaulo Sponsored by: EMC / Isilon Storage Division
|