4.7 access and faccessat Functions
As we described earlier,when we open a file, the kernel performs its access tests based
on the effective user and group IDs. Sometimes, however,a process wants to test
accessibility based on the real user and group IDs. This is useful when a process is
running as someone else, using either the set-user-ID or the set-group-ID feature. Even
though a process might be set-user-ID to root, it might still want to verify that the real
user can access a given file The access and faccessat functions base their tests on
the real user and group IDs. (Replace effective with real in the four steps at the end of
Section 4.5.)
여기서 Even though a process might be set-user-ID to root, it might still want to verify that the real
user can access a given file 이 문장 무슨 뜻인지 해석 좀 해줘. 프로세스가 set-user-ID를 갖는다고 표현해야되지 않냐? 근데 왜 여기서는 be를 쓴거지???
ㅂㅅ나 sudo도 안 써봤냐?
http://gall.dcinside.com/board/view/?id=programming&no=410057
그럼 해석은 이거 맞냐?? 프로세스가 루트에 대한 set-user-ID라 해도
userid가 root라고 해도 파일에 엑세스 하려면 실제 사용자인지 확인하려 할 것이다
대가리 딸리면 그냥 한글책 봐라
이건 사람새끼가 아니라 기계인가 글을 보면 맥락을 안 보고 단어 하나 붙잡고 자빠졌네 지가 일시키는 컴파일러만도 못한새키
난 게이가 아니므로 패쓰