Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
acl.h File Reference
#include <linux/posix_acl.h>

Go to the source code of this file.

Macros

#define NFS4_ACL_MAX   170
 
#define NFS4_ACL_TYPE_DEFAULT   0x01
 
#define NFS4_ACL_DIR   0x02
 
#define NFS4_ACL_OWNER   0x04
 

Functions

struct nfs4_aclnfs4_acl_new (int)
 
int nfs4_acl_get_whotype (char *, u32)
 
int nfs4_acl_write_who (int who, char *p)
 
int nfs4_acl_permission (struct nfs4_acl *acl, uid_t owner, gid_t group, uid_t who, u32 mask)
 
struct nfs4_aclnfs4_acl_posix_to_nfsv4 (struct posix_acl *, struct posix_acl *, unsigned int flags)
 
int nfs4_acl_nfsv4_to_posix (struct nfs4_acl *, struct posix_acl **, struct posix_acl **, unsigned int flags)
 

Macro Definition Documentation

#define NFS4_ACL_DIR   0x02

Definition at line 51 of file acl.h.

#define NFS4_ACL_MAX   170

Definition at line 42 of file acl.h.

#define NFS4_ACL_OWNER   0x04

Definition at line 52 of file acl.h.

#define NFS4_ACL_TYPE_DEFAULT   0x01

Definition at line 50 of file acl.h.

Function Documentation

int nfs4_acl_get_whotype ( char ,
u32   
)

Definition at line 810 of file nfs4acl.c.

struct nfs4_acl* nfs4_acl_new ( int  )
read

Definition at line 776 of file nfs4acl.c.

int nfs4_acl_nfsv4_to_posix ( struct nfs4_acl ,
struct posix_acl **  ,
struct posix_acl **  ,
unsigned int  flags 
)

Definition at line 693 of file nfs4acl.c.

int nfs4_acl_permission ( struct nfs4_acl acl,
uid_t  owner,
gid_t  group,
uid_t  who,
u32  mask 
)
struct nfs4_acl* nfs4_acl_posix_to_nfsv4 ( struct posix_acl ,
struct posix_acl ,
unsigned int  flags 
)
read

Definition at line 134 of file nfs4acl.c.

int nfs4_acl_write_who ( int  who,
char p 
)

Definition at line 823 of file nfs4acl.c.