" #\"^/private/var/mysql$\""
" #\"^/private/var/run$\""
" #\"^/private/var/spool$\""
+ " #\"^/private/var/tmp$\""
+ " #\"^/private/var/tmp/\""
" #\"^/usr/bin$\"" /* /usr/bin */
" #\"^/usr/bin/\"" /* /usr/bin/... */
" #\"^/usr/libexec/cups$\"" /* /usr/libexec/cups */
" #\"^/usr/libexec/fax/\"" /* /usr/libexec/fax/... */
" #\"^/usr/sbin$\"" /* /usr/sbin */
" #\"^/usr/sbin/\"" /* /usr/sbin/... */
- " #\"^/Library/Application Support$\""
- " #\"^/Library/Application Support/\""
- " #\"^/Library/Caches$\""
- " #\"^/Library/ColorSync$\""
- " #\"^/Library/ColorSync/Profiles$\""
- " #\"^/Library/ColorSync/Profiles/\""
- " #\"^/Library/Fonts$\""
- " #\"^/Library/Fonts/\""
- " #\"^/Library/Frameworks$\""
- " #\"^/Library/Frameworks/\""
- " #\"^/Library/Keychains$\""
- " #\"^/Library/Keychains/\""
- " #\"^/Library/Logs$\""
- " #\"^/Library/Printers$\""
- " #\"^/Library/Printers/\""
- " #\"^/Library/Security$\""
- " #\"^/Library/Security/\""
- " #\"^/Library/WebServer$\""
- " #\"^/System/Library/ColorSync$\""
- " #\"^/System/Library/ColorSync/Profiles$\""
- " #\"^/System/Library/ColorSync/Profiles/\""
+ " #\"^/Library$\"" /* /Library */
+ " #\"^/Library/\"" /* /Library/... */
+ " #\"^/System$\"" /* /System */
+ " #\"^/System/\"" /* /System/... */
" #\"^%s/Library$\"" /* RequestRoot/Library */
" #\"^%s/Library/\"" /* RequestRoot/Library/... */
" #\"^%s$\"" /* ServerBin */
" #\"^%s/\"" /* CUPS_TESTROOT/... */
"))\n",
testroot);
+ cupsFilePrintf(fp, "(allow sysctl*)\n");
}
if (job_id)
{
cupsFilePuts(fp, "(allow distributed-notification-post)\n");
/* Allow outbound networking to local services */
cupsFilePuts(fp, "(allow network-outbound"
- "\n (regex #\"^/private/var/run/\" #\"^/private/tmp/\")");
+ "\n (regex #\"^/private/var/run/\" #\"^/private/tmp/\" #\"^/private/var/tmp/\")");
for (lis = (cupsd_listener_t *)cupsArrayFirst(Listeners);
lis;
lis = (cupsd_listener_t *)cupsArrayNext(Listeners))