Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:58:34 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:prepare a new set of credentials for modification
Proto:static int selinux_cred_prepare(struct cred *new, const struct cred *old, gfp_t gfp)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cred * | new | |
| const struct cred * | old | |
| gfp_t | gfp |
| 3906 | old_tsec = selinux_cred(old) |
| 3907 | tsec = selinux_cred(new) |
| 3910 | Return 0 |
| 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 |