__put_cred(9)
π NAME π
__put_cred β Destroy a set of credentials
heyyy bestie, welcome to the __put_cred page from the Kernel API Manual π
this one is short, sweet, and kinda giving cleanup-era main character energy β¨
β¨ SYNOPSIS β¨
void __put_cred (struct cred *cred );
π ARGUMENTS π
credβ the record to release π«Ά
π DESCRIPTION π
Okay so the whole job is literally this: destroy a set of credentials on which no references remain π
The no references remain part is the vibe check, bestie β do not gloss over it π thatβs the whole point of this function, no cap.
π¦ SEE ALSO π¦
- Kernel file
./kernel/cred.cπ get_task_cred(9)prepare_creds(9)commit_creds(9)abort_creds(9)cred_fscmp(9)prepare_kernel_cred(9)set_security_override(9)set_create_files_as(9)
xoxo, your kernel bestie π β source/version: ./kernel; date stamp: October 2026 πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms