Function report |
Source Code:security\commoncap.c |
Create Date:2022-07-28 18:36:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__is_setuid
Proto:static inline bool __is_setuid(struct cred *new, const struct cred *old)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct cred * | new | |
| const struct cred * | old |
| 755 | Return Not uid_eq( effective UID of the task , real UID of the task ) |
| Name | Describe |
|---|---|
| nonroot_raised_pE | 1) Audit candidate if current->cap_effective is set* We do not bother to audit if 3 things are true:* 1) cap_effective has all caps* 2) we became root *OR* are were already root* 3) root is supposed to have all caps (SECURE_NOROOT) |
| cap_bprm_set_creds | ap_bprm_set_creds - Set up the proposed credentials for execve().*@bprm: The execution parameters, including the proposed creds* Set up the proposed credentials for a new execution context being* constructed by execve() |
| 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 |