Query: file_permission
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FILE_PERMISSION(9) The Linux VFS FILE_PERMISSION(9)NAMEfile_permission - check for additional access rights to a given fileSYNOPSISint file_permission(struct file * file, int mask);ARGUMENTSfile file to check access rights for mask right to check for (MAY_READ, MAY_WRITE, MAY_EXEC)DESCRIPTIONUsed to check for read/write/execute permissions on an already opened file.NOTEDo not use this function in new code. All access checks should be done using inode_permission.COPYRIGHTKernel Hackers Manual 2.6. July 2010 FILE_PERMISSION(9)