3 ms·
> One of the issues that came to mind is how limited and overloaded the Linux error codes are, and EPERM might be one of the worst offenders. Funnily enough, E
by cyphar 7y ago
> One of the issues that came to mind is how limited and overloaded the Linux error codes are, and EPERM might be one of the worst offenders.
Funnily enough, EPERM is awful for another reason -- the vast majority of EPERM returns for kernel APIs should really be EACCES. The problem is that EPERM reads as though it means "Permission denied" when in reality it means "Operation not permitted".