GENERIC_PERMISSION

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

generic_permission - check for access rights on a Posix-like filesystem  

SYNOPSIS

"SYNOPSIS"

int generic_permission (struct inode * inode, int mask, int (*check_acl) struct inode *inode, int mask);  

ARGUMENTS

inode
inode to check access rights for
mask
right to check for (MAY_READ, MAY_WRITE, MAY_EXEC)
check_acl
optional callback to check for Posix ACLs
 

DESCRIPTION

Used to check for read/write/execute permissions on a file. We use ``fsuid'' for this, letting us set arbitrary permissions for filesystem access without changing the ``normal'' uids which are used for other things..


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:11 GMT, October 09, 2005