Using capset // Thanks to @pqlqpql #include <linux/io_uring.h> #include <sys/capability.h> #include <sys/syscall.h> struct user_cap_data_struct { uint32_t effective; uint32_t permitted;