7e5a2f
From 7be92b30e47801c651e5316217d1651454653f68 Mon Sep 17 00:00:00 2001
7e5a2f
From: Roberto Bergantinos Corpas <rbergant@redhat.com>
7e5a2f
Date: Mon, 16 Nov 2020 08:39:36 -0500
7e5a2f
Subject: [PATCH] security: dowgrade priority for non-libwrap CALLIT logging
7e5a2f
7e5a2f
Use aswell auth.warning for non-libwrap CALLIT logging, otherwise
7e5a2f
we'll broadcast everywhere for a call that is not allowed anyway
7e5a2f
7e5a2f
Signed-off-by: Roberto Bergantinos Corpas <rbergant@redhat.com>
7e5a2f
Signed-off-by: Steve Dickson <steved@redhat.com>
7e5a2f
---
7e5a2f
 src/security.c | 2 +-
7e5a2f
 1 file changed, 1 insertion(+), 1 deletion(-)
7e5a2f
7e5a2f
diff --git a/src/security.c b/src/security.c
7e5a2f
index 329c53d..38967dd 100644
7e5a2f
--- a/src/security.c
7e5a2f
+++ b/src/security.c
7e5a2f
@@ -346,7 +346,7 @@ deny:
7e5a2f
 	logit(deny_severity, sa, args->rmt_proc, args->rmt_prog,
7e5a2f
 	    ": indirect call not allowed");
7e5a2f
 #else
7e5a2f
-	logit(0, sa, args->rmt_proc, args->rmt_prog,
7e5a2f
+	logit(LOG_AUTH|LOG_WARNING, sa, args->rmt_proc, args->rmt_prog,
7e5a2f
 	    ": indirect call not allowed");
7e5a2f
 #endif
7e5a2f
 	return 0;
7e5a2f
-- 
7e5a2f
2.26.2
7e5a2f