mirror of
https://codeberg.org/grunfink/snac2.git
synced 2025-02-16 16:05:00 +00:00
Disabled unveil() temporarily.
This commit is contained in:
parent
2c7f60e2f0
commit
adc41956b3
1 changed files with 6 additions and 2 deletions
8
data.c
8
data.c
|
@ -79,11 +79,15 @@ int srv_open(char *basedir)
|
||||||
if (error != NULL)
|
if (error != NULL)
|
||||||
srv_log(error);
|
srv_log(error);
|
||||||
|
|
||||||
|
/* disabled temporarily; messages can't be sent */
|
||||||
|
#if 0
|
||||||
#ifdef __OpenBSD__
|
#ifdef __OpenBSD__
|
||||||
srv_debug(2, xs_fmt("Calling unveil()"));
|
srv_debug(2, xs_fmt("Calling unveil()"));
|
||||||
unveil(basedir, "rwc");
|
unveil(basedir, "rwc");
|
||||||
unveil(NULL, NULL);
|
unveil("/usr/sbin", "x");
|
||||||
|
unveil(NULL, NULL);
|
||||||
#endif /* __OpenBSD__ */
|
#endif /* __OpenBSD__ */
|
||||||
|
#endif
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue