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

Re: Patch for botnow


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


References:
Patch for botnowizzyb <izzyb@xxxxxxxxxxxxxxx>