Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:54:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_genfs_get_sid
Proto:static int selinux_genfs_get_sid(struct dentry *dentry, u16 tclass, u16 flags, unsigned int *sid)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct dentry * | dentry | |
u16 | tclass | |
u16 | flags | |
unsigned int * | sid |
1337 | sb = The root of the dentry tree |
1340 | buffer = __get_free_page(GFP_KERNEL) |
1344 | path = dentry_path_raw(dentry, buffer, PAGE_SIZE) |
1347 | Else |
1357 | rc = security_genfs_sid( & selinux_state, name, path, tclass, sid) |
1361 | sid = SECINITSID_UNLABELED |
1362 | rc = 0 |
1366 | Return rc |
Name | Describe |
---|---|
inode_doinit_with_dentry |
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 |