Linux Audio

Check our new training course

Loading...
v3.15
 
 1/*
 2 * AppArmor security module
 3 *
 4 * This file contains AppArmor ipc mediation function definitions.
 5 *
 6 * Copyright (C) 1998-2008 Novell/SUSE
 7 * Copyright 2009-2010 Canonical Ltd.
 8 *
 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.
13 */
14
15#ifndef __AA_IPC_H
16#define __AA_IPC_H
17
18#include <linux/sched.h>
19
20struct aa_profile;
21
22int aa_may_ptrace(struct aa_profile *tracer, struct aa_profile *tracee,
23		  unsigned int mode);
24
25int aa_ptrace(struct task_struct *tracer, struct task_struct *tracee,
26	      unsigned int mode);
27
28#endif /* __AA_IPC_H */
v6.8
 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
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 */