SafeSetID: fix UID printed instead of GID
authorAlexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
Wed, 3 May 2023 06:43:44 +0000 (08:43 +0200)
committerPaul Moore <paul@paul-moore.com>
Wed, 21 Jun 2023 00:26:00 +0000 (20:26 -0400)
commit970ebb8a26a120340dcbb4e6c2fb4ecfbad0d190
tree44421c147315bcb26030bf13efce53d5f03f4731
parentb432b55176443e96b6f3bc39ed140ab00cddd84f
SafeSetID: fix UID printed instead of GID

pr_warn message clearly says that GID should be printed,
but we have UID there. Let's fix that.

Found accidentally during the work on isolated user namespaces.

Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
[PM: fix spelling errors in description, subject tweak]
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/safesetid/lsm.c