[PATCH 2/2] security: use XATTR_*_PREFIX_LEN instead sizeof(...)

2016-01-03 Thread Toralf Förster
use the definition in include/uapi/linux/xattr.h Signed-off-by: Toralf Förster --- security/commoncap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/commoncap.c b/security/commoncap.c index 1832cf7..907a3ef 100644 --- a/security/commoncap.c +++ b/security/comm

[PATCH 2/2] security: use XATTR_*_PREFIX_LEN instead sizeof(...)

2016-01-03 Thread Toralf Förster
use the definition in include/uapi/linux/xattr.h igned-off-by: Toralf Förster --- security/commoncap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/commoncap.c b/security/commoncap.c index 1832cf7..907a3ef 100644 --- a/security/commoncap.c +++ b/security/commo