NULL 265 anacron/main.c if (sigprocmask(SIG_BLOCK, &ss, NULL)) die_e ("sigprocmask error"); NULL 271 anacron/main.c if (sigaction(SIGALRM, &sa, NULL)) die_e("sigaction error"); NULL 277 anacron/main.c if (sigaction(SIGCHLD, &sa, NULL)) die_e("sigaction error"); NULL 283 anacron/main.c if (sigaction(SIGUSR1, &sa, NULL)) die_e("sigaction error"); NULL 292 anacron/main.c if (sigprocmask(0, NULL, &ss)) die_e("sigprocmask error"); NULL 363 anacron/main.c start_sec = time(NULL); NULL 384 anacron/main.c tn = time(NULL); NULL 442 anacron/main.c anacrontab = NULL; NULL 443 anacron/main.c spooldir = NULL; NULL 452 anacron/main.c if((program_name = strrchr(argv[0], '/')) == NULL) NULL 459 anacron/main.c if (anacrontab == NULL) NULL 462 anacron/main.c if (spooldir == NULL) NULL 473 anacron/main.c if (sigprocmask(0, NULL, &old_sigmask)) die_e("sigset error"); NULL 51 anacron/matchrx.c if (sub_offsets == NULL) NULL 75 anacron/matchrx.c if (substring != NULL) NULL 64 anacron/readtab.c if (ptr == NULL) NULL 77 anacron/readtab.c l = strtol(s, NULL, 10); NULL 91 anacron/readtab.c if (feof(tab)) return NULL; NULL 142 anacron/readtab.c if (er == NULL) { NULL 147 anacron/readtab.c if (er->assign == NULL) { NULL 154 anacron/readtab.c if (last_env_rec != NULL) last_env_rec->next = er; NULL 181 anacron/readtab.c if (jr == NULL) { NULL 190 anacron/readtab.c if (jr->ident == NULL) { NULL 196 anacron/readtab.c if (jr->command == NULL) { NULL 201 anacron/readtab.c if (last_job_rec != NULL) last_job_rec->next = jr; NULL 205 anacron/readtab.c jr->next = NULL; NULL 231 anacron/readtab.c if (jr == NULL) { NULL 251 anacron/readtab.c if (jr->ident == NULL) { NULL 257 anacron/readtab.c if (jr->command == NULL) { NULL 262 anacron/readtab.c if (last_job_rec != NULL) last_job_rec->next = jr; NULL 266 anacron/readtab.c jr->next = NULL; NULL 389 anacron/readtab.c first_job_rec = last_job_rec = NULL; NULL 390 anacron/readtab.c first_env_rec = last_env_rec = NULL; NULL 398 anacron/readtab.c if (tab == NULL) die_e("Error opening %s", anacrontab); NULL 402 anacron/readtab.c while ((tab_line = read_tab_line()) != NULL) NULL 437 anacron/readtab.c while (j != NULL) NULL 52 anacron/runjob.c if (dir == NULL || *dir == '\0') NULL 96 anacron/runjob.c if (ps == NULL || ps->pw_name == NULL) die_e("getpwuid() error"); NULL 99 anacron/runjob.c if (user == NULL) die_e("memory allocation error"); NULL 107 anacron/runjob.c char *name = NULL, *val = NULL; NULL 112 anacron/runjob.c if (s == NULL) { NULL 117 anacron/runjob.c if (eq_ptr == NULL) { NULL 124 anacron/runjob.c if (name == NULL) { NULL 129 anacron/runjob.c if (val == NULL) { NULL 154 anacron/runjob.c if (er == NULL || jr->prev_env_rec == NULL) return; NULL 175 anacron/runjob.c if (sigprocmask(SIG_SETMASK, &old_sigmask, NULL)) NULL 178 anacron/runjob.c execl("/bin/sh", "/bin/sh", "-c", jr->command, (char *)NULL); NULL 211 anacron/runjob.c if (jr->mailto == NULL) NULL 233 anacron/runjob.c if (sigprocmask(SIG_SETMASK, &old_sigmask, NULL)) NULL 251 anacron/runjob.c jr->mailto, (char *)NULL); NULL 299 anacron/runjob.c if (mailto == NULL) NULL 304 anacron/runjob.c if (mailfrom == NULL) NULL 328 anacron/runjob.c jr->mailto = NULL; NULL 211 src/cron.c if ((ProgramName=strrchr(argv[0], '/')) == NULL) { NULL 240 src/cron.c (void) sigaction(SIGCHLD, &sact, NULL); NULL 242 src/cron.c (void) sigaction(SIGHUP, &sact, NULL); NULL 244 src/cron.c (void) sigaction(SIGINT, &sact, NULL); NULL 245 src/cron.c (void) sigaction(SIGTERM, &sact, NULL); NULL 317 src/cron.c database.head = NULL; NULL 318 src/cron.c database.tail = NULL; NULL 517 src/cron.c for (u = db->head; u != NULL; u = u->next) { NULL 518 src/cron.c for (e = u->crontab; e != NULL; e = e->next) { NULL 542 src/cron.c if (t != NULL && *t != '\0') { \ NULL 545 src/cron.c } else { if ((tz2) != NULL) \ NULL 566 src/cron.c for (u = db->head; u != NULL; u = u->next) { NULL 567 src/cron.c for (e = u->crontab; e != NULL; e = e->next) { NULL 582 src/cron.c if (job_tz != NULL && vGMToff != GMToff) NULL 595 src/cron.c if (orig_tz != NULL) NULL 610 src/cron.c StartTime = time(NULL); NULL 629 src/cron.c t1 = time(NULL) + GMToff; NULL 648 src/cron.c t2 = time(NULL) + GMToff; NULL 61 src/cronnext.c *rcontext = NULL; NULL 204 src/cronnext.c for (pos = list; (pos = strstr(pos, user)) != NULL; pos += l) { NULL 267 src/cronnext.c cron_db db = {NULL, NULL, (time_t) 0}; NULL 275 src/cronnext.c for ( ; *additional != NULL; additional++) { NULL 286 src/cronnext.c if (u == NULL) { NULL 327 src/cronnext.c include = NULL; NULL 328 src/cronnext.c exclude = NULL; NULL 332 src/cronnext.c start = time(NULL) / 60 * 60; NULL 399 src/cronnext.c db = database(installed || argv[optind] == NULL, argv + optind); NULL 139 src/crontab.c char *nargv[] = { argv[0], n, NULL }; NULL 141 src/crontab.c if ((ProgramName=strrchr(argv[0], '/')) == NULL) { NULL 158 src/crontab.c if (argv[1] == NULL) { /* change behavior to allow crontab to take stdin with no '-' */ NULL 331 src/crontab.c if (Option == opt_hostset && argv[optind] != NULL) { NULL 340 src/crontab.c if (argv[optind] != NULL) NULL 344 src/crontab.c if (argv[optind] != NULL) { NULL 455 src/crontab.c const char *tmpdir = NULL; NULL 475 src/crontab.c return NULL; NULL 479 src/crontab.c return NULL; NULL 484 src/crontab.c return NULL; NULL 558 src/crontab.c context_t ccon = NULL; NULL 559 src/crontab.c const char *level = NULL; NULL 574 src/crontab.c selinux_context = NULL; NULL 605 src/crontab.c if (((editor = getenv("VISUAL")) == NULL || *editor == '\0') && NULL 606 src/crontab.c ((editor = getenv("EDITOR")) == NULL || *editor == '\0')) { NULL 833 src/crontab.c if (envp == NULL) { NULL 1022 src/crontab.c if (utime(SPOOL_DIR, NULL) < OK) { NULL 100 src/database.c if (statbuf.st_uid != ROOT_UID && (pw == NULL || NULL 128 src/database.c orphan *prev_orphan = NULL; NULL 131 src/database.c while (o != NULL) { NULL 132 src/database.c if (getpwnam(o->uname) != NULL) { NULL 135 src/database.c if (prev_orphan == NULL) { NULL 142 src/database.c db, NULL); NULL 145 src/database.c if (prev_orphan == NULL && orphans != next) { NULL 161 src/database.c for (o = orphans; o != NULL; o = o->next) { NULL 193 src/database.c if (o == NULL) NULL 197 src/database.c if ((o->uname=strdup(uname)) == NULL) NULL 201 src/database.c if ((o->fname=strdup(fname)) == NULL) NULL 205 src/database.c if ((o->tabname=strdup(tabname)) == NULL) NULL 219 src/database.c struct passwd *pw = NULL; NULL 221 src/database.c user *u = NULL; NULL 223 src/database.c int crond_crontab = (fname == NULL) && (strcmp(tabname, SYSCRONTAB) != 0); NULL 225 src/database.c if (fname == NULL) { NULL 230 src/database.c else if ((pw = getpwnam(uname)) == NULL) { NULL 246 src/database.c if (old_db != NULL) NULL 247 src/database.c u = find_user(old_db, fname, crond_crontab ? tabname : NULL); /* find user in old_db */ NULL 249 src/database.c if (u != NULL) { NULL 275 src/database.c if (u != NULL) { NULL 346 src/database.c retval = select(old_db->ifd + 1, &rfds, NULL, NULL, &tv); NULL 353 src/database.c new_db.head = new_db.tail = NULL; NULL 355 src/database.c new_db.mtime = time(NULL) - 1; NULL 379 src/database.c process_crontab("root", NULL, SYSCRONTAB, &new_db, old_db); NULL 386 src/database.c while (NULL != (dp = readdir(dir))) { NULL 395 src/database.c process_crontab("root", NULL, tabname, &new_db, old_db); NULL 404 src/database.c while (NULL != (dp = readdir(dir))) { NULL 441 src/database.c for (u = old_db->head; u != NULL; u = nu) { NULL 464 src/database.c now = time(NULL); NULL 522 src/database.c new_db.head = new_db.tail = NULL; NULL 529 src/database.c process_crontab("root", NULL, SYSCRONTAB, &new_db, old_db); NULL 536 src/database.c while (NULL != (dp = readdir(dir))) { NULL 546 src/database.c process_crontab("root", NULL, tabname, &new_db, old_db); NULL 563 src/database.c while (is_local && NULL != (dp = readdir(dir))) { NULL 591 src/database.c if (db->head == NULL) NULL 596 src/database.c u->next = NULL; NULL 601 src/database.c if (u->prev == NULL) NULL 606 src/database.c if (u->next == NULL) NULL 615 src/database.c for (u = db->head; u != NULL; u = u->next) NULL 617 src/database.c && ((tabname == NULL) NULL 672 src/database.c while (NULL != (dp = readdir(dir))) { NULL 100 src/do_command.c sigaction(SIGPIPE, &sa, NULL); NULL 108 src/do_command.c sigaction(SIGCHLD, &sa, NULL); NULL 212 src/do_command.c sigaction(SIGPIPE, &sa, NULL); NULL 305 src/do_command.c sigaction(SIGPIPE, &sa, NULL); NULL 371 src/do_command.c FILE *mail = NULL; NULL 396 src/do_command.c mailto = NULL; NULL 110 src/entry.c return (NULL); NULL 126 src/entry.c if (pw == NULL || pw->pw_uid == 0) NULL 136 src/entry.c return NULL; NULL 291 src/entry.c if (pw == NULL) { NULL 303 src/entry.c if ((e->pwd = pw_dup(pw)) == NULL) { NULL 326 src/entry.c if ((e->envp = env_copy(envp)) == NULL) { NULL 332 src/entry.c if ((tenvp = env_set(e->envp, envstr)) == NULL) { NULL 341 src/entry.c if ((tenvp = env_update_home(e->envp, pw->pw_dir)) == NULL) { NULL 355 src/entry.c if (defpath == NULL) NULL 360 src/entry.c if ((tenvp = env_set(e->envp, envstr)) == NULL) { NULL 371 src/entry.c if ((tenvp = env_set(e->envp, envstr)) == NULL) { NULL 381 src/entry.c if ((tenvp = env_set(e->envp, envstr)) == NULL) { NULL 408 src/entry.c if ((e->cmd = strdup(cmd)) == NULL) { NULL 429 src/entry.c return (NULL); NULL 595 src/entry.c for (i = 0; names[i] != NULL; i++) { NULL 41 src/env.c if (p != NULL) NULL 42 src/env.c p[0] = NULL; NULL 49 src/env.c for (p = envp; *p != NULL; p++) NULL 59 src/env.c for (count = 0; envp[count] != NULL; count++) ; NULL 62 src/env.c if (p != NULL) { NULL 64 src/env.c if ((p[i] = strdup(envp[i])) == NULL) { NULL 70 src/env.c return (NULL); NULL 72 src/env.c p[count] = NULL; NULL 86 src/env.c for (count = 0; envp[count] != NULL; count++) { NULL 97 src/env.c if ((envtmp = strdup(envstr)) == NULL) NULL 98 src/env.c return (NULL); NULL 109 src/env.c if ((envtmp = strdup(envstr)) == NULL) NULL 110 src/env.c return (NULL); NULL 113 src/env.c if (p == NULL) { NULL 115 src/env.c return (NULL); NULL 140 src/env.c NULL NULL 145 src/env.c for (procenv = environ; *procenv != NULL; ++procenv) { NULL 146 src/env.c for (name = names; *name != NULL; ++name) { NULL 155 src/env.c if (tmpenv == NULL) NULL 295 src/env.c while ((p = *envp++) != NULL) { NULL 301 src/env.c return (NULL); NULL 307 src/env.c if (dir == NULL || *dir == '\0' || env_get("HOME", envp)) { NULL 50 src/globals.h NULL NULL 60 src/globals.h NULL NULL 69 src/globals.h NULL NULL 92 src/globals.h NULL NULL 40 src/job.c static job *jhead = NULL, *jtail = NULL; NULL 49 src/job.c for (j = jhead; j != NULL; j = j->next) NULL 55 src/job.c if ((temppwd = getpwnam(uname)) != NULL) { NULL 61 src/job.c if ((newpwd = pw_dup(temppwd)) == NULL) { NULL 68 src/job.c if ((tenvp = env_update_home(e->envp, e->pwd->pw_dir)) == NULL) { NULL 76 src/job.c __FILE__,__LINE__,getpid(),time(NULL),uname,errno,strerror(errno))); NULL 81 src/job.c if ((j = (job *) malloc(sizeof (job))) == NULL) NULL 83 src/job.c j->next = NULL; NULL 88 src/job.c if (jhead == NULL) NULL 105 src/job.c jhead = jtail = NULL; NULL 73 src/macros.h #define PPC_NULL ((const char **)NULL) NULL 197 src/misc.c *test != NULL && strcmp_until(*test, pc, ','); test++, mask <<= 1) ; NULL 247 src/misc.c struct group *grp = NULL; NULL 273 src/misc.c if (grp != NULL) { NULL 493 src/misc.c if ((fp = fopen(allow_file, "r")) != NULL) { NULL 503 src/misc.c else if ((fp = fopen(deny_file, "r")) != NULL) { NULL 517 src/misc.c NULL, NULL, NULL, 0); NULL 544 src/misc.c if (msg == NULL) { /* damn, out of mem and we did not test that before... */ NULL 637 src/misc.c while (*s && (NULL != strchr(t, *s))) { NULL 642 src/misc.c while (*s && (NULL == strchr(t, *s)) && (rp < &rb[MAX_TEMPSTR])) { NULL 749 src/misc.c for (str = last; str != NULL; str = va_arg(ap, const char *)) NULL 767 src/misc.c if (local == NULL) NULL 79 src/popen.c return (NULL); NULL 83 src/popen.c return (NULL); NULL 85 src/popen.c return (NULL); NULL 89 src/popen.c return (NULL); NULL 92 src/popen.c for (argc = 0, cp = program; argc < MAX_ARGS; cp = NULL) NULL 96 src/popen.c iop = NULL; NULL 123 src/popen.c sigaction(SIGPIPE, &sa, NULL); NULL 181 src/popen.c (void) sigprocmask(SIG_SETMASK, &oset, NULL); NULL 81 src/pw_dup.c if ((cp = malloc(total)) == NULL) NULL 82 src/pw_dup.c return (NULL); NULL 52 src/security.c static pam_handle_t *pamh = NULL; NULL 66 src/security.c if (msgm[i]->msg != NULL) { NULL 78 src/security.c cron_conv, NULL NULL 85 src/security.c if (pamh != NULL) { \ NULL 89 src/security.c pamh = NULL; \ NULL 106 src/security.c if (setexeccon(NULL) < 0) NULL 159 src/security.c if (pamh != NULL && (ret = cron_open_pam_session(e->pwd)) != 0) { NULL 230 src/security.c if (pamh != NULL) { NULL 232 src/security.c pamh = NULL; NULL 253 src/security.c if (pamh != NULL) { NULL 402 src/security.c char *msg = NULL; NULL 429 src/security.c msg, NULL, NULL, NULL, 0); NULL 485 src/security.c security_context_t scontext = NULL; NULL 486 src/security.c security_context_t file_context = NULL; NULL 487 src/security.c security_context_t rawcontext=NULL; NULL 488 src/security.c context_t current_context = NULL; NULL 490 src/security.c char *current_context_str = NULL; NULL 491 src/security.c char *seuser = NULL; NULL 492 src/security.c char *level = NULL; NULL 494 src/security.c *rcontext = NULL; NULL 499 src/security.c if (name != NULL) { NULL 505 src/security.c retval = get_default_context_with_level(seuser, level, NULL, &scontext); NULL 515 src/security.c if (current_context == NULL) { NULL 523 src/security.c retval = get_default_context_with_rolelevel(current_user, current_role, level, NULL, &scontext); NULL 564 src/security.c char *msg=NULL; NULL 593 src/security.c if (*scontext != NULL) { NULL 654 src/security.c if (pamh == NULL || (jobenv=pam_getenvlist(pamh)) == NULL) { NULL 657 src/security.c if (jobenv == NULL) NULL 672 src/security.c return NULL; NULL 53 src/user.c for (e = u->crontab; e != NULL; e = ne) { NULL 71 src/user.c char **envp = NULL, **tenvp; NULL 78 src/user.c return (NULL); NULL 84 src/user.c if ((u = (user *) malloc (sizeof (user))) == NULL) { NULL 90 src/user.c if (((u->name = strdup(fname)) == NULL) NULL 91 src/user.c || ((u->tabname = strdup(tabname)) == NULL)) { NULL 96 src/user.c u->system = pw == NULL; NULL 100 src/user.c if ((envp = env_init()) == NULL) { NULL 111 src/user.c if (get_security_context(pw == NULL ? NULL : uname, NULL 129 src/user.c if ((tenvp = env_set (envp, envstr)) == NULL) { NULL 143 src/user.c u = NULL;