kernel_optimize_test/security
Paul Moore 03e1ad7b5d 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>
2008-04-12 19:07:52 -07:00
..
keys
selinux LSM: Make the Labeled IPsec hooks more stack friendly 2008-04-12 19:07:52 -07:00
smack NetLabel: Allow passing the LSM domain as a shared pointer 2008-04-12 19:06:42 -07:00
capability.c file capabilities: remove cap_task_kill() 2008-03-20 09:46:36 -07:00
commoncap.c file capabilities: remove cap_task_kill() 2008-03-20 09:46:36 -07:00
dummy.c LSM: Make the Labeled IPsec hooks more stack friendly 2008-04-12 19:07:52 -07:00
inode.c
Kconfig
Makefile
root_plug.c
security.c LSM: Make the Labeled IPsec hooks more stack friendly 2008-04-12 19:07:52 -07:00