mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-24 00:23:38 +00:00
Added 'fattr' to the pledge() list.
This commit is contained in:
parent
9acf7796ae
commit
2c45b655c3
1 changed files with 1 additions and 1 deletions
2
data.c
2
data.c
|
@ -108,7 +108,7 @@ int srv_open(char *basedir, int auto_upgrade)
|
|||
unveil("/usr/share/zoneinfo", "r");
|
||||
unveil(NULL, NULL);
|
||||
srv_debug(1, xs_fmt("Calling pledge()"));
|
||||
pledge("stdio rpath wpath cpath flock inet proc exec dns", NULL);
|
||||
pledge("stdio rpath wpath cpath flock inet proc exec dns fattr", NULL);
|
||||
}
|
||||
#endif /* __OpenBSD__ */
|
||||
|
||||
|
|
Loading…
Reference in a new issue