encls_failed(9)
π NAME π
okay so bestie, you're looking at encls_failed(9) from the Kernel API Manual, and its whole personality is checking if an ENCLS function failed. that's it, that's the job. no cap. β¨
πΈ SYNOPSIS πΈ
bool encls_failed (int ret );
π¦ ARGUMENTS π¦
retβ the return value of an ENCLS function call. that's the value you're feeding in for inspection, bestie. π
π₯ DESCRIPTION π₯
so here's the vibe check: encls_failed checks if an ENCLS function failed. it counts as failed when the function causes a fault that is not caused by an EPCM conflict, or when the function returns a non-zero value. literally those are the two ways this check says "yep, that failed." π
π SEE ALSO π
- Kernel file
./arch/x86/kernel/cpu/sgx/encls.h __encls_ret_N(9)__encls_N(9)
and if you wanna go deeper, those are the ones to peek at. iykyk π
mwah π β source/version: ./arch/x86/kernel/cpu/sgx; date: October 2026. that's the whole page, periodt. π«Ά
π¦ 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