diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-07-02 00:32:48 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-07-02 00:32:48 +0900 |
| commit | 26b7afc890e23af19fe6662fd27f46b47e9feea9 (patch) | |
| tree | 9c6375c4d46e5767b01826eb90ba50d0ae4c9f99 /sandbox/seccomp/libseccomp-helper.h | |
| parent | d5532aade0c3f042c5daa7d1c16e7cce2f4b524a (diff) | |
sandbox/seccomp: prepare -> export
Export makes a lot more sense, and also matches the libseccomp function.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'sandbox/seccomp/libseccomp-helper.h')
| -rw-r--r-- | sandbox/seccomp/libseccomp-helper.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sandbox/seccomp/libseccomp-helper.h b/sandbox/seccomp/libseccomp-helper.h index 79a13de5..330fc99b 100644 --- a/sandbox/seccomp/libseccomp-helper.h +++ b/sandbox/seccomp/libseccomp-helper.h @@ -7,10 +7,10 @@ #endif typedef enum { - HAKUREI_PREPARE_MULTIARCH = 1 << 0, - HAKUREI_PREPARE_CAN = 1 << 1, - HAKUREI_PREPARE_BLUETOOTH = 1 << 2, -} hakurei_prepare_flag; + HAKUREI_EXPORT_MULTIARCH = 1 << 0, + HAKUREI_EXPORT_CAN = 1 << 1, + HAKUREI_EXPORT_BLUETOOTH = 1 << 2, +} hakurei_export_flag; struct hakurei_syscall_rule { int syscall; @@ -18,7 +18,7 @@ struct hakurei_syscall_rule { struct scmp_arg_cmp *arg; }; -int32_t hakurei_prepare_filter(int *ret_p, int fd, uint32_t arch, - uint32_t multiarch, - struct hakurei_syscall_rule *rules, - size_t rules_sz, hakurei_prepare_flag flags);
\ No newline at end of file +int32_t hakurei_export_filter(int *ret_p, int fd, uint32_t arch, + uint32_t multiarch, + struct hakurei_syscall_rule *rules, + size_t rules_sz, hakurei_export_flag flags);
\ No newline at end of file |
