[Midnightbsd-cvs] [MidnightBSD/src] 380913: cron(8): convert vfork() usage to fork()

Lucas Holt noreply at github.com
Sun Nov 15 01:45:23 EST 2020


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/src
  Commit: 3809135e4d23e9d2d77df83f1c0933a63b7c29a8
      https://github.com/MidnightBSD/src/commit/3809135e4d23e9d2d77df83f1c0933a63b7c29a8
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-15 (Sun, 15 Nov 2020)

  Changed paths:
    M usr.sbin/cron/cron/compat.h
    M usr.sbin/cron/cron/do_command.c
    M usr.sbin/cron/cron/externs.h
    M usr.sbin/cron/cron/popen.c
    M usr.sbin/cron/lib/compat.c

  Log Message:
  -----------
  cron(8): convert vfork() usage to fork()

vfork() is error-prone, and the usage here definitely grew to not be
clearly OK given vfork-semantics; e.g. setusercontext(3) within the child.

Rip out vfork() and the rest of the references to it. fork is heavier, but
it's unclear that the difference will be all that obvious.

cron(8): rip out do_univ

This was an old Dynix hack, the function is a NOP on BSD. We have no
need to retain this; Dynix was discontinued long ago.


  Commit: 1d993dba44cec058e135c51271c5d0e4e695f7e7
      https://github.com/MidnightBSD/src/commit/1d993dba44cec058e135c51271c5d0e4e695f7e7
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2020-11-15 (Sun, 15 Nov 2020)

  Changed paths:
    M sys/net/ethernet.h

  Log Message:
  -----------
  Ethernet: add some more Ethertypes.

Add some types based on other BSDs and also add EtherCat, PROFINET, Powerlink
and Sercos III which are IEC standards.

There is a public list (CSV format) at:
	https://standards.ieee.org/products-services/regauth/

Spacing cleanups.
No functional change.


Compare: https://github.com/MidnightBSD/src/compare/a990ea3387e4...1d993dba44ce


More information about the Midnightbsd-cvs mailing list