Serge Hallyn
88bd1a644b
add security hook for permitting hugetlbfs access
...
When a qemu domain is backed by huge pages, apparmor needs to grant the domain
rw access to files under the hugetlbfs mount point. Add a hook, called in
qemu_process.c, which ends up adding the read-write access through
virt-aa-helper. Qemu will be creating a randomly named file under the
mountpoint and unlinking it as soon as it has mmap()d it, therefore we
cannot predict the full pathname, but for the same reason it is generally
safe to provide access to $path/**.
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
2012-12-11 14:27:20 -07:00
..
2012-08-02 14:36:23 -06:00
2012-08-31 08:10:58 -07:00
2012-03-27 09:54:49 -06:00
2012-03-09 14:36:31 +01:00
2012-09-13 21:19:58 +08:00
2012-11-02 09:56:23 -06:00
2012-11-02 09:56:23 -06:00
2012-05-08 16:57:37 -06:00
2012-12-11 05:49:45 -05:00
2012-12-05 14:58:32 -05:00
2012-12-05 14:58:32 -05:00
2012-08-02 14:36:23 -06:00
2012-11-13 00:35:36 +01:00
2012-05-21 06:26:34 -04:00
2012-05-21 06:26:34 -04:00
2012-11-23 09:25:20 +01:00
2012-12-07 16:53:27 +08:00
2012-09-27 10:24:52 +01:00
2012-10-30 08:54:32 +01:00
2012-10-19 17:35:09 -06:00
2012-08-02 14:36:23 -06:00
2012-08-02 14:36:23 -06:00
2012-08-02 17:14:17 -06:00
2012-07-18 20:08:27 +01:00
2012-07-21 20:15:02 +02:00
2011-11-30 10:12:30 +00:00
2012-05-08 16:57:37 -06:00
2012-04-02 09:33:54 -06:00
2012-07-21 19:45:02 +02:00
2011-05-03 08:03:39 -06:00
2012-09-20 16:30:55 -06:00
2012-11-02 13:36:49 +00:00
2012-11-02 13:36:49 +00:00
2012-09-17 14:59:37 -04:00
2012-09-20 16:30:55 -06:00
2012-05-08 16:57:37 -06:00
2012-03-27 15:52:25 +01:00
2012-11-28 18:17:25 +00:00
2011-12-01 13:49:20 -07:00
2012-09-20 16:30:55 -06:00
2011-07-29 17:17:21 +02:00
2012-03-26 14:45:22 -06:00
2011-06-30 18:04:02 +01:00
2012-09-20 16:30:55 -06:00
2012-03-29 21:23:59 -06:00
2012-12-11 05:49:45 -05:00
2012-12-11 05:49:45 -05:00
2012-12-05 14:58:32 -05:00
2012-03-26 14:45:22 -06:00
2012-11-13 00:35:36 +01:00
2012-05-21 06:26:34 -04:00
2012-09-20 16:30:55 -06:00
2012-07-30 13:09:57 +01:00
2012-05-08 16:57:37 -06:00
2011-06-01 11:58:15 +02:00
2011-07-22 15:18:32 +01:00
2012-11-28 18:17:25 +00:00
2012-11-21 18:43:18 +01:00
2012-09-27 11:04:32 +01:00
2012-02-27 16:06:02 -07:00
2012-11-13 09:32:15 +01:00
2012-09-20 16:30:55 -06:00
2012-12-07 16:53:27 +08:00
2012-12-07 16:53:27 +08:00
2012-11-28 18:17:25 +00:00
2012-07-27 07:42:34 -06:00
2012-07-27 07:42:34 -06:00
2011-11-18 15:00:18 -07:00
2011-12-22 13:01:09 -07:00
2012-11-02 13:36:49 +00:00
2012-10-12 17:54:09 +02:00
2012-10-12 17:54:09 +02:00
2012-08-07 11:47:41 +01:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-07-27 07:42:34 -06:00
2012-03-26 14:45:22 -06:00
2012-09-20 16:30:55 -06:00
2012-07-18 20:08:27 +01:00
2012-11-02 13:36:49 +00:00
2011-07-11 09:21:37 -06:00
2012-11-14 19:14:07 -07:00
2012-09-20 16:30:55 -06:00
2012-11-09 09:20:59 -07:00
2012-03-27 15:52:25 +01:00
2012-11-09 09:20:59 -07:00
2012-11-09 09:20:59 -07:00
2011-07-01 16:46:20 -06:00
2012-07-27 07:42:34 -06:00
2012-11-02 13:36:49 +00:00
2012-09-20 16:30:55 -06:00
2012-11-28 18:30:28 +08:00
2012-06-11 09:21:27 -06:00
2012-11-26 14:01:23 +01:00
2012-01-26 14:11:13 +00:00
2012-11-02 13:36:49 +00:00
2012-09-20 16:30:55 -06:00
2012-10-16 15:45:55 +01:00
2012-09-20 16:30:55 -06:00
2012-09-20 16:30:55 -06:00
2012-10-12 00:03:43 +02:00
2012-08-07 11:59:08 +01:00
2012-11-07 09:04:18 -07:00
2012-07-27 07:42:34 -06:00
2012-07-27 07:42:34 -06:00
2012-09-12 11:27:22 -06:00
2012-05-01 14:58:14 -06:00
2012-11-30 20:05:43 +00:00
2012-12-11 14:27:20 -07:00
2012-11-02 13:36:49 +00:00
2012-09-20 16:30:55 -06:00
2012-11-09 09:20:59 -07:00
2012-03-26 14:45:22 -06:00
2012-09-20 16:30:55 -06:00
2012-03-26 14:45:22 -06:00
2012-11-09 09:20:59 -07:00