[Midnightbsd-cvs] [MidnightBSD/src] 884670: When closing a LinuxKPI file always use the real r...

Lucas Holt noreply at github.com
Sun Nov 15 02:22:57 EST 2020


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

  Changed paths:
    M sys/compat/linuxkpi/common/src/linux_compat.c

  Log Message:
  -----------
  When closing a LinuxKPI file always use the real release function to avoid
resource leakage when destroying a LinuxKPI character device.


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

  Changed paths:
    M sys/dev/acpica/acpi_button.c
    M sys/dev/acpica/acpi_lid.c

  Log Message:
  -----------
  Expose the ACPI power button, sleep button and LID state as evdev's.

This allows libinput to disable touchpads when the lid is closed and
various desktop environments can show power-off dialogs when the power
button is pressed. While the latter is doable with devd a
cross-platform solution is nicer.


Compare: https://github.com/MidnightBSD/src/compare/2c447b5db296...34f53390e657


More information about the Midnightbsd-cvs mailing list