Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:20:37 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:smack_inode_rename - Smack check on rename*@old_inode: unused*@old_dentry: the old object*@new_inode: unused*@new_dentry: the new object* Read and write access is required on both the old and* new directories
Proto:static int smack_inode_rename(struct inode *old_inode, struct dentry *old_dentry, struct inode *new_inode, struct dentry *new_dentry)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | old_inode | |
struct dentry * | old_dentry | |
struct inode * | new_inode | |
struct dentry * | new_dentry |
1145 | smk_ad_setfield_u_fs_path_dentry( & ad, old_dentry) |
1151 | If rc == 0 && d_is_positive(new_dentry) Then |
1153 | smk_ad_setfield_u_fs_path_dentry( & ad, new_dentry) |
1157 | Return rc |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |