On 2015/11/17 18:11, Jan Stary wrote:
> I am trying to add pledge(2) to audioctl(1),
> but it gets SIGABRT'ed under any pledge promises.
> (Indeed, I have pledged everything in a desperate attempt.)
Note that pledging "everything" still gives quite a restriction on
what's allowed - it's "block-by-
> I am trying to add pledge(2) to audioctl(1),
> but it gets SIGABRT'ed under any pledge promises.
> (Indeed, I have pledged everything in a desperate attempt.)
>
> Looking at gdb and a ktrace, /dev/audioctl gets opened fine,
> but then it fails on an ioctl in getinfo()
>
> 23472 audioctl CALL
I am trying to add pledge(2) to audioctl(1),
but it gets SIGABRT'ed under any pledge promises.
(Indeed, I have pledged everything in a desperate attempt.)
Looking at gdb and a ktrace, /dev/audioctl gets opened fine,
but then it fails on an ioctl in getinfo()
23472 audioctl CALL ioctl(3,AUDIO_GE