Re: pf pledge and ioctls

2018-05-01 Thread Sebastian Benoit
Nick Owens(misch...@offblast.org) on 2018.04.30 18:40:34 -0700: > hi tech@, > > i've written a program in go which gathers information from pf for > exporting to prometheus. my go program invokes several ioctls on /dev/pf to > do this. however, i recently looked at pledge'ing my program, but i've

Re: pf pledge and ioctls

2018-04-30 Thread Theo de Raadt
Nick Owens wrote: > hi tech@, > > i've written a program in go which gathers information from pf for > exporting to prometheus. my go program invokes several ioctls on /dev/pf to > do this. however, i recently looked at pledge'ing my program, but i've > noticed that not all of the pf ioctls that

pf pledge and ioctls

2018-04-30 Thread Nick Owens
hi tech@, i've written a program in go which gathers information from pf for exporting to prometheus. my go program invokes several ioctls on /dev/pf to do this. however, i recently looked at pledge'ing my program, but i've noticed that not all of the pf ioctls that i use are included in the pf pl