]>
git.saurik.com Git - apple/security.git/blob - Security/sec/securityd/SecLogSettingsServer.c
2 // SecLogSettingsServer.c
7 #include <securityd/SecLogSettingsServer.h>
8 #include <Security/SecBase.h>
9 #include <Security/SecLogging.h>
10 #include <utilities/debugging.h>
11 #include <utilities/SecCFWrappers.h>
12 #include <utilities/SecCFError.h>
15 SecCopyLogSettings_Server(CFErrorRef
* error
)
17 return CopyCurrentScopePlist();
21 SecSetXPCLogSettings_Server(CFTypeRef type
, CFErrorRef
* error
)
25 ApplyScopeListForID(type
, kScopeIDXPC
);
27 } else if (isDictionary(type
)) {
28 ApplyScopeDictionaryForID(type
, kScopeIDXPC
);
31 success
= SecError(errSecParam
, error
, CFSTR("Unsupported CFType"));