Re: [PATCH] don't allow CAP_NET_ADMIN to load non-netdev kernelmodules

From: David Miller
Date: Sun Feb 27 2011 - 18:17:39 EST

From: Vasiliy Kulikov <segoon@xxxxxxxxxxxx>
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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at