]>
Commit | Line | Data |
---|---|---|
b14e8cb2 MT |
1 | /* Set flags signalling availability of kernel features based on given |
2 | kernel version number. | |
688903eb | 3 | Copyright (C) 2010-2018 Free Software Foundation, Inc. |
b14e8cb2 MT |
4 | This file is part of the GNU C Library. |
5 | ||
6 | The GNU C Library is free software; you can redistribute it and/or | |
7 | modify it under the terms of the GNU Lesser General Public | |
8 | License as published by the Free Software Foundation; either | |
9 | version 2.1 of the License, or (at your option) any later version. | |
10 | ||
11 | The GNU C Library is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | Lesser General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU Lesser General Public | |
ab84e3ff PE |
17 | License along with the GNU C Library. If not, see |
18 | <http://www.gnu.org/licenses/>. */ | |
b14e8cb2 | 19 | |
fe7b738e RH |
20 | #ifndef _KERNEL_FEATURES_H |
21 | #define _KERNEL_FEATURES_H 1 | |
22 | ||
b14e8cb2 MT |
23 | #include_next <kernel-features.h> |
24 | ||
25 | #undef __ASSUME_ST_INO_64_BIT | |
327792ce | 26 | #define __ASSUME_ST_INO_64_BIT 0 |
b14e8cb2 | 27 | |
fe7b738e RH |
28 | /* There never has been support for fstat64. */ |
29 | #undef __ASSUME_STATFS64 | |
30 | #define __ASSUME_STATFS64 0 | |
31 | ||
8232e7d2 AZ |
32 | /* Alpha defines SysV ipc shmat syscall with a different name. */ |
33 | #define __NR_shmat __NR_osf_shmat | |
34 | ||
60f9423b | 35 | #define __ASSUME_RECV_SYSCALL 1 |
cb09a3d4 | 36 | #define __ASSUME_SEND_SYSCALL 1 |
df799d9e | 37 | |
43ffc53a AS |
38 | /* Support for the execveat syscall was added in 4.2. */ |
39 | #if __LINUX_KERNEL_VERSION < 0x040200 | |
40 | # undef __ASSUME_EXECVEAT | |
41 | #endif | |
42 | ||
fe7b738e | 43 | #endif /* _KERNEL_FEATURES_H */ |