/* * 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; } inux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'> <select name='h' onchange='this.form.submit();'> <option value='emaclite-cleanup'>emaclite-cleanup</option> <option value='master'>master</option> <option value='nds-private-remove' selected='selected'>nds-private-remove</option> <option value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/arm/Kconfig?h=nds-private-remove'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/arm/Kconfig?h=nds-private-remove'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/arm/Kconfig?h=nds-private-remove'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/arm/Kconfig?h=nds-private-remove'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/arm/Kconfig'> <input type='hidden' name='h' value='nds-private-remove'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?h=nds-private-remove'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/arm?h=nds-private-remove'>arm</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/arm/Kconfig?h=nds-private-remove'>Kconfig</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/sound/arm/Kconfig?h=nds-private-remove&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>