Solved

Linux X Windows App Won't  Dump Core

Posted on 2000-04-06
1
263 Views
Last Modified: 2010-04-21
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)?
0
Comment
Question by:longmarco
1 Comment
 

Accepted Solution

by:
hawkfan earned 75 total points
ID: 2843564
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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question