Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!src.honeywell.com!msi.umn.edu!cs.umn.edu!uc!shamash!rrr From: rrr@u02.svl.cdc.com (Rich Ragan) Newsgroups: comp.lang.perl Subject: undump, unexec, or C-wrapper needed Message-ID: <28891@shamash.cdc.com> Date: 28 Nov 90 01:22:12 GMT Sender: news@shamash.cdc.com Reply-To: rrr@svl.cdc.com Organization: Control Data Corporation, Silicon Valley Operations Lines: 18 I have built a mail gateway into a proprietary mail system in Perl and now I want to have it run with root privilege so things like the "From" user supplied by the gateway are believed by sendmail. As you may have surmised from the subject perl won't let me do it directly. I have undump source but it looks like it will be non-trivial to get it running under a Mips RiscOS derived system. I got the Mips version of unexec.c and rebuilt Perl with Tom Christiansen's UNEXEC code activated. This dumps a file for me but executing it gives me a "Killed" message and dbx complains that there is no start address. The third alternative suggested by Perl is a C-wrapper. Has anyone done one of these they could send me or point me to? Failing that, any suggestions on how to get further with undump or unexec. Thanks -- -- Richard R. Ragan rrr@svl.cdc.com (408) 496-4340 Control Data Corporation--Silicon Valley Operations