* Question about inode_permission() check in unix_find_other()
@ 2018-08-09 1:09 TongZhang
0 siblings, 0 replies; only message in thread
From: TongZhang @ 2018-08-09 1:09 UTC (permalink / raw)
To: davem, garsilva, matthew, willemb, netdev, linux-kernel
Cc: wenbo.s, ahmedmoneeb
Hi Networking Subsystem Maintainers,
I have a quick question about inode_permission() check in unix_find_other(),
I was doing a code review on net/unix/af_unix.c and found out that the inode_permission() check is confusing here.
Since the unix socket is presented as a file, and will be permission checked by VFS when user open it,
why do we still need the inode_permission() check in unix_find_other() anyway?
Thank you,
- Tong
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-08-09 1:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-09 1:09 Question about inode_permission() check in unix_find_other() TongZhang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).