Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Linux X Windows App Won't  Dump Core

Posted on 2000-04-06
1
Medium Priority
?
269 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 150 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

927 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