false(1): fixes pledge(2) invocation
This commit is contained in:
parent
ba73f50527
commit
8bdb72ece8
@ -8,13 +8,12 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __OpenBSD__
|
#ifdef __OpenBSD__
|
||||||
# include <unistd.h> /* NULL, pledge(2), unveil(2) */
|
# include <unistd.h> /* pledge(2) */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int main(void) {
|
int main(void) {
|
||||||
#ifdef __OpenBSD__
|
#ifdef __OpenBSD__
|
||||||
(void)pledge(NULL, NULL);
|
(void)pledge("stdio", "");
|
||||||
(void)unveil(NULL, NULL);
|
|
||||||
#endif
|
#endif
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user