Re: Does recvfrom(2) imply { getattr }?

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

 



On Sat, 2017-05-06 at 18:45 -0500, Ian Pilcher wrote:
> I'm getting a non-fatal { getattr } denial on a UDP socket (talking
> to a
> DNS server).  strace doesn't show any fstat calls on the socket, but
> it
> does show that recvfrom is being called.
> 
> Does recvfrom want getattr permission in order to retrieve the
> message
> source?  (The other potential system calls are poll and
> ioctl(FIONREAD).)

ioctl(FIONREAD) triggers a getattr permission check because it can be
used to get the file size.



[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux