Linux 3.15-rc1
[linux/fpc-iii.git] / security / apparmor / include / ipc.h
blob288ca76e2fb116a6ccb1c366220ef1d918f7b67c
1 /*
2 * AppArmor security module
4 * This file contains AppArmor ipc mediation function definitions.
6 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd.
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation, version 2 of the
12 * License.
15 #ifndef __AA_IPC_H
16 #define __AA_IPC_H
18 #include <linux/sched.h>
20 struct aa_profile;
22 int aa_may_ptrace(struct aa_profile *tracer, struct aa_profile *tracee,
23 unsigned int mode);
25 int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee,
26 unsigned int mode);
28 #endif /* __AA_IPC_H */