src/include/override/sys/kcmp.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 | #pragma once |
| 3 | |
| 4 | #include <linux/kcmp.h> /* IWYU pragma: export */ |
| 5 | #include <sys/types.h> |
| 6 | |
| 7 | /* Supported since kernel v3.5 (d97b46a64674a267bc41c9e16132ee2a98c3347d). */ |
| 8 | int kcmp_shim(pid_t pid1, pid_t pid2, int type, unsigned long idx1, unsigned long idx2); |
| 9 | #define kcmp kcmp_shim |