Function report |
Source Code:fs\exec.c |
Create Date:2022-07-28 20:04:02 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bprm_fill_uid
Proto:static void bprm_fill_uid(struct linux_binprm *bprm)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct linux_binprm * | bprm |
| 1526 | euid = current_euid() |
| 1527 | egid = current_egid() |
| 1529 | If Not mnt_may_suid(mnt) Then Return |
| 1532 | If task_no_new_privs(current process) Then Return |
| 1541 | inode_lock(inode) |
| 1547 | inode_unlock(inode) |
| 1550 | If Not kuid_has_mapping(user_ns, uid) || Not kgid_has_mapping(user_ns, gid) Then Return |
| Name | Describe |
|---|---|
| prepare_binprm | Fill the binprm structure from the inode.* Check permissions, then read the first BINPRM_BUF_SIZE bytes* This may be called multiple times for binary chains (scripts for example). |
| 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 |