linux_misc.h (be1e4a0bdf45da4bbdce996d2146eba3e32b3766) linux_misc.h (b7df7b987e8fac05006aa5f132c424e2b2bcf156)
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

--- 143 unchanged lines hidden (view full) ---

152#define LINUX_GRND_RANDOM 0x0002
153
154/* Linux syslog flags */
155#define LINUX_SYSLOG_ACTION_READ_ALL 3
156
157/* Linux seccomp flags */
158#define LINUX_SECCOMP_GET_ACTION_AVAIL 2
159
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

--- 143 unchanged lines hidden (view full) ---

152#define LINUX_GRND_RANDOM 0x0002
153
154/* Linux syslog flags */
155#define LINUX_SYSLOG_ACTION_READ_ALL 3
156
157/* Linux seccomp flags */
158#define LINUX_SECCOMP_GET_ACTION_AVAIL 2
159
160/* Linux /proc/self/oom_score_adj */
161#define LINUX_OOM_SCORE_ADJ_MIN -1000
162#define LINUX_OOM_SCORE_ADJ_MAX 1000
163
160#if defined(__aarch64__) || (defined(__amd64__) && !defined(COMPAT_LINUX32))
161int linux_ptrace_status(struct thread *td, int pid, int status);
162#endif
163void linux_to_bsd_waitopts(int options, int *bsdopts);
164struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t);
165
166struct syscall_info {
167 uint8_t op;

--- 21 unchanged lines hidden ---
164#if defined(__aarch64__) || (defined(__amd64__) && !defined(COMPAT_LINUX32))
165int linux_ptrace_status(struct thread *td, int pid, int status);
166#endif
167void linux_to_bsd_waitopts(int options, int *bsdopts);
168struct thread *linux_tdfind(struct thread *, lwpid_t, pid_t);
169
170struct syscall_info {
171 uint8_t op;

--- 21 unchanged lines hidden ---