Dmitry V. Levin
b93d52fe3d
strace is now provided under the terms of the GNU Lesser General Public License version 2.1 or later, see COPYING for more details. strace test suite is now provided under the terms of the GNU General Public License version 2 or later, see tests/COPYING for more details.
24 lines
725 B
C
24 lines
725 B
C
/*
|
|
* Copyright (c) 2017 Alexey Neyman <stilor@att.net>
|
|
* All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1-or-later
|
|
*/
|
|
|
|
/*
|
|
* This file is *PREPROCESSED*, not *COMPILED* for host and the result
|
|
* is included into ioctlsort (which is compiled for build). Since some
|
|
* of these values are used in structure initializers, they cannot be
|
|
* defined as 'const unsigned int' - instead, they have to be macros.
|
|
* Hence, the result of preprocessing will be run through sed to change
|
|
* 'DEFINE' into '#define'
|
|
*/
|
|
#include <linux/ioctl.h>
|
|
|
|
DEFINE HOST_IOC_NONE _IOC_NONE
|
|
DEFINE HOST_IOC_READ _IOC_READ
|
|
DEFINE HOST_IOC_WRITE _IOC_WRITE
|
|
|
|
DEFINE HOST_IOC_SIZESHIFT _IOC_SIZESHIFT
|
|
DEFINE HOST_IOC_DIRSHIFT _IOC_DIRSHIFT
|