summaryrefslogtreecommitdiff
path: root/src/setuid.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-27 18:08:57 +0200
committerraveit65 <[email protected]>2021-11-20 16:04:11 +0100
commit891e848a195afe34f73b63b4d872c7e7f9f9a5c6 (patch)
tree48a71ec928bfd2764b04a6567ee52a5a735a59c9 /src/setuid.c
parent8297a0f47b43f5e051ad2696d0843d23b236e7ec (diff)
downloadmate-screensaver-891e848a195afe34f73b63b4d872c7e7f9f9a5c6.tar.bz2
mate-screensaver-891e848a195afe34f73b63b4d872c7e7f9f9a5c6.tar.xz
Use a blank line at most
Diffstat (limited to 'src/setuid.c')
-rw-r--r--src/setuid.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/setuid.c b/src/setuid.c
index b40e750..5784230 100644
--- a/src/setuid.c
+++ b/src/setuid.c
@@ -156,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
@@ -229,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.)