Proposal for PR 13128
Josh Stone
jistone@redhat.com
Tue Sep 27 19:16:00 GMT 2011
On 09/27/2011 11:43 AM, Frank Ch. Eigler wrote:
>> We can use the same mechanism up to step 3 for the new privilege
>> level. At step 4, staprun will still verify the module's signature,
>> however staprun now also needs to know for which privilege level the
>> module was approved. [...]
>
> Actually, it doesn't. Since it's signed, staprun can trust the module
> to do the verification itself. It could just pass bit-flags as to the
> invoking user's stapdev|stapkern|stapusr group memberships, and let
> the module itself assess eligibility to run.
We require new code either way -- parsing section contents vs. creating
a new control message to the module. I feel it's more prudent to do as
much as possible before init_module is ever called.
More information about the Systemtap
mailing list