Darren J Moffat wrote: > This looks very cool but I haven't quite got my head around it > completely yet. > > What happens if open(2) is called with O_NOFOLLOW set on one of these > reparse points ? (Please answer for ZFS local access, NFS and CIFS).
Since these reparse points are implemented with a special type of symlink, open() with O_NOFOLLOW should fail with such an object. It's been a while, but I'm nearly certain I implemented O_NOFOLLOW and O_NOLINKS entirely in filesystem-independent code. So the answer should be the same for all filesystems. Scott -- Scott Rotondo Principal Engineer, Solaris Security Technologies President, Trusted Computing Group Phone/FAX: +1 408 850 3655 (Internal x68278)