box64 with ptrace #2438
                  
                    
                      fish4terrisa-MSDSM
                    
                  
                
                  started this conversation in
                Ideas
              
            Replies: 1 comment 1 reply
-
| 
         ptrace support is very very limited. Emulating a whole amd64 system in box64 will not be possible for multiple reason. It is desgined as a Userspace emulator only, and also designed to be build with libc / pthreads and all.All the wrapping phylosophy is part of the base design and cannot be removed. That means threads for exmple, use libpthreads facilities.  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to emulate ptrace inside box64? Currently I checked user mode linux in box64 and I'm glad to see that ptrace (PTRACE_SETOPTIONS, ${pid} , NULL, PTRACE_O_TRACESYSGOOD) is working in box64 now(previously it abort there), although the steps after it complains
now. If ptrace emulation (and things like syscall hook with it) is possible, then it'll be a great breakthough since it'll be the first step to run a whole linux amd64 system with box64.
Beta Was this translation helpful? Give feedback.
All reactions