[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getting screen to dump the core?
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: getting screen to dump the core?
- From: "Denis A. Doroshenko" <cyxob_(_at_)_tipas_(_dot_)_lt>
- Date: Thu, 25 Mar 1999 12:11:32 +0200 (LST)
i decided to dig on the subject, but right now i'm unable to get it :-(
it prints core dumped but it's just words... even when i do ``sysctl -w
kern.nosuidcoredump=0'' it doesn't dump core for me (simple user) and for
root it doesn't get SIGSEGV...
how do i create a core from the same process without kill()?
BTW, SIGSEGV handling subrotine (screen.c, line 1955, CoreDump()) has
call to ``unlink("core");'' and it's not patched with ports patches. As
far as I understand this is at least senceless (i guess it very
dangerous) under OpenBSD, since core files are named progname.core and
screen attempts here to delete my file (after setuid/setgid, dunno
about groups) named "core"! very bad thingie...
--
CYXOB
Visit your host, monkey.org