Dead code in sgx-lkl-musl
davidchisnall opened this issue · comments
David Chisnall commented
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?
Christoph M. Wintersteiger commented
See also #576
Sean T Allen commented
init_sysconf isn't dead code. only doing init_clock_res
Sean T Allen commented
PR opened #835