[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch for botnow


This patch adds the missing unveils needed to for botnow to send email.  It fixes a crash in current version in repo.

diff --git a/botnow b/home/botnow/botnow
index dc0a0c6..7a377ea 100755
--- a/botnow
+++ b/home/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


...Izzy


Follow-Ups:
Re: Patch for botnowjrmu <jrmu@xxxxxxxxxx>