On Thu, 28 Feb 2002 22:14:56 +1100 (EST),
Bruce Evans <[EMAIL PROTECTED]> said:
Takanori> Can you look into PR kern/29844 as well?
Takanori> I think after your fix, it should fail even when invoked by super
Takanori> user.
>>
>> The superuser fails as well.
bde> setpgrp() is the same as setpg
On Thu, 28 Feb 2002, Seigo Tanimura wrote:
> On Thu, 28 Feb 2002 01:39:11 +0900,
> Takanori Saneto <[EMAIL PROTECTED]> said:
>
> Takanori> Can you look into PR kern/29844 as well?
> Takanori> I think after your fix, it should fail even when invoked by super
> Takanori> user.
>
> The superuser f
On Thu, 28 Feb 2002 13:18:06 +0900,
HIROSHI OOTA <[EMAIL PROTECTED]> said:
oota> but, It should return EPERM instead of ESRCH. Because ESRCH
oota> means `The requested process does not exist'.
Setpgrp(2) should fail in this case because pid 1 (which is usually
init(8)) is not a child of the c
thanks for your quick fixing.
but, It should return EPERM instead of ESRCH. Because ESRCH
means `The requested process does not exist'.
thanks,
--
HIROSHI OOTA
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
wit
[Please write in us-ascii]
On Thu, 28 Feb 2002 01:39:11 +0900,
Takanori Saneto <[EMAIL PROTECTED]> said:
Takanori> Can you look into PR kern/29844 as well?
Takanori> I think after your fix, it should fail even when invoked by super
Takanori> user.
The superuser fails as well.
Takanori> In a
Can you look into PR kern/29844 as well?
I think after your fix, it should fail even when invoked by super
user.
Regards,
In article <[EMAIL PROTECTED]>,
Seigo Tanimura <[EMAIL PROTECTED]> wrote:
>On Wed, 27 Feb 2002 15:44:23 +0900,
> HIROSHI OOTA <[EMAIL PROTECTED]> said:
oota> The fo
On Wed, 27 Feb 2002 15:44:23 +0900,
HIROSHI OOTA <[EMAIL PROTECTED]> said:
oota> The following will succeed in non privilege user.
oota> I think it should fail.
oota> main()
oota> {
oota>printf("%d\n", setpgrp(1, 1));
oota> }
Fixed in rev 1.138 of kern/kern_prot.c, thanks!
--
Seigo Tani