[Webkit-unassigned] [Bug 257580] New: Make MachSendRight move-only

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 31 19:13:34 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=257580

            Bug ID: 257580
           Summary: Make MachSendRight move-only
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mattwoodrow at apple.com
                CC: kkinnunen at apple.com

MachSendRight are expensive to copy, since it calls into the kernel. We generally don't want to do that by accident.

We should make MachSendRight move-only, and switch callers to use the existing 'copySendRight' function where they do want a duplicate.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230601/28e1422e/attachment.htm>


More information about the webkit-unassigned mailing list