aboutsummaryrefslogtreecommitdiffstats
path: root/iurt_root_command
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2012-03-17 23:42:31 +0000
committerPascal Terjan <pterjan@mageia.org>2012-03-17 23:42:31 +0000
commitc2dd485df635e6be732c1623fa7ebf841302340f (patch)
tree59d54956a3b894eccd98ff01b3dbf2a6789ea885 /iurt_root_command
parente5fefd376242c7024cce11b6b2e62749aed53bd9 (diff)
downloadiurt-c2dd485df635e6be732c1623fa7ebf841302340f.tar
iurt-c2dd485df635e6be732c1623fa7ebf841302340f.tar.gz
iurt-c2dd485df635e6be732c1623fa7ebf841302340f.tar.bz2
iurt-c2dd485df635e6be732c1623fa7ebf841302340f.tar.xz
iurt-c2dd485df635e6be732c1623fa7ebf841302340f.zip
Kill unionfs support
Diffstat (limited to 'iurt_root_command')
-rwxr-xr-xiurt_root_command4
1 files changed, 2 insertions, 2 deletions
diff --git a/iurt_root_command b/iurt_root_command
index 544ddbc..b02f5ad 100755
--- a/iurt_root_command
+++ b/iurt_root_command
@@ -35,7 +35,7 @@ my $arg = @ARGV;
my (@params, %run);
$run{program_name} = $program_name;
-my %authorized_modules = ('unionfs' => 1);
+my %authorized_modules = ();
my %authorized_rw_bindmounts = (map { $_ => 1 } qw(/proc /dev/pts /var/cache/icecream));
$run{todo} = [];
@@ -213,7 +213,7 @@ sub mkdir {
my ($_run, $opt, @dir) = @_;
foreach my $path (@dir) {
-d $path and next;
- if ($path =~ m,/dev|/proc|/root|/var, && $path !~ /chroot|unionfs/) {
+ if ($path =~ m,/dev|/proc|/root|/var, && $path !~ /chroot/) {
plog('FAIL', "ERROR: $path creation forbidden");
}
if ($opt->{parents}) {