1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/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 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