Vikas Amar Tikoo

Results 27 comments of Vikas Amar Tikoo

Is the socket created on the host? UDS as implemented allows IPC only between processes within Mystikos.

Thats interesting, I can't seem to find a `gettid` function in musl C library. We've had some gap with C library functions present in glibc, but not in musl in...

ltp failures in pr pipeline w/ `main` - [setuid01](https://openenclave.visualstudio.com/ACC-Services/_build/results?buildId=11316&view=logs&j=ab477ad6-9781-5b54-82ca-a0141b26726e&t=a1e294d4-8895-5a45-41ff-022cede0621b&l=19859) [pwrite03_64](https://openenclave.visualstudio.com/ACC-Services/_build/results?buildId=11321&view=logs&j=ab477ad6-9781-5b54-82ca-a0141b26726e&t=a1e294d4-8895-5a45-41ff-022cede0621b&l=14140)

We can also generate a new boot id on Mystikos bootup. We have mechanism to get random bytes, missing parts would be code to format random bytestring into an uuid.

Pseudo-fork child processes share the CRT heap with their parent. For such a child process, bad address check will fail for buffers obtained via malloc.

> We only check whether the memory is mapped (with non-zero pid) instead of the ownership of the memory. Ah I didn't realize that while changing `myst_is_bad_addr` to ownership. >...

There is a basic test in [tests/gdb](https://github.com/deislabs/mystikos/tree/main/tests/gdb), which tests setting a breakpoint in application code. Can be augmented to set breakpoints in myst runtime components.

For tracing related dotnet tests, `COMPlus_EnableDiagnostics` needs to be turned on. One of the threads keeps [reading on a pipe created via `mknod` in a loop](https://github.com/dotnet/runtime/blob/v5.0.0-rtm.20519.4/src/coreclr/src/debug/shared/dbgtransportsession.cpp#L1319). This fails currently as...