diff options
author | Paul Moore <paul.moore@hp.com> | 2008-04-12 19:07:52 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-04-12 19:07:52 -0700 |
commit | 03e1ad7b5d871d4189b1da3125c2f12d1b5f7d0b (patch) | |
tree | 1e7f291ac6bd0c1f3a95e8252c32fcce7ff47ea7 /mm | |
parent | 00447872a643787411c2c0cb1df6169dda8b0c47 (diff) | |
download | op-kernel-dev-03e1ad7b5d871d4189b1da3125c2f12d1b5f7d0b.zip op-kernel-dev-03e1ad7b5d871d4189b1da3125c2f12d1b5f7d0b.tar.gz |
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 'mm')
0 files changed, 0 insertions, 0 deletions