Cc: Chris Wright <chrisw@...>, <casey@...>, lsm <linux-security-module@...>, James Morris <jmorris@...>, Eric Paris <eparis@...>, lkml <linux-kernel@...>
fd/ access gives a view in the ->files, which could include rather
internal bits like pipes, sockets, or anonfd descriptors -- things w/out
external handles. That view includes ability to open the fd (similar
to dup()) and use it (granted subject to further security checks, but
they may be quite generic at that point).
thanks,
-chris
--