by Kenneth Brody <kenbrody@[EMAIL PROTECTED]
>
Feb 17, 2008 at 12:04 PM
venkat wrote:
>
> Hi folks,
>
> I am a learner in Unix. While going through Process group ID, found
> that A process can set the process group ID of only itself or any of
> its children. Furthermore, it can't change the process group ID of
> one of its children after that child has called one of the exec
> functions.
> Not able to understand why?. Can some one explain why this behaviour
> is like this?.
>
> Appreciate your help in this regard.
You'll have to ask somewhere else (perhaps comp.unix programmer?) to
get a definitive answer, as this is not C-related. However, the
answer is basically "security". You don't want just any old process
to be able to make such changes to running processes.
--
+-------------------------+--------------------+-----------------------+
| Kenneth J. Brody | www.hvcomputer.com | #include |
| kenbrody/at\spamcop.net | www.fptech.com | <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------+
Don't e-mail me at: <mailto:ThisIsASpamTrap@[EMAIL PROTECTED]
>
--
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
-- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line. Sorry.