Andrew LeFevre

Results 41 issues of Andrew LeFevre

Ported getseuserbyname (https://github.com/SELinuxProject/selinux/blob/main/libselinux/src/seusers.c#L188) to Go, and added `failsafe_context` parsing to `GetDefaultContextWithLevel` as that's what libselinux's get_default_context_with_level does (https://github.com/SELinuxProject/selinux/blob/main/libselinux/src/get_context_list.c#L488). `getseuserbyname` reads the`seusers` file (https://www.man7.org/linux/man-pages/man5/seusers.5.html) to find the SELinux user and the...