reattach_aqua(3)

πŸ“¦ version 1.3, in nixpkgs unstable

✨ reattach_aqua β€” reattach to user's per-session bootstrap namespace ✨

okay bestie, this is reattach_aqua(3) from the Library Functions Manual β€” yes, the manual name is getting its moment too, periodt. πŸ’…

🌸 NAME 🌸

reattach_aqua β€” reattach to user's per-session bootstrap namespace πŸ’–

πŸŽ€ SYNOPSIS πŸŽ€

#include <reattach.h>

int
reattach_aqua(uid_t uid);

πŸ¦‹ DESCRIPTION πŸ¦‹

So the reattach_aqua() function does one very specific little thing: it reattaches the current running process to the per-session bootstrap namespace of the user you specify. That's it. That's the whole vibe. 🫢

πŸ‘‘ RETURN VALUE πŸ‘‘

If everything goes off without a hitch, you get back a value of 0. Slay. ✨ Otherwise, you get some error code back, and it conforms to the error codes listed in errno(2). That's where errno(2) comes in, bestie. 😭


This page is from Mach, dated October 31, 2018 β€” and that's the whole reattach_aqua(3) moment, no cap. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from