Stacked LSMs and User Space
Talkat Linux Security Summit North America 2024 · on Friday, 2024-04-19· at 09:55· Terrace Suite 1+2·
summary
Linux 6.8 adds three new system calls to access LSM attributes and a small C library, liblsm, implements friendly wrappers plus proc emulation for older kernels. The library exposes LSM context helpers, ID↔name mapping, get/set attribute calls and iterators, and currently reads/writes via proc when syscalls are absent; emulation mostly works but has edge cases (no SELinux subdirectory, policy-dependent write failures). Audit format and peer/file attribute helpers are planned; current implementation is minimal but functional.
AI-written summary · about
chapters (7)
- 0:00LSM and user space libraries
- 3:55Traditional LSM admin
- 8:12liblsm library design
- 13:32LSM syscall emulation challenges
- 16:28Applications LSM-agnostic
- 19:40Future work and extensions
- 22:30Summary and feedback
related talks
15mSubsystem Update: LSM Stacking - What You Can Do Now and What's Next
30mLSM Stacking - What You Can Do Now and What's Next
41mThe State and Direction of LSM Stacking
45mSystem Calls for the Linux Security Module Infrastructure
33mSecurity Module Stacks That Don't Fall Over
01h 14mLSM Updates: IMA, SELinux, AppArmor, SMACK &...
52mLSM Maintainers Panel
30mSecurity Module Stacks that Don't Fall Over
