]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
syscalls table: add sh (#38338)
authorLuca Boccassi <bluca@debian.org>
Fri, 25 Jul 2025 18:23:00 +0000 (19:23 +0100)
committerGitHub <noreply@github.com>
Fri, 25 Jul 2025 18:23:00 +0000 (19:23 +0100)
1  2 
src/include/override/sys/generate-syscall.py
src/include/override/sys/meson.build

index 2a03623dbbd1ea5ed4caf3b104d4138bf590242a,e715bbb157eb8938eb37e07dfd5db23b2f3bf819..e715bbb157eb8938eb37e07dfd5db23b2f3bf819
mode 100755,100644..100755
index 194a57f278f529da9689e18e1979c21ad9605dcc,73a8c1a66bfa2c8bf905b54e6f8562cf7af2c9fe..ce551851d08d074b7ccc0e0e90d2b66e5ed591ad
@@@ -31,11 -32,13 +32,13 @@@ syscall_list_txt = files('syscall-list.
  
  syscall_lists = []
  foreach arch: arch_list
-         syscall_lists += files('syscalls-@0@.txt'.format(arch))
+         # We don't use files() here so that the 'update-syscall-tables' call
+         # above can run if arch_list is extended.
+         syscall_lists += meson.current_source_dir() / 'syscalls-@0@.txt'.format(arch)
  endforeach
  
 -generate_syscall_py = find_program('generate-syscall.py')
 -
  run_target(
          'update-syscall-header',
 -        command : [generate_syscall_py, files('syscall.h')] + syscall_lists)
 +        command : [files('generate-syscall.py'),
 +                   files('syscall.h'),
 +                   syscall_lists])