Skip to content

Instantly share code, notes, and snippets.

diff --git a/sshd-session.c b/sshd-session.c
index fe6ae7f..683cf01 100644
--- a/sshd-session.c
+++ b/sshd-session.c
@@ -376,10 +376,18 @@ privsep_preauth(struct ssh *ssh)
/* Arrange for logging to be sent to the monitor */
set_log_handler(mm_log_handler, pmonitor);
+#ifdef __APPLE_SANDBOX_NAMED_EXTERNAL__
+ /* We need to do this before we chroot() so we can read sshd.sb */
diff --git a/sandbox-darwin.c b/sandbox-darwin.c
index 59b4d28..2636a11 100644
--- a/sandbox-darwin.c
+++ b/sandbox-darwin.c
@@ -63,7 +63,15 @@ ssh_sandbox_child(struct ssh_sandbox *box)
struct rlimit rl_zero;
debug3("%s: starting Darwin sandbox", __func__);
+#ifdef __APPLE_SANDBOX_NAMED_EXTERNAL__
+#ifndef SANDBOX_NAMED_EXTERNAL
From 2f74bd83e176efd97f859731224cd04dc4e0f27b Mon Sep 17 00:00:00 2001
From: Misty De Meo <mistydemeo@gmail.com>
Date: Mon, 1 Jul 2024 20:20:29 -0700
Subject: [PATCH] named external
---
sandbox-darwin.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/sandbox-darwin.c b/sandbox-darwin.c
@mistydemeo
mistydemeo / # mysql@5.7 - 2020-10-13_16-30-48.txt
Created October 13, 2020 23:31
mysql@5.7 on macOS 11.0 - Homebrew build logs
Homebrew build logs for mysql@5.7 on macOS 11.0
Build date: 2020-10-13 16:30:48
# NOTE: When updating Wine, please make sure to match Wine-Gecko and Wine-Mono
# versions:
# - https://wiki.winehq.org/Gecko
# - https://wiki.winehq.org/Mono
# with `GECKO_VERSION` and `MONO_VERSION`, as in:
# https://source.winehq.org/git/wine.git/blob/refs/tags/wine-4.0:/dlls/appwiz.cpl/addons.c
class Wine < Formula
desc "Run Windows applications without a copy of Microsoft Windows"
homepage "https://www.winehq.org/"
url "https://dl.winehq.org/wine/source/4.0/wine-4.0.2.tar.xz"
From 37e3d48948f27f09d9ba31d8c6acb765b7abf12b Mon Sep 17 00:00:00 2001
From: Misty De Meo <mistydemeo@gmail.com>
Date: Tue, 15 Sep 2020 17:30:46 -0700
Subject: [PATCH] FindSSE: ensure ${CPUINFO} is quoted
If ${CPUINFO} isn't quoted, and it's an empty string, CMake's STRING
REPLACE function will error with a note it's being called with too few
arguments. Fixes:
CMake Error at CMakeModules/FindSSE.cmake:47 (STRING):
@mistydemeo
mistydemeo / # libvidstab - 2020-09-15_17-17-18.txt
Created September 16, 2020 00:17
libvidstab on macOS 11.0 - Homebrew build logs
Homebrew build logs for libvidstab on macOS 11.0
Build date: 2020-09-15 17:17:18
@mistydemeo
mistydemeo / # libsoxr - 2020-09-15_15-37-09.txt
Created September 15, 2020 22:37
libsoxr on macOS 11.0 - Homebrew build logs
Homebrew build logs for libsoxr on macOS 11.0
Build date: 2020-09-15 15:37:09
@mistydemeo
mistydemeo / # guile - 2020-09-15_14-34-14.txt
Created September 15, 2020 21:49
guile on macOS 11.0 - Homebrew build logs
Homebrew build logs for guile on macOS 11.0
Build date: 2020-09-15 14:48:38
@mistydemeo
mistydemeo / # openjdk - 2020-09-15_14-11-55.txt
Created September 15, 2020 21:13
openjdk on macOS 11.0 - Homebrew build logs
Homebrew build logs for openjdk on macOS 11.0
Build date: 2020-09-15 14:11:55