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

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

90#define LINUX_AT_RANDOM 25 /* address of random bytes */
91#define LINUX_AT_HWCAP2 26 /* CPU capabilities, second part */
92#define LINUX_AT_EXECFN 31 /* filename of program */
93#define LINUX_AT_SYSINFO 32 /* vsyscall */
94#define LINUX_AT_SYSINFO_EHDR 33 /* vdso header */
95
96#define LINUX_AT_RANDOM_LEN 16 /* size of random bytes */
97
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

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

90#define LINUX_AT_RANDOM 25 /* address of random bytes */
91#define LINUX_AT_HWCAP2 26 /* CPU capabilities, second part */
92#define LINUX_AT_EXECFN 31 /* filename of program */
93#define LINUX_AT_SYSINFO 32 /* vsyscall */
94#define LINUX_AT_SYSINFO_EHDR 33 /* vdso header */
95
96#define LINUX_AT_RANDOM_LEN 16 /* size of random bytes */
97
98#ifndef LINUX_AT_MINSIGSTKSZ
99#define LINUX_AT_MINSIGSTKSZ 51 /* min stack size required by the kernel */
100#endif
101
98/* Linux sets the i387 to extended precision. */
99#if defined(__i386__) || defined(__amd64__)
100#define __LINUX_NPXCW__ 0x37f
101#endif
102
103/* Scheduling policies */
104#define LINUX_SCHED_OTHER 0
105#define LINUX_SCHED_FIFO 1

--- 87 unchanged lines hidden ---
102/* Linux sets the i387 to extended precision. */
103#if defined(__i386__) || defined(__amd64__)
104#define __LINUX_NPXCW__ 0x37f
105#endif
106
107/* Scheduling policies */
108#define LINUX_SCHED_OTHER 0
109#define LINUX_SCHED_FIFO 1

--- 87 unchanged lines hidden ---