Home | History | Annotate | Download | only in kern

Lines Matching refs:acl

30  * ACL support routines specific to NFSv4 access control lists.  These are
51 #include <sys/acl.h>
54 static void acl_nfs4_trivial_from_mode(struct acl *aclp, mode_t mode);
61 #include <sys/acl.h>
92 _acl_append(struct acl *aclp, acl_tag_t tag, acl_perm_t perm,
113 _acl_duplicate_entry(struct acl *aclp, unsigned int entry_index)
131 acl_nfs4_sync_acl_from_mode(struct acl *aclp, mode_t mode,
140 __acl_nfs4_sync_mode_from_acl(mode_t *_mode, const struct acl *aclp)
151 * 3.16.6.1. Recomputing mode upon SETATTR of ACL
261 * Populate the ACL with entries inherited from parent_aclp.
265 acl_nfs4_inherit_entries(const struct acl *parent_aclp,
266 struct acl *child_aclp, mode_t mode, int file_owner_id,
379 * Calculate inherited ACL in a manner compatible with PSARC/2010/029.
380 * It's also being used to calculate a trivial ACL, by inheriting from
381 * a NULL ACL.
384 acl_nfs4_compute_inherited_acl_psarc(const struct acl *parent_aclp,
385 struct acl *aclp, mode_t mode, int file_owner_id, int is_directory)
443 acl_nfs4_compute_inherited_acl(const struct acl *parent_aclp,
444 struct acl *child_aclp, mode_t mode, int file_owner_id,
454 * Calculate trivial ACL in a manner compatible with PSARC/2010/029.
455 * Note that this results in an ACL different from (but semantically
456 * equal to) the "canonical six" trivial ACL computed using algorithm
460 acl_nfs4_trivial_from_mode(struct acl *aclp, mode_t mode)
474 __acl_nfs4_trivial_from_mode_libc(struct acl *aclp, int mode, int canonical_six)
484 _acls_are_equal(const struct acl *a, const struct acl *b)
509 * that stores ACL contents.
512 acl_nfs4_is_trivial(const struct acl *aclp, int file_owner_id)
516 struct acl *tmpaclp;
522 * Compute the mode from the ACL, then compute new ACL from that mode.
523 * If the ACLs are identical, then the ACL is trivial.
542 * Check if it's a draft-ietf-nfsv4-minorversion1-03.txt trivial ACL.
550 acl_nfs4_check(const struct acl *aclp, int is_directory)
556 * The spec doesn't seem to say anything about ACL validity.