smk_write_cipso2(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, this page is for smk_write_cipso2(9) from the Kernel API Manual β€” it’s the write() hook for /smack/cipso2 ✨

🌸 SYNOPSIS 🌸

ssize_t smk_write_cipso2 (struct file *file , const char __user *buf ,
       size_t count , loff_t *ppos );

πŸŽ€ ARGUMENTS πŸŽ€

  • file β€” a file pointer, but bestie it is not actually used πŸ™ˆ
  • buf β€” where to get the data from.
  • count β€” bytes sent.
  • ppos β€” where to start.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so the vibe check here is simple: it accepts only one cipso rule per write call. No cap. It returns the number of bytes written or an error code, as appropriate β€” literally that's the whole description, and it ate πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file: ./security/smack/smackfs.c β€” plus the whole linked-up squad:


okay that's the whole page, bestie πŸ’– source/version: ./security/smack, date: October 2026 β€” mwah, slay 🫢

πŸ“¦ where this page comes from