diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2015-08-17 18:59:00 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2015-08-17 18:59:00 +0000 |
commit | af42a09bc45c7909cb0cd6a8d42e42a6fa5d1aa3 (patch) | |
tree | d13b4739c41d4db8b57d7def164432633b405f93 /target/linux/generic/patches-3.18 | |
parent | 3a81a973eb6ffe49768df5db4196f6da1419a0b4 (diff) | |
download | upstream-af42a09bc45c7909cb0cd6a8d42e42a6fa5d1aa3.tar.gz upstream-af42a09bc45c7909cb0cd6a8d42e42a6fa5d1aa3.tar.bz2 upstream-af42a09bc45c7909cb0cd6a8d42e42a6fa5d1aa3.zip |
procd: fix seccomp build on some architectures
Backport of r46612.
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/branches/chaos_calmer@46679 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-3.18')
0 files changed, 0 insertions, 0 deletions