Sumanth Naropanth wrote: [CC:'ing shell-discuss at opensolaris.org (please make sure to keep this list in the CC:)] > Jeffrey Hutzelman wrote on 10/31/08 14:29: [snip] > Because it's not implemented in the system(3C) function itself. > > It doesn't happen as a rule, but happens in most use cases of system(3C) > inside setuid programs because Bourne shell resets the uid to the real > uid of the process when the effective uid is less than 100.
Is this a standard behaviour (e.g. defined by the POSIX standard) or a plain Bourne shell feature ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;)