linux_misc.h (c5156c7785c3f2c2ff7bcfa0a43f013c12e84037) | linux_misc.h (d49fb289c8ff64b175b043f25142936adfd9f5d3) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2006 Roman Divacky 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 135 unchanged lines hidden (view full) --- 144#define LINUX_RLIMIT_RTTIME RLIM_NLIMITS + 6 145 146#define LINUX_RLIM_INFINITY (~0UL) 147 148/* Linux getrandom flags */ 149#define LINUX_GRND_NONBLOCK 0x0001 150#define LINUX_GRND_RANDOM 0x0002 151 | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (c) 2006 Roman Divacky 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 135 unchanged lines hidden (view full) --- 144#define LINUX_RLIMIT_RTTIME RLIM_NLIMITS + 6 145 146#define LINUX_RLIM_INFINITY (~0UL) 147 148/* Linux getrandom flags */ 149#define LINUX_GRND_NONBLOCK 0x0001 150#define LINUX_GRND_RANDOM 0x0002 151 |
152int linux_common_wait(struct thread *td, int pid, int *status, 153 int options, struct rusage *ru); | 152#if defined(__amd64__) && !defined(COMPAT_LINUX32) 153int linux_ptrace_status(struct thread *td, int pid, int status); 154#endif |
154void linux_to_bsd_waitopts(int options, int *bsdopts); 155int linux_set_upcall_kse(struct thread *td, register_t stack); 156int linux_set_cloned_tls(struct thread *td, void *desc); 157struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t); 158 159#endif /* _LINUX_MISC_H_ */ | 155void linux_to_bsd_waitopts(int options, int *bsdopts); 156int linux_set_upcall_kse(struct thread *td, register_t stack); 157int linux_set_cloned_tls(struct thread *td, void *desc); 158struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t); 159 160#endif /* _LINUX_MISC_H_ */ |