mirror of
https://github.com/yrutschle/sslh.git
synced 2026-10-22 10:02:09 +03:00
Libwrap requires access to some more files when using landlock (fix #450 again)
This commit is contained in:
1 parent
0dd580f45b
commit
8d58164fdd
1 file changed
+1
-1
+1
-1
@@ -118,7 +118,7 @@ static int add_resolv(int ruleset_fd)
|
|||||||
static int add_libwrap(int ruleset_fd)
|
static int add_libwrap(int ruleset_fd)
|
||||||
{
|
{
|
||||||
/* Files for libwrap */
|
/* Files for libwrap */
|
||||||
#ifdef LIBWRAP
|
#ifdef HAVE_LIBWRAP
|
||||||
add_path_ro(ruleset_fd, LL_FILE, "/etc/hosts.allow");
|
add_path_ro(ruleset_fd, LL_FILE, "/etc/hosts.allow");
|
||||||
add_path_ro(ruleset_fd, LL_FILE, "/etc/hosts.deny");
|
add_path_ro(ruleset_fd, LL_FILE, "/etc/hosts.deny");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in new issue
Block a user