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