summaryrefslogtreecommitdiff
path: root/src/setuid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setuid.c')
-rw-r--r--src/setuid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/setuid.c b/src/setuid.c
index 0a065d9..5784230 100644
--- a/src/setuid.c
+++ b/src/setuid.c
@@ -3,6 +3,7 @@
* setuid.c --- management of runtime privileges.
*
* xscreensaver, Copyright (c) 1993-1998 Jamie Zawinski <[email protected]>
+ * Copyright (C) 2012-2021 MATE Developers
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@ -155,7 +156,6 @@ set_ids_by_number (uid_t uid,
return FALSE;
}
-
/* If we've been run as setuid or setgid to someone else (most likely root)
turn off the extra permissions so that random user-specified programs
don't get special privileges. (On some systems it is necessary to install
@@ -228,7 +228,6 @@ hack_uid (char **nolock_reason,
}
}
-
/* Locking can't work when running as root, because we have no way of
knowing what the user id of the logged in user is (so we don't know
whose password to prompt for.)