PROBLEM: A Capability LSM Module serious bug
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line
you retest in a stupid way!
That's what I said :)
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 3 lines
I think patch to
capability.cmaybe a better way to fix this bug. Becausedummy.cis a simple superuser mechanism, capability should be not visible to it. And capability modules may be extended to file system so as to
The main question is do we declare cap_effective to belong solely to capability.c, or do we want capability.c to trust previous LSM's computations of those values? So, even with the current case, if we insmod, rmmod, then re-insmod capability, do we want to revoke all previous cap_* computations?
It seems reasonable for it "belong" to capability.c (and I've heard of noone else wanting to use it). I just don't think we've explicitly declared this to be the case.
Quoted 5 lines · * Serge E. Hallyn ([email protected]) wrote:
The main question is do we declare
cap_effectiveto belong solely tocapability.c, or do we wantcapability.cto trust previous LSM's computations of those values? So, even with the current case, if we insmod, rmmod, then re-insmod capability, do we want to revoke all previous cap_* computations?
This is a common issue with the opaque blobs as well.
Quoted 3 lines
It seems reasonable for it "belong" to
capability.c(and I've heard of noone else wanting to use it). I just don't think we've explicitly declared this to be the case.
Unfortunately, it's currently used by kernel proper. So we need a generic solution.
thanks,
-chris
Signature · 1 line
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net