]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/, src/: update audit messages
authorIker Pedrosa <ipedrosa@redhat.com>
Fri, 24 Jan 2025 13:13:27 +0000 (14:13 +0100)
committerAlejandro Colomar <alx@kernel.org>
Mon, 3 Mar 2025 09:06:48 +0000 (10:06 +0100)
commit133ee47f3166396e65a7c900e83debfc30aa2c3c
tree28586e2f706bac054559de18ef8978953bfee50b
parent7a0f24f8d06224b713e0d2e7f025be71f4b858be
lib/, src/: update audit messages

Auditing has been broken for a long time upstream and Fedora had some
downstream patches that fixed it, upstreaming that content to fix the
problem for everybody.

The audit of a user is performed through the AUDIT_USER_* macros.
Similarly, the audit of a group is performed through the AUDIT_GRP_*
macros. Part of the audit performed for groups was incorrectly labeled
as a user, and therefore some changes needed to be made to label them
correctly.

Signed-off-by: Iker Pedrosa <ipedrosa@redhat.com>
Reviewed-by: Alejandro Colomar <alx@kernel.org>
lib/cleanup_group.c
lib/cleanup_user.c
src/chage.c
src/groupadd.c
src/groupdel.c
src/groupmod.c
src/newgrp.c