From: Ian Pratt Subject: Re: Unable to compile Xen-2.0 Date: Wed, 27 Oct 2004 09:12:31 +0100 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: References: <417F1496.8070605@orcon.net.nz> Return-path: In-reply-to: Your message of "Wed, 27 Oct 2004 16:23:02 +1300." <417F1496.8070605@orcon.net.nz> Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Jerome Brown Cc: Xen-devel@lists.sourceforge.net, Ian.Pratt@cl.cam.ac.uk List-Id: xen-devel@lists.xenproject.org > > Does stock Linux work when compiled with SSP enabled? Sounds > > pretty scary to me... > > I haven't specifically tried with the -fstack-protector-all flag enabled > for the stock kernel, and the flag wasn't active when compiling Xen. > Most of the userland tools on my box are compiled with SSP enabled. What > about it sounds scary? Userland tools are one thing, but kernels tend to be rather more fragile as regards having compilers monkey with their stack. Also, when the post-call code detects a stack smash, what's it going to do? I suppose it can execute an illegal instruction and thus cause a GPF and thus halt. Ian ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click