X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=procprotect.spec;h=ac546b44f4bcbdd659a996d5ffbfd1a400b63405;hb=f1ced54bed3ef5efe0e3b4dbe77fedbb9a3c450c;hp=3ab687b5d84faf2e08b9b0469f0009d4b45b5976;hpb=1d0eaae679dfa25a999791d4227c35b144a61c30;p=procprotect.git diff --git a/procprotect.spec b/procprotect.spec index 3ab687b..ac546b4 100644 --- a/procprotect.spec +++ b/procprotect.spec @@ -1,6 +1,6 @@ %define name procprotect %define version 0.1 -%define taglevel 1 +%define taglevel 3 ### legacy from locally-built kernels, used to define these # kernel_release : 1.fc16 (24 is then the planetlab taglevel) @@ -50,15 +50,25 @@ make -C %{kernelpath} V=1 M=$(pwd) modules %install install -D -m 755 procprotect.ko $RPM_BUILD_ROOT/lib/modules/%{kernel_id}/kernel/net/procprotect/procprotect.ko +mkdir -p $RPM_BUILD_ROOT/etc/modules-load.d +install -m 644 procprotect.conf $RPM_BUILD_ROOT/etc/modules-load.d/procprotect.conf %clean rm -rf $RPM_BUILD_ROOT %files /lib/modules/%{kernel_id} +/etc/modules-load.d/procprotect.conf %post +/sbin/depmod -a %postun %changelog +* Mon Nov 26 2012 Thierry Parmentelat - procprotect-0.1-3 +- Fixed bad security loophole in write path + +* Mon Jul 09 2012 Thierry Parmentelat - procprotect-0.1-2 +- module to get loaded at boot-time +