]> git.saurik.com Git - apple/security.git/blob - utilities/src/iOSforOSX-SecAttr.c
Security-55471.14.tar.gz
[apple/security.git] / utilities / src / iOSforOSX-SecAttr.c
1 //
2 // iOSforOSX.c
3 // utilities
4 //
5 // Created by J Osborne on 11/13/12.
6 // Copyright (c) 2012 Apple Inc. All rights reserved.
7 //
8
9 #include <TargetConditionals.h>
10
11 #if (TARGET_OS_MAC && !(TARGET_OS_EMBEDDED || TARGET_OS_IPHONE))
12 #include <CoreFoundation/CoreFoundation.h>
13
14 #include <sys/types.h>
15 #include <pwd.h>
16 #include <uuid/uuid.h>
17 #include "iOSforOSX.h"
18 #include <pwd.h>
19 #include <unistd.h>
20
21 // Was in SOSAccount.c
22 #define SEC_CONST_DECL(k,v) CFTypeRef k = (CFTypeRef)(CFSTR(v));
23 // We may not have all of these we need
24 SEC_CONST_DECL (kSecAttrAccessible, "pdmn");
25 SEC_CONST_DECL (kSecAttrAccessibleAlwaysThisDeviceOnly, "dku");
26
27 #endif