Commit Diff
Diff:
0744bd0b8629c5e120a268c37b6930b0a10f485b
8e4fb2f745f8e7d6eb564fa7c4bb6827b58aa733
Commit:
8e4fb2f745f8e7d6eb564fa7c4bb6827b58aa733
Tree:
00f98bcfae247ffdad5f015d63ee684d5c0d7551
Author:
jrmu <jrmu@ircnow.org>
Committer:
jrmu <jrmu@ircnow.org>
Date:
Sat Jun 3 23:39:12 2023 UTC
Message:
Unveil sendmail and sh to send mail properly
blob - dc0a0c623d46a907451b5e315dc9aa6a8f1e642e
blob + 7a377ea442291577a084b97eaba84c6bc7d64614
--- botnow
+++ botnow
@@ -205,6 +205,8 @@ my $expires = $conf{expires};
unveil("./", "r") or die "Unable to unveil $!";
unveil("$confpath", "r") or die "Unable to unveil $!";
unveil("$backupspath", "rwc") or die "Unable to unveil $!";
+unveil("/usr/sbin/sendmail", "rx") or die "Unable to unveil $!";
+unveil("/bin/sh", "rx") or die "Unable to unveil $!";
unveil() or die "Unable to lock unveil $!";
#dns and inet for sockets, proc and exec for figlet
IRCNow