SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,15 @@
Switch back to root to call quotactl(2), our kernel has too strict
permision checks.
Index: source3/lib/sysquotas_4B.c
--- source3/lib/sysquotas_4B.c.orig
+++ source3/lib/sysquotas_4B.c
@@ -51,7 +51,7 @@
#include <jfs/quota.h>
#endif
-#if defined(DARWINOS)
+#if defined(DARWINOS) || defined(__OpenBSD__)
/* WorkARound broken HFS access checks in hfs_quotactl. Darwin only(?) */
#define HFS_QUOTACTL_WAR 1
#endif