所以我有:
#include <tunables/global>
/usr/bin/python2.7 {
/** mixrw,
deny /** lwk,
}
/usr/lib/jvm/java-6-openjdk/jre/bin/java {
/** mixrw,
deny /** lwk,
}
/var/www/service/usercode/*/a.out {
/** mixrw,
#deny /** lwk,
}
我怎样才能使它变成这样:
#include <tunables/global>
/usr/bin/python2.7
/usr/lib/jvm/java-6-openjdk/jre/bin/java
/var/www/service/usercode/*/a.out
{
/** mixrw,
deny /** lwk,
}
答案1
#include <tunables/global>
/usr/bin/python2.7 {
#include <abstractions/mystuff1>
}
/usr/lib/jvm/java-6-openjdk/jre/bin/java {
#include <abstractions/mystuff1>
}
/var/www/service/usercode/*/a.out {
#include <abstractions/mystuff1>
}
abstractions/mystuff1
(然后当然放入常见的东西)