Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
Use nitems(x) instead of sizeof(x)/sizeof(x[0])MFC after: 1 weekSponsored by: EMC / Isilon Storage Division
Fix compiler warnings with open_to_operation.cOther sidenotes:- Remove unused variables with main(..)- Convert errx/exit with -1 to errx/exit with 1- Fix a bogus test in try_directory_open (ex
Fix compiler warnings with open_to_operation.cOther 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 weekSubmitted by: David Binderman <[email protected]>Sponsored by: EMC / Isilon Storage Division
show more ...
NO_MAN= has been deprecated in favor of MAN= for some time, go aheadand finish the job. ncurses is now the only Makefile in the tree thatuses it since it wasn't a simple mechanical change, and will
NO_MAN= has been deprecated in favor of MAN= for some time, go aheadand finish the job. ncurses is now the only Makefile in the tree thatuses it since it wasn't a simple mechanical change, and will beaddressed in a future commit.
Spelling fixes for tools/Add some $FreeBSD$ tags so svn will allow the commit.
Add open_to_operation, a security regression test that opens files withvarious open flags and then tests various operations to make sure thatthey are properly constrained by open flags. Various I/
Add open_to_operation, a security regression test that opens files withvarious open flags and then tests various operations to make sure thatthey are properly constrained by open flags. Various I/O mechansmsare tried, including aio if compiled into the kernel or loaded as amodule. There's more to be done here but it's a useful start, runningabout 220 individual tests.This is in support of FreeBSD-SA-08:03.sendfile.