/* * Copyright (C) 2011 IBM Corporation * * Author: * Mimi Zohar <zohar@us.ibm.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, version 2 of the License. */ #include <linux/module.h> #include <linux/xattr.h> #include <linux/evm.h>
int posix_xattr_acl(const char *xattr) { int xattr_len = strlen(xattr); if ((strlen(XATTR_NAME_POSIX_ACL_ACCESS) == xattr_len) && (strncmp(XATTR_NAME_POSIX_ACL_ACCESS, xattr, xattr_len) == 0)) return 1; if ((strlen(XATTR_NAME_POSIX_ACL_DEFAULT) == xattr_len) && (strncmp(XATTR_NAME_POSIX_ACL_DEFAULT, xattr, xattr_len) == 0)) return 1; return 0; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Mimi Zohar | 74 | 98.67% | 1 | 50.00% |
Dmitry Kasatkin | 1 | 1.33% | 1 | 50.00% |
Total | 75 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Mimi Zohar | 81 | 95.29% | 1 | 50.00% |
Dmitry Kasatkin | 4 | 4.71% | 1 | 50.00% |
Total | 85 | 100.00% | 2 | 100.00% |