android_kernel_motorola_sm6375/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kees Cook 2e686a7319 UPSTREAM: seccomp: Use -1 marker for end of mode 1 syscall list
The terminator for the mode 1 syscalls list was a 0, but that could be
a valid syscall number (e.g. x86_64 __NR_read). By luck, __NR_read was
listed first and the loop construct would not test it, so there was no
bug. However, this is fragile. Replace the terminator with -1 instead,
and make the variable name for mode 1 syscall lists more descriptive.

Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Will Drewry <wad@chromium.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
(cherry picked from commit fe4bfff86ec54773df3db79e8112e3b0f820c799)
Signed-off-by: Jeff Vander Stoep <jeffv@google.com>
Bug: 176068146
Change-Id: I3d91bf57236f2c20d71f22fa9c0ef7b0b8869bcf
2026-05-07 10:17:17 -04:00
..
alpha BACKPORT: epoll: wire up syscall epoll_pwait2 2025-12-22 07:42:50 +02:00
arc Merge branch 'android11-5.4-lts' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina 2025-12-11 01:41:51 -08:00
arm Merge tag 'LA.UM.9.14.1.r1-21100-QCM6490.QISI15.0' of https://git.codelinaro.org/clo/la/kernel/msm-5.4 into android13-5.4-lahaina 2026-04-30 20:46:30 +03:00
arm64 ANDROID: GKI: Request enable some kernel configs for background speed limit function 2026-05-05 20:02:22 +03:00
c6x
csky BACKPORT: maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofault 2026-01-14 18:13:21 -08:00
h8300
hexagon UPSTREAM: mm: allow VM_FAULT_RETRY for multiple times 2025-05-18 08:08:42 +00:00
ia64 BACKPORT: maccess: rename probe_kernel_address to get_kernel_nofault 2026-01-14 18:13:21 -08:00
m68k Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
microblaze BACKPORT: epoll: wire up syscall epoll_pwait2 2025-12-22 07:42:50 +02:00
mips UPSTREAM: seccomp: Use -1 marker for end of mode 1 syscall list 2026-05-07 10:17:17 -04:00
nds32 BACKPORT: maccess: rename probe_kernel_{read,write} to copy_{from,to}_kernel_nofault 2026-01-14 18:13:21 -08:00
nios2 Merge tag 'ASB-2025-08-05_11-5.4' of https://android.googlesource.com/kernel/common into android13-5.4-lahaina 2025-09-01 13:17:46 +03:00
openrisc UPSTREAM: mm: allow VM_FAULT_RETRY for multiple times 2025-05-18 08:08:42 +00:00
parisc Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
powerpc Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
riscv BACKPORT: kbuild: check CONFIG_AS_IS_LLVM instead of LLVM_IAS 2026-05-05 20:02:23 +03:00
s390 Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
sh BACKPORT: maccess: rename probe_kernel_address to get_kernel_nofault 2026-01-14 18:13:21 -08:00
sparc Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
um Merge android11-5.4.302(91d385eb) into msm-5.4 2026-01-30 11:41:11 +05:30
unicore32 UPSTREAM: mm: allow VM_FAULT_RETRY for multiple times 2025-05-18 08:08:42 +00:00
x86 ANDROID: GKI: Request enable some kernel configs for background speed limit function 2026-05-05 20:02:22 +03:00
xtensa BACKPORT: epoll: wire up syscall epoll_pwait2 2025-12-22 07:42:50 +02:00
.gitignore
Kconfig BACKPORT: mm: speedup mremap on 1GB or larger regions 2025-02-20 04:17:48 +02:00