> > > unless, you use fcntl to get an exclusive lock on file, which is what
> > > my program (which i'm finishing up right now) does.
> >
> > Aren't those discretionary locks?
>
> if you set the sgid bit and clear the group execute bit, then it's
> mandatory.
I think you can't do that unless you own the file.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html