Searched refs:personality (Results 1 – 25 of 57) sorted by relevance
123
79 SYSCALL_DEFINE1(s390_personality, unsigned int, personality) in SYSCALL_DEFINE1() argument83 if (personality(current->personality) == PER_LINUX32 && in SYSCALL_DEFINE1()84 personality(personality) == PER_LINUX) in SYSCALL_DEFINE1()85 personality |= PER_LINUX32; in SYSCALL_DEFINE1()86 ret = sys_personality(personality); in SYSCALL_DEFINE1()87 if (personality(ret) == PER_LINUX32) in SYSCALL_DEFINE1()
44 unsigned int personality = current->personality & ~PER_MASK; in elf_set_personality() local50 personality |= PER_LINUX; in elf_set_personality()57 personality &= ~ADDR_LIMIT_32BIT; in elf_set_personality()59 personality |= ADDR_LIMIT_32BIT; in elf_set_personality()61 set_personality(personality); in elf_set_personality()
104 long ppc64_personality(unsigned long personality) in ppc64_personality() argument108 if (personality(current->personality) == PER_LINUX32 in ppc64_personality()109 && personality(personality) == PER_LINUX) in ppc64_personality()110 personality = (personality & ~PER_MASK) | PER_LINUX32; in ppc64_personality()111 ret = sys_personality(personality); in ppc64_personality()112 if (personality(ret) == PER_LINUX32) in ppc64_personality()
121 SYSCALL_DEFINE1(32_personality, unsigned long, personality)123 unsigned int p = personality & 0xffffffff;126 if (personality(current->personality) == PER_LINUX32 &&127 personality(p) == PER_LINUX)130 if (ret != -1 && personality(ret) == PER_LINUX32)
9 (personality(current->personality) != PER_LINUX32)
34 unsigned int personality = PER_LINUX; in elf_set_personality() local36 set_personality(personality); in elf_set_personality()
215 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy()384 long parisc_personality(unsigned long personality) in parisc_personality() argument388 if (personality(current->personality) == PER_LINUX32 in parisc_personality()389 && personality(personality) == PER_LINUX) in parisc_personality()390 personality = (personality & ~PER_MASK) | PER_LINUX32; in parisc_personality()392 err = sys_personality(personality); in parisc_personality()393 if (personality(err) == PER_LINUX32) in parisc_personality()
186 (current->personality & (~PER_MASK))); \193 if (personality(current->personality) != PER_LINUX32) \195 (current->personality & ~PER_MASK)); \
99 if (personality(current->personality) != PER_LINUX32) \101 (current->personality & (~PER_MASK))); \
17 asmlinkage long ppc64_personality(unsigned long personality);
208 if (personality(current->personality) != PER_LINUX32) \210 (current->personality & (~PER_MASK))); \
24 (current->personality & ADDR_LIMIT_32BIT ? 0x80000000 : 0x00120000000UL)32 ((current->personality & ADDR_LIMIT_32BIT) ? 0x40000000 : TASK_SIZE / 2)
42 !(current->personality & ADDR_NO_RANDOMIZE)) { in stack_maxrandom_size()59 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy()
287 (current->personality & ADDR_COMPAT_LAYOUT) || in arch_pick_mmap_layout()414 SYSCALL_DEFINE1(sparc64_personality, unsigned long, personality) in SYSCALL_DEFINE1() argument418 if (personality(current->personality) == PER_LINUX32 && in SYSCALL_DEFINE1()419 personality(personality) == PER_LINUX) in SYSCALL_DEFINE1()420 personality |= PER_LINUX32; in SYSCALL_DEFINE1()421 ret = sys_personality(personality); in SYSCALL_DEFINE1()422 if (personality(ret) == PER_LINUX32) in SYSCALL_DEFINE1()
6 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \
28 #define STACK_TOP ((current->personality & ADDR_LIMIT_32BIT) ? \59 if (current->personality & ADDR_LIMIT_32BIT) \
28 set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
15 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
167 set_personality(PER_LINUX | (current->personality & (~PER_MASK))); \172 set_personality(PER_LINUX | (current->personality & (~PER_MASK))); \
14 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
298 if (personality(current->personality) != PER_LINUX) \372 p = personality(current->personality); \
66 (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \
47 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy()
38 (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
42 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy()