Lines Matching refs:lcconf
171 if (lcconf->uid == 0) in privsep_init()
179 if ((lcconf->pathinfo[LC_PATHTYPE_CERT] == NULL) || in privsep_init()
180 (lcconf->pathinfo[LC_PATHTYPE_SCRIPT] == NULL)) { in privsep_init()
200 if (lcconf->chroot != NULL) { in privsep_init()
201 if (chdir(lcconf->chroot) != 0) { in privsep_init()
203 "Cannot chdir(%s): %s\n", lcconf->chroot, in privsep_init()
207 if (chroot(lcconf->chroot) != 0) { in privsep_init()
209 "Cannot chroot(%s): %s\n", lcconf->chroot, in privsep_init()
215 if (setgid(lcconf->gid) != 0) { in privsep_init()
217 "Cannot setgid(%d): %s\n", lcconf->gid, in privsep_init()
222 if (setegid(lcconf->gid) != 0) { in privsep_init()
224 "Cannot setegid(%d): %s\n", lcconf->gid, in privsep_init()
229 if (setuid(lcconf->uid) != 0) { in privsep_init()
231 "Cannot setuid(%d): %s\n", lcconf->uid, in privsep_init()
236 if (seteuid(lcconf->uid) != 0) { in privsep_init()
238 "Cannot seteuid(%d): %s\n", lcconf->uid, in privsep_init()
1132 path = lcconf->pathinfo[pathtype];