Home
last modified time | relevance | path

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

/freebsd-13.1/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); \
214 entrytype *pentry; \
216 for (pentry = (listhead); \
217 pentry != NULL; \
218 pentry = pentry->nextlink) { \
[all …]
/freebsd-13.1/libexec/atrun/
H A Datrun.c139 struct passwd *pentry; in run_file() local
173 pentry = getpwuid(uid); in run_file()
174 if (pentry == NULL) in run_file()
189 pentry->pw_name, (unsigned long)uid, in run_file()
323 if (initgroups(pentry->pw_name,pentry->pw_gid)) in run_file()
326 if (setgid(gid) < 0 || setegid(pentry->pw_gid) < 0) in run_file()
329 if (setlogin(pentry->pw_name)) in run_file()
336 if (chdir(pentry->pw_dir)) in run_file()
369 if (initgroups(pentry->pw_name,pentry->pw_gid)) in run_file()
375 if (setlogin(pentry->pw_name)) in run_file()
[all …]
/freebsd-13.1/usr.bin/at/
H A Dperm.c90 struct passwd *pentry; in check_permission() local
95 if ((pentry = getpwuid(uid)) == NULL) in check_permission()
106 return check_for_user(fp, pentry->pw_name); in check_permission()
119 return !check_for_user(fp, pentry->pw_name); in check_permission()
/freebsd-13.1/stand/common/
H A Dpart.c66 struct pentry { struct
75 STAILQ_ENTRY(pentry) entry; argument
235 struct pentry *entry; in ptable_gptread()
388 struct pentry *e1, *entry; in ptable_ebrread()
465 struct pentry *entry; in ptable_bsdread()
543 struct pentry *entry; in ptable_vtoc8read()
611 struct pentry *entry; in ptable_iso9660read()
651 struct pentry *entry; in ptable_open()
785 struct pentry *entry; in ptable_close()
821 struct pentry *entry; in ptable_getpart()
[all …]
/freebsd-13.1/contrib/ntp/ntpd/
H A Dntp_config.c3377 bc_entry *pentry; in apply_enable_disable() local
3443 pentry = bc_list; in apply_enable_disable()
3444 while (pentry->token) { in apply_enable_disable()
3445 if (pentry->token == option) in apply_enable_disable()
3447 pentry++; in apply_enable_disable()
3449 if (!pentry->token) { in apply_enable_disable()
3455 pentry->enabled = enable; in apply_enable_disable()