Home
last modified time | relevance | path

Searched refs:acl_t (Results 1 – 25 of 38) sorted by relevance

12

/freebsd-9-stable/sys/sys/
Dacl.h141 typedef struct acl_t_struct *acl_t; typedef
146 typedef void *acl_t; typedef
360 int acl_calc_mask(acl_t *_acl_p);
364 ssize_t acl_copy_ext(void *_buf_p, acl_t _acl, ssize_t _size);
365 acl_t acl_copy_int(const void *_buf_p);
366 int acl_create_entry(acl_t *_acl_p, acl_entry_t *_entry_p);
367 int acl_create_entry_np(acl_t *_acl_p, acl_entry_t *_entry_p, int _index);
368 int acl_delete_entry(acl_t _acl, acl_entry_t _entry_d);
369 int acl_delete_entry_np(acl_t _acl, int _index);
377 acl_t acl_dup(acl_t _acl);
[all …]
/freebsd-9-stable/bin/setfacl/
Dsetfacl.h47 acl_t acl;
61 acl_t get_acl_from_file(const char *filename);
63 int merge_acl(acl_t acl, acl_t *prev_acl, const char *filename);
64 int add_acl(acl_t acl, uint entry_number, acl_t *prev_acl, const char *filename);
66 int remove_acl(acl_t acl, acl_t *prev_acl, const char *filename);
67 int remove_by_number(uint entry_number, acl_t *prev_acl, const char *filename);
68 int remove_default(acl_t *prev_acl, const char *filename);
69 void remove_ext(acl_t *prev_acl, const char *filename);
71 int set_acl_mask(acl_t *prev_acl, const char *filename);
Dremove.c44 remove_acl(acl_t acl, acl_t *prev_acl, const char *filename) in remove_acl()
47 acl_t acl_new; in remove_acl()
96 remove_by_number(uint entry_number, acl_t *prev_acl, const char *filename) in remove_by_number()
99 acl_t acl_new; in remove_by_number()
148 remove_default(acl_t *prev_acl, const char *filename) in remove_default()
163 remove_ext(acl_t *prev_acl, const char *filename) in remove_ext()
165 acl_t acl_new; in remove_ext()
Dmerge.c89 merge_acl(acl_t acl, acl_t *prev_acl, const char *filename) in merge_acl()
93 acl_t acl_new; in merge_acl()
240 add_acl(acl_t acl, uint entry_number, acl_t *prev_acl, const char *filename) in add_acl()
243 acl_t acl_new; in add_acl()
Dmask.c43 set_acl_mask(acl_t *prev_acl, const char *filename) in set_acl_mask()
46 acl_t acl; in set_acl_mask()
/freebsd-9-stable/lib/libc/posix1e/
Dacl_support.h39 int _acl_differs(const acl_t a, const acl_t b);
40 int _acl_type_not_valid_for_acl(const acl_t acl, acl_type_t type);
41 void _acl_brand_from_type(acl_t acl, acl_type_t type);
42 int _acl_brand(const acl_t acl);
44 int _acl_brand_may_be(const acl_t acl, int brand);
46 void _acl_brand_as(acl_t acl, int brand);
52 int _posix1e_acl_check(acl_t acl);
53 void _posix1e_acl_sort(acl_t acl);
54 int _posix1e_acl(acl_t acl, acl_type_t type);
60 int _posix1e_acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id,
Dacl_branding.c49 static acl_t
52 acl_t aclp; in entry2acl()
54 aclp = (acl_t)(((long)entry >> _ACL_T_ALIGNMENT_BITS) << _ACL_T_ALIGNMENT_BITS); in entry2acl()
63 _acl_brand(const acl_t acl) in _acl_brand()
80 _acl_brand_may_be(const acl_t acl, int brand) in _acl_brand_may_be()
103 _acl_brand_as(acl_t acl, int brand) in _acl_brand_as()
119 _acl_type_not_valid_for_acl(const acl_t acl, acl_type_t type) in _acl_type_not_valid_for_acl()
141 _acl_brand_from_type(acl_t acl, acl_type_t type) in _acl_brand_from_type()
159 acl_get_brand_np(acl_t acl, int *brand_p) in acl_get_brand_np()
Dacl_strip.c46 static acl_t
47 _nfs4_acl_strip_np(const acl_t aclp, int canonical_six) in _nfs4_acl_strip_np()
49 acl_t newacl; in _nfs4_acl_strip_np()
66 static acl_t
67 _posix1e_acl_strip_np(const acl_t aclp, int recalculate_mask) in _posix1e_acl_strip_np()
69 acl_t acl_new, acl_old; in _posix1e_acl_strip_np()
135 acl_t
136 acl_strip_np(const acl_t aclp, int recalculate_mask) in acl_strip_np()
159 acl_is_trivial_np(const acl_t aclp, int *trivialp) in acl_is_trivial_np()
161 acl_t tmpacl; in acl_is_trivial_np()
Dacl_get.c57 acl_t
60 acl_t aclp; in acl_get_file()
80 acl_t
83 acl_t aclp; in acl_get_link_np()
103 acl_t
112 acl_t
115 acl_t aclp; in acl_get_fd_np()
Dacl_init.c53 acl_t
57 acl_t acl; in acl_init()
80 acl_t
81 acl_dup(acl_t acl) in acl_dup()
83 acl_t acl_new; in acl_dup()
Dacl_valid.c57 acl_valid(acl_t acl) in acl_valid()
80 acl_valid_file_np(const char *pathp, acl_type_t type, acl_t acl) in acl_valid_file_np()
95 acl_valid_link_np(const char *pathp, acl_type_t type, acl_t acl) in acl_valid_link_np()
110 acl_valid_fd_np(int fd, acl_type_t type, acl_t acl) in acl_valid_fd_np()
Dacl_support.c57 _acl_differs(const acl_t a, const acl_t b) in _acl_differs()
133 _posix1e_acl_sort(acl_t acl) in _posix1e_acl_sort()
149 _posix1e_acl(acl_t acl, acl_type_t type) in _posix1e_acl()
173 _posix1e_acl_check(acl_t acl) in _posix1e_acl_check()
347 _posix1e_acl_add_entry(acl_t acl, acl_tag_t tag, uid_t id, acl_perm_t perm) in _posix1e_acl_add_entry()
Dacl_set.c54 acl_set_file(const char *path_p, acl_type_t type, acl_t acl) in acl_set_file()
75 acl_set_link_np(const char *path_p, acl_type_t type, acl_t acl) in acl_set_link_np()
96 acl_set_fd(int fd, acl_t acl) in acl_set_fd()
106 acl_set_fd_np(int fd, acl_t acl, acl_type_t type) in acl_set_fd_np()
Dacl_entry.c43 acl_create_entry(acl_t *acl_p, acl_entry_t *entry_p) in acl_create_entry()
77 acl_create_entry_np(acl_t *acl_p, acl_entry_t *entry_p, int offset) in acl_create_entry_np()
123 acl_get_entry(acl_t acl, int entry_id, acl_entry_t *entry_p) in acl_get_entry()
Dacl_from_text.c49 int _nfs4_acl_entry_from_text(acl_t aclp, char *entry);
82 _posix1e_acl_entry_from_text(acl_t aclp, char *entry) in _posix1e_acl_entry_from_text()
191 acl_t
194 acl_t acl; in acl_from_text()
Dacl_to_text.c53 char *_nfs4_acl_to_text_np(const acl_t acl, ssize_t *len_p, int flags);
56 _posix1e_acl_to_text(acl_t acl, ssize_t *len_p, int flags) in _posix1e_acl_to_text()
237 acl_to_text_np(acl_t acl, ssize_t *len_p, int flags) in acl_to_text_np()
257 acl_to_text(acl_t acl, ssize_t *len_p) in acl_to_text()
Dacl_copy.c73 acl_copy_ext(void *buf_p, acl_t acl, ssize_t size) in acl_copy_ext()
80 acl_t
Dacl_calc_mask.c47 acl_calc_mask(acl_t *acl_p) in acl_calc_mask()
50 acl_t acl_new; in acl_calc_mask()
Dacl_delete_entry.c75 acl_delete_entry(acl_t acl, acl_entry_t entry_d) in acl_delete_entry()
128 acl_delete_entry_np(acl_t acl, int offset) in acl_delete_entry_np()
/freebsd-9-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
Dacl.h61 typedef struct acl_info acl_t; typedef
284 extern void acl_free(acl_t *);
285 extern int acl_get(const char *, int, acl_t **);
286 extern int facl_get(int, int, acl_t **);
287 extern int acl_set(const char *, acl_t *acl);
288 extern int facl_set(int, acl_t *acl);
291 extern char *acl_totext(acl_t *, int);
292 extern int acl_fromtext(const char *, acl_t **);
293 extern int acl_check(acl_t *, int);
/freebsd-9-stable/contrib/libarchive/libarchive/test/
Dtest_acl_basic.c36 struct acl_t { struct
44 static struct acl_t acls0[] = { argument
53 static struct acl_t acls1[] = {
64 static struct acl_t acls2[] = {
80 set_acls(struct archive_entry *ae, struct acl_t *acls, int n) in set_acls()
93 acl_match(struct acl_t *acl, int type, int permset, int tag, int qual, const char *name) in acl_match()
121 compare_acls(struct archive_entry *ae, struct acl_t *acls, int n, int mode) in compare_acls()
Dtest_acl_pax.c262 struct acl_t { struct
270 static struct acl_t acls0[] = { argument
279 static struct acl_t acls1[] = {
290 static struct acl_t acls2[] = {
306 set_acls(struct archive_entry *ae, struct acl_t *acls, int n) in set_acls()
319 acl_match(struct acl_t *acl, int type, int permset, int tag, int qual, const char *name) in acl_match()
343 compare_acls(struct archive_entry *ae, struct acl_t *acls, int n, int mode) in compare_acls()
Dtest_acl_freebsd.c131 compare_acls(acl_t acl, struct myacl_t *myacls) in compare_acls()
199 acl_t acl; in DEFINE_TEST()
256 assert(acl != (acl_t)NULL); in DEFINE_TEST()
/freebsd-9-stable/sys/cddl/contrib/opensolaris/common/acl/
Dacl_common.h54 extern acl_t *acl_alloc(acl_type_t);
55 extern void acl_free(acl_t *aclp);
56 extern int acl_translate(acl_t *aclp, int target_flavor, boolean_t isdir,
/freebsd-9-stable/bin/getfacl/
Dgetfacl.c90 static acl_t
93 acl_t acl; in acl_from_stat()
182 acl_t acl; in print_acl()

12