Re: pledge problems

2016-03-30 Thread Sebastien Marie
On Wed, Mar 30, 2016 at 01:39:51AM -0500, Luke Small wrote: > There are numerous issues. I have two cases of pledge calls in one program: "one program" ? which program ? I will assume it is one of your personal program. > First the program should require stdio,proc,exec (I fork(), execl(), open

pledge problems

2016-03-30 Thread Luke Small
There are numerous issues. I have two cases of pledge calls in one program: First the program should require stdio,proc,exec (I fork(), execl(), open and close file descriptors using fdopen() and used dup2()) and use functionality to call fopen("/etc/pkg.conf", "w"); as a normal user or root user