Searched refs:acl (Results 51 - 75 of 409) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/modules/
H A Dvfs_aixacl.c23 extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
24 extern struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl);
30 struct acl *file_acl = (struct acl *)NULL;
40 /* Get the acl using statacl */
45 file_acl = (struct acl *)SMB_MALLOC(BUFSIZ);
57 struct acl *new_acl = SMB_MALLOC(file_acl->acl_len + sizeof(struct acl));
64 rc = statacl((char *)path_p,0,file_acl,file_acl->acl_len+sizeof(struct acl));
88 struct acl *file_ac
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/modules/
H A Dvfs_aixacl.c22 extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
23 extern struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl);
29 struct acl *file_acl = (struct acl *)NULL;
39 /* Get the acl using statacl */
44 file_acl = (struct acl *)SMB_MALLOC(BUFSIZ);
56 struct acl *new_acl = SMB_MALLOC(file_acl->acl_len + sizeof(struct acl));
63 rc = statacl((char *)path_p,0,file_acl,file_acl->acl_len+sizeof(struct acl));
86 struct acl *file_ac
[all...]
H A Dvfs_gpfs.h30 int smbd_gpfs_getacl(char *pathname, int flags, void *acl);
31 int smbd_gpfs_putacl(char *pathname, int flags, void *acl);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/modules/
H A Dvfs_aixacl.c23 extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
24 extern struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl);
30 struct acl *file_acl = (struct acl *)NULL;
40 /* Get the acl using statacl */
45 file_acl = (struct acl *)SMB_MALLOC(BUFSIZ);
57 struct acl *new_acl = SMB_MALLOC(file_acl->acl_len + sizeof(struct acl));
64 rc = statacl((char *)path_p,0,file_acl,file_acl->acl_len+sizeof(struct acl));
88 struct acl *file_ac
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/modules/
H A Dvfs_aixacl.c22 extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
23 extern struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl);
29 struct acl *file_acl = (struct acl *)NULL;
39 /* Get the acl using statacl */
44 file_acl = (struct acl *)SMB_MALLOC(BUFSIZ);
56 struct acl *new_acl = SMB_MALLOC(file_acl->acl_len + sizeof(struct acl));
63 rc = statacl((char *)path_p,0,file_acl,file_acl->acl_len+sizeof(struct acl));
86 struct acl *file_ac
[all...]
H A Dvfs_gpfs.h30 int smbd_gpfs_getacl(char *pathname, int flags, void *acl);
31 int smbd_gpfs_putacl(char *pathname, int flags, void *acl);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/modules/
H A Dvfs_aixacl.c22 extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
23 extern struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl);
29 struct acl *file_acl = (struct acl *)NULL;
39 /* Get the acl using statacl */
44 file_acl = (struct acl *)SMB_MALLOC(BUFSIZ);
56 struct acl *new_acl = SMB_MALLOC(file_acl->acl_len + sizeof(struct acl));
63 rc = statacl((char *)path_p,0,file_acl,file_acl->acl_len+sizeof(struct acl));
86 struct acl *file_ac
[all...]
H A Dvfs_gpfs.h30 int smbd_gpfs_getacl(char *pathname, int flags, void *acl);
31 int smbd_gpfs_putacl(char *pathname, int flags, void *acl);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/modules/
H A Dvfs_aixacl.c23 extern SMB_ACL_T aixacl_to_smbacl( struct acl *file_acl);
24 extern struct acl *aixacl_smb_to_aixacl(SMB_ACL_TYPE_T acltype, SMB_ACL_T theacl);
30 struct acl *file_acl = (struct acl *)NULL;
40 /* Get the acl using statacl */
45 file_acl = (struct acl *)SMB_MALLOC(BUFSIZ);
57 struct acl *new_acl = SMB_MALLOC(file_acl->acl_len + sizeof(struct acl));
64 rc = statacl((char *)path_p,0,file_acl,file_acl->acl_len+sizeof(struct acl));
88 struct acl *file_ac
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/netatalk-3.0.5/libatalk/vfs/
H A DMakefile.am8 libvfs_la_SOURCES += acl.c
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/netatalk-3.0.5/libatalk/vfs/
H A DMakefile.am8 libvfs_la_SOURCES += acl.c
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/netatalk-3.0.5/libatalk/vfs/
H A DMakefile.am8 libvfs_la_SOURCES += acl.c
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/libcli/security/
H A Dsecurity_descriptor.c190 struct security_acl *acl = NULL; local
193 acl = sd->sacl;
195 acl = sd->dacl;
198 if (acl == NULL) {
199 acl = talloc(sd, struct security_acl);
200 if (acl == NULL) {
203 acl->revision = SECURITY_ACL_REVISION_NT4;
204 acl->size = 0;
205 acl->num_aces = 0;
206 acl
272 struct security_acl *acl = NULL; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/libcli/security/
H A Dsecurity_descriptor.c190 struct security_acl *acl = NULL; local
193 acl = sd->sacl;
195 acl = sd->dacl;
198 if (acl == NULL) {
199 acl = talloc(sd, struct security_acl);
200 if (acl == NULL) {
203 acl->revision = SECURITY_ACL_REVISION_NT4;
204 acl->size = 0;
205 acl->num_aces = 0;
206 acl
272 struct security_acl *acl = NULL; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/libcli/security/
H A Dsecurity_descriptor.c190 struct security_acl *acl = NULL; local
193 acl = sd->sacl;
195 acl = sd->dacl;
198 if (acl == NULL) {
199 acl = talloc(sd, struct security_acl);
200 if (acl == NULL) {
203 acl->revision = SECURITY_ACL_REVISION_NT4;
204 acl->size = 0;
205 acl->num_aces = 0;
206 acl
272 struct security_acl *acl = NULL; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/python/
H A Dpy_ntsec.c117 BOOL py_from_ACL(PyObject **dict, SEC_ACL *acl) argument
122 if (!acl) {
128 ace_list = PyList_New(acl->num_aces);
130 for (i = 0; i < acl->num_aces; i++) {
133 if (py_from_ACE(&obj, &acl->aces[i]))
137 *dict = Py_BuildValue("{sisN}", "revision", acl->revision,
143 BOOL py_to_ACL(SEC_ACL *acl, PyObject *dict, TALLOC_CTX *mem_ctx) argument
152 acl->revision = PyInt_AsLong(obj);
158 acl->num_aces = PyList_Size(obj);
160 acl
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/security/tomoyo/
H A Dgc.c81 struct tomoyo_acl_info *acl = local
82 container_of(element, typeof(*acl), list);
83 switch (acl->type) {
87 = container_of(acl, typeof(*entry), head);
94 = container_of(acl, typeof(*entry), head);
102 = container_of(acl, typeof(*entry), head);
110 = container_of(acl, typeof(*entry), head);
120 = container_of(acl, typeof(*entry), head);
134 struct tomoyo_acl_info *acl; local
160 list_for_each_entry_safe(acl, tm
209 struct tomoyo_acl_info *acl; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/security/tomoyo/
H A Dgc.c81 struct tomoyo_acl_info *acl = local
82 container_of(element, typeof(*acl), list);
83 switch (acl->type) {
87 = container_of(acl, typeof(*entry), head);
94 = container_of(acl, typeof(*entry), head);
102 = container_of(acl, typeof(*entry), head);
110 = container_of(acl, typeof(*entry), head);
120 = container_of(acl, typeof(*entry), head);
134 struct tomoyo_acl_info *acl; local
160 list_for_each_entry_safe(acl, tm
209 struct tomoyo_acl_info *acl; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/python/
H A Dpy_ntsec.c117 BOOL py_from_ACL(PyObject **dict, SEC_ACL *acl) argument
122 if (!acl) {
128 ace_list = PyList_New(acl->num_aces);
130 for (i = 0; i < acl->num_aces; i++) {
133 if (py_from_ACE(&obj, &acl->aces[i]))
137 *dict = Py_BuildValue("{sisN}", "revision", acl->revision,
143 BOOL py_to_ACL(SEC_ACL *acl, PyObject *dict, TALLOC_CTX *mem_ctx) argument
152 acl->revision = PyInt_AsLong(obj);
158 acl->num_aces = PyList_Size(obj);
160 acl
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/python/
H A Dpy_ntsec.c117 BOOL py_from_ACL(PyObject **dict, SEC_ACL *acl) argument
122 if (!acl) {
128 ace_list = PyList_New(acl->num_aces);
130 for (i = 0; i < acl->num_aces; i++) {
133 if (py_from_ACE(&obj, &acl->aces[i]))
137 *dict = Py_BuildValue("{sisN}", "revision", acl->revision,
143 BOOL py_to_ACL(SEC_ACL *acl, PyObject *dict, TALLOC_CTX *mem_ctx) argument
152 acl->revision = PyInt_AsLong(obj);
158 acl->num_aces = PyList_Size(obj);
160 acl
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/netatalk-3.0.5/libatalk/acl/
H A Dunix.c30 #include <sys/acl.h>
35 #include <atalk/acl.h>
49 /* Only call acl() for regular files and directories, otherwise just return 0 */
64 if ((ace_count = acl(name, ACE_GETACLCNT, 0, NULL)) == 0) {
70 LOG(log_debug, logtype_afpd, "get_nfsv4_acl: acl('%s/%s', ACE_GETACLCNT): ace_count %i, error: %s",
81 if ( (acl(name, ACE_GETACL, ace_count, aces)) == -1 ) {
82 LOG(log_error, logtype_afpd, "get_nfsv4_acl: acl(ACE_GETACL) error");
254 if ((ret = acl(name, ACE_SETACL, noaces + nnaces, cacl)) != 0) {
256 LOG(log_error, logtype_afpd, "nfsv4_chmod: error setting acl: %s", strerror(errno));
260 ret = acl(nam
302 acl_t acl; local
419 acl_t acl; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/netatalk-3.0.5/libatalk/acl/
H A Dunix.c30 #include <sys/acl.h>
35 #include <atalk/acl.h>
49 /* Only call acl() for regular files and directories, otherwise just return 0 */
64 if ((ace_count = acl(name, ACE_GETACLCNT, 0, NULL)) == 0) {
70 LOG(log_debug, logtype_afpd, "get_nfsv4_acl: acl('%s/%s', ACE_GETACLCNT): ace_count %i, error: %s",
81 if ( (acl(name, ACE_GETACL, ace_count, aces)) == -1 ) {
82 LOG(log_error, logtype_afpd, "get_nfsv4_acl: acl(ACE_GETACL) error");
254 if ((ret = acl(name, ACE_SETACL, noaces + nnaces, cacl)) != 0) {
256 LOG(log_error, logtype_afpd, "nfsv4_chmod: error setting acl: %s", strerror(errno));
260 ret = acl(nam
302 acl_t acl; local
419 acl_t acl; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/netatalk-3.0.5/libatalk/acl/
H A Dunix.c30 #include <sys/acl.h>
35 #include <atalk/acl.h>
49 /* Only call acl() for regular files and directories, otherwise just return 0 */
64 if ((ace_count = acl(name, ACE_GETACLCNT, 0, NULL)) == 0) {
70 LOG(log_debug, logtype_afpd, "get_nfsv4_acl: acl('%s/%s', ACE_GETACLCNT): ace_count %i, error: %s",
81 if ( (acl(name, ACE_GETACL, ace_count, aces)) == -1 ) {
82 LOG(log_error, logtype_afpd, "get_nfsv4_acl: acl(ACE_GETACL) error");
254 if ((ret = acl(name, ACE_SETACL, noaces + nnaces, cacl)) != 0) {
256 LOG(log_error, logtype_afpd, "nfsv4_chmod: error setting acl: %s", strerror(errno));
260 ret = acl(nam
302 acl_t acl; local
419 acl_t acl; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/utils/
H A Dprofiles.c61 SEC_ACL *acl; local
82 acl = sd->dacl;
83 verbose_output(" DACL: %d entries:\n", acl->num_aces);
84 for ( i=0; i<acl->num_aces; i++ ) {
86 sid_string_static(&acl->aces[i].trustee));
87 if ( sid_equal( &acl->aces[i].trustee, s1 ) ) {
88 sid_copy( &acl->aces[i].trustee, s2 );
91 sid_string_static(&acl->aces[i].trustee));
96 acl = sd->sacl;
97 verbose_output(" SACL: %d entries: \n", acl
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/utils/
H A Dprofiles.c61 SEC_ACL *acl; local
82 acl = sd->dacl;
83 verbose_output(" DACL: %d entries:\n", acl->num_aces);
84 for ( i=0; i<acl->num_aces; i++ ) {
86 sid_string_static(&acl->aces[i].trustee));
87 if ( sid_equal( &acl->aces[i].trustee, s1 ) ) {
88 sid_copy( &acl->aces[i].trustee, s2 );
91 sid_string_static(&acl->aces[i].trustee));
96 acl = sd->sacl;
97 verbose_output(" SACL: %d entries: \n", acl
[all...]

Completed in 190 milliseconds

1234567891011>>