Li Xun

Results 18 comments of Li Xun

The "std::system_error" error is caused by unsupported sendto flag. strace result: ``` [pid 3841816] sendto(10, "\1\0\0\0\0\0\0\0", 8, MSG_NOSIGNAL|MSG_MORE, NULL, 0 [pid 3841816] ) = 8 ``` gramine-direct result: ``` [P3:T10:python3.8]...

Met same Pytorch issue again in other cases. https://github.com/pytorch/pytorch/blob/master/torch/csrc/distributed/c10d/Utils.hpp#L552 Pytouch add `MSG_MORE` to `sendto` flag. Gramine should ignore this flag instead of reporting error if it won't be supported.

Can `ioctl` also support and passthrough TYPE_SOCK fd? When Java code wants to retrieve IP addr or MAC, it uses syscall `ioctl(sockfd, SIOCGIFCONF, &ifc)` and `ioctl(sockfd, SIOCGIFHWADDR, &ifreq)`. Using Current...

@dimakuv I'm debugging same issue during these days. In my case, I run `org.apache.spark.examples.SparkPi` from spark-3.1.2-bin-hadoop2.7. It fails randomly **every time** at very early stage. I tried both `jdk1.8.0_192` and...

> The real problem is that FD_CLOEXEC is set in handles map only on fd creation and is never updated. We should always consult handle->flags (and remove this info from...

@boryspoplawski In this issue I focus on POSIX shared memory API, instead of general shared memory. I'm trying to enable a scheme that > Application in LibOS notify untrusted shared...

I'll focus on only `3. POSIX-shared-memory-object-backed mmap` according @dimakuv 's comments. Only one `passthrough` mode that shared memory is created in untrusted memory, but is invisible by another Gramine or...

Got it . Only one passthrough mode that emulate POSIX shared memory of native app.

Updated design, added Pal interface change and pseudo code.

@dimakuv Thanks for the comments. It's clear enough for implementation now. I'll update this RFC while implement it in case I miss something.