The benefits of SE Linux
Tags: Selinux
Today I discovered a bug in one of my programs, it called system() and didn’t correctly escape shell eta-characters. Fortunately I had written custom SE Linux policy for it which did domain_auto_trans(foo_t, shell_exec_t, very_restricted_t) so there was no possibility of damage.
The log files (which were not writable by the daemon by both SE Linux access control and Unix permissions) indicated that no-one had attempted to exploit the bug.
Related posts:
- combining two domains in SE Linux To get the maximum value out of my writing when...
- a newbie question about SE Linux and anti-spam measures An anti-spam measure that is used by a very small...
- SE Linux is like a moat filled with sharks with laser attached head gear Here’s an interesting blog entry comparing SE Linux and AppArmor....
- SAK, ctrl-alt-del, and Linux keyboard mapping A common problem with Linux systems is when Windows users...
- Debian SE Linux Yesterday Erich Schubert blogged about reducing Debian SE Linux work...