Function report |
Source Code:security\safesetid\lsm.c |
Create Date:2022-07-28 19:55:29 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Compute a decision for a transition from @src to @dst under the active* policy.
Proto:static enum sid_policy_type setuid_policy_lookup(kuid_t src, kuid_t dst)
Type:enum sid_policy_type
Parameter:
| Type | Parameter | Name |
|---|---|---|
| kuid_t | src | |
| kuid_t | dst |
| 60 | Return result |
| Name | Describe |
|---|---|
| safesetid_security_capable | |
| uid_permitted_for_cred | Check whether a caller with old credentials @old is allowed to switch to* credentials that contain @new_uid. |
| safesetid_task_fix_setuid | Check whether there is either an exception for user under old cred struct to* set*uid to user under new cred struct, or the UID transition is allowed (by* Linux set*uid rules) even without CAP_SETUID. |
| 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 |