freebsd-skq/sbin/shutdown
alex 3b5bff74db Pass an actual empty environment to execle() as per POSIX rather than
rely on undocumented behavior.

The following fixes were obtained from OpenBSD:

  o -Wall fixes to tlist array initialization and assignment used
    as truth value.
  o Use a restricted environment.
  o Improved error message when shutdown fails to exec reboot or halt.
1998-01-10 20:11:06 +00:00
..
Makefile Convert to our man installation style. Also fixed long-standing bug 1994-08-05 02:42:42 +00:00
pathnames.h BSD 4.4 Lite sbin Sources 1994-05-26 06:35:07 +00:00
shutdown.8 Add Xref to nologin(5). 1997-07-04 06:31:52 +00:00
shutdown.c Pass an actual empty environment to execle() as per POSIX rather than 1998-01-10 20:11:06 +00:00