| /f-stack/freebsd/i386/include/ |
| H A D | frame.h | 41 #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))
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | genassym.c | 248 ASSYM(KUCSEL, GSEL(GUCODE_SEL, SEL_UPL)); 249 ASSYM(KUDSEL, GSEL(GUDATA_SEL, SEL_UPL)); 250 ASSYM(KUC32SEL, GSEL(GUCODE32_SEL, SEL_UPL)); 251 ASSYM(KUF32SEL, GSEL(GUFS32_SEL, SEL_UPL)); 252 ASSYM(KUG32SEL, GSEL(GUGS32_SEL, SEL_UPL));
|
| H A D | machdep.c | 708 .ssd_dpl = SEL_UPL, 717 .ssd_dpl = SEL_UPL, 744 .ssd_dpl = SEL_UPL, 753 .ssd_dpl = SEL_UPL, 762 .ssd_dpl = SEL_UPL, 1733 SEL_UPL, 0); in hammer_time() 1735 SEL_UPL, 0); in hammer_time() 1912 _ucodesel = GSEL(GUCODE_SEL, SEL_UPL); in hammer_time() 1913 _udatasel = GSEL(GUDATA_SEL, SEL_UPL); in hammer_time() 1915 _ufssel = GSEL(GUFS32_SEL, SEL_UPL); in hammer_time() [all …]
|
| H A D | sys_machdep.c | 749 if ((dp->sd_p != 0) && (dp->sd_dpl != SEL_UPL)) in amd64_set_ldt()
|
| /f-stack/freebsd/i386/i386/ |
| H A D | ptrace_machdep.c | 186 td->td_frame->tf_fs = GSEL(GUFS_SEL, SEL_UPL); in cpu_ptrace() 189 td->td_pcb->pcb_gs = GSEL(GUGS_SEL, SEL_UPL); in cpu_ptrace()
|
| H A D | sys_machdep.c | 89 sdp->sd_dpl = SEL_UPL; in fill_based_sd() 245 td->td_frame->tf_fs = GSEL(GUFS_SEL, SEL_UPL); in sysarch() 262 load_gs(GSEL(GUGS_SEL, SEL_UPL)); in sysarch() 661 if (dp->sd.sd_p != 0 && dp->sd.sd_dpl != SEL_UPL) in i386_set_ldt()
|
| H A D | machdep.c | 1112 desc.sd.sd_dpl = SEL_UPL; in setup_priv_lcall_gate() 1300 .ssd_dpl = SEL_UPL, 1309 .ssd_dpl = SEL_UPL, 1336 .ssd_dpl = SEL_UPL, 1345 .ssd_dpl = SEL_UPL, 1373 .ssd_dpl = SEL_UPL, 1484 .ssd_dpl = SEL_UPL, 1502 .ssd_dpl = SEL_UPL, 2499 _ucodesel = GSEL(GUCODE_SEL, SEL_UPL); in init386() 2500 _udatasel = GSEL(GUDATA_SEL, SEL_UPL); in init386() [all …]
|
| H A D | vm_machdep.c | 537 sd.sd_dpl = SEL_UPL; in cpu_set_user_tls() 547 load_gs(GSEL(GUGS_SEL, SEL_UPL)); in cpu_set_user_tls()
|
| H A D | trap.c | 895 ISPL(frame->tf_cs) == SEL_UPL ? "user" : "kernel");
|
| /f-stack/freebsd/amd64/ia32/ |
| H A D | ia32_syscall.c | 237 &IDTVEC(int0x80_syscall), SDT_SYSIGT, SEL_UPL, 0); in ia32_syscall_enable() 266 desc.sd_dpl = SEL_UPL; in setup_lcall_gate()
|
| H A D | ia32_reg.c | 75 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL)
|
| H A D | ia32_signal.c | 88 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL)
|
| /f-stack/freebsd/amd64/include/ |
| H A D | cpu.h | 55 (ISPL((framep)->tf_cs) == SEL_UPL)
|
| /f-stack/freebsd/x86/include/ |
| H A D | segments.h | 52 #define SEL_UPL 3 /* user priority level */ macro
|
| /f-stack/freebsd/i386/linux/ |
| H A D | linux_machdep.c | 310 td->td_pcb->pcb_gs = GSEL(GUGS_SEL, SEL_UPL); in linux_set_cloned_tls() 634 load_gs(GSEL(GUGS_SEL, SEL_UPL)); in linux_set_thread_area()
|
| H A D | linux_sysvec.c | 634 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_sigreturn() 715 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_rt_sigreturn()
|
| /f-stack/freebsd/amd64/linux32/ |
| H A D | linux32_sysvec.c | 510 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_sigreturn() 593 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_rt_sigreturn()
|
| H A D | linux32_machdep.c | 419 td->td_frame->tf_gs = GSEL(GUGS32_SEL, SEL_UPL); in linux_set_cloned_tls()
|
| /f-stack/freebsd/amd64/linux/ |
| H A D | linux_sysvec.c | 559 #define CS_SECURE(cs) (ISPL(cs) == SEL_UPL) in linux_rt_sigreturn()
|