Home
last modified time | relevance | path

Searched refs:prepare_creds (Results 1 – 25 of 28) sorted by relevance

12

/openbmc/linux/security/apparmor/
H A Dtask.c60 new = prepare_creds(); in aa_replace_current_label()
125 new = prepare_creds(); in aa_set_current_hat()
171 new = prepare_creds(); in aa_restore_previous_label()
/openbmc/linux/kernel/
H A Dcred.c201 struct cred *prepare_creds(void) in prepare_creds() function
246 EXPORT_SYMBOL(prepare_creds);
256 new = prepare_creds(); in prepare_exec_creds()
308 new = prepare_creds(); in copy_creds()
H A Dgroups.c140 new = prepare_creds(); in set_current_groups()
H A Dsys.c388 new = prepare_creds(); in __sys_setregid()
450 new = prepare_creds(); in __sys_setgid()
545 new = prepare_creds(); in __sys_setreuid()
622 new = prepare_creds(); in __sys_setuid()
708 new = prepare_creds(); in __sys_setresuid()
808 new = prepare_creds(); in __sys_setresgid()
877 new = prepare_creds(); in __sys_setfsuid()
921 new = prepare_creds(); in __sys_setfsgid()
H A Dcapability.c251 new = prepare_creds(); in SYSCALL_DEFINE2()
H A Dnsproxy.c340 nsset->cred = prepare_creds(); in prepare_nsset()
H A Duser_namespace.c184 cred = prepare_creds(); in unshare_userns()
/openbmc/linux/fs/cachefiles/
H A Dsecurity.c86 new = prepare_creds(); in cachefiles_determine_cache_security()
/openbmc/linux/security/keys/
H A Dprocess_keys.c249 new = prepare_creds(); in install_thread_keyring()
296 new = prepare_creds(); in install_process_keyring()
361 new = prepare_creds(); in install_session_keyring()
844 new = prepare_creds(); in join_session_keyring()
H A Dkeyctl.c1153 new = prepare_creds(); in keyctl_change_reqkey_auth()
1403 new = prepare_creds(); in keyctl_set_reqkey_keyring()
/openbmc/linux/security/
H A Dcommoncap.c1243 new = prepare_creds(); in cap_prctl_drop()
1319 new = prepare_creds(); in cap_task_prctl()
1337 new = prepare_creds(); in cap_task_prctl()
1351 new = prepare_creds(); in cap_task_prctl()
1374 new = prepare_creds(); in cap_task_prctl()
/openbmc/linux/fs/nfsd/
H A Dauth.c31 new = prepare_creds(); in nfsd_setuser()
H A Dnfsfh.c221 struct cred *new = prepare_creds(); in nfsd_set_fh_dentry()
H A Dnfs4recover.c77 new = prepare_creds(); in nfs4_save_creds()
/openbmc/linux/include/linux/
H A Dcred.h153 extern struct cred *prepare_creds(void);
/openbmc/linux/security/landlock/
H A Dsyscalls.c438 new_cred = prepare_creds(); in SYSCALL_DEFINE2()
/openbmc/linux/Documentation/security/
H A Dcredentials.rst437 struct cred *prepare_creds(void);
483 ``prepare_creds()`` has been called, then the following function should be
489 ``prepare_creds()`` got and then releases the new credentials.
499 new = prepare_creds();
/openbmc/linux/fs/
H A Dcoredump.c556 cred = prepare_creds(); in do_coredump()
H A Dopen.c407 override_cred = prepare_creds(); in access_override_creds()
H A Daio.c1620 req->creds = prepare_creds(); in aio_fsync()
/openbmc/linux/drivers/crypto/ccp/
H A Dsev-dev.c189 cred = prepare_creds(); in open_file_as_root()
/openbmc/linux/fs/overlayfs/
H A Ddir.c577 override_cred = prepare_creds(); in ovl_create_or_link()
H A Dsuper.c1349 ofs->creator_cred = cred = prepare_creds(); in ovl_fill_super()
/openbmc/linux/security/smack/
H A Dsmack_lsm.c3716 new = prepare_creds(); in smack_setprocattr()
4803 new_creds = prepare_creds(); in smack_inode_copy_up()
/openbmc/linux/kernel/trace/
H A Dtrace_events_user.c1438 cred = prepare_creds(); in user_event_set_call_visible()

12