commit 8e4fb2f745f8e7d6eb564fa7c4bb6827b58aa733 from: jrmu date: Sat Jun 03 23:39:12 2023 UTC Unveil sendmail and sh to send mail properly commit - 0744bd0b8629c5e120a268c37b6930b0a10f485b commit + 8e4fb2f745f8e7d6eb564fa7c4bb6827b58aa733 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