2012-11-26 10:36:00

by Viacheslav Dubeyko

[permalink] [raw]
Subject: [PATCH v3 1/5] hfsplus: add osx.* prefix for handling namespace of Mac OS X extended attributes

Hi,

This patch adds osx.* prefix for handling namespace of Mac OS X extended attributes.

With the best regards,
Vyacheslav Dubeyko.
---
From: Vyacheslav Dubeyko <[email protected]>
Subject: [PATCH v3 1/5] hfsplus: add osx.* prefix for handling namespace of Mac OS X extended attributes

This patch adds osx.* prefix for handling namespace of Mac OS X extended attributes.

Reported-by: Hin-Tak Leung <[email protected]>
Signed-off-by: Vyacheslav Dubeyko <[email protected]>
---
include/uapi/linux/xattr.h | 3 +++
1 file changed, 3 insertions(+)

diff --git a/include/uapi/linux/xattr.h b/include/uapi/linux/xattr.h
index 26607bd..e510d28 100644
--- a/include/uapi/linux/xattr.h
+++ b/include/uapi/linux/xattr.h
@@ -17,6 +17,9 @@
#define XATTR_OS2_PREFIX "os2."
#define XATTR_OS2_PREFIX_LEN (sizeof (XATTR_OS2_PREFIX) - 1)

+#define XATTR_MAC_OSX_PREFIX "osx."
+#define XATTR_MAC_OSX_PREFIX_LEN (sizeof (XATTR_MAC_OSX_PREFIX) - 1)
+
#define XATTR_SECURITY_PREFIX "security."
#define XATTR_SECURITY_PREFIX_LEN (sizeof (XATTR_SECURITY_PREFIX) - 1)

--
1.7.9.5