[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for botnow
[Thread Prev] | [Thread Next]
- Subject: Re: Patch for botnow
- From: jrmu <jrmu@xxxxxxxxxx>
- Date: Sat, 3 Jun 2023 16:39:54 -0700
- To: izzyb <izzyb@xxxxxxxxxxxxxxx>
- Cc: codeforce@xxxxxxxxxx
Patch applied, thank you izzyb! -- jrmu IRCNow (https://ircnow.org) On Fri, Jun 02, 2023 at 10:04:42PM -0600, izzyb wrote: > 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 > >
Attachment:
signature.asc
Description: PGP signature
Patch for botnow | izzyb <izzyb@xxxxxxxxxxxxxxx> |