psp_dev_check_access(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ psp_dev_check_access(9) ✨

okay so bestie, this one’s from the Kernel API Manual and it’s literally the vibe check for PSP device access πŸ’…


πŸ¦‹ NAME πŸ¦‹

psp_dev_check_access β€” check if user in a given net ns can access PSP dev 🫢


🌸 SYNOPSIS 🌸

int psp_dev_check_access (struct psp_dev *psd , struct net *net , bool
       admin );

πŸ’… ARGUMENTS πŸ’…

  • psd β€” the PSP device structure the user is trying to access, no cap πŸŽ€
  • net β€” the net namespace the user is in, iykyk 🌈
  • admin β€” if true, only allow access from psd’s main device’s netns, for admin operations like config changes and key rotation. If false, also allow access from network namespaces that have an associated device with psd, for read-only and association management operations. periodt ✨

🌺 RETURN 🌺

0 if the PSP device should be visible in net, errno otherwise. slay πŸ’–


πŸ”₯ SEE ALSO πŸ”₯


byeee, this page lives under ./net/psp and it’s dated October 2026 πŸ’œπŸ¦‹

πŸ“¦ where this page comes from