Function report |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-28 19:20:32 |
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_unlink - Smack check on inode deletion*@dir: containing directory object*@dentry: file to unlink* Returns 0 if current can write the containing directory* and the object, error code otherwise
Proto:static int smack_inode_unlink(struct inode *dir, struct dentry *dentry)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct inode * | dir | |
struct dentry * | dentry |
1070 | smk_ad_setfield_u_fs_path_dentry( & ad, dentry) |
1076 | rc = smk_bu_inode(ip, MAY_WRITE, rc) |
1077 | If rc == 0 Then |
1082 | smk_ad_setfield_u_fs_inode( & ad, dir) |
1084 | rc = smk_bu_inode(dir, MAY_WRITE, rc) |
1086 | 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 |