diff options
| author | Vitaly Kuznetsov <vkuznets@redhat.com> | 2016-07-06 18:24:10 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-04-27 09:09:33 +0200 |
| commit | 397488e09bf2670c841b9f9d8652ce5dd1c952f4 (patch) | |
| tree | babfcca0f32e850fe6e12d814be941bfba25d3d5 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 2a60bb635236ead6437b37a5b4085da1e33962b1 (diff) | |
Tools: hv: kvp: ensure kvp device fd is closed on exec
commit 26840437cbd6d3625ea6ab34e17cd34bb810c861 upstream.
KVP daemon does fork()/exec() (with popen()) so we need to close our fds
to avoid sharing them with child processes. The immediate implication of
not doing so I see is SELinux complaining about 'ip' trying to access
'/dev/vmbus/hv_kvp'.
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
