pileofrogs has asked for the wisdom of the Perl Monks concerning the following question:
Ooh Yay Yay Su Dominay <Whack>, Ye Monks
I'm working on making c saved id functions available in perl. (see Announcing Unix::SavedIDs)
These functions can change the processes UID, EUID, GID and EGID. When I use these functions in perl the IDs do change. I've tested by attempting various file accesses. However, $<,$>,$(,and $) don't reflect the new values.
I think I need to do something in my XSUB to tell perl that those values need to be updated.
Any ideas how to do that?
Thanks!
--Pileofrogs
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XS Question
by ysth (Canon) on May 09, 2008 at 23:42 UTC | |
|
Re: XS Question
by chip (Curate) on May 09, 2008 at 23:41 UTC | |
|
Re: XS Question
by syphilis (Archbishop) on May 09, 2008 at 23:43 UTC |