Update copyright notices with scripts/update-copyrights
[glibc.git] / ports / sysdeps / unix / sysv / linux / aarch64 / kernel-features.h
blobc736eb9c0e4028818c420a00146272aec02a97fb
1 /* Set flags signalling availability of kernel features based on given
2 kernel version number.
4 Copyright (C) 2009-2014 Free Software Foundation, Inc.
6 This file is part of the GNU C Library.
8 The GNU C Library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Lesser General Public
10 License as published by the Free Software Foundation; either
11 version 2.1 of the License, or (at your option) any later version.
13 The GNU C Library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.
18 You should have received a copy of the GNU Lesser General Public
19 License along with the GNU C Library; if not, see
20 <http://www.gnu.org/licenses/>. */
22 #include <linux/version.h>
24 /* AArch64 support starts with 3.7.0, guaranteeing many kernel
25 features. */
27 #define __ASSUME_ACCEPT4 1
28 #define __ASSUME_DUP3 1
29 #define __ASSUME_EVENTFD2 1
30 #define __ASSUME_IN_NONBLOCK 1
31 #define __ASSUME_O_CLOEXEC 1
32 #define __ASSUME_PIPE2 1
33 #define __ASSUME_SIGNALFD4 1
34 #define __ASSUME_SOCK_CLOEXEC 1
35 #define __ASSUME_UTIMES 1
37 #include_next <kernel-features.h>