Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linux/linux_misc.h
Show First 20 Lines • Show All 147 Lines • ▼ Show 20 Lines | |||||
/* 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 | ||||
/* Linux syslog flags */ | /* Linux syslog flags */ | ||||
#define LINUX_SYSLOG_ACTION_READ_ALL 3 | #define LINUX_SYSLOG_ACTION_READ_ALL 3 | ||||
/* Linux seccomp flags */ | |||||
#define LINUX_SECCOMP_GET_ACTION_AVAIL 2 | |||||
#if defined(__aarch64__) || (defined(__amd64__) && !defined(COMPAT_LINUX32)) | #if defined(__aarch64__) || (defined(__amd64__) && !defined(COMPAT_LINUX32)) | ||||
int linux_ptrace_status(struct thread *td, int pid, int status); | int linux_ptrace_status(struct thread *td, int pid, int status); | ||||
#endif | #endif | ||||
void linux_to_bsd_waitopts(int options, int *bsdopts); | void linux_to_bsd_waitopts(int options, int *bsdopts); | ||||
struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t); | struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t); | ||||
struct syscall_info { | struct syscall_info { | ||||
uint8_t op; | uint8_t op; | ||||
Show All 21 Lines |