summaryrefslogtreecommitdiff
path: root/ANDROID_3.4.5/security/integrity/evm/evm_posix_acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ANDROID_3.4.5/security/integrity/evm/evm_posix_acl.c')
-rw-r--r--ANDROID_3.4.5/security/integrity/evm/evm_posix_acl.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/ANDROID_3.4.5/security/integrity/evm/evm_posix_acl.c b/ANDROID_3.4.5/security/integrity/evm/evm_posix_acl.c
deleted file mode 100644
index b1753e98..00000000
--- a/ANDROID_3.4.5/security/integrity/evm/evm_posix_acl.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * 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>
-
-int posix_xattr_acl(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;
-}