version 1.122, 2004/10/29 22:53:56 |
version 1.122.4.1, 2006/02/03 03:01:57 |
|
|
if (id != NULL) { |
if (id != NULL) { |
/* |
/* |
* We have this key. Free the old key. Since we |
* We have this key. Free the old key. Since we |
* don\'t want to leave empty slots in the middle of |
* don't want to leave empty slots in the middle of |
* the array, we actually free the key there and move |
* the array, we actually free the key there and move |
* all the entries between the empty slot and the end |
* all the entries between the empty slot and the end |
* of the array. |
* of the array. |
|
|
extern char *optarg; |
extern char *optarg; |
pid_t pid; |
pid_t pid; |
char pidstrbuf[1 + 3 * sizeof pid]; |
char pidstrbuf[1 + 3 * sizeof pid]; |
|
|
|
/* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */ |
|
sanitise_stdfd(); |
|
|
/* drop */ |
/* drop */ |
setegid(getgid()); |
setegid(getgid()); |