SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
15
net/samba/patches/patch-source3_lib_sysquotas_4B_c
Normal file
15
net/samba/patches/patch-source3_lib_sysquotas_4B_c
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue