Home
last modified time | relevance | path

Searched refs:acl (Results 1 – 20 of 20) sorted by relevance

/ndk/sources/host-tools/sed-4.2.1/lib/
Dcopy-acl.c51 acl_t acl; in qcopy_acl() local
55 acl = acl_get_fd (source_desc); in qcopy_acl()
57 acl = acl_get_file (src_name, ACL_TYPE_ACCESS); in qcopy_acl()
58 if (acl == NULL) in qcopy_acl()
67 ret = acl_set_fd (dest_desc, acl); in qcopy_acl()
69 ret = acl_set_file (dst_name, ACL_TYPE_ACCESS, acl); in qcopy_acl()
74 if (ACL_NOT_WELL_SUPPORTED (errno) && !acl_access_nontrivial (acl)) in qcopy_acl()
76 acl_free (acl); in qcopy_acl()
81 acl_free (acl); in qcopy_acl()
88 acl_free (acl); in qcopy_acl()
[all …]
Dfile-has-acl.c35 acl_extended_nontrivial (acl_t acl) in acl_extended_nontrivial() argument
38 return (acl_entries (acl) > 0); in acl_extended_nontrivial()
48 acl_access_nontrivial (acl_t acl) in acl_access_nontrivial() argument
60 for (got_one = acl_get_entry (acl, ACL_FIRST_ENTRY, &ace); in acl_access_nontrivial()
62 got_one = acl_get_entry (acl, ACL_NEXT_ENTRY, &ace)) in acl_access_nontrivial()
76 int count = acl->acl_cnt; in acl_access_nontrivial()
81 acl_entry_t ace = &acl->acl_entry[i]; in acl_access_nontrivial()
94 int count = acl->acl_num; in acl_access_nontrivial()
97 for (ace = acl->acl_first; count > 0; ace = ace->next, count--) in acl_access_nontrivial()
246 acl_nontrivial (struct acl *a) in acl_nontrivial()
[all …]
Dset-mode-acl.c75 acl_t acl; in qset_acl() local
80 acl = acl_from_mode (mode); in qset_acl()
81 if (!acl) in qset_acl()
108 acl = acl_from_text (acl_text); in qset_acl()
109 if (!acl) in qset_acl()
113 ret = acl_set_fd (desc, acl); in qset_acl()
115 ret = acl_set_file (name, ACL_TYPE_ACCESS, acl); in qset_acl()
119 acl_free (acl); in qset_acl()
130 acl_free (acl); in qset_acl()
163 acl_t acl; in qset_acl()
[all …]
Dacl_entries.c31 acl_entries (acl_t acl) in acl_entries() argument
35 if (acl != NULL) in acl_entries()
44 for (got_one = acl_get_entry (acl, ACL_FIRST_ENTRY, &ace); in acl_entries()
46 got_one = acl_get_entry (acl, ACL_NEXT_ENTRY, &ace)) in acl_entries()
54 for (got_one = acl_get_entry (acl, ACL_FIRST_ENTRY, &ace); in acl_entries()
56 got_one = acl_get_entry (acl, ACL_NEXT_ENTRY, &ace)) in acl_entries()
64 count = acl->acl_cnt; in acl_entries()
69 count = acl->acl_num; in acl_entries()
Dacl-internal.h90 rpl_acl_set_fd (int fd, acl_t acl) in rpl_acl_set_fd() argument
92 return acl_set_fd (fd, ACL_TYPE_ACCESS, acl); in rpl_acl_set_fd()
100 # define acl_set_fd(fd, acl) (-1) argument
216 extern int acl_nontrivial (struct acl *a);
Dgnulib.mk41 libsed_a_SOURCES += set-mode-acl.c copy-acl.c file-has-acl.c
43 EXTRA_DIST += acl-internal.h acl.h acl_entries.c
DMakefile.in53 $(top_srcdir)/m4/acl.m4 $(top_srcdir)/m4/alloca.m4 \
103 am_libsed_a_OBJECTS = set-mode-acl.$(OBJEXT) copy-acl.$(OBJEXT) \
104 file-has-acl.$(OBJEXT) c-ctype.$(OBJEXT) \
600 EXTRA_DIST = acl-internal.h acl.h acl_entries.c alloca.c alloca.in.h \
637 libsed_a_SOURCES = set-mode-acl.c copy-acl.c file-has-acl.c c-ctype.h \
717 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/copy-acl.Po@am__quote@
721 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/file-has-acl.Po@am__quote@
745 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/set-mode-acl.Po@am__quote@
/ndk/sources/host-tools/sed-4.2.1/m4/
Dacl.m41 # acl.m4 - check for access control list (ACL) primitives
13 AC_ARG_ENABLE([acl], optenable
14 AS_HELP_STRING([--disable-acl], [do not support ACLs]),
21 dnl On all platforms, the ACL related API is declared in <sys/acl.h>.
22 AC_CHECK_HEADERS([sys/acl.h])
29 AC_SEARCH_LIBS([acl_get_file], [acl pacl],
43 dnl On Linux, additional API is declared in <acl/libacl.h>.
44 AC_CHECK_HEADERS([acl/libacl.h])
50 #include <sys/acl.h>
63 #include <sys/acl.h>
[all …]
Dgnulib-comp.m4268 lib/acl-internal.h
269 lib/acl.h
278 lib/copy-acl.c
286 lib/file-has-acl.c
326 lib/set-mode-acl.c
357 m4/acl.m4
/ndk/sources/host-tools/sed-4.2.1/
Dbootstrap.sh.in117 ${CC} -DHAVE_CONFIG_H -I.. -I. -c copy-acl.c || exit 1
120 ${CC} -DHAVE_CONFIG_H -I.. -I. -c file-has-acl.c || exit 1
131 ${CC} -DHAVE_CONFIG_H -I.. -I. -c set-mode-acl.c || exit 1
Dbootstrap.sh117 ${CC} -DHAVE_CONFIG_H -I.. -I. -c copy-acl.c || exit 1
120 ${CC} -DHAVE_CONFIG_H -I.. -I. -c file-has-acl.c || exit 1
131 ${CC} -DHAVE_CONFIG_H -I.. -I. -c set-mode-acl.c || exit 1
Dconfig_h.in62 /* Define to 1 if you have the `acl' function. */
110 /* Define to 1 if you have the <acl/libacl.h> header file. */
465 /* Define to 1 if you have the <sys/acl.h> header file. */
DMakefile.in47 $(top_srcdir)/m4/acl.m4 $(top_srcdir)/m4/alloca.m4 \
Daclocal.m4882 m4_include([m4/acl.m4])
Dconfigure13438 for ac_header in sys/acl.h
13620 for ac_lib in '' acl pacl; do
13875 for ac_header in acl/libacl.h
14243 for ac_func in acl
DChangeLog232 * sed/execute.c: Do not include acl.h when bootstrapping.
/ndk/build/tools/
Dbuild-host-sed.sh64 run $SED_SRCDIR/configure --disable-nls --disable-rpath --disable-i18n --disable-acl
/ndk/sources/host-tools/sed-4.2.1/sed/
DMakefile.in42 $(top_srcdir)/m4/acl.m4 $(top_srcdir)/m4/alloca.m4 \
/ndk/sources/host-tools/sed-4.2.1/doc/
DMakefile.in43 $(top_srcdir)/m4/acl.m4 $(top_srcdir)/m4/alloca.m4 \
/ndk/sources/host-tools/sed-4.2.1/testsuite/
DMakefile.in51 $(top_srcdir)/m4/acl.m4 $(top_srcdir)/m4/alloca.m4 \