Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sbin/shutdown



On Wed, Mar 14, 2007 at 03:52:28AM +0000, Christos Zoulas wrote:
> 
> Module Name:  src
> Committed By: christos
> Date:         Wed Mar 14 03:52:28 UTC 2007
> 
> Modified Files:
>       src/sbin/shutdown: Makefile shutdown.c
> 
> Log Message:
> - sprinkle static
> - pass WARNS=4 and lint
> - use size_t/time_t where appropriate
> - get/setprogname()
> - before executing rc.shutdown, set the real user id to 0, because shutdown
>   scripts may depend on it (for example su depends on being root).
> - use warn instead of perror, and make sure we use the right errno.

Could at least the real user id part be pulled into the 4.X branch? All of 
it would be fine too.

Take care,

Bill

Attachment: pgpn4G_n1L0uD.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index