auditsc_get_stamp(9)
β¨ auditsc_get_stamp(9) β¨
okay so bestie, this one's a function from the Kernel API Manual and honestly? it's short but it matters. it's called auditsc_get_stamp, and it does exactly one iconic little job: grabbing you local copies of audit_context values. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
int auditsc_get_stamp (struct audit_context *ctx , struct audit_stamp
*stamp );
like, look at her. two pointers, one int return, no drama. β¨
π ARGUMENTS π
ctxβ theaudit_contextfor the task. this is the context you're pulling from, the main character of the operation ngl.stampβ the timestamp to record. this is where the good stuff lands, bestie. π«Ά
π DESCRIPTION π
so here's the whole deal: it gets you local copies of audit_context values β hence the name, iykyk β and also sets the context as auditable. yes, that's a side effect, and yes, it's part of the job description. lowkey multitasking queen behavior. π
like, it's not just reading values into stamp, it's also flagging that context as auditable on the way. two things at once, no cap. π₯
π¦ SEE ALSO π¦
all the siblings and cousins in the family, straight from the kernel file ./kernel/auditsc.c:
__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)__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_log_capset(9)audit_core_dumps(9)audit_seccomp(9)
π real talk: this page is short enough that you could read it in a group chat between classes. don't sleep on it just because it's small β it's doing real audit work out here.
that's the whole page, bestie! π this one came out of the ./kernel source tree, part of the Kernel API Manual, dated October 2026, and it's filed under auditsc_get_stamp(9). go forth and stamp responsibly πβ¨
π¦ 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