therealkenc

Results 43 comments of therealkenc

WSL doesn't have `/proc/self/loginuid` as mentioned above, but also doesn't have `/var/run/utmp`, to which [`getlogin_r(3)`](http://man7.org/linux/man-pages/man3/getlogin.3.html) will fall back in the absence of the former. This is all part-in-parcel of #352...

> The thing is, it returns \0 for debug "-O0" builds and some garbage value for others. The contents of the buffer passed doesn't matter (initialized or otherwise). As was...

Rider that really what is needed is a static MAC address, on which a static IP can follow as a _side effect_ if desired. Ref #4454, use case being that...

Someone was looking at a `$WSL_HOST_IP` approach in July ref #4212 ([message](https://github.com/microsoft/WSL/issues/4212#issuecomment-507772373)) although the repo appears empty now. You can get the WSL2 instance IP address easy enough: ``` C:>wsl.exe...

Screencap `speedtest-cli` as a starting point. ``` $ sudo apt install speedtest-cli $ speedtest-cli [...] ``` ![image](https://user-images.githubusercontent.com/7049700/74611894-0e73e380-50b5-11ea-8a68-7ca7e04d571a.png)

Please post the output of: ``` $ cat /proc/version $ cmd.exe /c ver ``` > I have noticed when working within Can you detail the repro for "working within". That...

The error caused by a `getcwd(2)` failing, and some userspace program running inside WSL outputting an error as a result. Catching that fail in an `strace(1)` log may tell us...

@dorny can you also do: ``` $ powershell.exe "Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntivirusProduct" ```

Thanks for the output. A like (thumbs up) on the OP is a good idea.

Yes, #4064 is most unfortunately titled. Worse, the OP has no repro steps and an unecessary symlink confusing the direction they are talking about. Craig's `notepad.exe` [repro](https://github.com/microsoft/WSL/issues/4064#issuecomment-499960521) with `cat` isn't...