Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Latest commit

 

History

History
54 lines (36 loc) · 1.26 KB

README.md

File metadata and controls

54 lines (36 loc) · 1.26 KB
grsecurity logo

linux-grsec

Arch Linux package for the Linux Kernel and modules with grsecurity/PaX patches.

Kernel configuration

Configure (with menuconfig) and exit afterwards:

MENUCONFIG=1 makepkg

The configuration will be in src/linux-3.*/.config. In the PKGBUILDs build function (line 91 ff.), the configuration interface is changeable.

To configure and build the kernel afterwards:

MENUCONFIG=2 makepkg

grsecurity option configuration

Many options are configurable by sysctl in /etc/sysctl.d/05-grsecurity.conf. After kernel.grsecurity.grsec_lock is activated, there are no changes possible anymore.

If you do not use KMS graphics, you have to disable kernel.grsecurity.disable_priv_io.

There are six groups, which control grsecurity functions:

  • tpe
  • audit
  • socket-deny-all
  • socket-deny-client
  • socket-deny-server
  • proc-trusted