whitespace clean up.
* *.{c,h} : whitespace clean up.
This commit is contained in:
@@ -42,7 +42,7 @@ glibtop_init_p (glibtop *server, const unsigned long features,
|
||||
|
||||
for (init_fkt = _glibtop_init_hook_p; *init_fkt; init_fkt++)
|
||||
(*init_fkt) (server);
|
||||
|
||||
|
||||
server->flags |= _GLIBTOP_INIT_STATE_INIT;
|
||||
}
|
||||
}
|
||||
@@ -60,16 +60,16 @@ glibtop_open_p (glibtop *server, const char *program_name,
|
||||
server->machine.gid = getgid ();
|
||||
server->machine.egid = getegid ();
|
||||
|
||||
/* Drop priviledges. */
|
||||
|
||||
/* Drop priviledges. */
|
||||
|
||||
if (setreuid (server->machine.euid, server->machine.uid))
|
||||
_exit (1);
|
||||
|
||||
|
||||
if (setregid (server->machine.egid, server->machine.gid))
|
||||
_exit (1);
|
||||
|
||||
|
||||
/* !!! END OF SUID ROOT PART !!! */
|
||||
|
||||
|
||||
/* Our effective uid is now those of the user invoking the server,
|
||||
* so we do no longer have any priviledges. */
|
||||
}
|
||||
|
Reference in New Issue
Block a user