Better fit with SELinux. Now requires only execmem, which Fedora Core 5
enables as default for non-confined [ordinary] executables. l_lx_elf.c l_lx_elf86.asm l_lx_elf86.h l_lx_elf86.lds fold_elf86.asm fold_elf86.h committer: jreiser <jreiser> 1145634453 +0000
This commit is contained in:
@@ -203,24 +203,5 @@ mmap:
|
||||
pop ebx
|
||||
ret
|
||||
|
||||
global die_SELinux
|
||||
die_SELinux:
|
||||
push ebx
|
||||
push byte L71 - L70
|
||||
pop edx
|
||||
call L71
|
||||
L70:
|
||||
db "SELinux enforcing mode inhibits execution.",10
|
||||
L71:
|
||||
pop ecx
|
||||
push byte 2
|
||||
pop ebx
|
||||
%define __NR_write 4
|
||||
push byte __NR_write
|
||||
pop eax
|
||||
int 0x80
|
||||
pop ebx
|
||||
ret
|
||||
|
||||
; vi:ts=8:et:nowrap
|
||||
|
||||
|
||||
Reference in New Issue
Block a user