|
FreeBSD kernel kern code
|
#include <sys/cdefs.h>#include <sys/param.h>#include <sys/systm.h>#include <sys/mount.h>#include <sys/priv.h>#include <sys/vnode.h>#include <sys/errno.h>#include <sys/stat.h>#include <sys/acl.h>
Go to the source code of this file.
Functions | |
| __FBSDID ("$BSDSUniX$") | |
| int | vaccess_acl_posix1e (enum vtype type, uid_t file_uid, gid_t file_gid, struct acl *acl, accmode_t accmode, struct ucred *cred, int *privused) |
| acl_perm_t | acl_posix1e_mode_to_perm (acl_tag_t tag, mode_t mode) |
| struct acl_entry | acl_posix1e_mode_to_entry (acl_tag_t tag, uid_t uid, gid_t gid, mode_t mode) |
| mode_t | acl_posix1e_perms_to_mode (struct acl_entry *acl_user_obj_entry, struct acl_entry *acl_group_obj_entry, struct acl_entry *acl_other_entry) |
| mode_t | acl_posix1e_acl_to_mode (struct acl *acl) |
| int | acl_posix1e_check (struct acl *acl) |
| mode_t | acl_posix1e_newfilemode (mode_t cmode, struct acl *dacl) |
| __FBSDID | ( | "$BSDSUniX$" | ) |
| mode_t acl_posix1e_acl_to_mode | ( | struct acl * | acl | ) |
Definition at line 484 of file subr_acl_posix1e.c.
References acl_posix1e_perms_to_mode(), and panic().
Referenced by acl_posix1e_newfilemode(), and vaccess_acl_posix1e().


| int acl_posix1e_check | ( | struct acl * | acl | ) |
Definition at line 542 of file subr_acl_posix1e.c.
| struct acl_entry acl_posix1e_mode_to_entry | ( | acl_tag_t | tag, |
| uid_t | uid, | ||
| gid_t | gid, | ||
| mode_t | mode | ||
| ) |
Definition at line 417 of file subr_acl_posix1e.c.
References acl_posix1e_mode_to_perm(), mode, and printf().

| acl_perm_t acl_posix1e_mode_to_perm | ( | acl_tag_t | tag, |
| mode_t | mode | ||
| ) |
Definition at line 374 of file subr_acl_posix1e.c.
References printf().
Referenced by acl_posix1e_mode_to_entry().


| mode_t acl_posix1e_newfilemode | ( | mode_t | cmode, |
| struct acl * | dacl | ||
| ) |
Definition at line 635 of file subr_acl_posix1e.c.
References acl_posix1e_acl_to_mode(), and mode.

| mode_t acl_posix1e_perms_to_mode | ( | struct acl_entry * | acl_user_obj_entry, |
| struct acl_entry * | acl_group_obj_entry, | ||
| struct acl_entry * | acl_other_entry | ||
| ) |
Definition at line 450 of file subr_acl_posix1e.c.
References mode.
Referenced by acl_posix1e_acl_to_mode().

| int vaccess_acl_posix1e | ( | enum vtype | type, |
| uid_t | file_uid, | ||
| gid_t | file_gid, | ||
| struct acl * | acl, | ||
| accmode_t | accmode, | ||
| struct ucred * | cred, | ||
| int * | privused | ||
| ) |
Definition at line 55 of file subr_acl_posix1e.c.
References accmode, acl_posix1e_acl_to_mode(), groupmember(), printf(), and priv_check_cred().
