This website requires JavaScript.
Explore
Help
Register
Sign In
upstream
/
opnsense-src
Watch
1
Star
0
Fork
You've already forked opnsense-src
0
mirror of
https://github.com/opnsense/src.git
synced
2026-04-20 21:59:20 -04:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
d815e42419
opnsense-src
/
tools
/
regression
/
security
/
open_to_operation
/
Makefile
8 lines
76 B
Makefile
Raw
Normal View
History
Unescape
Escape
Add open_to_operation, a security regression test that opens files with various open flags and then tests various operations to make sure that they are properly constrained by open flags. Various I/O mechansms are tried, including aio if compiled into the kernel or loaded as a module. There's more to be done here but it's a useful start, running about 220 individual tests. This is in support of FreeBSD-SA-08:03.sendfile.
2008-02-14 15:57:38 -05:00
# $FreeBSD$
PROG
=
open_to_operation
NO_MAN= has been deprecated in favor of MAN= for some time, go ahead and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit.
2014-04-13 01:21:56 -04:00
MAN
=
Fix compiler warnings with open_to_operation.c Other sidenotes: - Remove unused variables with main(..) - Convert errx/exit with -1 to errx/exit with 1 - Fix a bogus test in try_directory_open (expected_errno == expected_errno -> errno == expected_errno) [*] - Fix some warnings related to discarded qualifiers - Remove a bogus else-statement at the end of check_mmap_exec(..) in the successful case. mmap(2), POSIX, Linux, etc all don't state what the behavior is when mixing O_WRONLY + PROT_EXEC, so assume success for now to get the test program to pass again. PR: 201286 [*] MFC after: 1 week Submitted by: David Binderman <dcb314@hotmail.com> Sponsored by: EMC / Isilon Storage Division
2015-10-30 06:09:04 -04:00
WARNS
?=
3
Add open_to_operation, a security regression test that opens files with various open flags and then tests various operations to make sure that they are properly constrained by open flags. Various I/O mechansms are tried, including aio if compiled into the kernel or loaded as a module. There's more to be done here but it's a useful start, running about 220 individual tests. This is in support of FreeBSD-SA-08:03.sendfile.
2008-02-14 15:57:38 -05:00
.
i
n
c
l
u
d
e
<
b
s
d
.
p
r
o
g
.
m
k
>
Reference in a new issue
Copy permalink