How to get 'nameidata' structure from inode_permission()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Everyone. I have a question.

Removed 'nameidata' passing to inode_permission() in kernel 2.6.27,
but I need 'nameidata'.
Does anyone knows how to get 'nameidata' or 'path' from inode_permission()?

-- kernel/include/linux/security.h
int (*inode_permission) (struct inode *inode, int mask, struct nameidata *nd);
-> int (*inode_permission)(struct inode *inode, int mask)

Thanks.
OopsLee.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux