Searched refs:pentry (Results 1 – 5 of 5) sorted by relevance
| /src/contrib/ntp/include/ |
| H A D | ntp_lists.h | 128 #define LINK_SLIST(listhead, pentry, nextlink) \ argument 130 (pentry)->nextlink = (listhead); \ 131 (listhead) = (pentry); \ 134 #define LINK_TAIL_SLIST(listhead, pentry, nextlink, entrytype) \ argument 142 (pentry)->nextlink = NULL; \ 143 *pptail = (pentry); \ 149 #define LINK_SORT_SLIST(listhead, pentry, beforecur, nextlink, \ argument 157 (pentry)->nextlink = *ppentry; \ 158 *ppentry = (pentry); \ 163 (pentry)->nextlink = NULL; \ [all …]
|
| /src/libexec/atrun/ |
| H A D | atrun.c | 134 struct passwd *pentry; in run_file() local 168 pentry = getpwuid(uid); in run_file() 169 if (pentry == NULL) in run_file() 176 pam_err = pam_start(atrun, pentry->pw_name, &pamc, &pamh); in run_file() 184 pentry->pw_name, (unsigned long)uid, in run_file() 314 if (setusercontext(NULL, pentry, uid, LOGIN_SETALL & in run_file() 318 if (initgroups(pentry->pw_name,pentry->pw_gid)) in run_file() 321 if (setgid(gid) < 0 || setegid(pentry->pw_gid) < 0) in run_file() 324 if (setlogin(pentry->pw_name)) in run_file() 331 if (chdir(pentry->pw_dir)) in run_file() [all …]
|
| /src/usr.bin/at/ |
| H A D | perm.c | 88 struct passwd *pentry; in check_permission() local 93 if ((pentry = getpwuid(uid)) == NULL) in check_permission() 104 return check_for_user(fp, pentry->pw_name); in check_permission() 117 return !check_for_user(fp, pentry->pw_name); in check_permission()
|
| /src/stand/common/ |
| H A D | part.c | 62 struct pentry { struct 70 STAILQ_ENTRY(pentry) entry; argument 78 STAILQ_HEAD(, pentry) entries; 230 struct pentry *entry; in ptable_gptread() 383 struct pentry *e1, *entry; in ptable_ebrread() 460 struct pentry *entry; in ptable_bsdread() 524 struct pentry *entry; in ptable_iso9660read() 564 struct pentry *entry; in ptable_open() 688 struct pentry *entry; in ptable_close() 724 struct pentry *entry; in ptable_getpart() [all …]
|
| /src/contrib/ntp/ntpd/ |
| H A D | ntp_config.c | 3476 bc_entry *pentry; in apply_enable_disable() local 3542 pentry = bc_list; in apply_enable_disable() 3543 while (pentry->token) { in apply_enable_disable() 3544 if (pentry->token == option) in apply_enable_disable() 3546 pentry++; in apply_enable_disable() 3548 if (!pentry->token) { in apply_enable_disable() 3554 pentry->enabled = enable; in apply_enable_disable()
|