seccomp: Support atomic "addfd + send reply"
[linux-block.git] / include / uapi / linux / seccomp.h
index 6ba18b82a02e455e5fb1b58460ebc2b301b13db0..78074254ab98a11634e3a4c6d2491ebae0032e8f 100644 (file)
@@ -115,6 +115,7 @@ struct seccomp_notif_resp {
 
 /* valid flags for seccomp_notif_addfd */
 #define SECCOMP_ADDFD_FLAG_SETFD       (1UL << 0) /* Specify remote fd */
+#define SECCOMP_ADDFD_FLAG_SEND                (1UL << 1) /* Addfd and return it, atomically */
 
 /**
  * struct seccomp_notif_addfd