Subject: Re: commoning up code that changes uids and gids
To: None <tech-kern@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-kern
Date: 03/04/2003 13:01:32
> a sys_setresuid() in our kernel is:
> 
> 	- unnecessary bloat

I suspect it is at least size-neutral, if linux emulation in
included it will probably reduce the size.

> 	- changes the security model

It improves it by implementing it in one place.

> 	- has no users

What about sys_setgid(), sys_setegid(), sys_setregid()
and linux_sys_setresgid().
Not to mention a fixed hpux call.

	David

-- 
David Laight: david@l8s.co.uk