Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-09-20 | Improve handling of nosuid mount option, temporary directory and | Alexander Bluhm | |
super user permissions. | |||
2019-09-11 | Fix unveil for relative lookups in the non AT_FDCWD case | Bob Beck | |
Issue spotted by Benjamin Baier <programmer@netzbasis.de> with relative path lookups from openat(2). Lacking a current working directory unveil, operations using the *at functions could fail when not crossing an unveil, since an initial covering unveil was not found. This corrects this so we walk up from the directory vnode to find a covering unveil at the start of non AT_FDCWD lookups, and adds regress for this case. ok bluhm@ | |||
2019-09-11 | Make it possible to free overlapping regions (effectively allowing | Mark Kettenis | |
freeing parts of regions that are already free) when the EX_CONFLICTOK flag is passed to extent_free. ok jmatthew@ | |||
2019-09-08 | Pull out and expand openat tests into their own routine. | Bob Beck | |
2019-08-06 | Use SUDO to run test as root. | Alexander Bluhm | |
2019-08-06 | Test more variants to specify the root directory. | Alexander Bluhm | |
2019-08-05 | Test realpath and unveil if the root directory is written as "//". | Alexander Bluhm | |
2019-08-05 | Link regress realpath-unmount to build. | Alexander Bluhm | |
2019-08-05 | Call realpath(3) in combination with chroot(2) and chdir(2). | Alexander Bluhm | |
Use umount(8) to check that the mountpoint leaks no vnode. from Moritz Buhl | |||
2019-08-04 | Add arm64 asm for stackpivot regress test. | mortimer | |
2019-08-04 | Test that unmount works after calling unlink(2) with relative | Alexander Bluhm | |
directories obtained by chdir(2). | |||
2019-08-01 | Call unveil(2) in combination with unlink(2) and chroot(2). | Alexander Bluhm | |
Use umount(8) to check that the mountpoint leaks no vnode. | |||
2019-08-01 | Link regress unveil-unmount to build. | Alexander Bluhm | |
2019-08-01 | Call unveil(2) in combination with unlink(2) and chroot(2). | Alexander Bluhm | |
Use umount(8) to check that the mountpoint leaks no vnode. | |||
2019-07-29 | regress: Add mips64 stack pivot asm for octeon in stackpivot tests | mortimer | |
2019-07-23 | Fix realpath(3) errno code for an empty input path string. | Stefan Sperling | |
It should return ENOENT in this case, but was returning EINVAL. ok bluhm@ deraadt@ | |||
2019-07-16 | Call stat(2) only once in realpath(3) userland reference implementation. | Alexander Bluhm | |
2019-07-15 | Our kernel __realpath(2) implementation does not allow non-existing | Alexander Bluhm | |
files anymore. This is conforming to POSIX. Adjust the regression test to the new behavior. OK beck@ | |||
2019-07-12 | Test should also run if there is no obj directory. Name regress | Alexander Bluhm | |
targets consistently with a run- prefix. | |||
2019-07-09 | Regress realpath(3) fails since the non directory hack has been | Alexander Bluhm | |
removed from libc. Make the regress implementation more POSIX compliant like it has been done for the kernel. OK beck@ deraadt@ | |||
2019-07-09 | Fix white spaces. | Alexander Bluhm | |
2019-07-08 | Add some padding bytes to syscall argument struct so that tests | Alexander Bluhm | |
pass on armv7. from Moritz Buhl | |||
2019-06-17 | improve clock_gettime regress: | anton | |
* fix compilation error due to missing cast * do not run sysctl during make clean and the other common regress cleanup targets * make it work using a separate object directory | |||
2019-06-14 | new regress: clock_gettime(2); test if CLOCK_MONOTONIC is really monotonic | cheloha | |
suggested by kettenis@, tweaked by anton@. ok mpi@ jca@ | |||
2019-05-29 | Add some more relative path tests | Bob Beck | |
2019-05-17 | Add realpath to regress | Bob Beck | |
2019-05-15 | Add a regression test for path discovery outside of unveil() which | Bob Beck | |
we should eventually fix | |||
2019-05-13 | Document our currently incosnsistent behaviour and our current | Bob Beck | |
sins which have been judged by Dr Posix as sinful... | |||
2019-05-13 | Link regress sigpthread to build. | Alexander Bluhm | |
2019-05-13 | Test the interaction of signals with multiple posix threads. It | Alexander Bluhm | |
covers blocking with signal mask, killing process or thread, invoking handler or waiting for signal. | |||
2019-05-12 | Remove redundant settings. | Alexander Bluhm | |
2019-05-11 | let's check /bin/c++ | Bob Beck | |
2019-05-10 | Enable the test on octeon. Ignore the fact that the test cannot work | Visa Hankala | |
on CN3xxx where the TLB does not implement the execute inhibit feature. OK guenther@ | |||
2019-05-10 | Let the test build on mips64. | Visa Hankala | |
OK guenther@ | |||
2019-05-10 | Simplify the detection for installed python and scapy. Refactor | Alexander Bluhm | |
these tests to make them similar. Use the setup and cleanup variables. | |||
2019-05-09 | Drop reference to sparc and expand 'VAC' so the comment makes sense | Philip Guenther | |
to semi-gurus | |||
2019-05-08 | Add another case for robert@ :) | Bob Beck | |
2019-05-06 | enable deadlock related tests | anton | |
2019-04-26 | a bit more evil | Bob Beck | |
2019-04-26 | /usr/include/machine is a good one. | Bob Beck | |
2019-04-19 | Start a realpath(2) regress test, currently not enabled. | Bob Beck | |
This will extend as I add more cases to it. It will come into use once an in-kernel version of realpath(2) becomes a real thing | |||
2019-03-24 | Make stat(2) and access(2) need UNVEIL_READ instead of UNVEIL_INSPECT | Bob Beck | |
UNVEIL_INSPECT is a hack we added to get chrome/glib working. It silently adds permission for stat(2), access(2), and readlink(2) to be used on all path components of any unveil'ed path. robert@ has sucessfully now fixed chrome/glib to not require exessive TOC vs TOU stat(2) and access(2) calls on the paths it uses, so that this no longer needed there. readlink(2) is the sole call that is now permitted by UNVEIL_INSPECT, and this is only needed so that realpath(3) can work. Going forward we will likely make a realpath(2), after which we can completely deprecate UNVEIL_INSPECT. ok deraadt@ | |||
2019-03-04 | add kqueue pty close slave test | anton | |
2019-03-04 | add support for multiple kqueue pty tests | anton | |
2019-03-04 | one regress test per line to reduce future churn | anton | |
2019-02-10 | "non-existant" is one of those words that don't exist, so use "non-existent" | Peter Hessler | |
instead From Pamela Mosiejczuk, many thanks! OK phessler@ deraadt@ | |||
2019-01-31 | Instead of skipping the text mmap test, do a non fixed mmap in this | Alexander Bluhm | |
case. This gives us another test case. Make error messages more verbose. Fix white spaces. | |||
2019-01-25 | I am retiring my old email address; replace it with my OpenBSD one. | Todd C. Miller | |
2019-01-17 | Unveil fixes: | Bob Beck | |
1) Correctly notice covering unveil when using .. - fix crash noticed by visa@ 2) Notice when v_mount is NULL to not crash when unveil vnodes are on a forcibly unmounted filesystem, noticed by yasuoka@ 3) Add a flag to ni_data so that failures from unveil flag mismatches in covering unveils return the correct EACCESS instead of ENOENT (noticed by brynet@) ok deraadt@ | |||
2019-01-14 | Fix unveil issue noticed by kn@ where unveil does not notice covering | Bob Beck | |
unveil matches when .. is used correctly. Also adds regress based upon his test program for the same issue. |