| /linux-4.4.14/arch/s390/kernel/ |
| D | sys_s390.c | 79 SYSCALL_DEFINE1(s390_personality, unsigned int, personality) in SYSCALL_DEFINE1() argument 83 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()
|
| D | entry.h | 74 long sys_s390_personality(unsigned int personality);
|
| D | process.c | 239 if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) in arch_align_stack()
|
| /linux-4.4.14/arch/powerpc/kernel/ |
| D | syscalls.c | 104 long ppc64_personality(unsigned long personality) in ppc64_personality() argument 108 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()
|
| D | process.c | 1633 if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) in arch_align_stack()
|
| /linux-4.4.14/arch/arm/kernel/ |
| D | elf.c | 44 unsigned int personality = current->personality & ~PER_MASK; in elf_set_personality() local 50 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()
|
| D | traps.c | 510 if ((current->personality & PER_MASK) != PER_LINUX) { in bad_syscall()
|
| /linux-4.4.14/kernel/ |
| D | exec_domain.c | 50 SYSCALL_DEFINE1(personality, unsigned int, personality) in SYSCALL_DEFINE1() argument 52 unsigned int old = current->personality; in SYSCALL_DEFINE1() 54 if (personality != 0xffffffff) in SYSCALL_DEFINE1() 55 set_personality(personality); in SYSCALL_DEFINE1()
|
| D | audit.h | 140 unsigned long personality; member
|
| D | auditsc.c | 511 result = audit_comparator(tsk->personality, f->op, f->val); in audit_filter_rules() 1332 context->personality = tsk->personality; in audit_log_exit() 1339 if (context->personality != PER_LINUX) in audit_log_exit() 1340 audit_log_format(ab, " per=%lx", context->personality); in audit_log_exit()
|
| D | sys.c | 1103 (personality(current->personality) == PER_LINUX32 && \ 1119 if (current->personality & UNAME26) { in override_release()
|
| /linux-4.4.14/arch/mips/kernel/ |
| D | linux32.c | 122 SYSCALL_DEFINE1(32_personality, unsigned long, personality) 124 unsigned int p = personality & 0xffffffff; 127 if (personality(current->personality) == PER_LINUX32 && 128 personality(p) == PER_LINUX) 131 if (ret != -1 && personality(ret) == PER_LINUX32)
|
| D | process.c | 550 if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) in arch_align_stack()
|
| /linux-4.4.14/arch/parisc/kernel/ |
| D | sys_parisc.c | 212 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy() 381 long parisc_personality(unsigned long personality) in parisc_personality() argument 385 if (personality(current->personality) == PER_LINUX32 in parisc_personality() 386 && personality(personality) == PER_LINUX) in parisc_personality() 387 personality = (personality & ~PER_MASK) | PER_LINUX32; in parisc_personality() 389 err = sys_personality(personality); in parisc_personality() 390 if (personality(err) == PER_LINUX32) in parisc_personality()
|
| D | syscall_table.S | 219 ENTRY_OURS(personality)
|
| D | asm-offsets.c | 63 DEFINE(TASK_PERSONALITY, offsetof(struct task_struct, personality)); in main()
|
| /linux-4.4.14/arch/s390/include/asm/ |
| D | elf.h | 187 (current->personality & (~PER_MASK))); \ 194 if (personality(current->personality) != PER_LINUX32) \ 196 (current->personality & ~PER_MASK)); \
|
| /linux-4.4.14/Documentation/sysctl/ |
| D | abi.txt | 8 This path is binary emulation relevant aka personality types aka abi. 10 personality is defined using values available from /proc/sys/abi. 11 You can find further details about abi in include/linux/personality.h.
|
| /linux-4.4.14/arch/ia64/include/uapi/asm/ |
| D | fcntl.h | 9 (personality(current->personality) != PER_LINUX32)
|
| /linux-4.4.14/include/linux/ |
| D | personality.h | 9 #define personality(pers) (pers & PER_MASK) macro 14 #define set_personality(pers) (current->personality = (pers))
|
| D | elf.h | 15 set_personality(PER_LINUX | (current->personality & (~PER_MASK)))
|
| D | syscalls.h | 253 asmlinkage long sys_personality(unsigned int personality);
|
| D | sched.h | 1458 unsigned int personality; member
|
| /linux-4.4.14/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()
|
| /linux-4.4.14/arch/powerpc/include/asm/ |
| D | elf.h | 98 if (personality(current->personality) != PER_LINUX32) \ 100 (current->personality & (~PER_MASK))); \
|
| D | syscalls.h | 17 asmlinkage long ppc64_personality(unsigned long personality);
|
| /linux-4.4.14/arch/sparc/include/asm/ |
| D | elf_64.h | 208 if (personality(current->personality) != PER_LINUX32) \ 210 (current->personality & (~PER_MASK))); \
|
| /linux-4.4.14/arch/sparc/kernel/ |
| D | sys_sparc_64.c | 287 (current->personality & ADDR_COMPAT_LAYOUT) || in arch_pick_mmap_layout() 414 SYSCALL_DEFINE1(sparc64_personality, unsigned long, personality) in SYSCALL_DEFINE1() argument 418 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()
|
| D | systbls.h | 36 asmlinkage long sparc64_personality(unsigned long personality);
|
| /linux-4.4.14/arch/alpha/include/asm/ |
| D | processor.h | 24 (current->personality & ADDR_LIMIT_32BIT ? 0x80000000 : 0x00120000000UL) 32 ((current->personality & ADDR_LIMIT_32BIT) ? 0x40000000 : TASK_SIZE / 2)
|
| /linux-4.4.14/arch/x86/mm/ |
| D | mmap.c | 42 !(current->personality & ADDR_NO_RANDOMIZE)) { in stack_maxrandom_size() 59 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy()
|
| /linux-4.4.14/arch/arm/include/asm/ |
| D | processor.h | 28 #define STACK_TOP ((current->personality & ADDR_LIMIT_32BIT) ? \ 59 if (current->personality & ADDR_LIMIT_32BIT) \
|
| D | page.h | 168 (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \
|
| /linux-4.4.14/arch/mips/include/asm/ |
| D | elf.h | 298 if (personality(current->personality) != PER_LINUX) \ 372 p = personality(current->personality); \
|
| /linux-4.4.14/arch/tile/include/asm/ |
| D | elf.h | 166 set_personality(PER_LINUX | (current->personality & (~PER_MASK))); \ 171 set_personality(PER_LINUX | (current->personality & (~PER_MASK))); \
|
| /linux-4.4.14/arch/c6x/include/asm/ |
| D | page.h | 6 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \
|
| /linux-4.4.14/arch/microblaze/include/asm/ |
| D | elf.h | 28 set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
|
| /linux-4.4.14/arch/blackfin/include/asm/ |
| D | page.h | 15 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
|
| /linux-4.4.14/arch/x86/um/asm/ |
| D | vm-flags.h | 14 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
|
| /linux-4.4.14/arch/arm64/kernel/ |
| D | cpuinfo.c | 107 bool compat = personality(current->personality) == PER_LINUX32; in c_show()
|
| D | process.c | 361 if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) in arch_align_stack()
|
| /linux-4.4.14/arch/s390/mm/ |
| D | mmap.c | 38 if (current->personality & ADDR_NO_RANDOMIZE) in stack_maxrandom_size() 53 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy()
|
| /linux-4.4.14/arch/arm64/include/asm/ |
| D | page.h | 64 (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \
|
| /linux-4.4.14/arch/powerpc/mm/ |
| D | mmap.c | 47 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy()
|
| /linux-4.4.14/arch/x86/include/asm/ |
| D | page_types.h | 38 (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
|
| D | processor.h | 750 #define IA32_PAGE_OFFSET ((current->personality & ADDR_LIMIT_3GB) ? \
|
| /linux-4.4.14/arch/arm64/mm/ |
| D | mmap.c | 41 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy()
|
| /linux-4.4.14/include/uapi/linux/raid/ |
| D | md_u.h | 150 int personality; /* 1,2,3,4 */ member
|
| /linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
| D | qed_dev_api.h | 126 int personality);
|
| D | qed_dev.c | 1241 enum qed_pci_personality personality) in qed_get_hw_info() argument 1286 p_hwfn->hw_info.personality = protocol; in qed_get_hw_info() 1331 enum qed_pci_personality personality) in qed_hw_prepare_single() argument 1366 rc = qed_get_hw_info(p_hwfn, p_hwfn->p_main_ptt, personality); in qed_hw_prepare_single() 1400 int personality) in qed_hw_prepare() argument 1411 cdev->doorbells, personality); in qed_hw_prepare() 1415 personality = p_hwfn->hw_info.personality; in qed_hw_prepare() 1432 p_doorbell, personality); in qed_hw_prepare()
|
| D | qed_sp_commands.c | 142 p_hwfn->hw_info.personality = PERSONALITY_ETH; in qed_sp_pf_start()
|
| D | qed.h | 125 enum qed_pci_personality personality; member
|
| D | qed_hsi.h | 439 u8 personality; member
|
| /linux-4.4.14/arch/x86/kernel/ |
| D | process_64.c | 474 current->personality &= ~READ_IMPLIES_EXEC; in set_personality_64bit() 490 current->personality &= ~READ_IMPLIES_EXEC; in set_personality_ia32() 499 current->personality |= force_personality32; in set_personality_ia32()
|
| D | process.c | 501 if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) in arch_align_stack()
|
| /linux-4.4.14/arch/frv/include/asm/ |
| D | page.h | 68 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \
|
| /linux-4.4.14/arch/mn10300/include/asm/ |
| D | page.h | 123 ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \
|
| /linux-4.4.14/arch/frv/kernel/ |
| D | signal.c | 217 if (current->personality & FDPIC_FUNCPTRS) { in setup_frame() 298 if (current->personality & FDPIC_FUNCPTRS) { in setup_rt_frame()
|
| /linux-4.4.14/arch/xtensa/include/asm/ |
| D | elf.h | 194 set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
|
| /linux-4.4.14/arch/mips/mm/ |
| D | mmap.c | 27 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy()
|
| /linux-4.4.14/arch/alpha/kernel/ |
| D | osf_sys.c | 1325 if (current->personality & ADDR_LIMIT_32BIT) in arch_get_unmapped_area() 1386 if (unlikely(personality(current->personality) == PER_OSF4)) in SYSCALL_DEFINE3() 1395 if (unlikely(personality(current->personality) == PER_OSF4)) in SYSCALL_DEFINE3()
|
| /linux-4.4.14/arch/arm/mm/ |
| D | mmap.c | 24 if (current->personality & ADDR_COMPAT_LAYOUT) in mmap_is_legacy()
|
| /linux-4.4.14/arch/parisc/include/asm/ |
| D | elf.h | 250 set_personality((current->personality & ~PER_MASK) | PER_LINUX); \
|
| /linux-4.4.14/arch/ia64/include/asm/ |
| D | page.h | 221 (((current->personality & READ_IMPLIES_EXEC) != 0) \
|
| /linux-4.4.14/arch/sh/kernel/ |
| D | signal_32.c | 313 if (current->personality & FDPIC_FUNCPTRS) { in setup_frame() 383 if (current->personality & FDPIC_FUNCPTRS) { in setup_rt_frame()
|
| /linux-4.4.14/arch/sh/include/asm/ |
| D | elf.h | 187 set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK)))
|
| /linux-4.4.14/drivers/nvdimm/ |
| D | Kconfig | 66 The BTT manifests itself as an alternate personality for an
|
| /linux-4.4.14/arch/um/kernel/ |
| D | process.c | 360 if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) in arch_align_stack()
|
| /linux-4.4.14/arch/blackfin/kernel/ |
| D | signal.c | 171 if (current->personality & FDPIC_FUNCPTRS) { in setup_rt_frame()
|
| /linux-4.4.14/mm/ |
| D | mprotect.c | 373 if ((prot & PROT_READ) && (current->personality & READ_IMPLIES_EXEC)) in SYSCALL_DEFINE3()
|
| D | nommu.c | 1043 if (current->personality & READ_IMPLIES_EXEC) { in validate_mmap_request() 1062 (current->personality & READ_IMPLIES_EXEC)) in validate_mmap_request()
|
| D | mmap.c | 1285 if ((prot & PROT_READ) && (current->personality & READ_IMPLIES_EXEC)) in do_mmap()
|
| /linux-4.4.14/fs/ |
| D | binfmt_elf.c | 653 !(current->personality & ADDR_NO_RANDOMIZE)) { in randomize_stack_top() 845 current->personality |= READ_IMPLIES_EXEC; in load_elf_binary() 847 if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) in load_elf_binary() 1062 if (current->personality & MMAP_PAGE_ZERO) { in load_elf_binary()
|
| D | select.c | 298 if (current->personality & STICKY_TIMEOUTS) in poll_select_copy_remaining()
|
| D | exec.c | 1115 current->personality &= ~bprm->per_clear; in flush_old_exec()
|
| D | compat.c | 1114 if (current->personality & STICKY_TIMEOUTS) in poll_select_copy_remaining()
|
| D | binfmt_elf_fdpic.c | 355 current->personality |= READ_IMPLIES_EXEC; in load_elf_fdpic_binary()
|
| /linux-4.4.14/arch/ia64/mm/ |
| D | init.c | 133 if (!(current->personality & MMAP_PAGE_ZERO)) { in ia64_init_addr_space()
|
| /linux-4.4.14/drivers/staging/android/ |
| D | ashmem.c | 497 if ((prot & PROT_READ) && (current->personality & READ_IMPLIES_EXEC)) in set_prot_mask()
|
| /linux-4.4.14/arch/x86/entry/syscalls/ |
| D | syscall_64.tbl | 144 135 common personality sys_personality
|
| D | syscall_32.tbl | 145 136 i386 personality sys_personality
|
| /linux-4.4.14/Documentation/arm/ |
| D | README | 186 machine specific "personality."
|
| /linux-4.4.14/include/uapi/linux/ |
| D | Kbuild | 323 header-y += personality.h
|
| /linux-4.4.14/Documentation/ |
| D | md.txt | 220 the array if the personality supports it (raid1, raid5, raid6), 597 personality module that manages it.
|
| D | ManagementStyle | 137 as easy to undo personality disorders. You just have to live with
|
| /linux-4.4.14/drivers/scsi/bfa/ |
| D | bfa_ioc.h | 951 u8 port, enum bfi_pcifn_class personality,
|
| D | bfa_ioc.c | 3429 u8 port, enum bfi_pcifn_class personality, in bfa_ablk_pf_create() argument 3453 m->pers = cpu_to_be16((u16)personality); in bfa_ablk_pf_create()
|
| /linux-4.4.14/drivers/md/ |
| D | Kconfig | 163 MD_MULTIPATH provides a simple multi-path personality for use
|
| /linux-4.4.14/security/ |
| D | security.c | 763 if (!(current->personality & READ_IMPLIES_EXEC)) in mmap_prot()
|
| /linux-4.4.14/Documentation/ioctl/ |
| D | hdio.txt | 207 touch. DON'T do it again until a total personality rewrite
|
| /linux-4.4.14/fs/proc/ |
| D | base.c | 2721 seq_printf(m, "%08x\n", task->personality); in proc_pid_personality()
|
| /linux-4.4.14/ |
| D | MAINTAINERS | 8310 F: include/linux/personality.h 8311 F: include/uapi/linux/personality.h
|