public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Danek Duvall <duvall@emufarm.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>, linux-kernel@vger.kernel.org
Subject: Re: root-owned /proc/pid files for threaded apps?
Date: Fri, 8 Mar 2002 12:31:57 -0800	[thread overview]
Message-ID: <20020308203157.GA457@lorien.emufarm.org> (raw)
In-Reply-To: <20020307060110.GA303@lorien.emufarm.org> <E16iyBW-0002HP-00@the-village.bc.nu> <20020308100632.GA192@lorien.emufarm.org> <20020308195939.A6295@devcon.net>
In-Reply-To: <20020308195939.A6295@devcon.net>

On Fri, Mar 08, 2002 at 07:59:39PM +0100, Andreas Ferber wrote:

> Danek, can you please try changing the second argument to set_user()
> into 0, ie.
> 
>         /* Become root */
>         set_user(0, 0);

This works.  I initially didn't think it would, despite tracing the
problem correctly, because it didn't explain to me why mozilla would be
showing the problem.  As it turns out, though, mozilla does try to load
the ipv6 module, so that's why it demonstrates the problem.  Also, it
turns out that the problem with xmms goes away if I quit the first
invocation and start up a new one (the second one doesn't have to load
any modules), but mozilla keeps on showing the problem because it never
successfully loads the ipv6 module.

So it also turns out that either by changing that argument to 0 or just
reverting that hunk of the patch, xmms starts skipping whenever mozilla
loads a page, even a really simple one.  Disk activity and other network
activity don't seem to cause the skipping, and the skipping disappears
when I go back to an unaltered ac kernel, so there seems to be something
wrong with set_user(0, 0) as well, just a different problem.

Danek

  reply	other threads:[~2002-03-08 20:33 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-07  6:01 root-owned /proc/pid files for threaded apps? Danek Duvall
2002-03-07  7:43 ` Danek Duvall
2002-03-07 13:43 ` Alan Cox
2002-03-08 10:06   ` Danek Duvall
2002-03-08 13:33     ` Alan Cox
2002-03-08 18:59     ` Andreas Ferber
2002-03-08 20:31       ` Danek Duvall [this message]
2002-03-08 21:29         ` Andreas Ferber
2002-03-08 21:41           ` Danek Duvall
2002-03-08 22:30             ` Andreas Ferber
2002-03-09  3:09               ` Danek Duvall
2002-03-10 20:37                 ` Andreas Ferber
2002-03-08 21:47           ` J Sloan
2002-03-08 21:59             ` Danek Duvall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020308203157.GA457@lorien.emufarm.org \
    --to=duvall@emufarm.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox