Lines Matching refs:keystorectl
32 char * keystorectl_path = "/usr/local/bin/keystorectl";
34 /* Shamelessly ripped from keystorectl routines; a wrapper for invoking the AKS user client. */
91 /* Just a wrapper around forking to exec keystorectl for commands requiring entitlements. */
92 int keystorectl(char * const command[])
107 /* TODO: This keeps keystorectl from bombarding us with key state changes, but
109 and if keystorectl fails, we want all the information we can get. */
113 printf("FAILURE: child failed to execv keystorectl, errno = %s.\n",
120 printf("FAILURE: keystorectl failed.\n");
209 /* If we aren't entitled, we'll need to use keystorectl to lock the device. */
210 /* keystorectl seems to have a bus error (though it locks successfully) unless
213 result = keystorectl(keystorectl_args);
237 /* If we aren't entitled, we'll need to use keystorectl to unlock the device. */
244 result = keystorectl(keystorectl_args);
292 /* If we aren't entitled, we'll need to use keystorectl to set the passcode. */
304 result = keystorectl(keystorectl_args);