Merge pull request #3958 from ThomasWaldmann/fix-acl-proto-1.1

acl platform code: fix acl set return type (1.1-maint)
This commit is contained in:
TW 2018-07-05 23:40:57 +02:00 committed by GitHub
commit 874e6b8971
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ cdef extern from "sys/acl.h":
int acl_free(void *obj) int acl_free(void *obj)
acl_t acl_get_link_np(const char *path, int type) acl_t acl_get_link_np(const char *path, int type)
acl_t acl_set_link_np(const char *path, int type, acl_t acl) int acl_set_link_np(const char *path, int type, acl_t acl)
acl_t acl_from_text(const char *buf) acl_t acl_from_text(const char *buf)
char *acl_to_text(acl_t acl, ssize_t *len_p) char *acl_to_text(acl_t acl, ssize_t *len_p)
int ACL_TYPE_EXTENDED int ACL_TYPE_EXTENDED

View File

@ -22,7 +22,7 @@ cdef extern from "sys/acl.h":
int acl_free(void *obj) int acl_free(void *obj)
acl_t acl_get_link_np(const char *path, int type) acl_t acl_get_link_np(const char *path, int type)
acl_t acl_set_link_np(const char *path, int type, acl_t acl) int acl_set_link_np(const char *path, int type, acl_t acl)
acl_t acl_from_text(const char *buf) acl_t acl_from_text(const char *buf)
char *acl_to_text_np(acl_t acl, ssize_t *len, int flags) char *acl_to_text_np(acl_t acl, ssize_t *len, int flags)
int ACL_TEXT_NUMERIC_IDS int ACL_TEXT_NUMERIC_IDS

View File

@ -26,7 +26,7 @@ cdef extern from "sys/acl.h":
int acl_free(void *obj) int acl_free(void *obj)
acl_t acl_get_file(const char *path, int type) acl_t acl_get_file(const char *path, int type)
acl_t acl_set_file(const char *path, int type, acl_t acl) int acl_set_file(const char *path, int type, acl_t acl)
acl_t acl_from_text(const char *buf) acl_t acl_from_text(const char *buf)
char *acl_to_text(acl_t acl, ssize_t *len) char *acl_to_text(acl_t acl, ssize_t *len)