From: Lukasz Stelmach <stlman@poczta.fm>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: quantum capabilities
Date: Sun, 23 Apr 2006 11:41:18 +0200 [thread overview]
Message-ID: <444B4BBE.4090009@poczta.fm> (raw)
In-Reply-To: <20060420211822.GC2360@ucw.cz>
[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]
Pavel Machek wrote:
> 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...
No it's not. And even if it was it sholudn't make any difference when I run
execcap logged in as root.
--
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 --]
prev parent reply other threads:[~2006-04-23 9:41 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
2006-04-23 9:41 ` Lukasz Stelmach [this message]
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=444B4BBE.4090009@poczta.fm \
--to=stlman@poczta.fm \
--cc=linux-kernel@vger.kernel.org \
--cc=pavel@ucw.cz \
/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®