Does recvfrom(2) imply { getattr }?
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).)
Signature · 4 lines
======================================================================== Ian Pilcher [email protected] -------- "I grew up before Mark Zuckerberg invented friendship" -------- ========================================================================
Quoted 10 lines · Ian Pilcher
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.