summaryrefslogtreecommitdiff
path: root/regress/libexec
AgeCommit message (Collapse)Author
2005-09-28two new regresses for dlclose. double dlopen("foo") with singleKurt Miller
dlclose(foo). mozilla lazy binding example (load_object confusion)
2017-08-01A fix is coming in the future, but in the meantime we should never declareTheo de Raadt
a section(".openbsd.randomdata") variable as static or const, because the compiler optimizes out access.
2017-07-10ld.so and nfs regress were using PROGS variable before it was addedAlexander Bluhm
to bsd.prog.mk. Remove local additions and use global rules.
2017-03-18Use --disable-new-dtags here as well.Mark Kettenis
2017-03-18The prog3 sub-tests tests DT_RPATH behaviour. Add --disable-new-dtags toMark Kettenis
the linker options such that DT_RPATH gets set instead of DT_RUNPATH on platforms using lld as the linker.
2017-02-25Add missing includes to avoid implicit function declarations.Jonathan Gray
2008-01-02regression test for lazy binding.Matthieu Herrb
"people need never hold off on adding stuff to regress" deraadt@
2016-09-27Make sure that the regress target builds the libraries. Stop building aMark Kettenis
profile library and add $OpenBSD$ markers. Similar to what we do in other regress tests that build libraries such as regress/lib/libc/cxa-exit. ok bluhm@
2016-09-27Modernize constructor test such that it builds again and enable it.Mark Kettenis
ok bluhm@
2016-09-05Add a regress target so that a recursive "make regress" also buildsAlexander Bluhm
this library as a prerequisite.
2016-08-27ALL HAIL ELF!Philip Guenther
Since <sys/param.h> isn't needed for __ELF__, pull in <stdio.h> for NULL ok deraadt@
2016-03-20Add regress for environ and __progname vs load-time .init functionsPhilip Guenther
2015-06-15fix regress fallout due to CFLAGS vs CXXFLAGSTheo de Raadt
2005-09-13dlopen regress tests.Dale Rahn
2015-01-20Missing $OpenBSD$'s.Kenneth R Westerback
ok deraadt@
2014-12-01run script with ${SHELL}Theo de Raadt
2014-09-07Add Henri Kemppainen's copyrightPhilip Guenther
2014-09-07Add dependency tests from Henri Kemppainen (duclare (at) guu.fi)Philip Guenther
2014-09-07Add dependency tests from Henri Kemppainen (duclare (at) guu.fi).Philip Guenther
order1 demonstrates why the fix in ld.so/library_subr.c rev 1.34 is necessary order2 demonstrates that that fix isn't completely correct
2014-08-17Fix regression tests for ld.sodoug
It now runs correctly with 'make depend regress'
2012-08-16basic randomdata regression testsMatthew Dempsky
2014-07-16zap trailing newlines; "go for it" deraadtOkan Demirmen
2014-02-16Update ld.so-cookie test which is currently broken and gets in theMartynas Venckus
way of SSP testing. For some reason this diff keeps escaping from cvs commit... Basic idea: * Use dl_iterate_phdr() to iterate all loaded ELF program headers. * Check that we actually find a header for ld.so. * For ld.so, check that we find a PT_OPENBSD_RANDOMIZE segment. * For each PT_OPENBSD_RANDOMIZE segment, check that at least one byte in the memory range is non-zero. Written by matthew@. "Please go ahaed" kettenis@. "Move fast" deraadt@, a week ago.
2013-12-22Seems gcc4 whines about an empty file as well, so just unconditionally doMark Kettenis
what we did for gcc3.
2013-10-28include stdlib.h for exit()Jonathan Gray
2008-01-02regression test for lazy binding.Matthieu Herrb
"people need never hold off on adding stuff to regress" deraadt@
2013-10-18Fix building regress outside of /usr/src where the objdirJonathan Gray
behaviour is different. ok deraadt@ miod@
2013-10-15We do not produce "core" files, so they do not need to be deleted. theyTheo de Raadt
have been *.core files for a very long time. That's a lot of unlink() calls saved.
2013-08-06Remove support for COMPILER_VERSION == gcc2.Miod Vallat
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4 is the norm and to explicitely test for gcc3 when a different behaviour is required. No functional change intended. Be sure to `make install' in share/mk before attempting to do anything.
2013-07-05ELF_TOOLCHAIN bye bye.Miod Vallat
2013-04-05- Hookup regress for rpath substitution supportKurt Miller
2013-04-02Let this work on gcc < 4, which don't accept /dev/null as a valid input file.Miod Vallat
2013-03-31Do not depend on the value of PATH to run.Miod Vallat
2013-03-30- Add regress for forthcomming rpath ORIGIN substitution support.Kurt Miller
okay matthew@
2013-01-23give this a chance to work after make objMiod Vallat
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-08-22Link ld.so-cookie back into the regress build now that ld.so's __guardMatthew Dempsky
value is actually initialized.
2012-08-21Link randomdata tests into the regress build now that I've committed support forMatthew Dempsky
.openbsd.randomdata, but comment out randomdata/ld.so-cookie for now since I haven't yet switched ld.so's __guard to use it.
2012-08-17Double check that we're not testing libc's __guard. Changing ld.so'sMatthew Dempsky
__guard symbol to HIDDEN causes dlsym() to return a pointer to libc's __guard instead, which can cause the test to wrongly pass even if ld.so's random data segments are not being initialized properly.
2012-08-16Use dlopen("ld.so") instead of dlopen("/usr/libexec/ld.so") so we getMatthew Dempsky
a reference to the already loaded ld.so instead of loading another instance.
2012-08-16turd polish: use LDSTATIC=${STATIC} instead of LDFLAGS+=-staticMatthew Dempsky
2012-08-16Add regression test to check that PIEs work too.Matthew Dempsky
2012-08-16Add a test case to verify ld.so's randomdata section is initializedMatthew Dempsky
too, since interpreters will be initialized by a slightly different code path than executables.
2012-08-16basic randomdata regression testsMatthew Dempsky
2012-06-15Add a regress test for ld.so's DF_1_NOOPEN support.Matthew Dempsky
2011-11-29enable initfirst regressKurt Miller
2011-11-29clean up initfirst regress conflict created by my import. split testsKurt Miller
into two sub dirs.
2011-11-29Check the destructor order tooPhilip Guenthe
2011-11-29ld.so initfirst regress testKurt Miller
2011-11-08Regress for -z initfirst supportPhilip Guenthe