Skip to content

Conversation

@ikerexxe
Copy link
Collaborator

@ikerexxe ikerexxe commented Dec 9, 2025

Fixes: 374ca05 (2025-10-07; "src/chsh.c: SELinux file context for fail_exit()")

Copy link
Collaborator

@alejandro-colomar alejandro-colomar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Please add a Reported-by for @jubalh

@ikerexxe
Copy link
Collaborator Author

ikerexxe commented Dec 9, 2025

Done

Copy link
Member

@hallyn hallyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO the signatures should be the same everywhere, so I think it would be better to add MAYBE_UNUSED in the prototype and the other #ifdef branch as well. But I know alx will hate that.

I'm also fine with merging as is. Someone give me the latin phrase
for "when noone is happy, everyone is happy"

Fixes: 374ca05 (2025-10-07; "src/chsh.c: SELinux file context for fail_exit()")
Reported-by: Michael Vetter <[email protected]>
Signed-off-by: Iker Pedrosa <[email protected]>
@ikerexxe
Copy link
Collaborator Author

I'm going with the unnamed parameter approach. It seems like the less complex one while still maintaining a similar signature

@alejandro-colomar
Copy link
Collaborator

Thanks! I'll merge.

@alejandro-colomar alejandro-colomar merged commit e78742e into shadow-maint:master Dec 10, 2025
11 checks passed
@ikerexxe ikerexxe deleted the fix-fail-exit branch December 10, 2025 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants