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

Go to the source code of this file.

Functions

int generic_acl_init (struct inode *, struct inode *)
 
int generic_acl_chmod (struct inode *)
 

Variables

struct xattr_handler generic_acl_access_handler
 
struct xattr_handler generic_acl_default_handler
 

Function Documentation

int generic_acl_chmod ( struct inode inode)

generic_acl_chmod - change the access acl of upon chmod()

A chmod also changes the permissions of the owner, group/mask, and other ACL entries.

Definition at line 152 of file generic_acl.c.

int generic_acl_init ( struct inode inode,
struct inode dir 
)

generic_acl_init - Take care of acl inheritance at create time

Files created inside a directory with a default ACL inherit the directory's default ACL.

Definition at line 121 of file generic_acl.c.

Variable Documentation

struct xattr_handler generic_acl_access_handler

Definition at line 170 of file generic_acl.c.

struct xattr_handler generic_acl_default_handler

Definition at line 178 of file generic_acl.c.