Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/libstore/unix/build/darwin-derivation-builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ struct DarwinDerivationBuilder : DerivationBuilderImpl
}

/* Only open a new allow form once we know this path will actually
* contribute a selector. Opening it before resolving the path
* leaves an unqualified (allow ...) form behind when an optional
* path is missing, and an unqualified allow form render the sandbox useless. */
* contribute a selector. Opening it before resolving the path
* leaves an unqualified (allow ...) form behind when an optional
* path is missing, and an unqualified allow form render the sandbox useless. */
if (sandboxProfile.length() >= breakpoint) {
debug("Sandbox break: %d %d", sandboxProfile.length(), breakpoint);
sandboxProfile += ")\n(allow file-read* file-write* process-exec\n";
Expand Down
Loading