Mesa (master): radv: remove seccomp includes

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Sep 2 02:54:43 UTC 2020


Module: Mesa
Branch: master
Commit: 7fbeb2623f309c9966945a104f35b5c9f2034092
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7fbeb2623f309c9966945a104f35b5c9f2034092

Author: Jonathan Gray <jsg at jsg.id.au>
Date:   Tue Aug  4 17:47:33 2020 +1000

radv: remove seccomp includes

57c95d2ce23 ("radv: a support for a secure compile fork at device creation")
added includes which were not removed in
7324977e420 ("radv: remove the secure compile support feature")

remove these no longer needed includes to fix the non-linux build

Fixes: 7324977e420 ("radv: remove the secure compile support feature")
Signed-off-by: Jonathan Gray <jsg at jsg.id.au>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6517>

---

 src/amd/vulkan/radv_device.c | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index a64c90e2308..9113615607c 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -26,20 +26,10 @@
  */
 
 #include "dirent.h"
-#include <errno.h>
-#include <fcntl.h>
-#include <linux/audit.h>
-#include <linux/bpf.h>
-#include <linux/filter.h>
-#include <linux/seccomp.h>
-#include <linux/unistd.h>
+
 #include <stdatomic.h>
 #include <stdbool.h>
-#include <stddef.h>
-#include <stdio.h>
 #include <string.h>
-#include <sys/prctl.h>
-#include <sys/wait.h>
 #include <unistd.h>
 #include <fcntl.h>
 



More information about the mesa-commit mailing list