http://bugs.winehq.org/show_bug.cgi?id=15679
--- Comment #7 from Dan Kegel dank@kegel.com 2009-09-05 18:15:27 --- Created an attachment (id=23460) --> (http://bugs.winehq.org/attachment.cgi?id=23460) First draft of implementation of FILE_ATTRIBUTE_SYSTEM et al
So implementing partial support for FILE_ATTRIBUTE_SYSTEM using xattr wasn't too hard. The attached patch passes its tests on vista and wine. It should compile on mac. For info about porting it to bsd and solaris, see the (unapplied) patch to apr, http://oss.metaparadigm.com/apache-privsep/2.3.0-dev/xattr-patches/apr-xattr...
BUT it doesn't seem to make cygwin recognize /usr/bin/vi as a real symlink, so there may be more to do.