void set_errno(int errno);
int get_errno(void);
void unset_errno(void);
-void set_errstr(char *errstr, ...);
+void set_errstr(const char *errstr, ...);
char *current_errstr(void);
struct errbuf *get_cur_errbuf(void);
void set_cur_errbuf(struct errbuf *ebuf);
/* Tracing functions */
void systrace_start(bool silent);
+int systrace_trace_pid(struct proc *p);
void systrace_stop(void);
int systrace_reg(bool all, struct proc *p);
int systrace_dereg(bool all, struct proc *p);