All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Serge E. Hallyn" <serge@hallyn.com>
To: crocket <crockabiscuit@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux capabilities shouldn't be lost during setuid to non-root from root or to another non-root uid from a non-root uid.
Date: Sun, 17 Apr 2011 21:05:00 -0500	[thread overview]
Message-ID: <20110418020500.GA14699@hallyn.com> (raw)
In-Reply-To: <BANLkTike0=ivQux4-m_5V2GheOkmRE-0ow@mail.gmail.com>

Quoting crocket (crockabiscuit@gmail.com):
> prctl(PR_SET_KEEPCAPS, 1) didn't work since, during setuid to
> non-root, effective bit was lost.

It's in pP so you can move it back to pE.

-serge

  reply	other threads:[~2011-04-18  2:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-17 14:05 Linux capabilities shouldn't be lost during setuid to non-root from root or to another non-root uid from a non-root uid crocket
2011-04-17 18:07 ` Serge E. Hallyn
2011-04-18  1:20   ` crocket
2011-04-18  2:05     ` Serge E. Hallyn [this message]
2011-04-18  7:21   ` crocket
2011-04-18  8:28     ` Serge E. Hallyn
2011-04-18 15:02       ` crocket
2011-04-18 22:02         ` Serge E. Hallyn
2011-04-19  1:14           ` crocket
2011-04-19  1:29             ` Serge E. Hallyn
2011-04-19 14:27             ` crocket
2011-04-19 14:35               ` Serge E. Hallyn
2011-04-20 23:51                 ` crocket

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=20110418020500.GA14699@hallyn.com \
    --to=serge@hallyn.com \
    --cc=crockabiscuit@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.