/linux/kernel/ |
H A D | cred.c | 133 put_cred(real_cred); in exit_creds() 134 put_cred(cred); in exit_creds() 349 put_cred(new); in copy_creds() 475 put_cred(new); in abort_creds() 525 put_cred(override); in revert_creds() 670 put_cred(old); in prepare_kernel_cred() 674 put_cred(new); in prepare_kernel_cred() 675 put_cred(old); in prepare_kernel_cred()
|
H A D | nsproxy.c | 320 put_cred(nsset_cred(nsset)); in put_nsset()
|
/linux/fs/cachefiles/ |
H A D | security.c | 32 put_cred(new); in cachefiles_get_security_ID() 102 put_cred(cache->cache_cred); in cachefiles_determine_cache_security()
|
H A D | cache.c | 171 put_cred(cache->cache_cred); in cachefiles_add_cache()
|
/linux/fs/nfsd/ |
H A D | auth.c | 82 put_cred(override_creds(new)); in nfsd_setuser() 83 put_cred(new); in nfsd_setuser()
|
H A D | nfsfh.c | 229 put_cred(override_creds(new)); in nfsd_set_fh_dentry() 230 put_cred(new); in nfsd_set_fh_dentry()
|
/linux/fs/smb/client/ |
H A D | cifs_spnego.c | 225 put_cred(cred); in init_cifs_spnego() 234 put_cred(spnego_cred); in exit_cifs_spnego()
|
/linux/net/dns_resolver/ |
H A D | dns_key.c | 378 put_cred(cred); in init_dns_resolver() 386 put_cred(dns_resolver_cache); in exit_dns_resolver()
|
/linux/fs/nfs/ |
H A D | unlink.c | 34 put_cred(data->cred); in nfs_free_unlinkdata() 207 put_cred(data->cred); in nfs_async_unlink() 311 put_cred(data->cred); in nfs_async_rename_release()
|
H A D | nfs4renewd.c | 93 put_cred(cred); in nfs4_renew_state()
|
H A D | nfs4state.c | 538 put_cred(sp->so_cred); in nfs4_free_state_owner() 1869 put_cred(cred); in nfs4_state_end_reclaim_reboot() 1993 put_cred(cred); in nfs4_check_lease() 2068 put_cred(cred); in nfs4_establish_lease() 2222 put_cred(cred); in nfs4_handle_migration() 2228 put_cred(cred); in nfs4_handle_migration() 2275 put_cred(cred); in nfs4_handle_lease_moved() 2314 put_cred(cred); in nfs4_discover_server_trunking() 2542 put_cred(cred); in nfs4_reset_session() 2558 put_cred(cred); in nfs4_bind_conn_to_session()
|
H A D | delegation.c | 35 put_cred(delegation->cred); in __nfs_free_delegation() 248 put_cred(oldcred); in nfs_inode_reclaim_delegation() 269 put_cred(cred); in nfs_do_return_delegation() 391 put_cred(old); in nfs_update_delegation_cred() 1319 put_cred(cred); in nfs_server_reap_expired_delegations()
|
H A D | nfs4idmap.c | 239 put_cred(cred); in nfs_idmap_init() 248 put_cred(id_resolver_cache); in nfs_idmap_quit()
|
/linux/security/keys/ |
H A D | process_keys.c | 810 put_cred(ctx.cred); in lookup_user_key() 821 put_cred(ctx.cred); in lookup_user_key() 917 put_cred(new); in key_change_session_keyring() 924 put_cred(new); in key_change_session_keyring()
|
H A D | request_key_auth.c | 113 put_cred(rka->cred); in free_request_key_auth()
|
/linux/fs/fuse/ |
H A D | passthrough.c | 156 put_cred(fb->cred); in fuse_backing_free() 353 put_cred(ff->cred); in fuse_passthrough_release()
|
/linux/fs/ |
H A D | file_table.c | 68 put_cred(f->f_cred); in file_free() 154 put_cred(f->f_cred); in init_file()
|
/linux/net/sunrpc/ |
H A D | auth_unix.c | 66 put_cred(rpc_cred->cr_cred); in unx_free_cred_callback()
|
/linux/io_uring/ |
H A D | register.c | 135 put_cred(creds); in io_unregister_personality() 154 put_cred(creds); in io_register_personality()
|
/linux/include/linux/ |
H A D | cred.h | 278 static inline void put_cred(const struct cred *cred) in put_cred() function
|
/linux/Documentation/security/ |
H A D | credentials.rst | 299 certain functions such as ``get_cred()`` and ``put_cred()`` operate on const 353 Once a reference has been obtained, it must be released with ``put_cred()``, 389 This does all the RCU magic inside of it. The caller must call put_cred() on 476 The caller should _not_ call ``put_cred()`` on the new credentials afterwards. 519 - ``void put_cred(const struct cred *cred);``
|
/linux/security/apparmor/ |
H A D | domain.c | 70 put_cred(tracer_cred); in may_change_ptraced_domain() 1272 put_cred(subj_cred); in aa_change_hat() 1518 put_cred(subj_cred); in aa_change_profile()
|
H A D | lsm.c | 137 put_cred(cred); in apparmor_ptrace_access_check() 153 put_cred(cred); in apparmor_ptrace_traceme() 843 put_cred(cred); in apparmor_getprocattr() 1034 put_cred(tc); in apparmor_task_kill()
|
/linux/fs/overlayfs/ |
H A D | dir.c | 571 put_cred(override_cred); in ovl_setup_cred_for_create() 574 put_cred(override_creds(override_cred)); in ovl_setup_cred_for_create() 575 put_cred(override_cred); in ovl_setup_cred_for_create()
|
/linux/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.c | 245 put_cred(cred); in ff_layout_free_mirror() 247 put_cred(cred); in ff_layout_free_mirror() 1810 put_cred(ds_cred); in ff_layout_read_pagelist() 1878 put_cred(ds_cred); in ff_layout_write_pagelist() 1953 put_cred(ds_cred); in ff_layout_initiate_commit()
|