Lines Matching refs:NULL
24 if (t == NULL) { in cmalloc()
117 type_datum_t *src = NULL; in check_rule()
118 type_datum_t *tgt = NULL; in check_rule()
119 class_datum_t *cls = NULL; in check_rule()
120 perm_datum_t *perm = NULL; in check_rule()
132 if (src == NULL) { in check_rule()
139 if (tgt == NULL) { in check_rule()
146 if (cls == NULL) { in check_rule()
153 if (perm == NULL) { in check_rule()
154 if (cls->comdatum == NULL) { in check_rule()
159 if (perm == NULL) { in check_rule()
204 map = mmap(NULL, sb.st_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in load_policy()
235 char *policy = NULL, *source = NULL, *target = NULL, *class = NULL, *perm = NULL; in main()
243 {"source", required_argument, NULL, 's'}, in main()
244 {"target", required_argument, NULL, 't'}, in main()
245 {"class", required_argument, NULL, 'c'}, in main()
246 {"perm", required_argument, NULL, 'p'}, in main()
247 {"policy", required_argument, NULL, 'P'}, in main()
248 {NULL, 0, NULL, 0} in main()
251 while ((ch = getopt_long(argc, argv, "s:t:c:p:P:", long_options, NULL)) != -1) { in main()