)]}' { "commit": "993b28c400b97e65fc1c457f112e2a9c2fd1d912", "tree": "554d2772aeae2682a2db9825e9fbbc0ff0ca5763", "parents": [ "3ed54c52b1ece08eae21774fbac50a5cc16bae93" ], "author": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Sun Aug 08 09:16:38 2021 -0600" }, "committer": { "name": "Nathan Hjelm", "email": "hjelmn@google.com", "time": "Sun Aug 08 09:19:21 2021 -0600" }, "message": "darwin: improve the error message on kernel driver detach failure\n\nDetaching a kernel driver in macOS requires that either the binary has the\ncom.apple.vm.device-access entitlement or is run with effective UID 0 (root). This\ncommit adds an effective UID check before attempting to capture a device and prints\na warning that neither is the user root nor does the binary have the correct\nentitlement.\n\nSigned-off-by: Nathan Hjelm \u003chjelmn@google.com\u003e\n", "tree_diff": [ { "type": "modify", "old_id": "5d3108839f3d6bdd5a06d2c7522b16eeb222b81b", "old_mode": 33188, "old_path": "libusb/os/darwin_usb.c", "new_id": "b6cc3592f13e89cf303ab98d39725ceb4f6c36ac", "new_mode": 33188, "new_path": "libusb/os/darwin_usb.c" }, { "type": "modify", "old_id": "981f7047b46e75bec58ce9367b7e8b9b252b4d13", "old_mode": 33188, "old_path": "libusb/version_nano.h", "new_id": "f5aaa732606371fdaa4bcd3a5be3644baf545bf8", "new_mode": 33188, "new_path": "libusb/version_nano.h" } ] }