Solene Rapenne <sol...@perso.pw> wrote:

> I found this line just before writing a gigantic core file
> 
> 52304 firefox  CALL  ioctl(124,VIDIOC_QUERYCAP,0x1d9a1d7ac158)
> 
> I'm not sure what I need to search for the fd, I found these lines
> related to "124".
> 
> 52304 firefox  NAMI  "/dev/video0"
> 52304 firefox  GIO   fd 4 wrote 4096 bytes
>  
> "\0\0\0\M^?\0\0\0\M^?\0\0\0\M^?\0\0\0\M^?\0\0\0\M^?\0\0\0\M^?\0\0\0\M^?\0\0\0\M^?\0\0\0\M^?\0\0\
>  [ lot of this ]
> 52304 firefox  RET   open 124/0x7c

That process needs the "video" pledge.

        if ((p->p_p->ps_pledge & PLEDGE_VIDEO)) {
                switch (com) {
                case VIDIOC_QUERYCAP:

Wonder what process it is in.... 

Reply via email to