Francesco Cagnin
Francesco Cagnin
After some tests, running `/bin/id` seems to require (at least): - Adding stubs for `lseek()`, `socket()` linux syscalls. - Adding Python bindings to map `/etc/shadow`, `/etc/group` to the virtual fs....
(FYI I also tried enabling the CPU features in `X86_CPUID_handler()` by setting the missing bits, but then running `/usr/bin/whoami` symbolically triggers: ``` FATAL: Error in sleigh translate(): Can not lift...
With the latest additions from the related PR emulation of `/bin/id` on my Debian machine completes successfully, although with a slightly different output than the typical (e.g. `uid=0 gid=0 groups=0`...
After some more tests, the last fixes required to properly emulate `/bin/id` are: - Handling the `fstatat(AT_FDCWD, "/", ...)` case. - Updating to latest sleigh (already done in bc6576181cfd7f62b7b1762b9c0d4f7ae6526576). -...