OSDN Git Service

Made a full check for whether a user extended attribute is allowed
authorJean-Pierre André <jpandre@users.sourceforge.net>
Wed, 6 Apr 2016 08:17:27 +0000 (10:17 +0200)
committerJean-Pierre André <jpandre@users.sourceforge.net>
Wed, 6 Apr 2016 08:17:27 +0000 (10:17 +0200)
commit88451c80696f1ea6b0aa3822a9a3969f6bcae41f
tree4d66738b09f3daecbf0cc14f51ef258769808ab4
parent6cb8913967cc2e376926d38403975d182fb09af1
Made a full check for whether a user extended attribute is allowed

User extended attributes should only be set on files and directories,
not on symlinks, sockets, devices, etc. For safety they are also
forbidden on metadata files, but should be allowed on the root
directory. For files based on reparse points, requests are made
to the plugin to determine the type.
include/ntfs-3g/dir.h
libntfs-3g/dir.c
src/lowntfs-3g.c
src/ntfs-3g.c
src/ntfs-3g_common.c
src/ntfs-3g_common.h