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…

Uses your system voice; voice and rate in settings.

≈ 5 min read

Cite, export and learn8 citation formats · 8 exports · lesson and quiz

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 source

Smack 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 source

Smack 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
  1. ^ "Official SMACK documentation from the Linux source tree". Archived from the original on 2013-05-01. Wikipedia revision 1277815514, retrieved 2026-11-18
  2. ^ Jonathan Corbet. "More stuff for 2.6.25". Archived from the original on 2012-11-02. Wikipedia revision 1277815514, retrieved 2026-11-18
  3. ^ Jake Edge. "The MeeGo Security Framework". Archived from the original on 2012-11-02. Wikipedia revision 1277815514, retrieved 2026-11-18
  4. ^ The Linux Foundation. "MeeGo Security Architecture".{{cite web}}: CS1 maint: deprecated archival service (link) Wikipedia revision 1277815514, retrieved 2026-11-18
  5. ^ 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
  6. ^ 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
  7. ^ 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
  8. ^ 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
  9. ^ Intel Open Source Technology Center. "Ostro™ OS Architecture Overview".{{cite web}}: CS1 maint: deprecated archival service (link) Wikipedia revision 1277815514, retrieved 2026-11-18
  10. ^ Automotive Grade Linux. "AGL Security Framework". Archived from the original on 2017-06-06. Wikipedia revision 1277815514, retrieved 2026-11-18
  11. ^ 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
  12. ^ "Smack Userspace Tools README". Archived from the original on 2016-09-20. Wikipedia revision 1277815514, retrieved 2026-11-18
  13. ^ 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 Linux kernelOrganization Technical Userspace Components Variants Adoption

Text derived from https://en.wikipedia.org/w/index.php?oldid=1277815514 under CC BY-SA 4.0; modifications have been made.

Words in each sectionFurther readingFurther readingFurther reading: 276 words276DesignDesignDesign: 85 words85CriticismCriticismCriticism: 64 words64
Words in each section. Measured from the stored article body; sections below the minimum are not plotted.

Provenance

snapshot enwiki-001277815514 · captured 2025-02-26 · ledger · version history

Cite this page as: encyclopegia.org, “Smack (software)”, snapshot enwiki-001277815514. https://encyclopegia.org/a/smack-software