radv: Close all unnecessary fds in secure compile.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 1 Nov 2019 00:07:02 +0000 (01:07 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 1 Nov 2019 16:15:34 +0000 (17:15 +0100)
commit8efb8f55a617bebe5f33b9745cc22a2490828db8
tree4bb286f866c94e37e63cab6df079f43497670630
parentdd77bdb34b6ab13487ce176bd0aa1da4edbb5b0e
radv: Close all unnecessary fds in secure compile.

The seccomp filter allows read/write, let us make sure nobody can
do anything with this.

Fixes: cff53da3748 "radv: enable secure compile support"
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/amd/vulkan/radv_device.c