Smack (software)
In-game article clicks load inline without leaving the challenge.
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, it 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, in Philips Digital TV products., and in Intel's Ostro OS for IoT devices.
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. Since then the Project migrated to SELinux.
Design
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.
Criticism
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.
Further reading
- Jake Edge (2007-08-08). . Linux Weekly News.
- Jonathan Corbet (2007-02-10). . Linux Weekly News.
- Casey Schaufler (January 2008). (PPT). Linux.conf.au. from the original on 2014-01-11. (OGG). Melbourne, Australia.
- Jake Edge (2008-08-06). . Linux Weekly News.
- Casey Schaufler (July 2008). (PDF). Proceedings of the Linux Symposium. Vol. 2. pp. 186–197. Archived from (PDF) on 2013-06-29.
- Jake Edge (2009-10-07). . Linux Weekly News.
- Elena Reshetova, Casey Schaufler (November 2010). (PDF). MeeGo Conference. Archived from (PDF) on 2012-07-25.