WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
309065
[GBM] gbm_bo_get_fd_for_plane() compat shim should pass DRM_RDWR to match native behavior
https://bugs.webkit.org/show_bug.cgi?id=309065
Summary
[GBM] gbm_bo_get_fd_for_plane() compat shim should pass DRM_RDWR to match nat...
Nikolas Zimmermann
Reported
2026-03-03 05:13:06 PST
The native gbm_bo_get_fd_for_plane() in libgbm uses O_RDWR | O_CLOEXEC when calling drmPrimeHandleToFD(), but the compatibility shim in GBMVersioning.h only passed DRM_CLOEXEC - fix that.
Attachments
Add attachment
proposed patch, testcase, etc.
Nikolas Zimmermann
Comment 1
2026-03-03 05:14:29 PST
Pull request:
https://github.com/WebKit/WebKit/pull/59797
EWS
Comment 2
2026-03-03 07:01:21 PST
Committed
308544@main
(f714e6ba9553): <
https://commits.webkit.org/308544@main
> Reviewed commits have been landed. Closing PR #59797 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug