Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
e72837e3
K
Kernel
项目概览
openeuler
/
Kernel
大约 1 年 前同步成功
通知
5
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e72837e3
编写于
2月 17, 2013
作者:
A
Al Viro
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
default SET_PERSONALITY() in linux/elf.h
Signed-off-by:
N
Al Viro
<
viro@zeniv.linux.org.uk
>
上级
79f9f99a
变更
17
显示空白变更内容
内联
并排
Showing
17 changed file
with
5 addition
and
54 deletion
+5
-54
arch/avr32/include/asm/elf.h
arch/avr32/include/asm/elf.h
+0
-3
arch/blackfin/include/asm/elf.h
arch/blackfin/include/asm/elf.h
+0
-3
arch/c6x/include/asm/elf.h
arch/c6x/include/asm/elf.h
+0
-3
arch/cris/include/asm/elf.h
arch/cris/include/asm/elf.h
+0
-3
arch/frv/include/asm/elf.h
arch/frv/include/asm/elf.h
+0
-3
arch/h8300/include/asm/elf.h
arch/h8300/include/asm/elf.h
+0
-3
arch/hexagon/include/asm/elf.h
arch/hexagon/include/asm/elf.h
+0
-5
arch/ia64/include/asm/elf.h
arch/ia64/include/asm/elf.h
+0
-3
arch/m32r/include/asm/elf.h
arch/m32r/include/asm/elf.h
+0
-3
arch/m68k/include/asm/elf.h
arch/m68k/include/asm/elf.h
+0
-3
arch/mn10300/include/asm/elf.h
arch/mn10300/include/asm/elf.h
+0
-5
arch/openrisc/include/asm/elf.h
arch/openrisc/include/asm/elf.h
+0
-3
arch/powerpc/include/asm/elf.h
arch/powerpc/include/asm/elf.h
+0
-2
arch/s390/include/asm/elf.h
arch/s390/include/asm/elf.h
+1
-4
arch/score/include/asm/elf.h
arch/score/include/asm/elf.h
+0
-5
arch/sparc/include/asm/elf_32.h
arch/sparc/include/asm/elf_32.h
+0
-3
include/linux/elf.h
include/linux/elf.h
+4
-0
未找到文件。
arch/avr32/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -102,7 +102,4 @@ typedef struct user_fpu_struct elf_fpregset_t;
#define ELF_PLATFORM (NULL)
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
#endif
/* __ASM_AVR32_ELF_H */
arch/blackfin/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -132,7 +132,4 @@ do { \
#define ELF_PLATFORM (NULL)
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
#endif
arch/c6x/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -77,9 +77,6 @@ do { \
#define ELF_PLATFORM (NULL)
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
/* C6X specific section types */
#define SHT_C6000_UNWIND 0x70000001
#define SHT_C6000_PREEMPTMAP 0x70000002
...
...
arch/cris/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -86,7 +86,4 @@ typedef unsigned long elf_fpregset_t;
#define ELF_PLATFORM (NULL)
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
#endif
arch/frv/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -137,7 +137,4 @@ do { \
#define ELF_PLATFORM (NULL)
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
#endif
arch/h8300/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -54,9 +54,6 @@ typedef unsigned long elf_fpregset_t;
#define ELF_PLATFORM (NULL)
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
#define R_H8_NONE 0
#define R_H8_DIR32 1
#define R_H8_DIR32_28 2
...
...
arch/hexagon/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -216,11 +216,6 @@ do { \
*/
#define ELF_PLATFORM (NULL)
#ifdef __KERNEL__
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
#endif
#define ARCH_HAS_SETUP_ADDITIONAL_PAGES 1
struct
linux_binprm
;
extern
int
arch_setup_additional_pages
(
struct
linux_binprm
*
bprm
,
...
...
arch/ia64/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -201,9 +201,6 @@ extern void ia64_elf_core_copy_regs (struct pt_regs *src, elf_gregset_t dst);
relevant until we have real hardware to play with... */
#define ELF_PLATFORM NULL
#define SET_PERSONALITY(ex) \
set_personality((current->personality & ~PER_MASK) | PER_LINUX)
#define elf_read_implies_exec(ex, executable_stack) \
((executable_stack!=EXSTACK_DISABLE_X) && ((ex).e_flags & EF_IA_64_LINUX_EXECUTABLE_STACK) != 0)
...
...
arch/m32r/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -128,7 +128,4 @@ typedef elf_fpreg_t elf_fpregset_t;
intent than poking at uname or /proc/cpuinfo. */
#define ELF_PLATFORM (NULL)
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
#endif
/* _ASM_M32R__ELF_H */
arch/m68k/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -113,7 +113,4 @@ typedef struct user_m68kfp_struct elf_fpregset_t;
#define ELF_PLATFORM (NULL)
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
#endif
arch/mn10300/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -150,9 +150,4 @@ do { \
*/
#define ELF_PLATFORM (NULL)
#ifdef __KERNEL__
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
#endif
#endif
/* _ASM_ELF_H */
arch/openrisc/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -62,7 +62,4 @@ extern void dump_elf_thread(elf_greg_t *dest, struct pt_regs *pt);
#define ELF_PLATFORM (NULL)
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
#endif
arch/powerpc/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -103,8 +103,6 @@ do { \
# define elf_read_implies_exec(ex, exec_stk) (is_32bit_task() ? \
(exec_stk == EXSTACK_DEFAULT) : 0)
#else
# define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
# define elf_read_implies_exec(ex, exec_stk) (exec_stk == EXSTACK_DEFAULT)
#endif
/* __powerpc64__ */
...
...
arch/s390/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -180,10 +180,7 @@ extern unsigned long elf_hwcap;
extern
char
elf_platform
[];
#define ELF_PLATFORM (elf_platform)
#ifndef CONFIG_64BIT
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
#else
/* CONFIG_64BIT */
#ifdef CONFIG_64BIT
#define SET_PERSONALITY(ex) \
do { \
if (personality(current->personality) != PER_LINUX32) \
...
...
arch/score/include/asm/elf.h
浏览文件 @
e72837e3
...
...
@@ -52,11 +52,6 @@ typedef elf_fpreg_t elf_fpregset_t;
#define ELF_DATA ELFDATA2LSB
#define ELF_ARCH EM_SCORE7
#define SET_PERSONALITY(ex) \
do { \
set_personality(PER_LINUX | (current->personality & (~PER_MASK))); \
} while (0)
struct
task_struct
;
struct
pt_regs
;
...
...
arch/sparc/include/asm/elf_32.h
浏览文件 @
e72837e3
...
...
@@ -128,7 +128,4 @@ typedef struct {
#define ELF_PLATFORM (NULL)
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
#endif
/* !(__ASMSPARC_ELF_H) */
include/linux/elf.h
浏览文件 @
e72837e3
...
...
@@ -10,6 +10,10 @@
Override in asm/elf.h as needed. */
# define elf_read_implies_exec(ex, have_pt_gnu_stack) 0
#endif
#ifndef SET_PERSONALITY
#define SET_PERSONALITY(ex) \
set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
#endif
#if ELF_CLASS == ELFCLASS32
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录