/linux-4.1.27/kernel/ |
D | cred.c | 163 put_cred(cred); in exit_creds() 169 put_cred(cred); in exit_creds() 374 put_cred(new); in copy_creds() 481 put_cred(old); in commit_creds() 482 put_cred(old); in commit_creds() 504 put_cred(new); in abort_creds() 557 put_cred(override); in revert_creds() 628 put_cred(old); in prepare_kernel_cred() 633 put_cred(new); in prepare_kernel_cred() 634 put_cred(old); in prepare_kernel_cred()
|
D | user_namespace.c | 129 put_cred(cred); in unshare_userns()
|
D | fork.c | 2025 put_cred(new_cred); in SYSCALL_DEFINE1()
|
/linux-4.1.27/fs/cachefiles/ |
D | security.c | 36 put_cred(new); in cachefiles_get_security_ID() 106 put_cred(cache->cache_cred); in cachefiles_determine_cache_security()
|
/linux-4.1.27/fs/nfsd/ |
D | auth.c | 81 put_cred(override_creds(new)); in nfsd_setuser() 82 put_cred(new); in nfsd_setuser()
|
D | nfsfh.c | 219 put_cred(override_creds(new)); in nfsd_set_fh_dentry() 220 put_cred(new); in nfsd_set_fh_dentry()
|
D | nfs4recover.c | 79 put_cred(new); in nfs4_save_creds()
|
/linux-4.1.27/fs/cifs/ |
D | cifs_spnego.c | 235 put_cred(cred); in init_cifs_spnego() 244 put_cred(spnego_cred); in exit_cifs_spnego()
|
D | cifsacl.c | 387 put_cred(cred); in init_cifs_idmap() 396 put_cred(root_cred); in exit_cifs_idmap()
|
/linux-4.1.27/net/dns_resolver/ |
D | dns_key.c | 305 put_cred(cred); in init_dns_resolver() 313 put_cred(dns_resolver_cache); in exit_dns_resolver()
|
/linux-4.1.27/security/keys/ |
D | request_key_auth.c | 118 put_cred(rka->cred); in request_key_auth_revoke() 133 put_cred(rka->cred); in request_key_auth_destroy()
|
D | process_keys.c | 727 put_cred(ctx.cred); in lookup_user_key() 738 put_cred(ctx.cred); in lookup_user_key() 832 put_cred(new); in key_change_session_keyring()
|
D | keyctl.c | 1546 put_cred(container_of(oldwork, struct cred, rcu)); in keyctl_session_to_parent() 1548 put_cred(cred); in keyctl_session_to_parent()
|
D | request_key.c | 120 put_cred(cred); in call_sbin_request_key()
|
/linux-4.1.27/security/apparmor/ |
D | domain.c | 727 put_cred(cred); in aa_change_hat() 780 put_cred(cred); in aa_change_profile() 851 put_cred(cred); in aa_change_profile()
|
D | lsm.c | 526 put_cred(cred); in apparmor_getprocattr()
|
/linux-4.1.27/fs/overlayfs/ |
D | dir.c | 429 put_cred(override_cred); in ovl_create_or_link() 685 put_cred(override_cred); in ovl_do_remove() 933 put_cred(override_cred); in ovl_rename2()
|
D | copy_up.c | 380 put_cred(override_cred); in ovl_copy_up_one()
|
D | readdir.c | 234 put_cred(override_cred); in ovl_check_whiteouts()
|
/linux-4.1.27/include/linux/ |
D | cred.h | 259 static inline void put_cred(const struct cred *_cred) in put_cred() function
|
/linux-4.1.27/fs/ |
D | file_table.c | 48 put_cred(f->f_cred); in file_free_rcu()
|
D | coredump.c | 744 put_cred(cred); in do_coredump()
|
D | open.c | 407 put_cred(override_cred); in SYSCALL_DEFINE3()
|
/linux-4.1.27/Documentation/security/ |
D | credentials.txt | 326 certain functions such as get_cred() and put_cred() operate on const pointers, 381 Once a reference has been obtained, it must be released with put_cred(), 417 This does all the RCU magic inside of it. The caller must call put_cred() on 495 The caller should _not_ call put_cred() on the new credentials afterwards. 537 (*) void put_cred(const struct cred *cred);
|
/linux-4.1.27/fs/nfs/ |
D | nfs4idmap.c | 229 put_cred(cred); in nfs_idmap_init_keyring() 238 put_cred(id_resolver_cache); in nfs_idmap_quit_keyring()
|
/linux-4.1.27/fs/proc/ |
D | array.c | 189 put_cred(cred); in task_state()
|
/linux-4.1.27/drivers/usb/core/ |
D | devio.c | 295 put_cred(as->cred); in free_async() 527 put_cred(cred); in async_completed() 958 put_cred(ps->cred); in usbdev_release()
|
/linux-4.1.27/drivers/misc/vmw_vmci/ |
D | vmci_host.c | 326 put_cred(cred); in vmci_host_do_init_context()
|
D | vmci_context.c | 483 put_cred(context->cred); in ctx_free_ctx()
|
/linux-4.1.27/net/unix/ |
D | af_unix.c | 576 put_cred(sk->sk_peer_cred); in init_peercred() 585 put_cred(sk->sk_peer_cred); in copy_peercred()
|
/linux-4.1.27/net/vmw_vsock/ |
D | af_vsock.c | 693 put_cred(vsk->owner); in vsock_sk_destruct()
|
/linux-4.1.27/net/core/ |
D | sock.c | 1442 put_cred(sk->sk_peer_cred); in __sk_free()
|