Skip to content

Commit

Permalink
santad: Add /usr/lib/dyld to critical system binaries (#376)
Browse files Browse the repository at this point in the history
dyld is also authorized by santad and a bad cache eviction plus trustd/ocspd not running can result in deadlock.

Fixes #375, probably.
  • Loading branch information
russellhancox authored Jul 22, 2019
1 parent 545fa85 commit bc82d79
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/santad/DataLayer/SNTRuleTable.m
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ @implementation SNTRuleTable

- (NSArray *)criticalSystemBinaryPaths {
return @[
@"/usr/libexec/trustd", @"/usr/sbin/securityd", @"/usr/libexec/xpcproxy", @"/usr/sbin/ocspd"
@"/usr/libexec/trustd", @"/usr/sbin/securityd", @"/usr/libexec/xpcproxy",
@"/usr/sbin/ocspd", @"/usr/lib/dyld"
];
}

Expand Down

0 comments on commit bc82d79

Please sign in to comment.