[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dumping core: root vs. normal user



On 15 Apr 1998, Eloy A. Paris wrote:

> an easy one: why when root runs a program that faults core is not
> dumped but when a normal user runs the same program a core is dumped?

root@hobbes(p5):cs315# cat core-test.c
void main(void)
{
        * (char *) 0 = 0;
}

root@hobbes(p5):cs315# gcc core-test.c -o core-test
root@hobbes(p5):cs315# ./core-test 
Segmentation fault (core dumped)
root@hobbes(p5):cs315# whoami
root
root@hobbes(p5):cs315# ulimit -c
unlimited

I'd check the ulimit,
Brandon

-----
Brandon Mitchell <bhmit1@mail.wm.edu>   "We all know linux is great... it
PGP: finger -l bhmit1@cs.wm.edu          does infinite loops in 5 seconds"
Phone: (757) 221-4847                      --Linus Torvalds


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: