* [uml-devel] uml doesn't like stack protection of GCC hardened
@ 2006-04-23 17:49 Blaisorblade
0 siblings, 0 replies; only message in thread
From: Blaisorblade @ 2006-04-23 17:49 UTC (permalink / raw)
To: user-mode-linux-devel; +Cc: Antoine Martin
Only once, I got the following error with an UML compiled with GCC hardened:
Configuring network interfaces...
Debug: sleeping function called from invalid context
at /home/paolo/Admin/kernel/6/VCS/linux-2.6.16/mm/slab.c:2729
remove_umid_dir - actually_do_remove failed with err = -2
vmlinux-2.6.16.9-bs2-read_output: stack smashing attack in function
start_idle_thread()
And UML exited.
That's surely a false positive, likely caused by setjmp() / longjmp() games,
and I never saw it (but possibly other times it happened and I ignored it) -
I have not had a _bad_ experience with the hardened GCC (I've written some
patches to allow UML to compile with it, they'll be in -bs2 - it simply
amounts to disabling -fpie and -fstack-protector for sensitive files).
However, I still wanted to inform you of this.
--
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
___________________________________
Bolletta salata? Passa a Yahoo! Messenger with Voice
http://it.messenger.yahoo.com
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-04-24 15:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-23 17:49 [uml-devel] uml doesn't like stack protection of GCC hardened Blaisorblade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox