函数逻辑报告 |
Source Code:kernel\cred.c |
Create Date:2022-07-27 10:33:12 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:verride_creds - Override the current process's subjective credentials*@new: The credentials to be assigned* Install a set of temporary override subjective credentials on the current* process, returning the old set for later reversion.
函数原型:const struct cred *override_creds(const struct cred *new)
返回类型:struct cred
参数:
类型 | 参数 | 名称 |
---|---|---|
const struct cred * | new |
545 | kdebug("override_creds(%p{%d,%d})", new, atomic_read( & usage), read_cred_subscribers(new)) |
549 | validate_creds(old) |
550 | validate_creds(new) |
563 | 获得一组新的凭据引用 |
564 | alter_cred_subscribers(new, 1) |
566 | alter_cred_subscribers(old, - 1) |
568 | kdebug("override_creds() = %p{%d,%d}", old, atomic_read( & usage), read_cred_subscribers(old)) |
571 | 返回:old |
名称 | 描述 |
---|---|
do_acct_process | |
io_sq_thread | |
io_worker_handle_work | |
do_coredump | |
do_faccessat | access() needs to use the real uid/gid, not the effective uid/gid.* We do this by temporarily clearing all FS-related capabilities and* switching the fsuid/fsgid around to the real ones. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |