Vikas Amar Tikoo

Results 19 issues of Vikas Amar Tikoo

PR #403 is disabling these two tests: /tests/basic/pthread_detach /tests/languages/nodejs These are disabled due to issues in detached pthreads support.

p0

[lkl_start_init is using getenv](https://github.com/lsds/sgx-lkl/blob/oe_port/src/lkl/setup.c#L1378-L1410) fairly early in the initialization sequence. Which is requiring an early call to `__init_libc`. According to @davidchisnall - When we parse the environment variables from the...

p1

`enclave_mremap` does not take into account the protection settings of the page being remapped - https://github.com/lsds/sgx-lkl/blob/oe_port/src/enclave/enclave_mem.c#L503. Sample program: ```C #include #define PAGE_SIZE 4096 int main(int argc, char** argv) { void*...

bug
area: sgx-lkl
p2

When trying to run the tests with SGX_MODE=HW, 3 tests fail with the following error message: ``` [info] Cause: java.lang.NoClassDefFoundError: Could not initialize class edu.berkeley.cs.rise.opaque.execution.SGXEnclave$ [info] at edu.berkeley.cs.rise.opaque.execution.SGXEnclave.(SGXEnclave.scala:22) [info] at...

This PR attempts to fix two concurrency related issues in the memory manager. #### 1. Race condition: Mystikos memory manager is a multi-tiered subsystem - syscall, mman wrapper(mmanutils.c), core mman(mman.c)....

### Add support for MAP_SHARED semantics and POSIX shared memory. This PR adds supports for two MAP_SHARED scenarios: - regular file or anonymous MAP_SHARED. - POSIX shared memory: mapping a...

do-not-merge

``` [2022-07-22T21:07:33.538Z] ________________ TestTimestampUnaryOps.test_round_sanity[ceil] _________________ [2022-07-22T21:07:33.538Z] [2022-07-22T21:07:33.538Z] self = [2022-07-22T21:07:33.538Z] method = [2022-07-22T21:07:33.538Z] [2022-07-22T21:07:33.538Z] @given(val=st.integers(iNaT + 1, lib.i8max)) [2022-07-22T21:07:33.538Z] > @pytest.mark.parametrize( [2022-07-22T21:07:33.538Z] "method", [Timestamp.round, Timestamp.floor, Timestamp.ceil] [2022-07-22T21:07:33.538Z] ) [2022-07-22T21:07:33.538Z] [2022-07-22T21:07:33.538Z]...

status/triaged
severity/moderate

`AppContext.BaseDirectory` is the directory in which the managed assembly being run is situated at. The [test relies on this property to retreive the certificate files](https://github.com/dotnet/aspnetcore/blob/v5.0.12/src/Security/Authentication/test/CertificateTests.cs#L786) required in the test. According...

status/triaged
severity/low
area/testing

Seeing a SIGSEGV failure where the rip is outside the enclave range. The error seems to happen in libz.so's `deflateResetKeep` function. ```gdb (lldb) bt * thread #10, name = 'myst',...

status/triaged
area/kernel
severity/moderate

We add /proc/[pid]/fd entries when files are opened. This flow doesn't cover the standard file descriptors: 0..2.

status/triaged
area/kernel
severity/moderate