Sweden-Number/dlls/mountmgr.sys
Brendan Shanks 33c8a42547 mountmgr: Avoid unnecessary permission prompts on macOS 10.15 and newer.
On macOS 10.15 and newer, trying to open the device node of a removable
drive will trigger an "<app> would like to access files on a removable
volume" permission prompt, even if the user doesn't have permissions
to access the device node (which is almost always the case).

Check the value of access() (recommended by Apple for this purpose)
before opening devices.

Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-13 22:37:16 +02:00
..
Makefile.in mountmgr: Add ioctl to read host credentials on macOS. 2020-09-02 16:30:03 +02:00
dbus.c
device.c mountmgr: Avoid unnecessary permission prompts on macOS 10.15 and newer. 2020-10-13 22:37:16 +02:00
diskarb.c mountmgr: Avoid unnecessary permission prompts on macOS 10.15 and newer. 2020-10-13 22:37:16 +02:00
mountmgr.c mountmgr: Add ioctl to enumerate host credentials on macOS. 2020-09-03 17:21:44 +02:00
mountmgr.h mountmgr: Add ioctl to enumerate host credentials on macOS. 2020-09-03 17:21:44 +02:00
mountmgr.sys.spec