PROC_UUID_POLICY(1)

πŸ“¦ version 1042.100.6.0.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so proc_uuid_policy is literally the little tool that sets policy for a specific UUID or mach-o file with the kernel. bestie, it's giving "kernel whisperer" energy and we're obsessed πŸ’…

This page is PROC_UUID_POLICY(1) from the General Commands Manual, and yes it's a whole moment ✨


🌸 SYNOPSIS 🌸

proc_uuid_policy verb policy uuid | path

πŸ¦‹ DESCRIPTION πŸ¦‹

proc_uuid_policy sets policy for a specific UUID or mach-o file with the kernel. no cap, that's the whole vibe 🫢

The uuid may be a uuid of the form 1A213FB4-B430-333F-AC63-891678070AFE or a path to a valid mach-o executable. proc_uuid_policy will extract the LC_UUID load commands from the executable. yup, it's out here pulling UUIDs out of your binaries like it's nothing 😭✨


πŸŽ€ VERBS πŸŽ€

The verbs are as follows, and they are lowkey the main characters:

  • clear β€” clear the policy for the given UUID with PROC_UUID_POLICY_OPERATION_CLEAR.
  • add β€” add the policy for the given UUID with PROC_UUID_POLICY_OPERATION_ADD.
  • remove β€” add the policy for the given UUID with PROC_UUID_POLICY_OPERATION_REMOVE.
🫢 quick heads up: yes, the original says add in the remove description, and we are keeping it exactly as written. no fixing, no guessing, just preserving the lore πŸ’€

πŸ’œ POLICIES πŸ’œ

The policies are as follows, and they're giving very specific menu energy:

  • none β€” PROC_UUID_POLICY_FLAGS_NONE
  • no_cellular β€” PROC_UUID_NO_CELLULAR
  • necp β€” PROC_UUID_NO_CELLULAR
  • alt-dyld β€” PROC_UUID_ALT_DYLD_POLICY
  • alt-rosetta β€” PROC_UUID_ALT_ROSETTA_POLICY
πŸ’€ not necp also mapping to PROC_UUID_NO_CELLULAR β€” we are simply reporting what the page says, bestie. facts are facts πŸ”₯

🌈 SEE ALSO 🌈


and that's the whole page, periodt πŸ’… this iconic lil manual is from macOS, dated March 14, 2016, and it's been serving kernel-policy realness ever since πŸ“βœ¨ bye bestie, go set some policy πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from