cregit-Linux how code gets into the kernel

Release 4.11 security/integrity/evm/evm_posix_acl.c

/*
 * 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

PersonTokensPropCommitsCommitProp
Mimi Zohar7498.67%150.00%
Dmitry Kasatkin11.33%150.00%
Total75100.00%2100.00%


Overall Contributors

PersonTokensPropCommitsCommitProp
Mimi Zohar8195.29%150.00%
Dmitry Kasatkin44.71%150.00%
Total85100.00%2100.00%
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.