mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-05 02:38:31 +00:00
Fix bugs with recent change
This change makes further effort towards improving our poll() implementation on the New Technology. The stdin worker didn't work out so well for Python so it's not being used for now. System call tracing with the --strace flag should now be less noisy now on Windows unless you modify the strace.internal.h defines to turn on some optional ones that are most useful for debugging the system call wrappers.
This commit is contained in:
parent
933411ba99
commit
dc0ea6640e
127 changed files with 1354 additions and 866 deletions
|
@ -43,6 +43,7 @@ extern const long PTRACE_O_TRACECLONE;
|
|||
extern const long PTRACE_O_TRACEEXEC;
|
||||
extern const long PTRACE_O_TRACEVFORKDONE;
|
||||
extern const long PTRACE_O_TRACEEXIT;
|
||||
extern const long PTRACE_O_TRACESECCOMP;
|
||||
extern const long PTRACE_O_MASK;
|
||||
extern const long PTRACE_EVENT_FORK;
|
||||
extern const long PTRACE_EVENT_VFORK;
|
||||
|
@ -50,6 +51,8 @@ extern const long PTRACE_EVENT_CLONE;
|
|||
extern const long PTRACE_EVENT_EXEC;
|
||||
extern const long PTRACE_EVENT_VFORK_DONE;
|
||||
extern const long PTRACE_EVENT_EXIT;
|
||||
extern const long PTRACE_EVENT_STOP;
|
||||
extern const long PTRACE_EVENT_SECCOMP;
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
|
@ -93,6 +96,7 @@ COSMOPOLITAN_C_END_
|
|||
#define PTRACE_O_TRACEEXEC SYMBOLIC(PTRACE_O_TRACEEXEC)
|
||||
#define PTRACE_O_TRACEVFORKDONE SYMBOLIC(PTRACE_O_TRACEVFORKDONE)
|
||||
#define PTRACE_O_TRACEEXIT SYMBOLIC(PTRACE_O_TRACEEXIT)
|
||||
#define PTRACE_O_TRACESECCOMP SYMBOLIC(PTRACE_O_TRACESECCOMP)
|
||||
#define PTRACE_O_MASK SYMBOLIC(PTRACE_O_MASK)
|
||||
#define PTRACE_EVENT_FORK SYMBOLIC(PTRACE_EVENT_FORK)
|
||||
#define PTRACE_EVENT_VFORK SYMBOLIC(PTRACE_EVENT_VFORK)
|
||||
|
@ -100,5 +104,7 @@ COSMOPOLITAN_C_END_
|
|||
#define PTRACE_EVENT_EXEC SYMBOLIC(PTRACE_EVENT_EXEC)
|
||||
#define PTRACE_EVENT_VFORK_DONE SYMBOLIC(PTRACE_EVENT_VFORK_DONE)
|
||||
#define PTRACE_EVENT_EXIT SYMBOLIC(PTRACE_EVENT_EXIT)
|
||||
#define PTRACE_EVENT_STOP SYMBOLIC(PTRACE_EVENT_STOP)
|
||||
#define PTRACE_EVENT_SECCOMP SYMBOLIC(PTRACE_EVENT_SECCOMP)
|
||||
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_PTRACE_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue