mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
4448758b3e
We can't allow applications to reference/unreference cursors, this is a safety/security violation, and it being done improperly lead to the reference counts becoming incorrect on the app_server side. Change AS_REFERENCE_CURSOR to AS_CLONE_CURSOR and adjust the Cursor code appropriately. (In the future, copying BCursor without Clone'ing the data in the case of custom cursors could be accomplished with client-side reference counting.) Then rework CursorManager to remove cursors at once on team deletion, and otherwise clean up cursor reference management to let the reference counting handle things. |
||
---|---|---|
.. | ||
ApplicationPrivate.h | ||
AppMisc.h | ||
AppServerLink.h | ||
DesktopLink.h | ||
DirectMessageTarget.h | ||
KeyStoreDefs.h | ||
LaunchDaemonDefs.h | ||
LaunchRoster.h | ||
LaunchRosterPrivate.h | ||
LinkReceiver.h | ||
LinkSender.h | ||
LooperList.h | ||
MessageAdapter.h | ||
MessagePrivate.h | ||
MessageUtils.h | ||
MessengerPrivate.h | ||
PortLink.h | ||
RegistrarDefs.h | ||
RosterPrivate.h | ||
Server.h | ||
ServerLink.h | ||
ServerMemoryAllocator.h | ||
ServerProtocol.h | ||
ServerProtocolStructs.h | ||
ServerReadOnlyMemory.h | ||
SimpleMallocIO.h | ||
TokenSpace.h |