/arch/s390/kernel/ |
D | sys_s390.c | 80 SYSCALL_DEFINE1(s390_personality, unsigned int, personality) in SYSCALL_DEFINE1() argument 84 if (personality(current->personality) == PER_LINUX32 && in SYSCALL_DEFINE1() 85 personality(personality) == PER_LINUX) in SYSCALL_DEFINE1() 86 personality |= PER_LINUX32; in SYSCALL_DEFINE1() 87 ret = sys_personality(personality); in SYSCALL_DEFINE1() 88 if (personality(ret) == PER_LINUX32) in SYSCALL_DEFINE1()
|
/arch/powerpc/kernel/ |
D | syscalls.c | 105 long ppc64_personality(unsigned long personality) in ppc64_personality() argument 109 if (personality(current->personality) == PER_LINUX32 in ppc64_personality() 110 && personality(personality) == PER_LINUX) in ppc64_personality() 111 personality = (personality & ~PER_MASK) | PER_LINUX32; in ppc64_personality() 112 ret = sys_personality(personality); in ppc64_personality() 113 if (personality(ret) == PER_LINUX32) in ppc64_personality()
|
/arch/arm/kernel/ |
D | elf.c | 45 unsigned int personality = current->personality & ~PER_MASK; in elf_set_personality() local 51 personality |= PER_LINUX; in elf_set_personality() 58 personality &= ~ADDR_LIMIT_32BIT; in elf_set_personality() 60 personality |= ADDR_LIMIT_32BIT; in elf_set_personality() 62 set_personality(personality); in elf_set_personality()
|
/arch/arm64/kernel/ |
D | sys.c | 40 SYSCALL_DEFINE1(arm64_personality, unsigned int, personality) in SYSCALL_DEFINE1() argument 42 if (personality(personality) == PER_LINUX32 && in SYSCALL_DEFINE1() 45 return sys_personality(personality); in SYSCALL_DEFINE1()
|
/arch/mips/kernel/ |
D | linux32.c | 117 SYSCALL_DEFINE1(32_personality, unsigned long, personality) 119 unsigned int p = personality & 0xffffffff; 122 if (personality(current->personality) == PER_LINUX32 && 123 personality(p) == PER_LINUX) 126 if (ret != -1 && personality(ret) == PER_LINUX32)
|
/arch/ia64/include/uapi/asm/ |
D | fcntl.h | 10 (personality(current->personality) != PER_LINUX32)
|
/arch/parisc/kernel/ |
D | sys_parisc.c | 217 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy() 374 long parisc_personality(unsigned long personality) in parisc_personality() argument 378 if (personality(current->personality) == PER_LINUX32 in parisc_personality() 379 && personality(personality) == PER_LINUX) in parisc_personality() 380 personality = (personality & ~PER_MASK) | PER_LINUX32; in parisc_personality() 382 err = sys_personality(personality); in parisc_personality() 383 if (personality(err) == PER_LINUX32) in parisc_personality()
|
/arch/unicore32/kernel/ |
D | elf.c | 34 unsigned int personality = PER_LINUX; in elf_set_personality() local 36 set_personality(personality); in elf_set_personality()
|
/arch/sparc/include/asm/ |
D | elf_64.h | 209 if (personality(current->personality) != PER_LINUX32) \ 211 (current->personality & (~PER_MASK))); \
|
/arch/s390/include/asm/ |
D | elf.h | 231 (current->personality & (~PER_MASK))); \ 238 if (personality(current->personality) != PER_LINUX32) \ 240 (current->personality & ~PER_MASK)); \
|
/arch/alpha/include/asm/ |
D | processor.h | 25 (current->personality & ADDR_LIMIT_32BIT ? 0x80000000 : 0x00120000000UL) 33 ((current->personality & ADDR_LIMIT_32BIT) ? 0x40000000 : TASK_SIZE / 2)
|
/arch/powerpc/include/asm/ |
D | elf.h | 99 if (personality(current->personality) != PER_LINUX32) \ 101 (current->personality & (~PER_MASK))); \
|
D | syscalls.h | 18 asmlinkage long ppc64_personality(unsigned long personality);
|
/arch/sparc/kernel/ |
D | sys_sparc_64.c | 290 (current->personality & ADDR_COMPAT_LAYOUT) || in arch_pick_mmap_layout() 417 SYSCALL_DEFINE1(sparc64_personality, unsigned long, personality) in SYSCALL_DEFINE1() argument 421 if (personality(current->personality) == PER_LINUX32 && in SYSCALL_DEFINE1() 422 personality(personality) == PER_LINUX) in SYSCALL_DEFINE1() 423 personality |= PER_LINUX32; in SYSCALL_DEFINE1() 424 ret = sys_personality(personality); in SYSCALL_DEFINE1() 425 if (personality(ret) == PER_LINUX32) in SYSCALL_DEFINE1()
|
/arch/arm/include/asm/ |
D | processor.h | 28 #define STACK_TOP ((current->personality & ADDR_LIMIT_32BIT) ? \ 59 if (current->personality & ADDR_LIMIT_32BIT) \
|
/arch/c6x/include/asm/ |
D | page.h | 7 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \
|
/arch/microblaze/include/asm/ |
D | elf.h | 28 set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
|
/arch/tile/include/asm/ |
D | elf.h | 167 set_personality(PER_LINUX | (current->personality & (~PER_MASK))); \ 172 set_personality(PER_LINUX | (current->personality & (~PER_MASK))); \
|
/arch/blackfin/include/asm/ |
D | page.h | 15 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
|
/arch/x86/um/asm/ |
D | vm-flags.h | 14 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
|
/arch/arm64/include/asm/ |
D | page.h | 49 (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \
|
/arch/mips/include/asm/ |
D | elf.h | 355 if (personality(current->personality) != PER_LINUX) \ 421 p = personality(current->personality); \
|
/arch/s390/mm/ |
D | mmap.c | 41 if (current->personality & ADDR_NO_RANDOMIZE) in stack_maxrandom_size() 56 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy()
|
/arch/x86/include/asm/ |
D | page_types.h | 40 (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
|
/arch/arm64/mm/ |
D | mmap.c | 43 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy()
|