smack_privileged(9)
smack_privileged(9) β Kernel API Manual
okay bestie, gather round the group chat π this is a tiny kernel-API function with one very specific job, and weβre gonna understand it without any confusion. periodt.
πΈ NAME πΈ
smack_privileged β are all privilege requirements met
β¨ SYNOPSIS β¨
bool smack_privileged (int cap );
π ARGUMENTS π
capβ the requested capability. thatβs the whole argument, icon behavior only π
π DESCRIPTION π
Is the task privileged and allowed to be privileged by the onlycap rule.
Returns true if the task is allowed to be privileged, false if itβs not. no cap, thatβs literally the return vibe: yes or no β¨
π¦ SEE ALSO π¦
Kernel file ./security/smack/smack_access.c
smk_access_entry(9)smk_access(9)smk_tskacc(9)smk_curacc(9)smack_str_from_perm(9)smack_log_callback(9)smack_log(9)smk_insert_entry(9)smk_find_entry(9)smk_parse_label_len(9)smk_parse_smack(9)smk_netlbl_mls(9)smack_populate_secattr(9)smk_import_entry(9)smk_import_valid_label(9)smack_from_secid(9)smack_privileged_cred(9)
thatβs the tea from ./security/smack, dated October 2026 β ily, bye π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms