.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * SELinux support for the Audit LSM hooks |
---|
3 | | - * |
---|
4 | | - * Most of below header was moved from include/linux/selinux.h which |
---|
5 | | - * is released under below copyrights: |
---|
6 | 4 | * |
---|
7 | 5 | * Author: James Morris <jmorris@redhat.com> |
---|
8 | 6 | * |
---|
9 | 7 | * Copyright (C) 2005 Red Hat, Inc., James Morris <jmorris@redhat.com> |
---|
10 | 8 | * Copyright (C) 2006 Trusted Computer Solutions, Inc. <dgoeddel@trustedcs.com> |
---|
11 | 9 | * Copyright (C) 2006 IBM Corporation, Timothy R. Chavez <tinytim@us.ibm.com> |
---|
12 | | - * |
---|
13 | | - * This program is free software; you can redistribute it and/or modify |
---|
14 | | - * it under the terms of the GNU General Public License version 2, |
---|
15 | | - * as published by the Free Software Foundation. |
---|
16 | 10 | */ |
---|
17 | 11 | |
---|
18 | 12 | #ifndef _SELINUX_AUDIT_H |
---|
.. | .. |
---|
46 | 40 | * @field: the field this rule refers to |
---|
47 | 41 | * @op: the operater the rule uses |
---|
48 | 42 | * @rule: pointer to the audit rule to check against |
---|
49 | | - * @actx: the audit context (can be NULL) associated with the check |
---|
50 | 43 | * |
---|
51 | 44 | * Returns 1 if the context id matches the rule, 0 if it does not, and |
---|
52 | 45 | * -errno on failure. |
---|
53 | 46 | */ |
---|
54 | | -int selinux_audit_rule_match(u32 sid, u32 field, u32 op, void *rule, |
---|
55 | | - struct audit_context *actx); |
---|
| 47 | +int selinux_audit_rule_match(u32 sid, u32 field, u32 op, void *rule); |
---|
56 | 48 | |
---|
57 | 49 | /** |
---|
58 | 50 | * selinux_audit_rule_known - check to see if rule contains selinux fields. |
---|