tomoyo_mkdev_perm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🫢 tomoyo_mkdev_perm(9) 🫢

okay so this is a Kernel API Manual page β€” yes, the tomoyo_mkdev_perm(9) one β€” and we're keeping every single detail, no cap. πŸ’…

🌸 NAME 🌸

tomoyo_mkdev_perm β€” Check permission for "mkblock" and "mkchar".

✨ SYNOPSIS ✨

int tomoyo_mkdev_perm (const u8 operation , const struct path *path ,
       const unsigned int mode , unsigned int dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • operation β€” Type of operation. It's either TOMOYO_TYPE_MKCHAR or TOMOYO_TYPE_MKBLOCK.
  • path β€” Pointer to struct path.
  • mode β€” Create mode.
  • dev β€” Device number.

πŸ¦‹ DESCRIPTION πŸ¦‹

Returns 0 on success, negative value otherwise. That's the whole return-value vibe, bestie. πŸ’–

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./security/tomoyo/file.c β€” plus the full icon squad:


okay bye bestie πŸ’‹ β€” source/version: ./security/tomoyo, date: October 2026, page: tomoyo_mkdev_perm(9) β€” mwah πŸ’–βœ¨

πŸ“¦ where this page comes from