security.c (8f0cfa52a1d4ffacd8e7de906d19662f5da58d58) security.c (70a5bb72b55e82fbfbf1e22cae6975fac58a1e2d)
1/*
2 * Security plug functions
3 *
4 * Copyright (C) 2001 WireX Communications, Inc <chris@wirex.com>
5 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com>
6 * Copyright (C) 2001 Networks Associates Technology, Inc <ssmalley@nai.com>
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 1142 unchanged lines hidden (view full) ---

1151}
1152
1153int security_key_permission(key_ref_t key_ref,
1154 struct task_struct *context, key_perm_t perm)
1155{
1156 return security_ops->key_permission(key_ref, context, perm);
1157}
1158
1/*
2 * Security plug functions
3 *
4 * Copyright (C) 2001 WireX Communications, Inc <chris@wirex.com>
5 * Copyright (C) 2001-2002 Greg Kroah-Hartman <greg@kroah.com>
6 * Copyright (C) 2001 Networks Associates Technology, Inc <ssmalley@nai.com>
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 1142 unchanged lines hidden (view full) ---

1151}
1152
1153int security_key_permission(key_ref_t key_ref,
1154 struct task_struct *context, key_perm_t perm)
1155{
1156 return security_ops->key_permission(key_ref, context, perm);
1157}
1158
1159int security_key_getsecurity(struct key *key, char **_buffer)
1160{
1161 return security_ops->key_getsecurity(key, _buffer);
1162}
1163
1159#endif /* CONFIG_KEYS */
1160
1161#ifdef CONFIG_AUDIT
1162
1163int security_audit_rule_init(u32 field, u32 op, char *rulestr, void **lsmrule)
1164{
1165 return security_ops->audit_rule_init(field, op, rulestr, lsmrule);
1166}

--- 18 unchanged lines hidden ---
1164#endif /* CONFIG_KEYS */
1165
1166#ifdef CONFIG_AUDIT
1167
1168int security_audit_rule_init(u32 field, u32 op, char *rulestr, void **lsmrule)
1169{
1170 return security_ops->audit_rule_init(field, op, rulestr, lsmrule);
1171}

--- 18 unchanged lines hidden ---