file_permission(9) suse man page | unix.com

Man Page: file_permission

Operating Environment: suse

Section: 9

FILE_PERMISSION(9)						   The Linux VFS						FILE_PERMISSION(9)

NAME
file_permission - check for additional access rights to a given file
SYNOPSIS
int file_permission(struct file * file, int mask);
ARGUMENTS
file file to check access rights for mask right to check for (MAY_READ, MAY_WRITE, MAY_EXEC)
DESCRIPTION
Used to check for read/write/execute permissions on an already opened file.
NOTE
Do not use this function in new code. All access checks should be done using inode_permission.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 FILE_PERMISSION(9)
Related Man Pages
tcl_access(3) - mojave
tcl_stat(3) - mojave
vop_access(9) - centos
vop_access(9) - php
vop_access(9) - osx
Similar Topics in the Unix Linux Community
changing default file permissions
file permissions using shell scripting
HELP changing file permissions
Check for file permission
What is wrong with file permission?