Hi,

Some years ago, we did introduce a method to POSIX that
allows to open a directory file in a mode that does not
require read permission. This is needed in order to make

        openat(fd, name, flag)

usable to implement a "chdir" replacement for threads and
in order to allow opent() to be used for infinite path name lenghts.

Some years passed since then but Solaris still does not implement 

        fd = open("somedir", O_SEARCH|O_DIRECTORY);

we currently need read access to a directory, as Solaris does not implement
O_SEARCH. If there is a directory with permission 0111:

d--x--x--x   2 user      group      117 Apr 10 23:25 somedir

we currently cannot use openat() as there is currently no way to open(2) 
"somedir".

Is there hope that this feature will appear on Solaris soon?

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to