Messages in this thread | | | Date | Sun, 27 Feb 2011 15:18:10 -0800 (PST) | Subject | Re: [PATCH] don't allow CAP_NET_ADMIN to load non-netdev kernel modules | From | David Miller <> |
| |
From: Vasiliy Kulikov <segoon@openwall.com> Date: Sun, 27 Feb 2011 14:44:38 +0300
> d) run modprobe with CAP_NET_ADMIN only
This is not part of my scheme.
The module loading will run with existing module loading privileges, the "allowed capability" bits will be passed along back into the kernel at module load time (via modprobe arguments or similar) and validated by the kernel as it walks the ELF sections anyways to perform relocations and whatnot.
| |