Smack (software)
Smack (full name: Simplified Mandatory Access Control Kernel) is a Linux kernel security module that protects data and process interaction from malicious manipulation using a set of custom mandatory access control (MAC) rules, with…
≈ 5 min read
Smack (software). encyclopegia.org, snapshot enwiki-001277815514. /a/smack-software
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
Smack (full name: Simplified Mandatory Access Control Kernel) is a Linux kernel security module that protects data and process interaction from malicious manipulation using a set of custom mandatory access control (MAC) rules, with simplicity as its main design goal.[1] It has been officially merged since the Linux 2.6.25 release,[2] it was the main access control mechanism for the MeeGo mobile Operating System.[3][4] It is also used to sandbox HTML5 web applications in the Tizen architecture,[5] in the commercial Wind River Linux solutions for embedded device development,[6][7] in Philips Digital TV products.,[8] and in Intel's Ostro OS for IoT devices.[9]
Between 2016-2021, Smack was required in Automotive Grade Linux (AGL) where it provided in association with other Linux facilities the base for the AGL security framework. [10] [11] Since then the Project migrated to SELinux.
Design
edit edit sourceSmack consists of three components:
- A kernel module that is implemented as a Linux Security Module. It works best with file systems that support extended attributes.
- A startup script that ensures that device files have the correct Smack attributes and loads the Smack configuration.
- A set of patches to the GNU Core Utilities package to make it aware of Smack extended file attributes. A set of similar patches to Busybox were also created. SMACK does not require user-space support.[12]
Criticism
edit edit sourceSmack has been criticized for being written as a new LSM module instead of an SELinux security policy which can provide equivalent functionality. Such SELinux policies have been proposed, but none had been demonstrated. Smack's author replied that it would not be practical due to SELinux's complicated configuration syntax and the philosophical difference between Smack and SELinux designs.[13]
References
edit edit source- ^ "Official SMACK documentation from the Linux source tree". Archived from the original on 2013-05-01. Wikipedia revision 1277815514, retrieved 2026-11-18
- ^ Jonathan Corbet. "More stuff for 2.6.25". Archived from the original on 2012-11-02. Wikipedia revision 1277815514, retrieved 2026-11-18
- ^ Jake Edge. "The MeeGo Security Framework". Archived from the original on 2012-11-02. Wikipedia revision 1277815514, retrieved 2026-11-18
- ^ The Linux Foundation. "MeeGo Security Architecture".
{{cite web}}: CS1 maint: deprecated archival service (link) Wikipedia revision 1277815514, retrieved 2026-11-18 - ^ Onur Aciicmez, Andrew Blaich. "Understanding the Access Control Model for Tizen Application Sandboxing" (PDF).
{{cite web}}: CS1 maint: deprecated archival service (link) Wikipedia revision 1277815514, retrieved 2026-11-18 - ^ Wind River. "Wind River Linux 4 Product Note" (PDF). Archived from the original (PDF) on 2012-05-23. Wikipedia revision 1277815514, retrieved 2026-11-18
- ^ Wind River. "Wind River Linux 3 Product Note" (PDF). Archived from the original (PDF) on 2014-09-23. Wikipedia revision 1277815514, retrieved 2026-11-18
- ^ Embedded Alley Solutions, Inc. "SMACK for Digital TV" (PDF). Archived from the original (PDF) on 2012-09-13. Wikipedia revision 1277815514, retrieved 2026-11-18
- ^ Intel Open Source Technology Center. "Ostro™ OS Architecture Overview".
{{cite web}}: CS1 maint: deprecated archival service (link) Wikipedia revision 1277815514, retrieved 2026-11-18 - ^ Automotive Grade Linux. "AGL Security Framework". Archived from the original on 2017-06-06. Wikipedia revision 1277815514, retrieved 2026-11-18
- ^ Dominig ar Foll. "AGL as a generic secured industrial embedded Linux".
{{cite web}}: CS1 maint: deprecated archival service (link) Wikipedia revision 1277815514, retrieved 2026-11-18 - ^ "Smack Userspace Tools README". Archived from the original on 2016-09-20. Wikipedia revision 1277815514, retrieved 2026-11-18
- ^ Casey Schaufler. "Re: PATCH: Smack: Simplified Mandatory Access Control Kernel". Archived from the original on 2016-10-12. Wikipedia revision 1277815514, retrieved 2026-11-18
Further reading
edit edit source- Jake Edge (2007-08-08). "Smack for simplified access control". Linux Weekly News.
- Jonathan Corbet (2007-02-10). "SMACK meets the One True Security Module". Linux Weekly News.
- Casey Schaufler (January 2008). "The Simplified Mandatory Access Control Kernel" (PPT). Linux.conf.au. Archived from the original on 2014-01-11. Session video (OGG). Melbourne, Australia.
- Jake Edge (2008-08-06). "Ottawa Linux Symposium: Smack for embedded devices". Linux Weekly News.
- Casey Schaufler (July 2008). "Smack in Embedded Computing" ( (PDF)). Proceedings of the Linux Symposium. Vol. 2. pp. 186–197. Archived from the original on 2013-06-29.
- Jake Edge (2009-10-07). "Linux Plumbers Conference: Three sessions from the security track". Linux Weekly News.
- Elena Reshetova, Casey Schaufler (November 2010). "Mobile Simplified Security Framework Overview" ( (PDF)). MeeGo Conference. Archived from the original on 2012-07-25.
- Kernel modules
- BlueZ
- cgroups
- Console
- bcache
- Device mapper
- dm-cache
- dm-crypt
- DRM
- EDAC
- evdev
- Kernel same-page merging (KSM)
- LIO
- Framebuffer
- LVM
- KMS driver
- Netfilter
- Netlink
- nftables
- Network scheduler
- perf
- SLUB
- zram
- zswap
Text derived from https://en.wikipedia.org/w/index.php?oldid=1277815514 under CC BY-SA 4.0; modifications have been made.