Lines Matching defs:setid
369 char setid[64];
386 if (cfg_get_single_option(cfg, CFG_SEC_CONF, key, "setid",
387 setid, sizeof (setid)) < 0) {
392 gettext("%s unable to get unique setid "
400 return (atoi(setid));
407 int setid;
414 cfg_resource(cfg, "setid-ctag");
417 if (cfg_get_cstring(cfg, "setid.set1.value", buf, CFG_MAX_BUF) < 0) {
418 setid = 1;
419 if (cfg_put_cstring(cfg, "setid", "1", CFG_MAX_BUF) < 0) {
420 rdc_err(NULL, "Unable to store new setid");
423 setid = atoi(buf);
424 setid++;
425 if (setid <= 0) {
426 setid = 1;
431 (void) snprintf(buf, sizeof (buf), "%d", setid);
432 if (cfg_put_cstring(cfg, "setid.set1.value", buf, CFG_MAX_BUF) < 0) {
433 rdc_err(NULL, "Unable to store new setid");
442 return (setid);