diff options
author | Egor Duda <deo@logos-m.ru> | 2001-06-05 10:45:52 +0000 |
---|---|---|
committer | Egor Duda <deo@logos-m.ru> | 2001-06-05 10:45:52 +0000 |
commit | 149da470f31c237d82903e106f029d1e0b392542 (patch) | |
tree | 5b29b77e89f4fd3473ceecb7cd972e7fb0ede7c2 /winsup/cygwin/security.h | |
parent | fa821be37b56798f70b488530a07adeb2092b69b (diff) | |
download | newlib-149da470f31c237d82903e106f029d1e0b392542.zip newlib-149da470f31c237d82903e106f029d1e0b392542.tar.gz newlib-149da470f31c237d82903e106f029d1e0b392542.tar.bz2 |
* security.h (NTWriteEA): Change prototype.
* ntea.cc (NTReadEA): Don't check for global ntea setting, now
it's caller responsibility.
(NTWriteEA): Ditto.
* security.cc (get_file_attribute): Read attribute from EA only
if 'ntea' is enabled.
(set_file_attribute): Ditto.
* path.h: (class path_conv): Add members to store file system
information.
(path_conv::get_drive_type): New function.
* syscalls.cc (stat_worker): Use it.
* path.cc (path_conv::update_fs_info): New functions.
(path_conv::check): Get file system information from device where
file resides. On NTFS, try to read symlink contents from EA.
(get_symlink_ea): New function.
(set_symlink_ea): Ditto.
(symlink): Store symlink in extended attribute, if possible.
Diffstat (limited to 'winsup/cygwin/security.h')
-rw-r--r-- | winsup/cygwin/security.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/security.h b/winsup/cygwin/security.h index ef39fab..f307ac0 100644 --- a/winsup/cygwin/security.h +++ b/winsup/cygwin/security.h @@ -198,4 +198,4 @@ extern SECURITY_ATTRIBUTES *__stdcall sec_user (PVOID sa_buf, PSID sid2 = NULL, extern SECURITY_ATTRIBUTES *__stdcall sec_user_nih (PVOID sa_buf, PSID sid2 = NULL); int __stdcall NTReadEA (const char *file, const char *attrname, char *buf, int len); -BOOL __stdcall NTWriteEA (const char *file, const char *attrname, char *buf, int len); +BOOL __stdcall NTWriteEA (const char *file, const char *attrname, const char *buf, int len); |