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

From: Danek Duvall (duvall@emufarm.org)
Date: Thu Mar 07 2002 - 02:43:08 EST


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/



This archive was generated by hypermail 2b29 : Thu Mar 07 2002 - 21:01:00 EST