smk_curacc_on_task(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… smk_curacc_on_task(9) β€” Kernel API Manual πŸŽ€

okay so bestie, welcome to the Kernel API Manual, page smk_curacc_on_task(9) β€” yes the title is also the man page name, we love a self-titled icon πŸ‘‘


✨ NAME ✨

smk_curacc_on_task β€” a little helper that logs task related access for you 🫢


🌸 SYNOPSIS 🌸

int smk_curacc_on_task (struct task_struct *p , int access , const char
*caller );

literally that's the whole signature, copy it exactly, no cap ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • p β€” the task object πŸ’– like, the task in question, the main character of this call
  • access β€” the access requested πŸ‘€ whatever permission situation we're checking
  • caller β€” name of the calling function, for audit πŸ“ so the logs know who snitched, iykyk

πŸ’œ DESCRIPTION πŸ’œ

Return 0 if access is permitted πŸŽ‰ that's it, that's the whole description, and honestly? iconic. short king behavior. πŸ‘‘

bestie note: 0 means "permitted" here β€” so if you get a 0 back, slay, you're in. the page doesn't promise anything about other values, so don't go inventing them πŸ™ˆ

🌈 SEE ALSO 🌈

Kernel file ./security/smack/smack_lsm.c β€” and like, the entire extended smack family, fr fr, they're all here πŸ’€ go say hi:

like… that's the whole smack cinematic universe πŸ“ take your time, bestie, they're not going anywhere πŸ’œ


🧚 sign-off 🧚

this lil page lives in ./security/smack and it's dated October 2026, and the manual page is called smk_curacc_on_task(9) β€” mwah, go check the access, stay hydrated, and remember: 0 means permitted πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

πŸ“¦ where this page comes from