ipc.h (a23e1966932464e1c5226cb9ac4ce1d5fc10ba22) ipc.h (84c455decf27ce97a23fb70b58075592ab88d66a)
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * AppArmor security module
4 *
5 * This file contains AppArmor ipc mediation function definitions.
6 *
7 * Copyright (C) 1998-2008 Novell/SUSE
8 * Copyright 2009-2017 Canonical Ltd.
9 */
10
11#ifndef __AA_IPC_H
12#define __AA_IPC_H
13
14#include <linux/sched.h>
15
1/* SPDX-License-Identifier: GPL-2.0-only */
2/*
3 * AppArmor security module
4 *
5 * This file contains AppArmor ipc mediation function definitions.
6 *
7 * Copyright (C) 1998-2008 Novell/SUSE
8 * Copyright 2009-2017 Canonical Ltd.
9 */
10
11#ifndef __AA_IPC_H
12#define __AA_IPC_H
13
14#include <linux/sched.h>
15
16#define SIGUNKNOWN 0
17#define MAXMAPPED_SIG 35
18
16int aa_may_signal(const struct cred *subj_cred, struct aa_label *sender,
17 const struct cred *target_cred, struct aa_label *target,
18 int sig);
19
20#endif /* __AA_IPC_H */
19int aa_may_signal(const struct cred *subj_cred, struct aa_label *sender,
20 const struct cred *target_cred, struct aa_label *target,
21 int sig);
22
23#endif /* __AA_IPC_H */