Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
acl.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/fs.h>
#include <linux/sched.h>
#include <linux/time.h>
#include <linux/crc32.h>
#include <linux/jffs2.h>
#include <linux/xattr.h>
#include <linux/posix_acl_xattr.h>
#include <linux/mtd/mtd.h>
#include "nodelist.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

struct posix_acljffs2_get_acl (struct inode *inode, int type)
 
int jffs2_init_acl_pre (struct inode *dir_i, struct inode *inode, umode_t *i_mode)
 
int jffs2_init_acl_post (struct inode *inode)
 
int jffs2_acl_chmod (struct inode *inode)
 

Variables

struct xattr_handler jffs2_acl_access_xattr_handler
 
struct xattr_handler jffs2_acl_default_xattr_handler
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 12 of file acl.c.

Function Documentation

int jffs2_acl_chmod ( struct inode inode)

Definition at line 328 of file acl.c.

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

Definition at line 175 of file acl.c.

int jffs2_init_acl_post ( struct inode inode)

Definition at line 309 of file acl.c.

int jffs2_init_acl_pre ( struct inode dir_i,
struct inode inode,
umode_t i_mode 
)

Definition at line 278 of file acl.c.

Variable Documentation

struct xattr_handler jffs2_acl_access_xattr_handler
Initial value:
= {
.flags = ACL_TYPE_DEFAULT,
.list = jffs2_acl_access_listxattr,
.get = jffs2_acl_getxattr,
.set = jffs2_acl_setxattr,
}

Definition at line 415 of file acl.c.

struct xattr_handler jffs2_acl_default_xattr_handler
Initial value:
= {
.flags = ACL_TYPE_DEFAULT,
.list = jffs2_acl_default_listxattr,
.get = jffs2_acl_getxattr,
.set = jffs2_acl_setxattr,
}

Definition at line 423 of file acl.c.