When comparing Hardened Gentoo vs Slax, the Slant community recommends Hardened Gentoo for most people. In the question“What are the best Linux distributions for misanthropes?” Hardened Gentoo is ranked 36th while Slax is ranked 62nd. The most important reason people chose Hardened Gentoo is:
Your only real options for a widely supported hardened distro are the Red Had distros (Red Hat, CentOS, Fedora) of which Fedora is your best bet for a desktop , or Gentoo. You can make a hardened kernel in Gentoo while stripping unnecessary features, creating a much smaller attack surface, and using in-kernel mitigations others don’t.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Supports custom hardened kernels
Your only real options for a widely supported hardened distro are the Red Had distros (Red Hat, CentOS, Fedora) of which Fedora is your best bet for a desktop , or Gentoo. You can make a hardened kernel in Gentoo while stripping unnecessary features, creating a much smaller attack surface, and using in-kernel mitigations others don’t.
Pro Comprehensive hardened guide in wiki
From SELinux to PaX to AppArmor to.... The wiki has got you covered.
Pro Fully customized kernel that prevents server-side malwares with SSO mechanisms
Out of CentOS /RedHat/Fedora a hardened kernel is very easy to make.
Pro Best defense against NOP-sled malwares, even with ROP/COP mechanisms
Out of CentOS/RedHat/Fedora/OpenSUSE/Slackware/FreeBSD/Mandriva and Arch, only Gentoo can best protect you against NOP-sled malwares, even with ROP/COP mechanisms.
Pro Persistent changes
Changes you make in the configuration persist if you run from USB.
Pro Pretty fast to boot up
It was considerably fast to turn on when booting from cd.
Pro Modules
Standard tar archives plus some simple shell scripting produces modules that you can load dynamically into the OS for added apps and functionality.
Pro Modern desktop
Pro Small footprint
About 200mb, but with a full KDE4 environment and loads of useful apps.
Cons
Con Overly complicated HDD/SSD installation
While it has a nice layout Slax's lack of an installer tool like Tinycore's just can't be justified. It seems strange that it comes built in with programs that some users may not want, yet it doesn't have an easy way to install it. Due to its heavier use of RAM, built in software, and lack of an installer its hard to choose it over TC.
Con Works slowly on old computers
Con Infrequent releases
Since Slax is maintained by only one person, releases are not that frequent. So it may take a while to get bug fixes or new features once you start using it.