Lines Matching defs:usr

8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
80 #define MAIL "/usr/bin/mail" /* mail program to use */
118 isn't /usr/bin/sh, you can't use cron."
184 struct usr *u; /* ptr to the owner (usr) of this event */
205 struct usr {
214 struct event *ctevents; /* list of this usr's crontab events */
215 struct event *atevents; /* list of this usr's at events */
216 struct usr *nextusr;
234 struct usr *rusr; /* pointer to usr struct */
254 static struct usr *uhead; /* ptr to the list of users */
266 #define ROOTPATH "PATH=/usr/sbin:/usr/bin"
267 #define NONROOTPATH "PATH=/usr/bin:"
280 "SHELL=/usr/bin/sh",
298 static void add_atevent(struct usr *, char *, time_t, int);
299 static void rm_ctevents(struct usr *);
310 static struct usr *find_usr(char *);
315 static void readcron(struct usr *, time_t);
317 static void free_if_unused(struct usr *);
324 static void mail_result(struct usr *p, struct runinfo *pr, size_t filesize);
342 static int set_user_cred(const struct usr *, struct project *);
381 static int verify_user_cred(struct usr *u);
402 static void clean_out_atjobs(struct usr *u);
403 static void clean_out_ctab(struct usr *u);
404 static void clean_out_user(struct usr *u);
419 static struct usr *create_ulist(char *, int);
422 static void update_atevent(struct usr *, char *, time_t, int);
430 struct usr *u;
831 struct usr *
834 struct usr *u;
836 u = xcalloc(1, sizeof (struct usr));
855 struct usr *u;
876 struct usr *u;
896 struct usr *u;
922 * users with a login shell of /usr/bin/sh to use cron
993 struct usr *u;
1034 * users with a login shell of /usr/bin/sh to use cron
1064 add_atevent(struct usr *u, char *job, time_t tim, int jobtype)
1091 update_atevent(struct usr *u, char *name, time_t tim, int jobtype)
1117 readcron(struct usr *u, time_t reftime)
1835 * 0 0 1,15,31 1,2,3,4,5 * /usr/bin....
2040 free_if_unused(struct usr *u)
2042 struct usr *cur, *prev;
2044 * To make sure a usr structure is idle we must check that
2048 * pointer to the usr structure).
2053 (void) fprintf(stderr, "%s removed from usr list\n", u->name);
2078 struct usr *u;
2109 struct usr *u;
2122 rm_ctevents(struct usr *u)
2157 static struct usr *
2160 struct usr *u;
2651 struct usr *p;
2705 mail_result(struct usr *p, struct runinfo *pr, size_t filesize)
3181 verify_user_cred(struct usr *u)
3274 set_user_cred(const struct usr *u, struct project *pproj)
3323 clean_out_user(struct usr *u)
3335 clean_out_atjobs(struct usr *u)
3360 clean_out_ctab(struct usr *u)
3427 struct usr *u = uhead;