You'll find your answer in the above question – much better explained than what I could come up with :) – slhck – 2013-03-26T18:31:03.527
kill -1 kills all processes, so the answer to the second question is no. – Dennis – 2013-03-26T18:37:36.283
@Dennis But the reason for no negative PIDs is not kill… it's the way the kernel allocates PIDs. – slhck – 2013-03-26T18:51:56.503
@shlck: kill's behavior is – of course – effect, not cause. I was trying to say in my previous comment that, if the kernel allocated negative PIDS, kill would have been written differently. – Dennis – 2013-03-26T18:55:48.817
You'll find your answer in the above question – much better explained than what I could come up with :) – slhck – 2013-03-26T18:31:03.527
kill -1
kills all processes, so the answer to the second question is no. – Dennis – 2013-03-26T18:37:36.283@Dennis But the reason for no negative PIDs is not
kill
… it's the way the kernel allocates PIDs. – slhck – 2013-03-26T18:51:56.503@shlck: kill's behavior is – of course – effect, not cause. I was trying to say in my previous comment that, if the kernel allocated negative PIDS, kill would have been written differently. – Dennis – 2013-03-26T18:55:48.817