diff options
| author | 2023-02-11 06:43:43 +0100 | |
|---|---|---|
| committer | 2023-02-11 06:43:43 +0100 | |
| commit | 2c45b655c3b2166602d6ee14686a48ca86cdddcc (patch) | |
| tree | e18aa7989a48fc63545e02901ae604146dfc5ffb /data.c | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | snac2-2c45b655c3b2166602d6ee14686a48ca86cdddcc.tar.gz snac2-2c45b655c3b2166602d6ee14686a48ca86cdddcc.tar.xz snac2-2c45b655c3b2166602d6ee14686a48ca86cdddcc.zip | |
Added 'fattr' to the pledge() list.
Diffstat (limited to 'data.c')
| -rw-r--r-- | data.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -108,7 +108,7 @@ int srv_open(char *basedir, int auto_upgrade) | |||
| 108 | unveil("/usr/share/zoneinfo", "r"); | 108 | unveil("/usr/share/zoneinfo", "r"); |
| 109 | unveil(NULL, NULL); | 109 | unveil(NULL, NULL); |
| 110 | srv_debug(1, xs_fmt("Calling pledge()")); | 110 | srv_debug(1, xs_fmt("Calling pledge()")); |
| 111 | pledge("stdio rpath wpath cpath flock inet proc exec dns", NULL); | 111 | pledge("stdio rpath wpath cpath flock inet proc exec dns fattr", NULL); |
| 112 | } | 112 | } |
| 113 | #endif /* __OpenBSD__ */ | 113 | #endif /* __OpenBSD__ */ |
| 114 | 114 | ||