chiark / gitweb /
Prep v221: Update and clean up build system to sync with upstream
[elogind.git] / src / shared / seccomp-util.h
similarity index 80%
rename from src/shared/af-list.h
rename to src/shared/seccomp-util.h
index e346ab87f5ad3d0afd21f6352c0795ad0e94c6fe..b59f3fc207cb9585fb678403f46686e0310900b3 100644 (file)
@@ -21,7 +21,9 @@
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-const char *af_to_name(int id);
-int af_from_name(const char *name);
+#include <seccomp.h>
 
-int af_max(void);
+const char* seccomp_arch_to_string(uint32_t c);
+// UNNEEDED int seccomp_arch_from_string(const char *n, uint32_t *ret);
+
+int seccomp_add_secondary_archs(scmp_filter_ctx *c);