suse man page for generic_permission

Query: generic_permission

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

GENERIC_PERMISSION(9)						   The Linux VFS					     GENERIC_PERMISSION(9)

NAME
generic_permission - check for access rights on a Posix-like filesystem
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..
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 GENERIC_PERMISSION(9)
Related Man Pages
struct_uio_info(9) - centos
matchpathcon_filespec_eval(3) - debian
matchpathcon_filespec_destroy(3) - centos
clri_hfs(1m) - hpux
struct_uio_info(9) - suse
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Change directory error
Grant unprivileged user rights to see the output of echo|format but not modify disks
Shopt -s histappend
32 bit process addressing more than 4GB