diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2015-08-16 20:37:47 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2015-08-16 20:37:47 +0000 |
commit | cae35b268cc8db7186cf026543a3d89c2f2de028 (patch) | |
tree | d17a5a8d6a004e8d8b798073ce47b54c05ff855d /target/linux/ramips/dts/RT-G32-B1.dts | |
parent | 32c3af6a19792a805392c9dd110bbe19ac69c558 (diff) | |
download | mtk-20170518-cae35b268cc8db7186cf026543a3d89c2f2de028.zip mtk-20170518-cae35b268cc8db7186cf026543a3d89c2f2de028.tar.gz mtk-20170518-cae35b268cc8db7186cf026543a3d89c2f2de028.tar.bz2 |
procd: fix seccomp build on some architectures
fix generating syscall-names.h
Sometimes the syscall number is not defined with a number but with an
offset to an other syscall and then make_syscall_h.sh created some
broken header file.
For example the bit/syscall.h from musl for i386 has this:
#define __NR_timer_create 259
#define __NR_timer_settime (__NR_timer_create+1)
With this patch the resulting array looks like this:
[259] = "timer_create",
[(__NR_timer_create+1)] = "timer_settime",
This closes #20195.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46612
Diffstat (limited to 'target/linux/ramips/dts/RT-G32-B1.dts')
0 files changed, 0 insertions, 0 deletions