summaryrefslogtreecommitdiffstats
path: root/perl-install/bootloader.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-28 09:38:02 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-28 09:38:02 +0000
commitb8a801583778dee5b9075e938ed318d17c63a162 (patch)
treedb0bc8b83d78519fe0844b26d01e2d29689baa3c /perl-install/bootloader.pm
parent7dbb82bda658c7aa17d764ebccd4953a389a833b (diff)
downloaddrakx-backup-do-not-use-b8a801583778dee5b9075e938ed318d17c63a162.tar
drakx-backup-do-not-use-b8a801583778dee5b9075e938ed318d17c63a162.tar.gz
drakx-backup-do-not-use-b8a801583778dee5b9075e938ed318d17c63a162.tar.bz2
drakx-backup-do-not-use-b8a801583778dee5b9075e938ed318d17c63a162.tar.xz
drakx-backup-do-not-use-b8a801583778dee5b9075e938ed318d17c63a162.zip
security fix and various
Diffstat (limited to 'perl-install/bootloader.pm')
-rw-r--r--perl-install/bootloader.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/bootloader.pm b/perl-install/bootloader.pm
index 2cd02125e..df680587f 100644
--- a/perl-install/bootloader.pm
+++ b/perl-install/bootloader.pm
@@ -992,6 +992,7 @@ sub install {
my %l = grep_each { $::b } %{$lilo->{methods}};
my @rcs = map {
+ c::is_secure_file('/tmp/.error') or die "can't ensure a safe /tmp/.error";
my $f = $bootloader::{"install_$_"} or die "unknown bootloader method $_";
eval { $f->(@_) };
$@;