Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
acl.c File Reference
#include <linux/module.h>
#include <linux/fs.h>
#include <net/9p/9p.h>
#include <net/9p/client.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/posix_acl_xattr.h>
#include "xattr.h"
#include "acl.h"
#include "v9fs.h"
#include "v9fs_vfs.h"

Go to the source code of this file.

Functions

int v9fs_get_acl (struct inode *inode, struct p9_fid *fid)
 
struct posix_aclv9fs_iop_get_acl (struct inode *inode, int type)
 
int v9fs_acl_chmod (struct dentry *dentry)
 
int v9fs_set_create_acl (struct dentry *dentry, struct posix_acl **dpacl, struct posix_acl **pacl)
 
int v9fs_acl_mode (struct inode *dir, umode_t *modep, struct posix_acl **dpacl, struct posix_acl **pacl)
 

Variables

struct xattr_handler v9fs_xattr_acl_access_handler
 
struct xattr_handler v9fs_xattr_acl_default_handler
 

Function Documentation

int v9fs_acl_chmod ( struct dentry dentry)

Definition at line 153 of file acl.c.

int v9fs_acl_mode ( struct inode dir,
umode_t modep,
struct posix_acl **  dpacl,
struct posix_acl **  pacl 
)

Definition at line 185 of file acl.c.

int v9fs_get_acl ( struct inode inode,
struct p9_fid fid 
)

Definition at line 55 of file acl.c.

struct posix_acl* v9fs_iop_get_acl ( struct inode inode,
int  type 
)
read

Definition at line 99 of file acl.c.

int v9fs_set_create_acl ( struct dentry dentry,
struct posix_acl **  dpacl,
struct posix_acl **  pacl 
)

Definition at line 172 of file acl.c.

Variable Documentation

struct xattr_handler v9fs_xattr_acl_access_handler
Initial value:
= {
.flags = ACL_TYPE_ACCESS,
.get = v9fs_xattr_get_acl,
.set = v9fs_xattr_set_acl,
}

Definition at line 368 of file acl.c.

struct xattr_handler v9fs_xattr_acl_default_handler
Initial value:
= {
.flags = ACL_TYPE_DEFAULT,
.get = v9fs_xattr_get_acl,
.set = v9fs_xattr_set_acl,
}

Definition at line 375 of file acl.c.