Fix style
git-svn-id: svn://kolibrios.org@7322 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
3c1445e6c6
commit
889dc1746b
@ -192,12 +192,12 @@ endg
|
|||||||
align 32
|
align 32
|
||||||
setInt0x40:
|
setInt0x40:
|
||||||
|
|
||||||
; !!! kernel security !!!
|
; !!! kernel security !!!
|
||||||
and ebx, 0FFh
|
and ebx, 0FFh
|
||||||
mov eax, dword [servetable2 + ebx * 4]
|
mov eax, dword [servetable2 + ebx * 4]
|
||||||
; cmp eax, undefined_syscall
|
; cmp eax, undefined_syscall
|
||||||
; jne errorSet0x40
|
; jne errorSet0x40
|
||||||
; -----------------------
|
; -----------------------
|
||||||
|
|
||||||
pushad
|
pushad
|
||||||
add edx, 16
|
add edx, 16
|
||||||
@ -224,11 +224,11 @@ setInt0x40:
|
|||||||
mov dl, byte[ecx]
|
mov dl, byte[ecx]
|
||||||
mov byte[ebx], dl
|
mov byte[ebx], dl
|
||||||
|
|
||||||
; hash security function
|
; hash security function
|
||||||
add dword[hashDataFunction1], edx
|
; add dword[hashDataFunction1], edx
|
||||||
mov edx, dword[hashDataFunction1]
|
; mov edx, dword[hashDataFunction1]
|
||||||
add dword[hashDataFunction2], edx
|
; add dword[hashDataFunction2], edx
|
||||||
;-----------------------------
|
; -----------------------------
|
||||||
|
|
||||||
inc ebx
|
inc ebx
|
||||||
inc ecx
|
inc ecx
|
||||||
@ -237,12 +237,12 @@ setInt0x40:
|
|||||||
|
|
||||||
pop ebx
|
pop ebx
|
||||||
|
|
||||||
; check hash security data
|
; check hash security data
|
||||||
; cmp edi, dword[hashDataFunction1]
|
; cmp edi, dword[hashDataFunction1]
|
||||||
; jne errorSet0x40
|
; jne errorSet0x40
|
||||||
; cmp esi, dword[hashDataFunction2]
|
; cmp esi, dword[hashDataFunction2]
|
||||||
; jne errorSet0x40
|
; jne errorSet0x40
|
||||||
;-------------------------------
|
; -------------------------------
|
||||||
|
|
||||||
mov eax, dword[tempPointerAlloc]
|
mov eax, dword[tempPointerAlloc]
|
||||||
mov dword [servetable2 + ebx * 4], eax
|
mov dword [servetable2 + ebx * 4], eax
|
||||||
|
Loading…
Reference in New Issue
Block a user