diff options
| author | Vitaly Kuznetsov <[email protected]> | 2016-07-06 18:24:10 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-08-31 13:05:41 +0200 |
| commit | 26840437cbd6d3625ea6ab34e17cd34bb810c861 (patch) | |
| tree | 0aee0f74ee4cb855de329048de49bb5edef56bb6 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 3724287c0ec472815ebe5ae3790f77965c6aa557 (diff) | |
Tools: hv: kvp: ensure kvp device fd is closed on exec
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 <[email protected]>
Signed-off-by: K. Y. Srinivasan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions