*BSD News Article 39806


Return to BSD News archive

Xref: sserve comp.os.386bsd.bugs:2774 comp.os.386bsd.questions:15360
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!news.alpha.net!news.mathworks.com!news.kei.com!ddsw1!not-for-mail
From: mikebo@MCS.COM (Michael Borowiec)
Newsgroups: comp.os.386bsd.bugs,comp.os.386bsd.questions
Subject: Re: [?!] So, is this a bug in the kernel execve() code?
Date: 21 Dec 1994 00:04:52 -0600
Organization: MCSnet, Chicago Area Public Internet Access
Lines: 28
Message-ID: <3d8gi4$8tc@Mars.mcs.com>
References: <D1351I.AM5@store.elvisti.kiev.ua>
NNTP-Posting-Host: mars.mcs.com

In article <D1351I.AM5@store.elvisti.kiev.ua>,
Andrew V. Stesin <stesin@elvisti.kiev.ua> wrote:
>Hi BSDers,
>
>as I wrote a few days ago, there was a strange thing noticed
>with FreeBSD-1.1.5R. Here is an (incorrect, I know! ;) program in C:
>
>int 
>main (int ac, char **av)
>{
>	return (execve("/bin/ls", av[1], 0));
>}
>
>anyway, given some command line parameters, this reboots the system 
>immediately on our machine.
>Your mileage may vary -- this is the shortest example from the set.
>
... stuff deleted ...

This program had no effect on my 1.1.5.1 system. Give 'er a try...
- Mike

-- 
--------------------------------------------------------------------------
Michael Borowiec			All tied to their things,
mikebo@MCS.COM				they are netted by the strings...
					Free to flutter, in memory of
					their wasted wings...  P.Gabriel