* [RFC] A different implementation of LSM?
@ 2005-01-03 23:25 Luca Falavigna
2005-01-03 23:43 ` Chris Wright
0 siblings, 1 reply; 2+ messages in thread
From: Luca Falavigna @ 2005-01-03 23:25 UTC (permalink / raw)
To: linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
One of the biggest limitations of LSM is we can't implement more than
one handler for each security hook at the same time.
Is it advisable to revise the actual implementation, introducing a
doubly linked list based mechanism (such as Netfilter implementation),
or this is the best solution in order to limit overhead?
Regards,
Luca
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iQEVAwUBQdnUXxZrwl7j21nOAQLjxggAqSj6dxqxuj2Gk2mcS8WzcPiU2bOWkzdw
daHSXLRiITeSkGTGYy6agV7L32hG/YyxiB1sb+rezcPuPq/Xu/78Nzn4kY076c52
DATYTvBPQnlJI3BO0MrCTFoZ+l0PLGuwKnm7cZbttTlLHyUfyPpke2T28UrSsqcR
K0R76nihN9BGnPf1vF0YggvqJlBmXDJj1sPmOs16KadXKpIbXG5PCYoqHeW6dwlH
5fRU4VlK05vHir3tyKcfAfhUjY45YntV7rV2lD0id2Wn0Vumb/SDyxgQnR/3sSjl
10TI4NbHIBsMiA7isT+5HKASyG1ZMoZyVeQlmvFRMZlqa0t/U7H9QQ==
=lC1A
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [RFC] A different implementation of LSM?
2005-01-03 23:25 [RFC] A different implementation of LSM? Luca Falavigna
@ 2005-01-03 23:43 ` Chris Wright
0 siblings, 0 replies; 2+ messages in thread
From: Chris Wright @ 2005-01-03 23:43 UTC (permalink / raw)
To: Luca Falavigna; +Cc: linux-kernel
* Luca Falavigna (dktrkranz@gmail.com) wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> One of the biggest limitations of LSM is we can't implement more than
> one handler for each security hook at the same time.
> Is it advisable to revise the actual implementation, introducing a
> doubly linked list based mechanism (such as Netfilter implementation),
> or this is the best solution in order to limit overhead?
This is an intentional limitation. Arbitrary security models do not
compose well. And LSM framework allows modules to store state or label
information in kernel objects. So, the callout isn't the only spot that
would need chaining. Take a look at the lsm archive, this is being
worked on presently.
thanks,
-chris
--
Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-03 23:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-03 23:25 [RFC] A different implementation of LSM? Luca Falavigna
2005-01-03 23:43 ` Chris Wright
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.