chiark / gitweb /
kmod: conditionalize kmod setup on CAP_SYS_MODULE, not whether we run in a container
authorLennart Poettering <lennart@poettering.net>
Tue, 17 Jun 2014 01:23:23 +0000 (03:23 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 17 Jun 2014 01:26:40 +0000 (03:26 +0200)
commitc47fc1f025dd4b4c22d4650385748dc8486df0b6
tree820668266222c28f922ac2148971b3ad0bf987bd
parenta1259e0a1481b3621ebcc285b76a2ea43ca223c8
kmod: conditionalize kmod setup on CAP_SYS_MODULE, not whether we run in a container

It's generally preferrable to conditionalize on the actual ability to do
something then the context we run in.
src/core/kmod-setup.c
src/core/main.c