1b886d83cSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 20ed3b28aSJohn Johansen /* 30ed3b28aSJohn Johansen * AppArmor security module 40ed3b28aSJohn Johansen * 50ed3b28aSJohn Johansen * This file contains AppArmor ipc mediation function definitions. 60ed3b28aSJohn Johansen * 70ed3b28aSJohn Johansen * Copyright (C) 1998-2008 Novell/SUSE 8b2d09ae4SJohn Johansen * Copyright 2009-2017 Canonical Ltd. 90ed3b28aSJohn Johansen */ 100ed3b28aSJohn Johansen 110ed3b28aSJohn Johansen #ifndef __AA_IPC_H 120ed3b28aSJohn Johansen #define __AA_IPC_H 130ed3b28aSJohn Johansen 140ed3b28aSJohn Johansen #include <linux/sched.h> 150ed3b28aSJohn Johansen 16*690f33e1SJohn Johansen int aa_may_signal(const struct cred *subj_cred, struct aa_label *sender, 17*690f33e1SJohn Johansen const struct cred *target_cred, struct aa_label *target, 18*690f33e1SJohn Johansen int sig); 190ed3b28aSJohn Johansen 200ed3b28aSJohn Johansen #endif /* __AA_IPC_H */ 21