commit bfe968a04b84ced42777f789412075f5ee110a6d from: jrmu via: Izzy Blacklock date: Sat Jul 15 22:01:03 2023 UTC Unveil sendmail and sh to send mail properly commit - 61ce1ed72cf555746707285b4bf4e96dff8cc5ad commit + bfe968a04b84ced42777f789412075f5ee110a6d blob - b003269f9560489f4aab54fd5c2f086e41df081e blob + a1d7bb2025b0dcc03e6ca5ae4032a93bfe541018 --- botnow +++ botnow @@ -128,6 +128,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