Home
last modified time | relevance | path

Searched refs:ace_count (Results 1 – 25 of 93) sorted by relevance

1234

/dports/devel/gnulib/gnulib-20140202-stable/lib/
H A Dqcopy-acl.c181 int ace_count; in qcopy_acl()
206 ace_count = (source_desc != -1 in qcopy_acl()
210 if (ace_count < 0) in qcopy_acl()
214 ace_count = 0; in qcopy_acl()
222 if (ace_count == 0) in qcopy_acl()
228 ace_entries = (ace_t *) malloc (ace_count * sizeof (ace_t)); in qcopy_acl()
243 ace_count = 0; in qcopy_acl()
250 if (ret == ace_count) in qcopy_acl()
299 if (ace_count == 0) in qcopy_acl()
339 if (ace_count > 0) in qcopy_acl()
[all …]
/dports/archivers/gtar/tar-1.34/gnu/
H A Dget-permissions.c128 ctx->ace_count = ret; in get_permissions()
130 if (ctx->ace_count == 0) in get_permissions()
133 ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); in get_permissions()
141 ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
143 ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
150 ctx->ace_count = 0; in get_permissions()
156 if (ret <= ctx->ace_count) in get_permissions()
158 ctx->ace_count = ret; in get_permissions()
/dports/databases/recutils/recutils-1.8/lib/
H A Dget-permissions.c128 ctx->ace_count = ret; in get_permissions()
130 if (ctx->ace_count == 0) in get_permissions()
133 ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); in get_permissions()
141 ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
143 ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
150 ctx->ace_count = 0; in get_permissions()
156 if (ret <= ctx->ace_count) in get_permissions()
158 ctx->ace_count = ret; in get_permissions()
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/gnulib-lib/
H A Dget-permissions.c128 ctx->ace_count = ret; in get_permissions()
130 if (ctx->ace_count == 0) in get_permissions()
133 ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); in get_permissions()
141 ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
143 ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
150 ctx->ace_count = 0; in get_permissions()
156 if (ret <= ctx->ace_count) in get_permissions()
158 ctx->ace_count = ret; in get_permissions()
/dports/editors/emacs-devel/emacs-4d1968b/lib/
H A Dget-permissions.c128 ctx->ace_count = ret; in get_permissions()
130 if (ctx->ace_count == 0) in get_permissions()
133 ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); in get_permissions()
141 ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
143 ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
150 ctx->ace_count = 0; in get_permissions()
156 if (ret <= ctx->ace_count) in get_permissions()
158 ctx->ace_count = ret; in get_permissions()
/dports/editors/emacs/emacs-27.2/lib/
H A Dget-permissions.c128 ctx->ace_count = ret; in get_permissions()
130 if (ctx->ace_count == 0) in get_permissions()
133 ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); in get_permissions()
141 ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
143 ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
150 ctx->ace_count = 0; in get_permissions()
156 if (ret <= ctx->ace_count) in get_permissions()
158 ctx->ace_count = ret; in get_permissions()
/dports/sysutils/coreutils/coreutils-8.32/lib/
H A Dget-permissions.c128 ctx->ace_count = ret; in get_permissions()
130 if (ctx->ace_count == 0) in get_permissions()
133 ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); in get_permissions()
141 ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
143 ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
150 ctx->ace_count = 0; in get_permissions()
156 if (ret <= ctx->ace_count) in get_permissions()
158 ctx->ace_count = ret; in get_permissions()
/dports/editors/zile/zile-2.4.14/lib/
H A Dget-permissions.c128 ctx->ace_count = ret; in get_permissions()
130 if (ctx->ace_count == 0) in get_permissions()
133 ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); in get_permissions()
141 ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
143 ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
150 ctx->ace_count = 0; in get_permissions()
156 if (ret <= ctx->ace_count) in get_permissions()
158 ctx->ace_count = ret; in get_permissions()
/dports/devel/gettext-runtime/gettext-0.21/gettext-tools/gnulib-lib/
H A Dget-permissions.c128 ctx->ace_count = ret; in get_permissions()
130 if (ctx->ace_count == 0) in get_permissions()
133 ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); in get_permissions()
141 ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
143 ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
150 ctx->ace_count = 0; in get_permissions()
156 if (ret <= ctx->ace_count) in get_permissions()
158 ctx->ace_count = ret; in get_permissions()
/dports/devel/gettext-po-mode/gettext-0.21/gettext-tools/gnulib-lib/
H A Dget-permissions.c128 ctx->ace_count = ret; in get_permissions()
130 if (ctx->ace_count == 0) in get_permissions()
133 ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); in get_permissions()
141 ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
143 ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
150 ctx->ace_count = 0; in get_permissions()
156 if (ret <= ctx->ace_count) in get_permissions()
158 ctx->ace_count = ret; in get_permissions()
/dports/devel/libtextstyle/gettext-0.21/gettext-tools/gnulib-lib/
H A Dget-permissions.c128 ctx->ace_count = ret; in get_permissions()
130 if (ctx->ace_count == 0) in get_permissions()
133 ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); in get_permissions()
141 ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
143 ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
150 ctx->ace_count = 0; in get_permissions()
156 if (ret <= ctx->ace_count) in get_permissions()
158 ctx->ace_count = ret; in get_permissions()
/dports/misc/gnuls/coreutils-8.30/lib/
H A Dget-permissions.c128 ctx->ace_count = ret; in get_permissions()
130 if (ctx->ace_count == 0) in get_permissions()
133 ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); in get_permissions()
141 ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
143 ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
150 ctx->ace_count = 0; in get_permissions()
156 if (ret <= ctx->ace_count) in get_permissions()
158 ctx->ace_count = ret; in get_permissions()
/dports/security/pkcs11-tools/pkcs11-tools-2.5.0/.gnulib/lib/
H A Dget-permissions.c128 ctx->ace_count = ret; in get_permissions()
130 if (ctx->ace_count == 0) in get_permissions()
133 ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); in get_permissions()
141 ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
143 ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
150 ctx->ace_count = 0; in get_permissions()
156 if (ret <= ctx->ace_count) in get_permissions()
158 ctx->ace_count = ret; in get_permissions()
/dports/textproc/gsed/sed-4.8/lib/
H A Dget-permissions.c128 ctx->ace_count = ret; in get_permissions()
130 if (ctx->ace_count == 0) in get_permissions()
133 ctx->ace_entries = (ace_t *) malloc (ctx->ace_count * sizeof (ace_t)); in get_permissions()
141 ret = facl (desc, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
143 ret = acl (name, ACE_GETACL, ctx->ace_count, ctx->ace_entries); in get_permissions()
150 ctx->ace_count = 0; in get_permissions()
156 if (ret <= ctx->ace_count) in get_permissions()
158 ctx->ace_count = ret; in get_permissions()
/dports/net/netatalk3/netatalk-3.1.12/etc/afpd/
H A Dacls.c106 int i, ace_count, checkgroup; in solaris_acl_rights() local
114 if (ace_count == -1) { in solaris_acl_rights()
120 if (ace_count == 0) in solaris_acl_rights()
163 } while (++i < ace_count); in solaris_acl_rights()
228 while(ace_count--) { in map_aces_solaris_to_darwin()
306 while(ace_count--) { in map_aces_darwin_to_solaris()
821 for ( ; ace_count != 0; ace_count--, darwin_aces++) {
1036 int ace_count = 0; local
1741 uint32_t ace_count; local
1743 ace_count = htonl(ace_count);
[all …]
/dports/net/netatalk3/netatalk-3.1.12/libatalk/vfs/
H A Dacl.c38 int ret,i, ace_count, trivial_aces, new_aces_count; in remove_acl_vfs() local
45 if ((ace_count = get_nfsv4_acl(name, &old_aces)) == -1) in remove_acl_vfs()
48 for ( i=0; i < ace_count; i++) { in remove_acl_vfs()
62 for (i=0; i < ace_count; i++) { in remove_acl_vfs()
/dports/net/netatalk3/netatalk-3.1.12/libatalk/acl/
H A Dunix.c44 int ace_count = -1; in get_nfsv4_acl() local
64 if ((ace_count = acl(name, ACE_GETACLCNT, 0, NULL)) == 0) { in get_nfsv4_acl()
69 if (ace_count == -1) { in get_nfsv4_acl()
71 getcwdpath(), name, ace_count, strerror(errno)); in get_nfsv4_acl()
75 aces = malloc(ace_count * sizeof(ace_t)); in get_nfsv4_acl()
81 if ( (acl(name, ACE_GETACL, ace_count, aces)) == -1 ) { in get_nfsv4_acl()
87 LOG(log_debug9, logtype_afpd, "get_nfsv4_acl: file: %s -> No. of ACEs: %d", name, ace_count); in get_nfsv4_acl()
90 return ace_count; in get_nfsv4_acl()
/dports/sysutils/lizardfs/lizardfs-3.12.0/src/common/
H A Drichacl_converter.cc192 uint32_t ace_count = get32bit(&buffer); in extractObjectFromNFS() local
195 for (uint32_t i = 0; i < ace_count; ++i) { in extractObjectFromNFS()
236 uint16_t ace_count = le16toh(wrapper->a_count); in extractObjectFromRichACL() local
245 for (uint32_t i = 0; i < ace_count; ++i) { in extractObjectFromRichACL()
/dports/sysutils/fusefs-ntfs/ntfs-3g_ntfsprogs-2017.3.23/libntfs-3g/
H A Dacls.c553 acecnt = le16_to_cpu(pacl->ace_count); in valid_acl()
705 oldcnt = le16_to_cpu(oldacl->ace_count); in ntfs_inherit_acl()
1586 acecnt = le16_to_cpu(pacl->ace_count); in build_user_denials()
1719 pacl->ace_count = cpu_to_le16(acecnt); in build_user_denials()
1745 acecnt = le16_to_cpu(pacl->ace_count); in build_user_grants()
1792 pacl->ace_count = cpu_to_le16(acecnt); in build_user_grants()
1829 acecnt = le16_to_cpu(pacl->ace_count); in build_group_denials_grant()
1969 pacl->ace_count = cpu_to_le16(acecnt); in build_group_denials_grant()
2105 pacl->ace_count = const_cpu_to_le16(0); in buildacls_posix()
2185 pacl->ace_count = const_cpu_to_le16(0); in buildacls_posix()
[all …]
/dports/sysutils/wimlib/wimlib-1.13.0/include/wimlib/
H A Dsecurity_descriptor.h96 le16 ace_count; member
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/os/windows/
H A DperfMemory_windows.cpp856 ace_data_t aces[], int ace_count) { in add_allow_aces() argument
906 (sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD)) * ace_count; in add_allow_aces()
907 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
945 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
968 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/os/windows/
H A DperfMemory_windows.cpp856 ace_data_t aces[], int ace_count) { in add_allow_aces() argument
906 (sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD)) * ace_count; in add_allow_aces()
907 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
945 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
968 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/os/windows/
H A DperfMemory_windows.cpp856 ace_data_t aces[], int ace_count) { in add_allow_aces() argument
906 (sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD)) * ace_count; in add_allow_aces()
907 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
945 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
968 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/os/windows/
H A DperfMemory_windows.cpp856 ace_data_t aces[], int ace_count) { in add_allow_aces() argument
906 (sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD)) * ace_count; in add_allow_aces()
907 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
945 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
968 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/os/windows/
H A DperfMemory_windows.cpp857 ace_data_t aces[], int ace_count) { in add_allow_aces() argument
907 (sizeof(ACCESS_ALLOWED_ACE) - sizeof(DWORD)) * ace_count; in add_allow_aces()
908 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
946 for (int i = 0; i < ace_count; i++) { in add_allow_aces()
969 for (int i = 0; i < ace_count; i++) { in add_allow_aces()

1234