Re: /proc filesystem allows bypassing directory permissions on L

看板Bugtraq作者時間16年前 (2009/10/27 04:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串13/44 (看更多)
Dear Pavel, > ... that's exactly the problem. I see, the /proc/*/fd/* objects seem "confused": are they symlinks, hardlinks, or open file descriptors? I guess should always act as the latter, where access mode flags (O_RDONLY or O_RDWR) are set at open() and not changeable afterwards in fcntl(). Any open() on them should behave as a dup(). Cheers, Paul Paul Szabo psz@maths.usyd.edu.au http://www.maths.usyd.edu.au/u/psz/ School of Mathematics and Statistics University of Sydney Australia
文章代碼(AID): #1AvV_-Fe (Bugtraq)
討論串 (同標題文章)
完整討論串 (本文為第 13 之 44 篇):
文章代碼(AID): #1AvV_-Fe (Bugtraq)