Patch to init

Joerg Sonnenberger joerg at
Fri Feb 25 07:20:21 PST 2005

On Thu, Feb 24, 2005 at 09:02:25PM -0800, Kevin M. Kilbride wrote:
> This patch brings sbin/init into WARNS=6 compliance. It depends upon the 
> execve 'constification' patch submitted prior.

Commited with the following changes:
- stall and the like are used only locally, make them static.
- don't use __attribute__ directly, but e.g. __unused. this allows us
  to support other compilers as well.
- I use the better code for get_chroot, less hacks and cleaner code.
- we can't chang ethe interface of execve, but we know that it is save.
  ==> __DECONST is fine.


More information about the Submit mailing list