Bug 309065

Summary: [GBM] gbm_bo_get_fd_for_plane() compat shim should pass DRM_RDWR to match native behavior
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: WPE WebKitAssignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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
Nikolas Zimmermann
Comment 1 2026-03-03 05:14:29 PST
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.