lkml.org 
[lkml]   [1998]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: access() system call
From
Pawel S. Veselov wrote:
>
> Hello, All !
>
> I found strange behavior for access() system call :
...
> I chmod() but can't access r/w /vmlinux ( I am real root at this )
>
> Any suggestions ?

RTFM ;-)

From access(2) man page:

The check is done with the process's real uid and gid,
rather than with the effective ids as is done when actu-
ally attempting an operation. This is to allow set-UID
programs to easily determine the invoking user's author-
ity.

---
Henrik Nordström
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.037 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site