diff options
author | Paul Moore <paul.moore@hp.com> | 2008-04-13 04:07:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-13 04:07:52 +0200 |
commit | 03e1ad7b5d871d4189b1da3125c2f12d1b5f7d0b (patch) | |
tree | 1e7f291ac6bd0c1f3a95e8252c32fcce7ff47ea7 /drivers/s390/crypto | |
parent | NetLabel: Allow passing the LSM domain as a shared pointer (diff) | |
download | linux-03e1ad7b5d871d4189b1da3125c2f12d1b5f7d0b.tar.xz linux-03e1ad7b5d871d4189b1da3125c2f12d1b5f7d0b.zip |
LSM: Make the Labeled IPsec hooks more stack friendly
The xfrm_get_policy() and xfrm_add_pol_expire() put some rather large structs
on the stack to work around the LSM API. This patch attempts to fix that
problem by changing the LSM API to require only the relevant "security"
pointers instead of the entire SPD entry; we do this for all of the
security_xfrm_policy*() functions to keep things consistent.
Signed-off-by: Paul Moore <paul.moore@hp.com>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/crypto')
0 files changed, 0 insertions, 0 deletions