/freebsd/sys/i386/i386/ |
H A D | ptrace_machdep.c | 78 td->td_frame->tf_fs = GSEL(GUFS_SEL, SEL_UPL); in set_segbases() 80 td->td_pcb->pcb_gs = GSEL(GUGS_SEL, SEL_UPL); in set_segbases() 235 td->td_frame->tf_fs = GSEL(GUFS_SEL, SEL_UPL); in cpu_ptrace() 238 td->td_pcb->pcb_gs = GSEL(GUGS_SEL, SEL_UPL); in cpu_ptrace()
|
H A D | machdep.c | 387 .ssd_dpl = SEL_UPL, 396 .ssd_dpl = SEL_UPL, 423 .ssd_dpl = SEL_UPL, 432 .ssd_dpl = SEL_UPL, 460 .ssd_dpl = SEL_UPL, 571 .ssd_dpl = SEL_UPL, 589 .ssd_dpl = SEL_UPL, 1318 setidt(IDT_BP, &IDTVEC(bpt), SDT_SYS386IGT, SEL_UPL, in i386_setidt1() 1320 setidt(IDT_OF, &IDTVEC(ofl), SDT_SYS386IGT, SEL_UPL, in i386_setidt1() 1351 SDT_SYS386IGT, SEL_UPL, GSEL(GCODE_SEL, SEL_KPL)); in i386_setidt1() [all …]
|
H A D | sys_machdep.c | 87 sdp->sd_dpl = SEL_UPL; in fill_based_sd() 243 td->td_frame->tf_fs = GSEL(GUFS_SEL, SEL_UPL); in sysarch() 260 load_gs(GSEL(GUGS_SEL, SEL_UPL)); in sysarch() 655 if (dp->sd.sd_p != 0 && dp->sd.sd_dpl != SEL_UPL) in i386_set_ldt()
|
H A D | vm_machdep.c | 531 sd.sd_dpl = SEL_UPL; in cpu_set_user_tls() 541 load_gs(GSEL(GUGS_SEL, SEL_UPL)); in cpu_set_user_tls()
|
H A D | trap.c | 914 ISPL(frame->tf_cs) == SEL_UPL ? "user" : "kernel"); in trap_fatal()
|
H A D | exec_machdep.c | 929 desc.sd.sd_dpl = SEL_UPL; in setup_priv_lcall_gate()
|
/freebsd/sys/amd64/amd64/ |
H A D | machdep.c | 379 .ssd_dpl = SEL_UPL, 388 .ssd_dpl = SEL_UPL, 415 .ssd_dpl = SEL_UPL, 424 .ssd_dpl = SEL_UPL, 433 .ssd_dpl = SEL_UPL, 1187 ((u_int64_t)GSEL(GUCODE32_SEL, SEL_UPL) << 48); in amd64_conf_fast_syscall() 1426 SEL_UPL, 0); in hammer_time() 1428 SEL_UPL, 0); in hammer_time() 1457 &IDTVEC(dtrace_ret), SDT_SYSIGT, SEL_UPL, 0); in hammer_time() 1592 _ucodesel = GSEL(GUCODE_SEL, SEL_UPL); in hammer_time() [all …]
|
H A D | genassym.c | 269 ASSYM(KUCSEL, GSEL(GUCODE_SEL, SEL_UPL)); 270 ASSYM(KUDSEL, GSEL(GUDATA_SEL, SEL_UPL)); 271 ASSYM(KUC32SEL, GSEL(GUCODE32_SEL, SEL_UPL)); 272 ASSYM(KUF32SEL, GSEL(GUFS32_SEL, SEL_UPL)); 273 ASSYM(KUG32SEL, GSEL(GUGS32_SEL, SEL_UPL));
|
H A D | sys_machdep.c | 744 if ((dp->sd_p != 0) && (dp->sd_dpl != SEL_UPL)) in amd64_set_ldt()
|
/freebsd/tools/test/stress2/misc/ |
H A D | segregs.sh | 82 desc.sd.sd_dpl = SEL_UPL; 91 sel = LSEL(sl, SEL_UPL);
|
H A D | ldt.sh | 68 return (LSEL(sel, SEL_UPL)); 121 descs[0].sd.sd_dpl = SEL_UPL;
|
/freebsd/sys/i386/include/ |
H A D | frame.h | 39 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL)
|
H A D | cpu.h | 55 ((ISPL((framep)->tf_cs) == SEL_UPL) || ((framep)->tf_eflags & PSL_VM))
|
/freebsd/sys/amd64/ia32/ |
H A D | ia32_syscall.c | 245 &IDTVEC(int0x80_syscall), SDT_SYSIGT, SEL_UPL, 0); in ia32_syscall_enable() 276 desc.sd_dpl = SEL_UPL; in setup_lcall_gate()
|
/freebsd/sys/amd64/include/ |
H A D | frame.h | 48 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL)
|
H A D | cpu.h | 52 (ISPL((framep)->tf_cs) == SEL_UPL)
|
/freebsd/sys/x86/include/ |
H A D | segments.h | 49 #define SEL_UPL 3 /* user priority level */ macro
|
/freebsd/sys/i386/linux/ |
H A D | linux_sysvec.c | 384 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_sigreturn() 463 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_rt_sigreturn()
|
/freebsd/sys/amd64/linux/ |
H A D | linux_machdep.c | 359 return (val != 0 && ISPL(val) != SEL_UPL); in linux_invalid_selector()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/intel/dtrace/ |
H A D | fasttrap_isa.c | 825 if (ISPL(sel) != SEL_UPL) in fasttrap_do_seg() 864 if (desc->sd_dpl != SEL_UPL || desc->sd_p != 1) in fasttrap_do_seg()
|
/freebsd/sys/amd64/linux32/ |
H A D | linux32_machdep.c | 288 td->td_frame->tf_gs = GSEL(GUGS32_SEL, SEL_UPL); in linux_set_cloned_tls()
|