aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-10-03 16:56:40 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-10-03 16:56:40 -0700
commit12ed00ba01abf39e0869c02ccdde5e24a357466b (patch)
treeb0a0d83b86a7b335dd94044be0aebe306b41e4ab /arch/alpha/include
parentMerge tag 'rust-v6.1-rc1' of https://github.com/Rust-for-Linux/linux (diff)
parentbinfmt: remove taso from linux_binprm struct (diff)
downloadlinux-dev-12ed00ba01abf39e0869c02ccdde5e24a357466b.tar.xz
linux-dev-12ed00ba01abf39e0869c02ccdde5e24a357466b.zip
Merge tag 'execve-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull execve updates from Kees Cook: "This removes a.out support globally; it has been disabled for a while now. - Remove a.out implementation globally (Eric W. Biederman) - Remove unused linux_binprm::taso member (Lukas Bulwahn)" * tag 'execve-v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: binfmt: remove taso from linux_binprm struct a.out: Remove the a.out implementation
Diffstat (limited to 'arch/alpha/include')
-rw-r--r--arch/alpha/include/asm/a.out.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/alpha/include/asm/a.out.h b/arch/alpha/include/asm/a.out.h
deleted file mode 100644
index d2346b7caff1..000000000000
--- a/arch/alpha/include/asm/a.out.h
+++ /dev/null
@@ -1,16 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __ALPHA_A_OUT_H__
-#define __ALPHA_A_OUT_H__
-
-#include <uapi/asm/a.out.h>
-
-
-/* Assume that start addresses below 4G belong to a TASO application.
- Unfortunately, there is no proper bit in the exec header to check.
- Worse, we have to notice the start address before swapping to use
- /sbin/loader, which of course is _not_ a TASO application. */
-#define SET_AOUT_PERSONALITY(BFPM, EX) \
- set_personality (((BFPM->taso || EX.ah.entry < 0x100000000L \
- ? ADDR_LIMIT_32BIT : 0) | PER_OSF4))
-
-#endif /* __A_OUT_GNU_H__ */