userid
uid_t userid;
if ((pwd = getpwuid(userid = getuid())) == NULL)
fatal("unknown user %u", (u_int) userid);
const char *application, const char *userid, uint8_t flags,
(r = sshbuf_put_cstring(req, userid)) != 0 ||
u_char *userid = NULL;
(r = sshbuf_get_string(resp, &userid, &userid_len)) != 0) {
srk->user_id = userid;
userid = NULL;
freezero(userid, userid_len);
const char *application, const char *userid, uint8_t flags,
extern int dayplay, enable_scroll, srcount, yrepcount, userid, wisid,
int userid; /* the players login user id number */
userid = geteuid(); /* obtain the user's effective id number */
userid = getplid(logname); /* obtain the players id number */
if (userid < 0) {
if (userid != wisid) {
if (winr[i].suid == userid)
if (winr[i].suid == userid) /* look for players winning entry */
if (sco[i].suid == userid)
if (winr[i].suid == userid) {
if (sco[i].suid == userid) {
p->suid = userid;
p->suid = userid;
else if ((i = userid(linebuf)) == -1)
i = userid(optarg);
int userid(char *username);
const char *userid, const char *otherhost, const char *orighost)
if (*userid == '\0')
userid = NULL;
if (userid != NULL) {
snprintf(eostat, remspace, " user=%s", userid);
sendmail(struct printer *pp, char *userid, int bombed)
printf("To: %s@%s\n", userid, origin_host);
syslog(LOG_WARNING, "unable to send mail to %s: %m", userid);
userid, *jobname ? jobname : "<unknown>", pp->printer, cp);
userid = getuid();
if (userid != 0 && userid != pp->daemon_user)
if (userid != pp->daemon_user || lpr_username == NULL) {
if ((pw = getpwuid(userid)) == NULL)
if (pp->restrict_grp != NULL && userid != pp->daemon_user) {
if (userid && stat(buf, &stb) == 0 && (stb.st_mode & LFM_QUEUE_DIS))
if (fchown(f, userid, -1) < 0) {
if(stats.st_uid == userid) {
static int userid; /* user id */