Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linux/linux_misc.h
Show First 20 Lines • Show All 143 Lines • ▼ Show 20 Lines | |||||
#define LINUX_RLIMIT_RTTIME RLIM_NLIMITS + 6 | #define LINUX_RLIMIT_RTTIME RLIM_NLIMITS + 6 | ||||
#define LINUX_RLIM_INFINITY (~0UL) | #define LINUX_RLIM_INFINITY (~0UL) | ||||
/* Linux getrandom flags */ | /* Linux getrandom flags */ | ||||
#define LINUX_GRND_NONBLOCK 0x0001 | #define LINUX_GRND_NONBLOCK 0x0001 | ||||
#define LINUX_GRND_RANDOM 0x0002 | #define LINUX_GRND_RANDOM 0x0002 | ||||
int linux_common_wait(struct thread *td, int pid, int *status, | #if defined(__amd64__) && !defined(COMPAT_LINUX32) | ||||
int options, struct rusage *ru); | int linux_ptrace_status(struct thread *td, int pid, int status); | ||||
#endif | |||||
dchagin: only for amd64? | |||||
Done Inline ActionsYeah. I don't see much point in working on 32 bit ptrace; I'm not even sure if CentOS folks still distribute 32 bit strace(1) binary. trasz: Yeah. I don't see much point in working on 32 bit ptrace; I'm not even sure if CentOS folks… | |||||
Not Done Inline ActionsI mean one more #ifdef amd64 ) dchagin: I mean one more #ifdef amd64 ) | |||||
void linux_to_bsd_waitopts(int options, int *bsdopts); | void linux_to_bsd_waitopts(int options, int *bsdopts); | ||||
int linux_set_upcall_kse(struct thread *td, register_t stack); | int linux_set_upcall_kse(struct thread *td, register_t stack); | ||||
int linux_set_cloned_tls(struct thread *td, void *desc); | int linux_set_cloned_tls(struct thread *td, void *desc); | ||||
struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t); | struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t); | ||||
#endif /* _LINUX_MISC_H_ */ | #endif /* _LINUX_MISC_H_ */ |
only for amd64?