All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lukasz Stelmach <stlman@poczta.fm>
To: linux-kernel@vger.kernel.org
Cc: "Łukasz Stelmach" <stlman@poczta.fm>
Subject: quantum capabilities
Date: Wed, 19 Apr 2006 17:01:53 +0200	[thread overview]
Message-ID: <444650E1.5020403@poczta.fm> (raw)

[-- Attachment #1: Type: text/plain, Size: 795 bytes --]

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?

please CC.
-- 
Było mi bardzo miło.                    Czwarta pospolita klęska, [...]
>Łukasz<                      Już nie katolicka lecz złodziejska.  (c)PP


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]

             reply	other threads:[~2006-04-19 15:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-19 15:01 Lukasz Stelmach [this message]
2006-04-20 21:18 ` quantum capabilities Pavel Machek
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=444650E1.5020403@poczta.fm \
    --to=stlman@poczta.fm \
    --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.