MORITA Kazutaka <[email protected]> writes:

> +const char *shmfile = "/tmp/sheepdog_shm";
[...]
> +     shmfd = open(shmfile, O_CREAT | O_RDWR, 0644);

Even though this is just a testing driver, this does make me a little bit
nervous. For instance, as a malicious user of your machine, I might have
done

  ln -s /etc/shadow /tmp/sheepdog_shm

before you started sheepdog.

Cheers,

Chris.
-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to