Home
last modified time | relevance | path

Searched refs:pentry (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/contrib/ntp/include/
H A Dntp_lists.h131 (listhead) = (pentry); \
142 (pentry)->nextlink = NULL; \
143 *pptail = (pentry); \
158 *ppentry = (pentry); \
163 (pentry)->nextlink = NULL; \
164 *ppentry = (pentry); \
216 entrytype *pentry; \
218 for (pentry = (listhead); \
219 pentry != NULL; \
220 pentry = pentry->nextlink) { \
[all …]
/freebsd-14.2/libexec/atrun/
H A Datrun.c134 struct passwd *pentry; in run_file() local
168 pentry = getpwuid(uid); in run_file()
169 if (pentry == NULL) in run_file()
184 pentry->pw_name, (unsigned long)uid, 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()
364 if (initgroups(pentry->pw_name,pentry->pw_gid)) in run_file()
370 if (setlogin(pentry->pw_name)) in run_file()
[all …]
/freebsd-14.2/usr.bin/at/
H A Dperm.c88 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()
/freebsd-14.2/stand/common/
H A Dpart.c62 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 …]
/freebsd-14.2/contrib/ntp/ntpd/
H A Dntp_config.c3476 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()