Re: git: Fix chdir/fchdir for setuid/setgid binaries

看板DFBSD_commit作者時間16年前 (2009/10/01 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
: :There are certainly many more of these problems. We need to address those before we roll 2.4.1. I think we should audit all calls to VOP_ACCESS. Also, I suggest creating VOP_RACCESS, removing VOP_EACCESS and making :the effective id check default in VOP_ACCESS, since most permission checks in the kernel refer to the effective ids, and only select ones deal with the real ids. : :cheers : simon There are only 6 calls to VOP_ACCESS() left. They should be easy to audit. I do want to build the iso's this evening if possible so they can propagate to the mirrors overnight. I don't want to switch around the meaning again but I am in favor of not having a VOP_ACCESS() macro at all and forcing callers to explicitly use VOP_RACCESS() or VOP_EACCESS(). -Matt Matthew Dillon <dillon@backplane.com>
文章代碼(AID): #1AmvpmIw (DFBSD_commit)
文章代碼(AID): #1AmvpmIw (DFBSD_commit)