treewide: reapply clang-format
All checks were successful
Test / Create distribution (push) Successful in 32s
Test / Sandbox (push) Successful in 1m51s
Test / Hakurei (push) Successful in 2m49s
Test / Sandbox (race detector) (push) Successful in 2m58s
Test / Planterette (push) Successful in 3m37s
Test / Hakurei (race detector) (push) Successful in 4m15s
Test / Flake checks (push) Successful in 1m8s
All checks were successful
Test / Create distribution (push) Successful in 32s
Test / Sandbox (push) Successful in 1m51s
Test / Hakurei (push) Successful in 2m49s
Test / Sandbox (race detector) (push) Successful in 2m58s
Test / Planterette (push) Successful in 3m37s
Test / Hakurei (race detector) (push) Successful in 4m15s
Test / Flake checks (push) Successful in 1m8s
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
0e957cc9c1
commit
863bf69ad3
@ -4,8 +4,8 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/acl.h>
|
#include <sys/acl.h>
|
||||||
|
|
||||||
int hakurei_acl_update_file_by_uid(const char *path_p, uid_t uid, acl_perm_t *perms,
|
int hakurei_acl_update_file_by_uid(const char *path_p, uid_t uid,
|
||||||
size_t plen) {
|
acl_perm_t *perms, size_t plen) {
|
||||||
int ret = -1;
|
int ret = -1;
|
||||||
bool v;
|
bool v;
|
||||||
int i;
|
int i;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#include <sys/acl.h>
|
#include <sys/acl.h>
|
||||||
|
|
||||||
int hakurei_acl_update_file_by_uid(const char *path_p, uid_t uid, acl_perm_t *perms,
|
int hakurei_acl_update_file_by_uid(const char *path_p, uid_t uid,
|
||||||
size_t plen);
|
acl_perm_t *perms, size_t plen);
|
||||||
|
@ -50,8 +50,8 @@ struct hakurei_syscall_act {
|
|||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
int32_t hakurei_build_filter(int *ret_p, int fd, uint32_t arch, uint32_t multiarch,
|
int32_t hakurei_build_filter(int *ret_p, int fd, uint32_t arch,
|
||||||
hakurei_filter_opts opts) {
|
uint32_t multiarch, hakurei_filter_opts opts) {
|
||||||
int32_t res = 0; /* refer to resPrefix for message */
|
int32_t res = 0; /* refer to resPrefix for message */
|
||||||
int allow_multiarch = opts & HAKUREI_MULTIARCH;
|
int allow_multiarch = opts & HAKUREI_MULTIARCH;
|
||||||
int allowed_personality = PER_LINUX;
|
int allowed_personality = PER_LINUX;
|
||||||
|
@ -19,5 +19,5 @@ typedef enum {
|
|||||||
} hakurei_filter_opts;
|
} hakurei_filter_opts;
|
||||||
|
|
||||||
extern void hakurei_println(char *v);
|
extern void hakurei_println(char *v);
|
||||||
int32_t hakurei_build_filter(int *ret_p, int fd, uint32_t arch, uint32_t multiarch,
|
int32_t hakurei_build_filter(int *ret_p, int fd, uint32_t arch,
|
||||||
hakurei_filter_opts opts);
|
uint32_t multiarch, hakurei_filter_opts opts);
|
Loading…
x
Reference in New Issue
Block a user