Function report |
Source Code:kernel\cred.c |
Create Date:2022-07-28 09:32:36 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:const struct cred *override_creds(const struct cred *new)
Type:struct cred
Parameter:
Type | Parameter | Name |
---|---|---|
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) |
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 | Return old |
Name | Describe |
---|---|
do_acct_process | |
io_sq_thread | |
io_worker_handle_work | |
do_coredump |
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 |