lkml.org 
[lkml]   [1998]   [Jun]   [15]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 15 Jun 1998 09:49:49 +0000 (GMT)
FromTigran Aivazian <>
Subjectone more question on proc_pid_fill_inode().
Hello guys,

In fs/proc/base.c there is a function proc_pid_fill_inode() that is used
as fill_inode() operation for /proc/<pid>/* files. Now, when it overrides
the default 0/0 uid/gid for inode->i_uid/gid fields it uses p->euid and
p->gid. If the effective uid is used why not use effective gid also? Or,
if the real gid is used why not use real uid also? Which way is
*right* (*right* here is assumed to mean "correct to the degree of
being admitted into the Official Kernel = OK")?
Regards,
------
Tigran A. Aivazian           | http://www.sco.com/
Escalations Research Group   | Email: tigran@sco.com
Santa Cruz Operation Ltd     | 

-
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 12:43    [from the cache]
©2003-2008