bus1 / dbus-broker

Linux D-Bus Message Broker
https://github.com/bus1/dbus-broker/wiki
Apache License 2.0
661 stars 78 forks source link

memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL #322

Closed gdamjan closed 11 months ago

gdamjan commented 1 year ago

Recent kernels complain about dbus-broker-launch using memfd_create

memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=281 'dbus-broker-lau'

systemd recently fixed this too with this PR https://github.com/systemd/systemd/pull/26800

Would it be fine if we copy the same code/memfd wrapper from systemd to dbus-broker?

dvdhrm commented 12 months ago

Thanks a lot for the hint. I tried to address the issue in #323, let me know if you think anything else is needed!

gdamjan commented 12 months ago

looks good to me - as far as I can understand C code :)

dvdhrm commented 11 months ago

Merged. Thanks a lot for the report!