diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-06-25 03:59:52 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-06-25 04:57:41 +0900 |
| commit | 87e008d56de974947ebb99c2cc40b25d3c2cf43e (patch) | |
| tree | 31791911e5226d6ec04e3fac7d91b0bf53e63aa5 /acl | |
| parent | 399207321265307bb15f37d867f9370cd51c82a8 (diff) | |
treewide: rename to hakurei
Fortify makes little sense for a container tool.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'acl')
| -rw-r--r-- | acl/acl-update.c | 2 | ||||
| -rw-r--r-- | acl/acl-update.h | 2 | ||||
| -rw-r--r-- | acl/acl.go | 2 | ||||
| -rw-r--r-- | acl/acl_test.go | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/acl/acl-update.c b/acl/acl-update.c index be796b55..c3e9e839 100644 --- a/acl/acl-update.c +++ b/acl/acl-update.c @@ -4,7 +4,7 @@ #include <stdlib.h> #include <sys/acl.h> -int f_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, acl_perm_t *perms, size_t plen) { int ret = -1; bool v; diff --git a/acl/acl-update.h b/acl/acl-update.h index fa1541fd..6ad1a873 100644 --- a/acl/acl-update.h +++ b/acl/acl-update.h @@ -1,4 +1,4 @@ #include <sys/acl.h> -int f_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, acl_perm_t *perms, size_t plen); @@ -23,7 +23,7 @@ func Update(name string, uid int, perms ...Perm) error { p = &perms[0] } - r, err := C.f_acl_update_file_by_uid( + r, err := C.hakurei_acl_update_file_by_uid( C.CString(name), C.uid_t(uid), (*C.acl_perm_t)(p), diff --git a/acl/acl_test.go b/acl/acl_test.go index 9944b8ab..cb5945d1 100644 --- a/acl/acl_test.go +++ b/acl/acl_test.go @@ -7,7 +7,7 @@ import ( "reflect" "testing" - "git.gensokyo.uk/security/fortify/acl" + "git.gensokyo.uk/security/hakurei/acl" ) const testFileName = "acl.test" |
