Hello,

after upgrading my xscreensaver package, I still have the same problem
starting xscreensaver. (Actually I had my xscreensaver set u+s, and
forgot about the problem until this upgrade.)

I downloaded the source code of xscreensaver, and the code fails when it
tries to call setgroups such that the effective groups only contain the
process gid (i.e. drop any privileges).

The following small program demonstrates what happens : 
#include <sys/types.h>
#include <unistd.h>

int main(int argc, char* argv[]) {
        gid_t gid;

        gid = getgid();

        if (setgroups(1, &gid)) {
                perror("setgroups");
                return 1;
        }
        return 0;
}

when I compile and run this, I get:
setgroups: Operation not permitted

Ralf, can you verify that this program does work on your system, and
maybe direct me to the real problem?

Thanks,
Bart.




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to