tomoyo_path2_perm(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to tomoyo_path2_perm(9) from the Kernel API Manual ✨. This is the permission check for "rename", "link", and "pivot_root" β€” yes, exactly those three, periodt πŸ’….

✨ SYNOPSIS ✨

       int tomoyo_path2_perm (const u8 operation , const struct path *path1 ,
       const struct path *path2 );

πŸŽ€ ARGUMENTS πŸŽ€

  • operation β€” type of operation. like, which op are we even checking, bestie? πŸ’–
  • path1 β€” pointer to struct path. πŸ›€οΈ
  • path2 β€” pointer to struct path. πŸ›€οΈ

πŸ¦‹ DESCRIPTION πŸ¦‹

Returns 0 on success, negative value otherwise. That's the whole return-value tea β˜•: 0 means success, negative means otherwise 😭. No extra lore, no hidden vibes.

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./security/tomoyo/file.c is where the whole crew hangs out, and here's the full friend list β€” no one left out, iykyk πŸ‘€:


mwah πŸ’‹ β€” sourced from ./security/tomoyo, dated October 2026, and this iconic page is tomoyo_path2_perm(9). byeee 🫢

πŸ“¦ where this page comes from