In this question, I found out that trying to run privileged commands when not in ring 0 can lead to what looks like segfaultin a user process, and I have two subsequent questions.
segfault
, #GP , . : CLI, CLTS, HLT, IN, INT ( ), INVD, INVLPG, IRET ( ), LDMXCSR ( (t216 > ), MOV ( CRx DRx), MWAIT, > ( ECX), OUT, RDMSR, RDPMC, SWAPGS, SYSEXIT, SYSRET, WBINVD, WRMSR, XGETBV ( ECX), XRSTOR, XSETBV
#GP
CLI
CLTS
HLT
IN
INT
INVD
INVLPG
IRET
LDMXCSR
MOV
CRx
DRx
MWAIT
ECX
OUT
RDMSR
RDPMC
SWAPGS
SYSEXIT
SYSRET
WBINVD
WRMSR
XGETBV
XRSTOR
XSETBV
, , MOV / .
- , "", . , JMP CALL , . , .
, , LEA , , .
, , , SEGV, , , POP, PUSH, CALL RET, ( CALL, valid, RET , ... .)
, IP- , , --... SEGV. , , (.. , RET, INT 3 , , , ...)
Source: https://habr.com/ru/post/1530918/More articles:How to create a 2x2 bar chart - next to a paired bar in R - rWhy segfault instead of privilege instruction error? - performanceReset Sleep Time - c ++Ошибка поврежденной памяти Kinect SDK - c#https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1530917/passing-numpy-string-format-arrays-to-fortran-using-f2py&usg=ALkJrhjL4iDEw8Wvyb__ohz7yFBdl_ISXAmathematical not integer - delphiHow to write integration holidays for asp.net web api - authenticationHow to make suitable size only for image in UIWebView? - htmlember.js with MySQL connection - mysqlError updating sdk - androidAll Articles