revert_arch_consolidate_all_of_the_multiplexed_syscall_handling
authorKees Cook <kees@debian.org>
Sun, 3 Oct 2021 21:26:59 +0000 (22:26 +0100)
committerFelix Geyer <fgeyer@debian.org>
Sun, 3 Oct 2021 21:26:59 +0000 (22:26 +0100)
commit5eb336007f43aa6536692acb4fff322620231dde
treecf23d2e38a05a53114894089874b105ff271406e
parenta0e7b68480b427d5dd91aea19d965d3439598f3e
revert_arch_consolidate_all_of_the_multiplexed_syscall_handling

REVERTS

From f454456e261930d94b3a1a444b6bac75c11c3cb0 Mon Sep 17 00:00:00 2001
From: Paul Moore <paul@paul-moore.com>
Date: Wed, 4 Aug 2021 11:51:12 -0400
Subject: [PATCH] arch: consolidate all of the multiplexed syscall handling

Not only does this reduce the amount of duplicated code
significantly, it removes a lot of the "magic" numbers in the
code, and it happened to catch some bugs too.

Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
(imported from commit 17cbd2c253ce63e5e9e3cec867ff58efbe8b5fdc)

Gbp-Pq: Name revert_arch_consolidate_all_of_the_multiplexed_syscall_handling.patch
19 files changed:
src/arch-aarch64.c
src/arch-arm.c
src/arch-mips.c
src/arch-mips64.c
src/arch-mips64n32.c
src/arch-parisc.c
src/arch-parisc64.c
src/arch-ppc.c
src/arch-ppc64.c
src/arch-riscv64.c
src/arch-s390.c
src/arch-s390x.c
src/arch-x32.c
src/arch-x86.c
src/arch-x86_64.c
src/arch.c
src/arch.h
src/syscalls.c
src/syscalls.h