symlink: create cygwin symlinks

when given a NfsSymlinkTargetName EA on create, marshall the unicode target name to the daemon, which issues a CREATE rpc to create the symlink

modified the driver's marshall_unicode_as_utf8() function to handle the NULL string buffer for non-symlink opens

Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
Casey Bodley 2012-05-07 12:24:00 -04:00 committed by Olga Kornievskaia
parent 453c0cc875
commit 0afc5ebb4d
5 changed files with 83 additions and 20 deletions

View file

@ -185,6 +185,7 @@ bool_t multi_addr_find(
*/
int nfs_to_windows_error(int status, int default_error);
int map_symlink_errors(int status);
__inline uint32_t align8(uint32_t offset) {
return 8 + ((offset - 1) & ~7);