Page MenuHomeFreeBSD

x11-wm/hikari: seatd option and option groupings
Needs ReviewPublic

Authored by on Dec 12 2020, 9:13 PM.
Referenced Files
Unknown Object (File)
Fri, Jul 5, 2:44 PM
Unknown Object (File)
Thu, Jul 4, 8:33 AM
Unknown Object (File)
Apr 12 2024, 10:35 AM
Unknown Object (File)
Apr 10 2024, 4:17 PM
Unknown Object (File)
Dec 22 2023, 10:28 PM
Unknown Object (File)
Dec 13 2023, 4:57 AM
Unknown Object (File)
Jun 30 2023, 5:25 AM
Unknown Object (File)
Jun 29 2023, 3:57 AM
This revision needs review, but all reviewers have resigned.



This change adds a new option to the hikari port seatd, when this option is selected setuid isn't set on the hikari binary.
The old setuid behavior is still avalible trouw the HIKARI_SUID option.

The old SUID option was there for split into the UNLOCKER_SUID and HIKARI_SUID options.

Diff Detail

rP FreeBSD ports repository
Lint Skipped
Tests Skipped

Event Timeline

SEATD option is not necessary:

  • seatd support is only available if x11-toolkits/wlroots is built with LIBSEAT option enabled
  • LIBSEAT is enabled by default since rP553548, reducing the need to patch compositors to support setuid

Not sure about SUID -> HIKARI_SUID + UNLOCKER_SUID e.g., x11/swaylock doesn't have an option to disable setuid bit. hikari_unlocker requires setuid for pam_authenticate(3) to read /etc/master.passwd via Even if PAM configuration is changed (e.g., pam_google_authenticator, pam_yubico) an unprivileged process may still not be trusted with access to secret (generator). However, I don't maintain x11-wm/hikari, so whatever. ;)