|
From: | Lucas Meneghel Rodrigues |
Subject: | Re: [Qemu-devel] [PATCH] seccomp: "-sandbox on" won't kill Qemu when option not built in |
Date: | Tue, 10 Dec 2013 16:48:54 -0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
On 12/10/2013 01:20 AM, Corey Bryant wrote:
IMHO the test suite should probe to see if sandbox is working or not, and just not use the "-sandbox on" arg if the host doesn't support it.But I think this could be done on virt-test as well :)This would make sense. Although it sounds like Lucas was looking for an error message when seccomp kills qemu. Maybe virt-test could grep the audit log for the existence of a "type=SECCOMP" record within the test's time of execution, and issue a message based on that.
It's a valid idea. The problem I see with it is that not every distro out there uses SELinux. Not getting into the merits of whether they should, ideally it'd be nice to have this working on distros that won't use SELinux.
[Prev in Thread] | Current Thread | [Next in Thread] |