Article View: es.comp.os.linux.programacion
Article #17131Re: Es posible hacer un virus en Linux?
From: Ignacio Arenaza
Date: Wed, 16 Feb 2000 00:00
Date: Wed, 16 Feb 2000 00:00
37 lines
2261 bytes
2261 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "Manuel" == Manuel L�pez Moreno <luname@linuxfan.com> writes:
Manuel> Tal d�a 15 Feb 2000 21:41:19 +0100, Ignacio Arenaza
Manuel> <inaki.arenaza@jet.es> nos relat�:
>> Si usas los nativos del nucleo, tambien usas fork(2), ya que
>> clone(2) acaba llamando a fork(2) con algunos parametros
>> (flags) especiales para indicar que en realidad debe tratar el
>> nuevo proceso como una hebra, pero de hecho es un nuevo
>> proceso.
Manuel> No lo tengo muy claro, pero pensaba que era al rev�s:
Manuel> fork() utiliza __clone() con par�metros especiales.
Bueno, si el codigo del nucleo que yo tengo aqui no miente, es como yo
lo digo ;-) Echa una ojeada a
/usr/src/linux/arch/i386/kernel/process.c, funciones sys_fork y
sys_clone, que son la definicion de las llamadas del sistema fork(2) y
clone(2), y a /usr/src/linux/main/fork.c, la funcion do_fork()
Saludos. I�aki.
- --
Get PGP/GPG Keys at http://personales.jet.es/inaki.arenaza/pgpkey.html
A proud member of GULA - http://gula.jet.es/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.4 and Gnu Privacy Guard
iD8DBQE4qwsMZXLnGT1HLgcRAr0qAJ4ywCEC9v0UbWiNqM1IWTp41kEfSgCdFTCO
7h24Q7Mne/NziDuV+HFKbJ0=
=o4o/
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<87ya8k3mr6.fsf@eb2ebu.ampr.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<38870F9A.CC32F6C4@bigfoot.com> <86s7vi$a58$1@titan.bt.es> <389E94B7.64DF2516@bigfoot.com> <87mn2s$218$1@titan.bt.es> <38A0234B.F4F53048@bigfoot.com> <87pbmr$r68$1@titan.bt.es> <38A1978F.B7EDC00E@bigfoot.com> <nk5c88.c32.ln@simpsons4ever> <87hffa6vww.fsf@eb2ebu.ampr.org> <slrn8ajubb.2kg.luname@mantium.luname.net>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,52acdbb60032e4b1 X-Google-Attributes: gidf86c8,public From: Ignacio Arenaza <inaki.arenaza@jet.es> Subject: Re: Es posible hacer un virus en Linux? Date: 2000/02/16 Message-ID: <87ya8k3mr6.fsf@eb2ebu.ampr.org> X-Deja-AN: 586787590 Content-Transfer-Encoding: 8bit References: <38870F9A.CC32F6C4@bigfoot.com> <86s7vi$a58$1@titan.bt.es> <389E94B7.64DF2516@bigfoot.com> <87mn2s$218$1@titan.bt.es> <38A0234B.F4F53048@bigfoot.com> <87pbmr$r68$1@titan.bt.es> <38A1978F.B7EDC00E@bigfoot.com> <nk5c88.c32.ln@simpsons4ever> <87hffa6vww.fsf@eb2ebu.ampr.org> <slrn8ajubb.2kg.luname@mantium.luname.net> Organization: Servidor NNTP de eb2ebu.ampr.org Content-Type: text/plain; charset=iso-8859-1 User-Agent: Gnus/5.070096 (Pterodactyl Gnus v0.96) Emacs/20.3 Mime-Version: 1.0 Newsgroups: es.comp.os.linux.programacion