reattach_aqua(3)
β¨ 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
- nixpkgs unstable: pam_reattach 1.3
- Copyright (c) 2018 Fabian Mastenbroek
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms