freebsd-dev/sbin/shutdown
Alexander Langer f6faa785f2 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
pathnames.h
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