mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
pledge "stdio rpath wpath cpath" for this one.
This commit is contained in:
parent
0a5000655c
commit
f01d2bc3df
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: main.c,v 1.13 2014/12/08 21:56:28 deraadt Exp $ */
|
||||
/* $OpenBSD: main.c,v 1.14 2015/11/30 08:55:26 tb Exp $ */
|
||||
/* $NetBSD: main.c,v 1.4 1995/04/22 10:59:10 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -124,6 +124,9 @@ main(argc, argv)
|
||||
int ac;
|
||||
char **av;
|
||||
|
||||
if (pledge("stdio rpath wpath cpath", NULL) == -1)
|
||||
err(1, "pledge");
|
||||
|
||||
av = argv;
|
||||
ac = argc;
|
||||
av++;
|
||||
|
Loading…
Reference in New Issue
Block a user