92bc3717 |
1 | # ------------------------------------------------------------------ |
2 | # |
3 | # Copyright (C) 2002-2005 Novell/SUSE |
4 | # |
5 | # This program is free software; you can redistribute it and/or |
6 | # modify it under the terms of version 2 of the GNU General Public |
7 | # License published by the Free Software Foundation. |
8 | # |
9 | # ------------------------------------------------------------------ |
10 | # vim:syntax=apparmor |
11 | # Last Modified: Wed Aug 17 14:28:07 2005 |
12 | |
13 | #include <tunables/global> |
14 | |
15 | /usr/sbin/mysqld { |
16 | #include <abstractions/base> |
17 | #include <abstractions/nameservice> |
18 | #include <abstractions/user-tmp> |
19 | |
20 | capability dac_override, |
21 | capability setgid, |
22 | capability setuid, |
23 | |
24 | /etc/my.cnf r, |
25 | /usr/sbin/mysqld r, |
26 | /usr/share/mysql/** r, |
27 | /var/lib/mysql/** lrw, |
28 | } |