Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C Moderated > Re: Regarding P...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 1036 of 1145
Post > Topic >>

Re: Regarding Process group ID

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.
 




 5 Posts in Topic:
Regarding Process group ID
venkat <venkatavikas@[  2008-01-12 19:04:39 
Re: Regarding Process group ID
Keith Thompson <kst-u@  2008-01-14 12:49:17 
Re: Regarding Process group ID
Jack Klein <jackklein@  2008-01-14 12:49:42 
Re: Regarding Process group ID
Jonathan Leffler <jlef  2008-01-14 12:50:38 
Re: Regarding Process group ID
Kenneth Brody <kenbrod  2008-02-17 12:04:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Sep 4 23:56:09 CDT 2008.