Commit 0bb8dfd
syscall/ioctl: fix compiler error
"CLONE_NEWPID" and "CLONE_NEWUSER" are not defined on old distros
(kernel 2.6.18 and glibc 2.5), so include "lapi/namespaces_constants.h"
to fix it.
Signed-off-by: Jinhui huang <[email protected]>
Acked-by: Cyril Hrubis <[email protected]>
Signed-off-by: Petr Vorel <[email protected]>1 parent cae31a3 commit 0bb8dfd
File tree
3 files changed
+3
-0
lines changed- testcases/kernel/syscalls/ioctl
3 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
0 commit comments