4 references to GetEUid
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Environment.Unix.cs (2)
27
public static string UserName => Interop.Sys.GetUserNameFromPasswd(Interop.Sys.
GetEUid
());
29
private static bool IsPrivilegedProcessCore() => Interop.Sys.
GetEUid
() == 0;
src\libraries\System.Private.CoreLib\src\System\IO\FileStatus.Unix.cs (1)
106
if (_fileCache.Uid == Interop.Sys.
GetEUid
())
src\libraries\System.Private.CoreLib\src\System\IO\PersistedFiles.Unix.cs (1)
102
int error = Interop.Sys.GetPwUidR(Interop.Sys.
GetEUid
(), out passwd, buf, bufLen);