2 // ISProtectedItemsController.m
5 // Copyright (c) 2014 Apple. All rights reserved.
8 #import "ISProtectedItemsController.h"
11 char * const pathToScrtiptFile = "/usr/local/bin/KeychainItemsAclTest.sh";
13 @implementation ISProtectedItemsController
15 - (NSArray *)specifiers
18 _specifiers = [self loadSpecifiersFromPlistName:@"ISProtectedItems" target:self];
24 - (void)createBatchOfItems:(PSSpecifier *)specifier
26 char * const argv[] = { pathToScrtiptFile,
30 posix_spawn(NULL, pathToScrtiptFile, NULL, NULL, argv, NULL);
33 - (void)deleteBatchOfItems:(PSSpecifier *)specifier
35 char * const argv[] = { pathToScrtiptFile,
39 posix_spawn(NULL, pathToScrtiptFile, NULL, NULL, argv, NULL);