Searched refs:O_EXEC (Results 1 – 4 of 4) sorted by relevance
215 #ifndef O_EXEC216 # define O_EXEC O_RDONLY /* This is often close enough in older systems. */284 #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)286 # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
527 #ifndef O_EXEC528 # define O_EXEC O_RDONLY /* This is often close enough in older systems. */ macro596 #if ~O_ACCMODE & (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)598 # define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR | O_EXEC | O_SEARCH)
26 int fd = open("/usr/bin/printf", O_EXEC); in test_fexecve()