init_selinuxmnt(3)
π init_selinuxmnt π
okay bestie, so this is a page from the SELinux API documentation β like, the init_selinuxmnt(3) situation β and it's short, sweet, and honestly kind of iconic in its minimalism. no cap. let's get into it. π¦
β¨ NAME β¨
init_selinuxmnt β literally just here to initialize the global variable selinux_mnt. that's the whole job. main character energy, one task, does it flawlessly. π
π SYNOPSIS π
static void init_selinuxmnt(void);
static void fini_selinuxmnt(void);
void set_selinuxmnt(const char *mnt);
three little functions, all vibes. πΈ
π₯ DESCRIPTION π₯
okay so, init_selinuxmnt() does the thing where it initializes the global variable selinux_mnt to the selinuxfs mountpoint. it's giving "first day of school, getting everything set up." β¨
then there's fini_selinuxmnt(), which deinitializes the global variable selinux_mnt β the one that stores the selinuxfs mountpoint. so it's the clean-up era, the closing shift, the "thanks for coming to my ted talk." π«Ά
and finally set_selinuxmnt() changes the selinuxfs mountpoint to mnt. so if you ever wanna point that thing somewhere else, this is your girl. π
ngl, no error values, no return values, no environment variables listed here β this page keeps it very tight. just the three functions, doing their three things. π
π AUTHOR π
this manual page has been written by Guido Trentalancia <guido@trentalancia.com> β shoutout to the author fr fr, we appreciate the lore. π
π SEE ALSO π
go read that one too, bestie. iykyk. β
and that's the whole page, no crumbs left. this version was dated 21 Nov 2009 and belongs to the init_selinuxmnt(3) era β a lil vintage, a lil timeless. slay. πβ¨ππ¦πΈπ
π«Ά
π¦ where this page comes from
- alpine 3.24: libselinux-doc 3.10-r1 Β· Public-Domain
- centos-stream 10: libselinux-devel 3.11-3.el10 Β· LicenseRef-Fedora-Public-Domain
- fedora 43: libselinux-devel 3.9-5.fc43 Β· LicenseRef-Fedora-Public-Domain
- fedora 43: libselinux-devel 3.9-5.fc43 Β· LicenseRef-Fedora-Public-Domain
- fedora 44: libselinux-devel 3.10-1.fc44 Β· LicenseRef-Fedora-Public-Domain
- fedora 44: libselinux-devel 3.10-1.fc44 Β· LicenseRef-Fedora-Public-Domain
- fedora 44: libselinux-devel 3.11-2.fc44 Β· LicenseRef-Fedora-Public-Domain
- fedora 44: libselinux-devel 3.11-2.fc44 Β· LicenseRef-Fedora-Public-Domain
- nixos 26.05: libselinux 3.10
- nixpkgs unstable: libselinux 3.11
- opensuse-leap 16.0: libselinux-devel 3.8.1-160000.4.1 Β· SUSE-Public-Domain
- opensuse-leap 16.0: libselinux-devel 3.8.1-160000.4.1 Β· SUSE-Public-Domain
- opensuse-leap 16.0: libselinux-devel 3.8.1-160000.4.1 Β· SUSE-Public-Domain
- opensuse-leap 16.0: libselinux-devel 3.8.1-160000.4.1 Β· SUSE-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms