Lines Matching defs:uid
150 "quota must be set-uid root or have "
206 showuid(uid_t uid)
208 struct passwd *pwd = getpwuid(uid);
210 if (uid == 0) {
212 printf("no disk quota for uid 0\n");
216 showquotas(uid, "(no account)");
218 showquotas(uid, pwd->pw_name);
232 printf("no disk quota for %s (uid 0)\n", name);
240 showquotas(uid_t uid, char *name)
256 if (uid != myuid && myuid != 0) {
257 printf("quota: %s (uid %d): permission denied\n", name, uid);
265 heading(uid, name);
275 mnt.mnt_mountp, uid, &dqblk) != 0 &&
276 !(vflag && getdiskquota(&mnt, uid, &dqblk))))
381 rc = getnfsquota(rl[0].host, rl[0].path, uid, &dqblk);
501 heading(uid_t uid, char *name)
503 printf("Disk quotas for %s (uid %ld):\n", name, (long)uid);
622 getdiskquota(struct mnttab *mntp, uid_t uid, struct dqblk *dqp)
642 (void) llseek(fd, (offset_t)dqoff(uid), L_SET);
664 quotactl(int cmd, char *mountp, uid_t uid, caddr_t addr)
727 quota.uid = uid;
762 getnfsquota(char *hostp, char *path, uid_t uid, struct dqblk *dqp)
771 gq_args.gqa_uid = uid;