Jonathan Kim 1f63ea3476 Fix export-close race during IPC attach request
If two attach requests to the same piece of shared memory occur,
a double export or premature dmabuf fd close can occur since the export
and close on demand calls are not atomic.

Use a reference counter on shared memory dmabuf FDs that have
already been opened to avoid this problem.

Change-Id: I14a59209c0385e32582af42a57b33b1c6838a9b1
2024-02-22 14:12:05 +00:00
2017-08-28 12:57:11 -05:00
S
描述
未提供描述
282 MiB
儲存庫語言
C++ 67.5%
C 20.6%
Python 6.6%
CMake 3.4%
Shell 0.6%
其他 1.1%