diff options
author | ngie <ngie@FreeBSD.org> | 2016-03-22 19:29:55 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-03-22 19:29:55 +0000 |
commit | a211c0e5f23147c683ebe722d2ebec16794eb854 (patch) | |
tree | 1122eb7183010744123747de37ff63d7bb9fc994 /sys/compat/linux/linux_socket.h | |
parent | ceb7b147e676803c22cf6d815f543f21fd9aa926 (diff) | |
download | FreeBSD-src-a211c0e5f23147c683ebe722d2ebec16794eb854.zip FreeBSD-src-a211c0e5f23147c683ebe722d2ebec16794eb854.tar.gz |
MFC r296766:
Better handle filesystems mounted with -o noexec
ftruncate/11, open/20, and truncate/11 copy sleep(1) to a temporary file on the
target filesystem, execute the binary, then expect a result. This doesn't work
with scenarios where the target binary cannot be executed, e.g. the filesystem
was mounted with -o noexec.
Ensure the filesystem hasn't been mounted with -o noexec for the testcases
before executing them.
Diffstat (limited to 'sys/compat/linux/linux_socket.h')
0 files changed, 0 insertions, 0 deletions