Re: root-owned /proc/pid files for threaded apps?

Danek Duvall (duvall@emufarm.org)
Wed, 6 Mar 2002 23:43:08 -0800


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/