lkml.org 
[lkml]   [2002]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: root-owned /proc/pid files for threaded apps?
On Wed, Mar 06, 2002 at 10:01:10PM -0800, Danek Duvall wrote:

> I just upgraded from 2.4.8-pre3-ac2 to 2.4.19-pre2-ac2, and found that
> for threaded programs like mozilla and xmms, files in /proc/<pid> are
> owned by root, even if the process belongs to another user.
>
> I'll backtrack kernels to see if I can find the patch that caused it
> and report back if I hear nothing.

It's caused by the ac2 patch, but I'm not sure which part. Maybe the
changes to set_user(), causing the dumpable flag to be set to zero, and
thus the uid/gid of the inode not to be set to the real owner?

Danek
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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