• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/kern/

Lines Matching refs:NULL

164 	kauth_lck_grp = NULL;
171 kauth_scope_process = kauth_register_scope(KAUTH_SCOPE_PROCESS, kauth_authorize_process_callback, NULL);
172 kauth_scope_generic = kauth_register_scope(KAUTH_SCOPE_GENERIC, kauth_authorize_generic_callback, NULL);
173 kauth_scope_fileop = kauth_register_scope(KAUTH_SCOPE_FILEOP, NULL, NULL);
189 if (sp == NULL)
190 return(NULL);
208 if (lsp == NULL)
209 return(NULL);
222 if ((sp = kauth_alloc_scope(identifier, callback, idata)) == NULL)
223 return(NULL);
235 return(NULL);
283 if (scope->ks_listeners[i].kll_listenerp != NULL) {
285 scope->ks_listeners[i].kll_listenerp = NULL;
304 if ((klp = kauth_alloc_listener(identifier, callback, idata)) == NULL)
305 return(NULL);
322 return(NULL);
350 sp->ks_listeners[i].kll_listenerp = NULL;
357 else if (sp->ks_listeners[i].kll_listenerp != NULL) {
402 if (scope->ks_callback != NULL)
416 if (scope->ks_listeners[i].kll_listenerp == NULL ||
417 scope->ks_listeners[i].kll_callback == NULL)
460 return((sp == NULL) ? 0 : 1);
540 char *namep = NULL;
567 if (namep != NULL) {
581 if (credential == NULL)
582 panic("auth against NULL credential");
793 inherit = NULL;
794 if ((dvp != NULL) && !vfs_authopaque(vnode_mount(dvp))) {
810 if (inherit != NULL) {
817 if (initial == NULL) {
825 if (initial != NULL) {
829 initial = NULL;
838 if ((entries == 0) && (initial == NULL)) {
839 *product = NULL;
847 if ((result = kauth_acl_alloc(entries)) == NULL) {
859 if (initial != NULL) {
864 if (inherit != NULL) {
896 if (inherit != NULL)
939 fsec = NULL;
956 if ((fsec = kauth_filesec_alloc(count)) == NULL) {
1001 * Returns: !NULL A pointer to the allocated block
1002 * NULL Invalid 'count' or insufficient memory
1021 return(NULL);
1024 if (fsp != NULL) {
1059 * Set the endianness of a filesec and an ACL; if 'acl' is NULL, use the
1086 if (acl == NULL)
1136 return(NULL);
1139 if (aclp != NULL) {
1161 if (sp->ks_listeners[i].kll_listenerp == NULL) {