[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: visudo not vi?



>>>>> "Chad" == Chad C Walstrom <chewie@wookimus.net> writes:

 Chad> Correction.  Looks like they've written this version in C:

 Chad>     /usr/bin/e3: ELF 32-bit LSB executable, Intel 80386,
 Chad> version 1, statically linked, stripped

What brings you to this conclusion? if you do apt-get source e3 you
see it's in asm (nasm syntax) - On linux it uses a hardcoded elf
header and the upx exe packer, otherwise it just uses ld to link it.

>From the makefile:
ifeq    ($(OS),LINUX)
        nasm -f bin -l e3.lst -o e3 $(ASOURCES) -DCRIPLED_ELF=1 -D$(OS) -D$(EXMODE)
        chmod +x e3
#       upx -q -q -q -k -9 e3
else
        nasm $(AFLAGS) -o e3.o $(ASOURCES) -l e3.lst -D$(OS) -D$(EXMODE)
        ld -s -o e3 e3.o
        strip --remove-section .comment e3
endif

 Chad> Oh, well... Still small, either way you look at it. ;-)

yes ;)

-- 
Bye, Peter Korsgaard



Reply to: