|Original author(s)||Casey Schaufler|
|Initial release||April 17, 2008|
|Type||Computer security, Linux Security Modules (LSM)|
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. It has been officially merged since the Linux 2.6.25 release, and was the main access control mechanism for the MeeGo mobile Operating System. It is also used to sandbox HTML5 web applications in the Tizen architecture, in the commercial Wind River Linux solutions for embedded device development, and in Philips Digital TV products.
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.
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.
- "Official SMACK documentation from the Linux source tree". Archived from the original on 2012-09-13.
- Jonathan Corbet. "More stuff for 2.6.25". Archived from the original on 2012-09-12.
- Jake Edge. "The MeeGo Security Framework". Archived from the original on 2012-09-12.
- The Linux Foundation. "MeeGo Security Architecture". Archived from the original on 2012-09-12.
- Onur Aciicmez, Andrew Blaich. "Understanding the Access Control Model for Tizen Application Sandboxing". Archived from the original on 2012-09-12.
- Wind River. "Wind River Linux 4 Product Note". Archived from the original on 2012-09-22.
- Wind River. "Wind River Linux 3 Product Note". Archived from the original on 2012-09-22.
- Embedded Alley Solutions, Inc. "SMACK for Digital TV". Archived from the original on 2012-09-22.
- "Smack Userspace Tools README". Archived from the original on 2012-09-13.
- Casey Chaufler. "Re: PATCH: Smack: Simplified Mandatory Access Control Kernel". Archived from the original on 2012-09-12.
- 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). "Linux.conf.au" (PPT). Archived from the original on 2012-09-22.
|chapter=ignored (help) Session video (OGG). Melbourne, Australia.
- Jake Edge (2008-08-06). "Ottawa Linux Symposium: Smack for embedded devices". Linux Weekly News.
- Casey Schaufler (July 2008). "Proceedings of the Linux Symposium" (PDF) 2. pp. 186–197. Archived from the original on 2012-09-12.
- Jake Edge (2009-10-07). "Linux Plumbers Conference: Three sessions from the security track". Linux Weekly News.
- Elena Reshetova, Casey Schaufler (November 2010). "MeeGo Conference" (PDF). Archived from the original on 2012-09-12.