diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2015-08-16 20:37:47 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2015-08-16 20:37:47 +0000 |
commit | 909154bae9da2f627878d80a8aee355f57cecd6a (patch) | |
tree | d732eeb29ece34915a2aa5418be14eba93ca0ee0 /target/linux/ramips/dts/DIR-615-H1.dts | |
parent | cfb50ff8b4e8498cd55384480b7821936507cbb4 (diff) | |
download | master-187ad058-909154bae9da2f627878d80a8aee355f57cecd6a.tar.gz master-187ad058-909154bae9da2f627878d80a8aee355f57cecd6a.tar.bz2 master-187ad058-909154bae9da2f627878d80a8aee355f57cecd6a.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46612 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/dts/DIR-615-H1.dts')
0 files changed, 0 insertions, 0 deletions