Skip to content

Commit

Permalink
Adding entitlement for unsigned memory execution
Browse files Browse the repository at this point in the history
ffi loads c code into memory in an unsigned way and this allows workstation
to work with the hardened runtime.

Signed-off-by: Jon Morrow <jmorrow@chef.io>
  • Loading branch information
Jon Morrow committed Feb 1, 2020
1 parent 7f441c5 commit 8739278
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion omnibus/Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source "https://rubygems.org"

gem "omnibus", git: "https://github.com/chef/omnibus.git", branch: "master"
gem "omnibus", git: "https://github.com/chef/omnibus.git", branch: "jm/add_pkg_entitlements"
gem "omnibus-software", git: "https://github.com/chef/omnibus-software.git", branch: "master"
gem "artifactory"

Expand Down
4 changes: 2 additions & 2 deletions omnibus/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ GIT

GIT
remote: https://github.com/chef/omnibus.git
revision: d642ae6fd57f4a74846e325fecadebb132069894
branch: master
revision: 6ac0b2f529bac249bf6acba1c416e338404c4718
branch: jm/add_pkg_entitlements
specs:
omnibus (7.0.1)
aws-sdk-s3 (~> 1)
Expand Down
8 changes: 8 additions & 0 deletions omnibus/resources/chef-workstation/pkg/entitlements.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
</dict>
</plist>

0 comments on commit 8739278

Please sign in to comment.