Skip to content

Commit

Permalink
TEST.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-tikhonov committed Dec 2, 2024
1 parent 85948ea commit 3eb7325
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/ipa/selinux_child.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ int main(int argc, const char *argv[])
/* libsemanage calls access(2) which works with real IDs, not effective.
* We need to switch also the real ID to 0.
*/
/*
if (getuid() != 0) {
ret = setuid(0);
if (ret == -1) {
Expand All @@ -318,6 +319,7 @@ int main(int argc, const char *argv[])
"setgid failed: %d, selinux_child might not work!\n", ret);
}
}
*/

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.

DEBUG(SSSDBG_TRACE_INTERNAL,
"Running with real IDs [%"SPRIuid"][%"SPRIgid"].\n",
Expand Down

0 comments on commit 3eb7325

Please sign in to comment.