/linux/Documentation/translations/zh_CN/security/ |
H A D | credentials.rst | 253 struct file也是如此。此外,某些函数如 ``get_cred()`` 和 ``put_cred()`` 在 337 ``__task_cred()`` 的结果不应直接传递给 ``get_cred()`` , 447 - ``const struct cred *get_cred(const struct cred *cred);``
|
/linux/rust/helpers/ |
H A D | cred.c | 7 return get_cred(cred); in rust_helper_get_cred()
|
/linux/rust/kernel/ |
H A D | cred.rs | 27 /// Instances of this type are always ref-counted, that is, a call to `get_cred` ensures that the 81 unsafe { bindings::get_cred(self.0.get()) }; in inc_ref()
|
/linux/security/keys/ |
H A D | request_key_auth.c | 199 rka->cred = get_cred(irka->cred); in request_key_auth_new() 206 rka->cred = get_cred(cred); in request_key_auth_new()
|
/linux/fs/nfsd/ |
H A D | auth.c | 30 put_cred(revert_creds(get_cred(current_real_cred()))); in nfsd_setuser()
|
/linux/security/apparmor/ |
H A D | capability.c | 104 ent->ad_subj_cred = get_cred(ad->subj_cred); in audit_caps()
|
/linux/fs/nfs/ |
H A D | delegation.c | 261 delegation->cred = get_cred(cred); in nfs_inode_reclaim_delegation() 288 cred = get_cred(delegation->cred); in nfs_do_return_delegation() 419 old = xchg(&delegation->cred, get_cred(cred)); in nfs_update_delegation_cred() 474 delegation->cred = get_cred(cred); in nfs_inode_set_delegation() 1559 *cred = get_cred(delegation->cred); in nfs4_copy_delegation_stateid()
|
H A D | nfs4client.c | 1196 server->cred = get_cred(fc->cred); in nfs4_create_server() 1244 server->cred = get_cred(parent_server->cred); in nfs4_create_referral_server()
|
H A D | pnfs.c | 1054 old = xchg(&lo->plh_lc_cred, get_cred(cred)); in pnfs_set_layout_cred() 1314 *cred = get_cred(lo->plh_lc_cred); in pnfs_prepare_layoutreturn() 1527 cred = get_cred(lo->plh_lc_cred); in pnfs_layout_return_on_reboot() 1867 lo->plh_lc_cred = get_cred(ctx->cred); in alloc_init_layout_hdr() 3371 data->cred = get_cred(nfsi->layout->plh_lc_cred); in pnfs_layoutcommit_inode()
|
H A D | client.c | 1120 server->cred = get_cred(fc->cred); in nfs_create_server() 1189 server->cred = get_cred(source->cred); in nfs_clone_server()
|
H A D | nfs4state.c | 196 return get_cred(rpc_machine_cred()); in nfs4_get_machine_cred() 220 cred = get_cred(sp->so_cred); in nfs4_get_renew_cred_server_locked() 506 sp->so_cred = get_cred(cred); in nfs4_alloc_state_owner()
|
/linux/kernel/ |
H A D | cred.c | 344 p->cred = p->real_cred = get_cred(new); in copy_creds() 403 get_cred(new); /* we will require a ref for the subj creds too */ in commit_creds()
|
H A D | ptrace.c | 75 child->ptracer_cred = get_cred(ptracer_cred); in __ptrace_link()
|
/linux/fs/nfs/flexfilelayout/ |
H A D | flexfilelayoutdev.c | 436 cred = get_cred(mdscred); in ff_layout_get_ds_cred() 438 cred = get_cred(mdscred); in ff_layout_get_ds_cred()
|
/linux/fs/fuse/ |
H A D | passthrough.c | 338 ff->cred = get_cred(fb->cred); in fuse_passthrough_open()
|
/linux/fs/ |
H A D | file_table.c | 158 f->f_cred = get_cred(cred); in init_file()
|
H A D | fs_context.c | 409 get_cred(fc->cred); in vfs_dup_fs_context()
|
/linux/Documentation/security/ |
H A D | credentials.rst | 299 certain functions such as ``get_cred()`` and ``put_cred()`` operate on const 394 ``get_cred()`` as this may race with ``commit_cred()``. 525 - ``const struct cred *get_cred(const struct cred *cred);``
|
/linux/net/sunrpc/ |
H A D | svc_xprt.c | 277 newxprt->xpt_cred = get_cred(cred); in _svc_xprt_create() 785 newxpt->xpt_cred = get_cred(xprt->xpt_cred); in svc_handle_xprt()
|
H A D | clnt.c | 387 clnt->cl_cred = get_cred(args->cred); in rpc_new_client() 1204 get_cred(task->tk_msg.rpc_cred); in rpc_task_set_rpc_message()
|
H A D | svcsock.c | 1503 svsk->sk_xprt.xpt_cred = get_cred(cred); in svc_addsock()
|
/linux/fs/lockd/ |
H A D | host.c | 165 host->h_cred = get_cred(ni->cred); in nlm_alloc_host()
|
/linux/net/bluetooth/ |
H A D | af_bluetooth.c | 237 sk->sk_peer_cred = get_cred(parent->sk_peer_cred); in bt_accept_enqueue()
|
/linux/drivers/misc/vmw_vmci/ |
H A D | vmci_context.c | 149 context->cred = get_cred(cred); in vmci_ctx_create()
|
/linux/net/vmw_vsock/ |
H A D | af_vsock.c | 824 vsk->owner = get_cred(psk->owner); in __vsock_create()
|