aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2017-02-08 15:04:09 +0000
committerDoug Ledford <[email protected]>2017-02-08 17:28:49 +0000
commit646ebd4166ca00bdf682a36bd2e1c9a74d848ac6 (patch)
tree77ef532d2a930d80da6f5803c9604816cd8792b5 /security/selinux/hooks.c
parentIB/rxe: Fix mem_check_range integer overflow (diff)
downloadkernel-646ebd4166ca00bdf682a36bd2e1c9a74d848ac6.tar.gz
kernel-646ebd4166ca00bdf682a36bd2e1c9a74d848ac6.zip
RDMA: Don't reference kernel private header from UAPI header
Remove references to private kernel header and defines from exported ib_user_verb.h file. The code snippet below is used to reproduce the issue: #include <stdio.h> #include <rdma/ib_user_verb.h> int main(void) { printf("IB_USER_VERBS_ABI_VERSION = %d\n", IB_USER_VERBS_ABI_VERSION); return 0; } It fails during compilation phase with an error: ➜ /tmp gcc main.c main.c:2:31: fatal error: rdma/ib_user_verb.h: No such file or directory #include <rdma/ib_user_verb.h> ^ compilation terminated. Fixes: 189aba99e700 ("IB/uverbs: Extend modify_qp and support packet pacing") CC: Bodong Wang <[email protected]> CC: Matan Barak <[email protected]> CC: Christoph Hellwig <[email protected]> Tested-by: Slava Shwartsman <[email protected]> Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions