~ubuntu-branches/ubuntu/karmic/linux-mvl-dove/karmic-proposed

« back to all changes in this revision

Viewing changes to ubuntu/apparmor/include/procattr.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bader
  • Date: 2010-03-10 22:24:12 UTC
  • mto: (15.1.2 karmic-security)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20100310222412-k86m3r53jw0je7x1
Tags: upstream-2.6.31
ImportĀ upstreamĀ versionĀ 2.6.31

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * AppArmor security module
3
 
 *
4
 
 * This file contains AppArmor /proc/<pid>/attr/ interface function defintions.
5
 
 *
6
 
 * Copyright (C) 1998-2008 Novell/SUSE
7
 
 * Copyright 2009 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_PROCATTR_H
16
 
#define __AA_PROCATTR_H
17
 
 
18
 
#define AA_DO_TEST 1
19
 
 
20
 
int aa_getprocattr(struct aa_namespace *ns, struct aa_profile *profile,
21
 
                   char **string);
22
 
int aa_setprocattr_changehat(char *args, int test);
23
 
int aa_setprocattr_changeprofile(char *args, int onexec, int test);
24
 
int aa_setprocattr_permipc(char *args);
25
 
 
26
 
#endif  /* __AA_PROCATTR_H */