true(1), false(1): adds null unveils
This commit is contained in:
parent
8fd5bdf5a6
commit
efedcd3ae4
@ -8,12 +8,13 @@
|
||||
*/
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
# include <unistd.h> /* pledge(2) */
|
||||
# include <unistd.h> /* NULL, pledge(2), unveil(2) */
|
||||
#endif
|
||||
|
||||
int main(void) {
|
||||
#ifdef __OpenBSD__
|
||||
pledge(NULL, NULL);
|
||||
(void)pledge(NULL, NULL);
|
||||
(void)unveil(NULL, NULL);
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
@ -8,11 +8,12 @@
|
||||
*/
|
||||
|
||||
#ifdef __OpenBSD__
|
||||
# include <unistd.h> /* pledge(2) */
|
||||
# include <unistd.h> /* NULL, pledge(2), unveil(2) */
|
||||
#endif
|
||||
|
||||
int main(void) {
|
||||
#ifdef __OpenBSD__
|
||||
pledge(NULL, NULL);
|
||||
(void)pledge(NULL, NULL);
|
||||
(void)unveil(NULL, NULL);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user