[Sheepdog] [PATCH 2/4] cluster: add local cluster driver
Chris Webb
chris at arachsys.com
Sat Oct 29 12:10:29 CEST 2011
MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp> 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.
More information about the sheepdog
mailing list