personality 19 arch/alpha/include/asm/processor.h (current->personality & ADDR_LIMIT_32BIT ? 0x80000000 : 0x00120000000UL) personality 27 arch/alpha/include/asm/processor.h ((current->personality & ADDR_LIMIT_32BIT) ? 0x40000000 : TASK_SIZE / 2) personality 1306 arch/alpha/kernel/osf_sys.c if (current->personality & ADDR_LIMIT_32BIT) personality 1368 arch/alpha/kernel/osf_sys.c if (unlikely(personality(current->personality) == PER_OSF4)) personality 1380 arch/alpha/kernel/osf_sys.c if (unlikely(personality(current->personality) == PER_OSF4)) personality 165 arch/arm/include/asm/page.h (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \ personality 19 arch/arm/include/asm/processor.h #define STACK_TOP ((current->personality & ADDR_LIMIT_32BIT) ? \ personality 62 arch/arm/include/asm/processor.h current->personality & FDPIC_FUNCPTRS) { \ personality 69 arch/arm/include/asm/processor.h if (current->personality & ADDR_LIMIT_32BIT) \ personality 46 arch/arm/kernel/elf.c unsigned int personality = current->personality & ~PER_MASK; personality 52 arch/arm/kernel/elf.c personality |= PER_LINUX; personality 59 arch/arm/kernel/elf.c personality &= ~ADDR_LIMIT_32BIT; personality 61 arch/arm/kernel/elf.c personality |= ADDR_LIMIT_32BIT; personality 63 arch/arm/kernel/elf.c set_personality(personality); personality 371 arch/arm/kernel/signal.c (current->personality & FDPIC_FUNCPTRS); personality 533 arch/arm/kernel/traps.c if ((current->personality & PER_MASK) != PER_LINUX) { personality 139 arch/arm64/include/asm/elf.h current->personality &= ~READ_IMPLIES_EXEC; \ personality 36 arch/arm64/include/asm/page.h (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \ personality 130 arch/arm64/kernel/cpuinfo.c bool compat = personality(current->personality) == PER_LINUX32; personality 562 arch/arm64/kernel/process.c if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) personality 31 arch/arm64/kernel/sys.c SYSCALL_DEFINE1(arm64_personality, unsigned int, personality) personality 33 arch/arm64/kernel/sys.c if (personality(personality) == PER_LINUX32 && personality 36 arch/arm64/kernel/sys.c return ksys_personality(personality); personality 7 arch/c6x/include/asm/page.h ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \ personality 223 arch/ia64/include/asm/page.h (((current->personality & READ_IMPLIES_EXEC) != 0) \ personality 10 arch/ia64/include/uapi/asm/fcntl.h (personality(current->personality) != PER_LINUX32) personality 131 arch/ia64/mm/init.c if (!(current->personality & MMAP_PAGE_ZERO)) { personality 28 arch/microblaze/include/asm/elf.h set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK))) personality 355 arch/mips/include/asm/elf.h if (personality(current->personality) != PER_LINUX) \ personality 421 arch/mips/include/asm/elf.h p = personality(current->personality); \ personality 258 arch/mips/include/asm/page.h ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \ personality 88 arch/mips/kernel/linux32.c SYSCALL_DEFINE1(32_personality, unsigned long, personality) personality 90 arch/mips/kernel/linux32.c unsigned int p = personality & 0xffffffff; personality 93 arch/mips/kernel/linux32.c if (personality(current->personality) == PER_LINUX32 && personality 94 arch/mips/kernel/linux32.c personality(p) == PER_LINUX) personality 97 arch/mips/kernel/linux32.c if (ret != -1 && personality(ret) == PER_LINUX32) personality 678 arch/mips/kernel/process.c if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) personality 202 arch/nds32/kernel/traps.c if (current->personality != PER_LINUX) { personality 237 arch/parisc/include/asm/elf.h set_personality((current->personality & ~PER_MASK) | PER_LINUX); \ personality 50 arch/parisc/kernel/asm-offsets.c DEFINE(TASK_PERSONALITY, offsetof(struct task_struct, personality)); personality 205 arch/parisc/kernel/sys_parisc.c if (current->personality & ADDR_COMPAT_LAYOUT) personality 362 arch/parisc/kernel/sys_parisc.c long parisc_personality(unsigned long personality) personality 366 arch/parisc/kernel/sys_parisc.c if (personality(current->personality) == PER_LINUX32 personality 367 arch/parisc/kernel/sys_parisc.c && personality(personality) == PER_LINUX) personality 368 arch/parisc/kernel/sys_parisc.c personality = (personality & ~PER_MASK) | PER_LINUX32; personality 370 arch/parisc/kernel/sys_parisc.c err = sys_personality(personality); personality 371 arch/parisc/kernel/sys_parisc.c if (personality(err) == PER_LINUX32) personality 95 arch/powerpc/include/asm/elf.h if (personality(current->personality) != PER_LINUX32) \ personality 97 arch/powerpc/include/asm/elf.h (current->personality & (~PER_MASK))); \ personality 244 arch/powerpc/include/asm/page.h (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0) | \ personality 18 arch/powerpc/include/asm/syscalls.h asmlinkage long ppc64_personality(unsigned long personality); personality 2147 arch/powerpc/kernel/process.c if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) personality 100 arch/powerpc/kernel/syscalls.c long ppc64_personality(unsigned long personality) personality 104 arch/powerpc/kernel/syscalls.c if (personality(current->personality) == PER_LINUX32 personality 105 arch/powerpc/kernel/syscalls.c && personality(personality) == PER_LINUX) personality 106 arch/powerpc/kernel/syscalls.c personality = (personality & ~PER_MASK) | PER_LINUX32; personality 107 arch/powerpc/kernel/syscalls.c ret = sys_personality(personality); personality 108 arch/powerpc/kernel/syscalls.c if (personality(ret) == PER_LINUX32) personality 30 arch/powerpc/mm/mmap.c if (current->personality & ADDR_COMPAT_LAYOUT) personality 235 arch/s390/include/asm/elf.h (current->personality & (~PER_MASK))); \ personality 242 arch/s390/include/asm/elf.h if (personality(current->personality) != PER_LINUX32) \ personality 244 arch/s390/include/asm/elf.h (current->personality & ~PER_MASK)); \ personality 76 arch/s390/kernel/entry.h long sys_s390_personality(unsigned int personality); personality 216 arch/s390/kernel/process.c if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) personality 82 arch/s390/kernel/sys_s390.c SYSCALL_DEFINE1(s390_personality, unsigned int, personality) personality 84 arch/s390/kernel/sys_s390.c unsigned int ret = current->personality; personality 86 arch/s390/kernel/sys_s390.c if (personality(current->personality) == PER_LINUX32 && personality 87 arch/s390/kernel/sys_s390.c personality(personality) == PER_LINUX) personality 88 arch/s390/kernel/sys_s390.c personality |= PER_LINUX32; personality 90 arch/s390/kernel/sys_s390.c if (personality != 0xffffffff) personality 91 arch/s390/kernel/sys_s390.c set_personality(personality); personality 93 arch/s390/kernel/sys_s390.c if (personality(ret) == PER_LINUX32) personality 32 arch/s390/mm/mmap.c if (current->personality & ADDR_COMPAT_LAYOUT) personality 188 arch/sh/include/asm/elf.h set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK))) personality 315 arch/sh/kernel/signal_32.c if (current->personality & FDPIC_FUNCPTRS) { personality 385 arch/sh/kernel/signal_32.c if (current->personality & FDPIC_FUNCPTRS) { personality 210 arch/sparc/include/asm/elf_64.h if (personality(current->personality) != PER_LINUX32) \ personality 212 arch/sparc/include/asm/elf_64.h (current->personality & (~PER_MASK))); \ personality 291 arch/sparc/kernel/sys_sparc_64.c (current->personality & ADDR_COMPAT_LAYOUT) || personality 421 arch/sparc/kernel/sys_sparc_64.c SYSCALL_DEFINE1(sparc64_personality, unsigned long, personality) personality 425 arch/sparc/kernel/sys_sparc_64.c if (personality(current->personality) == PER_LINUX32 && personality 426 arch/sparc/kernel/sys_sparc_64.c personality(personality) == PER_LINUX) personality 427 arch/sparc/kernel/sys_sparc_64.c personality |= PER_LINUX32; personality 428 arch/sparc/kernel/sys_sparc_64.c ret = sys_personality(personality); personality 429 arch/sparc/kernel/sys_sparc_64.c if (personality(ret) == PER_LINUX32) personality 37 arch/sparc/kernel/systbls.h asmlinkage long sparc64_personality(unsigned long personality); personality 402 arch/um/kernel/process.c if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) personality 31 arch/unicore32/kernel/elf.c unsigned int personality = PER_LINUX; personality 33 arch/unicore32/kernel/elf.c set_personality(personality); personality 39 arch/x86/include/asm/page_types.h (((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \ personality 876 arch/x86/include/asm/processor.h #define IA32_PAGE_OFFSET ((current->personality & ADDR_LIMIT_3GB) ? \ personality 786 arch/x86/kernel/process.c if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) personality 640 arch/x86/kernel/process_64.c current->personality &= ~READ_IMPLIES_EXEC; personality 650 arch/x86/kernel/process_64.c current->personality &= ~READ_IMPLIES_EXEC; personality 671 arch/x86/kernel/process_64.c current->personality |= force_personality32; personality 62 arch/x86/mm/mmap.c if (current->personality & ADDR_COMPAT_LAYOUT) personality 14 arch/x86/um/asm/vm-flags.h ((current->personality & READ_IMPLIES_EXEC) ? VM_EXEC : 0 ) | \ personality 178 arch/xtensa/include/asm/elf.h set_personality(PER_LINUX_32BIT | (current->personality & (~PER_MASK))) personality 308 drivers/net/ethernet/qlogic/qed/qed.h enum qed_pci_personality personality; personality 310 drivers/net/ethernet/qlogic/qed/qed.h ((dev)->hw_info.personality == QED_PCI_ETH_ROCE || \ personality 311 drivers/net/ethernet/qlogic/qed/qed.h (dev)->hw_info.personality == QED_PCI_ETH_IWARP || \ personality 312 drivers/net/ethernet/qlogic/qed/qed.h (dev)->hw_info.personality == QED_PCI_ETH_RDMA) personality 314 drivers/net/ethernet/qlogic/qed/qed.h ((dev)->hw_info.personality == QED_PCI_ETH_ROCE || \ personality 315 drivers/net/ethernet/qlogic/qed/qed.h (dev)->hw_info.personality == QED_PCI_ETH_RDMA) personality 317 drivers/net/ethernet/qlogic/qed/qed.h ((dev)->hw_info.personality == QED_PCI_ETH_IWARP || \ personality 318 drivers/net/ethernet/qlogic/qed/qed.h (dev)->hw_info.personality == QED_PCI_ETH_RDMA) personality 320 drivers/net/ethernet/qlogic/qed/qed.h ((dev)->hw_info.personality == QED_PCI_ETH || \ personality 323 drivers/net/ethernet/qlogic/qed/qed.h ((dev)->hw_info.personality == QED_PCI_FCOE) personality 325 drivers/net/ethernet/qlogic/qed/qed.h ((dev)->hw_info.personality == QED_PCI_ISCSI) personality 1851 drivers/net/ethernet/qlogic/qed/qed_cxt.c if ((p_hwfn->hw_info.personality == QED_PCI_FCOE) && personality 2078 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_hwfn->hw_info.personality = QED_PCI_ETH_ROCE; personality 2081 drivers/net/ethernet/qlogic/qed/qed_cxt.c switch (p_hwfn->hw_info.personality) { personality 2121 drivers/net/ethernet/qlogic/qed/qed_cxt.c switch (p_hwfn->hw_info.personality) { personality 2209 drivers/net/ethernet/qlogic/qed/qed_cxt.c switch (p_hwfn->hw_info.personality) { personality 2513 drivers/net/ethernet/qlogic/qed/qed_cxt.c switch (p_hwfn->hw_info.personality) { personality 196 drivers/net/ethernet/qlogic/qed/qed_dcbx.c enum qed_pci_personality personality) personality 211 drivers/net/ethernet/qlogic/qed/qed_dcbx.c if (app_tlv && p_hwfn->hw_info.personality == personality) personality 229 drivers/net/ethernet/qlogic/qed/qed_dcbx.c enum qed_pci_personality personality; personality 239 drivers/net/ethernet/qlogic/qed/qed_dcbx.c personality = qed_dcbx_app_update[i].personality; personality 242 drivers/net/ethernet/qlogic/qed/qed_dcbx.c prio, tc, type, personality); personality 916 drivers/net/ethernet/qlogic/qed/qed_dcbx.c if (p_hwfn->hw_info.personality == personality 86 drivers/net/ethernet/qlogic/qed/qed_dcbx.h enum qed_pci_personality personality; personality 1399 drivers/net/ethernet/qlogic/qed/qed_dev.c if (p_hwfn->hw_info.personality == QED_PCI_FCOE) personality 1402 drivers/net/ethernet/qlogic/qed/qed_dev.c if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) { personality 1438 drivers/net/ethernet/qlogic/qed/qed_dev.c switch (p_hwfn->hw_info.personality) { personality 1459 drivers/net/ethernet/qlogic/qed/qed_dev.c "unknown personality %d\n", p_hwfn->hw_info.personality); personality 2283 drivers/net/ethernet/qlogic/qed/qed_dev.c } else if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) { personality 2318 drivers/net/ethernet/qlogic/qed/qed_dev.c if (p_hwfn->hw_info.personality == QED_PCI_FCOE) { personality 2324 drivers/net/ethernet/qlogic/qed/qed_dev.c if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) { personality 2406 drivers/net/ethernet/qlogic/qed/qed_dev.c if (p_hwfn->hw_info.personality == QED_PCI_FCOE) personality 2409 drivers/net/ethernet/qlogic/qed/qed_dev.c if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) { personality 2874 drivers/net/ethernet/qlogic/qed/qed_dev.c (p_hwfn->hw_info.personality == QED_PCI_ISCSI) ? 1 : 0); personality 2876 drivers/net/ethernet/qlogic/qed/qed_dev.c (p_hwfn->hw_info.personality == QED_PCI_FCOE) ? 1 : 0); personality 2919 drivers/net/ethernet/qlogic/qed/qed_dev.c if (p_hwfn->hw_info.personality == QED_PCI_FCOE) { personality 3708 drivers/net/ethernet/qlogic/qed/qed_dev.c if (p_hwfn->hw_info.personality != QED_PCI_ISCSI && personality 3709 drivers/net/ethernet/qlogic/qed/qed_dev.c p_hwfn->hw_info.personality != QED_PCI_FCOE) personality 3730 drivers/net/ethernet/qlogic/qed/qed_dev.c else if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) personality 3732 drivers/net/ethernet/qlogic/qed/qed_dev.c else if (p_hwfn->hw_info.personality == QED_PCI_FCOE) personality 4304 drivers/net/ethernet/qlogic/qed/qed_dev.c enum qed_pci_personality personality) personality 4348 drivers/net/ethernet/qlogic/qed/qed_dev.c p_hwfn->hw_info.personality = protocol; personality 4431 drivers/net/ethernet/qlogic/qed/qed_dev.c enum qed_pci_personality personality) personality 4478 drivers/net/ethernet/qlogic/qed/qed_dev.c rc = qed_get_hw_info(p_hwfn, p_hwfn->p_main_ptt, personality); personality 4523 drivers/net/ethernet/qlogic/qed/qed_dev.c int personality) personality 4537 drivers/net/ethernet/qlogic/qed/qed_dev.c personality); personality 4541 drivers/net/ethernet/qlogic/qed/qed_dev.c personality = p_hwfn->hw_info.personality; personality 4564 drivers/net/ethernet/qlogic/qed/qed_dev.c personality); personality 192 drivers/net/ethernet/qlogic/qed/qed_dev_api.h int personality); personality 1135 drivers/net/ethernet/qlogic/qed/qed_hsi.h u8 personality; personality 1348 drivers/net/ethernet/qlogic/qed/qed_hsi.h u8 personality; personality 1074 drivers/net/ethernet/qlogic/qed/qed_ll2.c if (p_hwfn->hw_info.personality == QED_PCI_ISCSI) personality 2348 drivers/net/ethernet/qlogic/qed/qed_ll2.c switch (p_hwfn->hw_info.personality) { personality 825 drivers/net/ethernet/qlogic/qed/qed_main.c if (QED_LEADING_HWFN(cdev)->hw_info.personality != QED_PCI_ETH) { personality 1300 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c p_hwfn->hw_info.personality != QED_PCI_FCOE) { personality 1307 drivers/net/ethernet/qlogic/qed/qed_mng_tlv.c p_hwfn->hw_info.personality != QED_PCI_ISCSI) { personality 110 drivers/net/ethernet/qlogic/qed/qed_ooo.c switch (p_hwfn->hw_info.personality) { personality 404 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c switch (p_hwfn->hw_info.personality) { personality 406 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c p_ramrod->personality = PERSONALITY_ETH; personality 409 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c p_ramrod->personality = PERSONALITY_FCOE; personality 412 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c p_ramrod->personality = PERSONALITY_ISCSI; personality 416 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c p_ramrod->personality = PERSONALITY_RDMA_AND_ETH; personality 420 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c p_hwfn->hw_info.personality); personality 421 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c p_ramrod->personality = PERSONALITY_ETH; personality 94 drivers/net/ethernet/qlogic/qed/qed_sriov.c switch (p_hwfn->hw_info.personality) { personality 96 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_ramrod->personality = PERSONALITY_ETH; personality 99 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_ramrod->personality = PERSONALITY_RDMA_AND_ETH; personality 103 drivers/net/ethernet/qlogic/qed/qed_sriov.c p_hwfn->hw_info.personality); personality 538 drivers/net/ethernet/qlogic/qed/qed_vf.c p_hwfn->hw_info.personality = QED_PCI_ETH; personality 3420 drivers/scsi/bfa/bfa_ioc.c u8 port, enum bfi_pcifn_class personality, personality 3444 drivers/scsi/bfa/bfa_ioc.c m->pers = cpu_to_be16((u16)personality); personality 948 drivers/scsi/bfa/bfa_ioc.h u8 port, enum bfi_pcifn_class personality, personality 540 drivers/staging/android/ashmem.c if ((prot & PROT_READ) && (current->personality & READ_IMPLIES_EXEC)) personality 855 fs/binfmt_elf.c current->personality |= READ_IMPLIES_EXEC; personality 857 fs/binfmt_elf.c if (!(current->personality & ADDR_NO_RANDOMIZE) && randomize_va_space) personality 1129 fs/binfmt_elf.c if (current->personality & MMAP_PAGE_ZERO) { personality 353 fs/binfmt_elf_fdpic.c current->personality |= READ_IMPLIES_EXEC; personality 1299 fs/exec.c current->personality &= ~bprm->per_clear; personality 2963 fs/proc/base.c seq_printf(m, "%08x\n", task->personality); personality 308 fs/select.c if (current->personality & STICKY_TIMEOUTS) personality 16 include/linux/elf.h set_personality(PER_LINUX | (current->personality & (~PER_MASK))) personality 15 include/linux/personality.h #define set_personality(pers) (current->personality = (pers)) personality 745 include/linux/sched.h unsigned int personality; personality 561 include/linux/syscalls.h asmlinkage long sys_personality(unsigned int personality); personality 1395 include/linux/syscalls.h static inline unsigned int ksys_personality(unsigned int personality) personality 1397 include/linux/syscalls.h unsigned int old = current->personality; personality 1399 include/linux/syscalls.h if (personality != 0xffffffff) personality 1400 include/linux/syscalls.h set_personality(personality); personality 151 include/uapi/linux/raid/md_u.h int personality; /* 1,2,3,4 */ personality 130 kernel/audit.h unsigned long personality; personality 518 kernel/auditsc.c result = audit_comparator(tsk->personality, f->op, f->val); personality 1452 kernel/auditsc.c context->personality = current->personality; personality 1459 kernel/auditsc.c if (context->personality != PER_LINUX) personality 1460 kernel/auditsc.c audit_log_format(ab, " per=%lx", context->personality); personality 38 kernel/exec_domain.c SYSCALL_DEFINE1(personality, unsigned int, personality) personality 40 kernel/exec_domain.c unsigned int old = current->personality; personality 42 kernel/exec_domain.c if (personality != 0xffffffff) personality 43 kernel/exec_domain.c set_personality(personality); personality 1200 kernel/sys.c (personality(current->personality) == PER_LINUX32 && \ personality 1217 kernel/sys.c if (current->personality & UNAME26) { personality 1409 mm/mmap.c if ((prot & PROT_READ) && (current->personality & READ_IMPLIES_EXEC)) personality 493 mm/mprotect.c const bool rier = (current->personality & READ_IMPLIES_EXEC) && personality 908 mm/nommu.c if (current->personality & READ_IMPLIES_EXEC) { personality 927 mm/nommu.c (current->personality & READ_IMPLIES_EXEC)) personality 349 mm/util.c if (current->personality & ADDR_COMPAT_LAYOUT) personality 1420 security/security.c if (!(current->personality & READ_IMPLIES_EXEC))