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