>> how is the semaphore checked and why is a mmap file in, say, >> /var/run not good for this purpose? > >If the file can be truncated, it could potentially send SIGSEGV to >all active processes that calls ctime(3C). >
Abort from that I don't properly think we need to code truncated root owned files, like libc, there are some outs: - non-faulting loads (only for SPARC??) - mincore(address, pagesize(), &bit) Casper