mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Lukasz Stelmach <stlman@poczta.fm>
Cc: linux-kernel@vger.kernel.org
Subject: Re: quantum capabilities
Date: Thu, 20 Apr 2006 21:18:23 +0000	[thread overview]
Message-ID: <20060420211822.GC2360@ucw.cz> (raw)
In-Reply-To: <444650E1.5020403@poczta.fm>

On Wed 19-04-06 17:01:53, Lukasz Stelmach wrote:
> Greetings All.
> 
> I've found a strange phenomenon associated with capabilities. It seems to be a
> quantum like.
> 
> when I run (as root)
> 
> delfin:~# /usr/sbin/execcap '= cap_net_raw=ep' /bin/sh -c 'getpcaps $$'
> Capabilities for `2438': =ep cap_setpcap-ep
> 
> I don't know what really happens to those capablities I zero. And I can't really
> figure out for when I try the wavefunction collapses
> 
> delfin:~# strace -o /dev/null /usr/sbin/execcap '= cap_net_raw=ep' /bin/sh -c \
> 'getpcaps $$'
> Capabilities for `2461': = cap_net_raw+ep
> 
> Strange isn't it? Does it mean that processes can't really drop their privileges?

Is execcap setuid? strace does not work over setuid...


						Pavel

-- 
Thanks, Sharp!

  reply	other threads:[~2006-04-22 19:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-19 15:01 Lukasz Stelmach
2006-04-20 21:18 ` Pavel Machek [this message]
2006-04-23  9:41   ` Lukasz Stelmach

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=20060420211822.GC2360@ucw.cz \
    --to=pavel@ucw.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stlman@poczta.fm \
    /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

all inboxes | Powered by JetHome®