commit | a94c5c827a786844b56e8e36ddaed6239f32d86c | [log] [tgz] |
---|---|---|
author | Jay Freeman (saurik) <saurik@saurik.com> | Wed Jul 27 02:46:27 2016 -0700 |
committer | Jay Freeman (saurik) <saurik@saurik.com> | Wed Jul 27 02:46:27 2016 -0700 |
tree | 12caaf642bb2de68986a71bc2eaf152dfce867da | |
parent | 13bf235cac2201747de11652cf14fe2714ca0718 [diff] |
lockdown: remove unnecessary check for pair record file during pairing During device pairing the code in lockdownd_do_pair() is checking if there is a pair record on disk for the current device, and then requests it from usbmuxd. This additional check is not only unnecessary since usbmuxd can obviously only return a pair record if it exists, but is also causing issues on newer versions of macOS where /var/db/lockdown is mode 700.