__audit_log_capset(9)
π __audit_log_capset(9) β like, the Kernel API Manual, bestie β¨
okay so real talk, we're in section 9 of the Kernel API Manual and this page is about one tiny little function that's doing the most important behind-the-scenes work. no cap, she's a keeper π«Ά
πΈ NAME πΈ
__audit_log_capset β the function that literally stores the info about the args to the capset syscall, so the audit system can spill the tea later π
π SYNOPSIS π
void __audit_log_capset (const struct cred *new , const struct cred *old );
that's it. that's the whole vibe. two pointers, no return value, no drama β¨
π¦ ARGUMENTS π¦
newβ the new credentials. the glow-up version, the after pic πoldβ the old (current) credentials. the before pic, the "it's giving legacy" era π
β DESCRIPTION β
So basically, this function records the arguments that userspace sent to sys_capset β like, it's jotting it all down in the group chat so the audit system can print it out later if applicable. she's not the main character here, she's the bestie holding the receipts π§ and honestly? iconic behaviour.
no filtering, no judging, just recording. periodt. π
π₯ SEE ALSO π₯
Kernel file ./kernel/auditsc.c β plus literally her entire friend group:
__audit_filter_op(9)audit_filter_uring(9)audit_reset_context(9)audit_alloc(9)audit_log_uring(9)__audit_free(9)audit_return_fixup(9)__audit_uring_entry(9)__audit_uring_exit(9)__audit_syscall_entry(9)__audit_syscall_exit(9)__audit_getname(9)__audit_inode(9)__audit_inode_child(9)auditsc_get_stamp(9)__audit_mq_open(9)__audit_mq_sendrecv(9)__audit_mq_notify(9)__audit_mq_getsetattr(9)__audit_ipc_obj(9)__audit_ipc_set_perm(9)__audit_socketcall(9)__audit_fd_pair(9)__audit_sockaddr(9)audit_signal_info_syscall(9)__audit_log_bprm_fcaps(9)audit_core_dumps(9)audit_seccomp(9)
all of them. every single one. the whole squad ate, no crumbs left π
okay bestie, that's the whole page β from ./kernel π, dated October 2026, and she's serving __audit_log_capset(9) realness until the very last line. mwah πβ¨
π¦ 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