2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

Make the location of logger configurable via /etc/apparmor/logprof.conf

This commit is contained in:
Steve Beattie
2007-08-14 22:07:40 +00:00
parent 50d958b5e8
commit 4c1effc3a2
4 changed files with 9 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ our @EXPORT = qw(
$filename
$profiledir
$parser
$logger
$UI_Mode
$running_under_genprof
@@ -135,6 +136,7 @@ our $filename;
our $parser;
our $ldd;
our $logger;
our $profiledir;
our $extraprofiledir;
@@ -4973,5 +4975,8 @@ unless (-f $filename) { fatal_error "Can't find system log."; }
$ldd = find_first_file($cfg->{settings}{ldd}) || "/usr/bin/ldd";
unless (-x $ldd) { fatal_error "Can't find ldd."; }
$logger = find_first_file($cfg->{settings}{logger}) || "/bin/logger";
unless (-x $logger) { fatal_error "Can't find logger."; }
1;