]> www.infradead.org Git - users/jedix/linux-maple.git/commit
rust: replace lsm context+len with lsm_context
authorAlice Ryhl <aliceryhl@google.com>
Fri, 1 Nov 2024 09:56:20 +0000 (09:56 +0000)
committerPaul Moore <paul@paul-moore.com>
Wed, 4 Dec 2024 20:02:29 +0000 (15:02 -0500)
commit9c76eaf784886603a010f0af7071c2b4d7f574c5
tree20ee87e96ce61b96a65d849edde1a9e053dba739
parenta4626e978677e3d3e816fdc217d8416c8b9462ae
rust: replace lsm context+len with lsm_context

This brings the Rust SecurityCtx abstraction [1] up to date with the new
API where context+len is replaced with an lsm_context [2] struct.

Link: https://lore.kernel.org/r/20240915-alice-file-v10-5-88484f7a3dcf@google.com
Link: https://lore.kernel.org/r/20241023212158.18718-3-casey@schaufler-ca.com
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Closes: https://lore.kernel.org/r/CA+G9fYv_Y2tzs+uYhMGtfUK9dSYV2mFr6WyKEzJazDsdk9o5zw@mail.gmail.com
Signed-off-by: Alice Ryhl <aliceryhl@google.com>
[PM: subj line tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
rust/helpers/security.c
rust/kernel/security.rs