smk_tskacc_msq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… smk_tskacc_msq(9) β€” Kernel API Manual, bestie edition πŸ’…

okay so welcome to the Kernel API Manual page for smk_tskacc_msq(9), bestie. This is the helper that checks whether a task can access a msg queue, and it's short β€” like, refreshingly short. No cap.


✨ NAME ✨

smk_tskacc_msq β€” helper to check if tsk has access on msq πŸ’–

🌸 SYNOPSIS 🌸

the whole signature is literally this:

int smk_tskacc_msq (struct task_struct *tsk , struct kern_ipc_perm *isp
, int access );

πŸŽ€ ARGUMENTS πŸŽ€

  • tsk β€” the task that requests access 🫢
  • isp β€” the sysv msg queue permissions 😌
  • access β€” access requested ✨

πŸ’– DESCRIPTION πŸ’–

okay so the description is short and sweet: return 0 if tsk has access, error otherwise. That's the whole vibe check. If tsk has access, you get 0; if not, you get an error. periodt. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

the Kernel file is ./security/smack/smack_lsm.c β€” that's where this lives. The rest of the SEE ALSO roster is a full-on group chat, and every single one of these is part of it:


okay so the source/version slot is ./security/smack, the date is October 2026, and the manual name is smk_tskacc_msq(9) β€” mwah, that's the whole page bestie πŸ’–

πŸ“¦ where this page comes from