lsds / sgx-lkl

SGX-LKL Library OS for running Linux applications inside of Intel SGX enclaves

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dead code in sgx-lkl-musl

davidchisnall opened this issue · comments

We have several functions that were work-arounds for missing features that are now fixed. These have complicated some of the code cleanup, as seen in #815, where we're adding code to support these hacks. We should remove them and simplify the associated code:

  • init_sysconf should be obsolete now that we're intercepting the sysconf system call.
  • init_clock_res should be obsolete now that LKL is managing the clocks.

@SeanTAllen, you've touched some code related to both of these, I think. Can you take a look once #815 has landed?

init_sysconf isn't dead code. only doing init_clock_res

PR opened #835