Linux X Windows App Won't Dump Core

My linux X Windows app won't dump the core on signal 11 if the application is brought up using a shell script set to respawn in the inittab file. This script calls xinit which in turn executes .xinitrc which brings up the application. In order to run from inittab, permissions are set to 4555 on the executable. If I run the application from command line in an xterm, the core will get dumped on signal 11? Interesting note: core will dump on signal 11 with same application running on SCO Open Server (from inittab or xterm)?
longmarcoAsked:
Who is Participating?
 
hawkfanConnect With a Mentor Commented:
suid executables won'd dump core on Linux for security reasons.  I think the check is ruid == euid then dump else don't.

I think the only way to remove that feature is to remove the check in the kernel code.

Why do you want it to dump core if you're not debuging it anyway?  If you are still debuging it why is it running suid? ;)


0
All Courses

From novice to tech pro — start learning today.