Searched refs:uid (Results 251 - 275 of 547) sorted by relevance

<<11121314151617181920>>

/illumos-gate/usr/src/cmd/tip/
H A Dcu.c106 uid = getuid();
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_fuid.h70 * Used for mapping ephemeral uid/gid during ACL setting to FUIDs
74 uint64_t z_id; /* uid/gid being converted to fuid */
111 uid_t *uid, uid_t *gid);
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_fops.c102 priv->uid = crgetsuid(credp);
H A Ddrm_io32.h68 uint32_t uid; /* User ID */ member in struct:drm_client_32
/illumos-gate/usr/src/uts/common/sys/
H A Dhotkey_drv.h52 char uid[ID_LEN]; /* ACPI UniqueId */ member in struct:acpi_drv_dev
H A Dstropts.h399 o_uid_t uid; /* always ushort */ member in struct:o_strrecvfd
410 uid_t uid; member in struct:k_strrecvfd
428 uid_t uid; member in struct:strrecvfd
/illumos-gate/usr/src/lib/nsswitch/ad/common/
H A Dad_common.h85 uid_t uid; member in struct:ad_backend
/illumos-gate/usr/src/boot/include/isofs/cd9660/
H A Dcd9660_rrip.h48 char uid [ISODCL ( 20, 27)]; /* 733 */ member in struct:__anon11
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetpwnam.c31 #define _PWD_UID "uid"
41 #define _F_GETPWNAM "(&(objectClass=posixAccount)(uid=%s))"
42 #define _F_GETPWNAM_SSD "(&(%%s)(uid=%s))"
171 * getbyname gets a passwd entry by uid name. This function constructs an ldap
204 * getbyuid gets a passwd entry by uid number. This function constructs an ldap
205 * search filter using the uid invocation parameter and the getpwuid search
219 if (argp->key.uid > MAXUID)
223 _F_GETPWUID, (long)argp->key.uid);
228 _F_GETPWUID_SSD, (long)argp->key.uid);
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c117 #define _PWD_UID "uid"
196 uid_t uid; local
206 uid = getuid();
232 if (uid == 0) {
236 } else if (uid == pw->pw_uid) {
245 if (uid == pw->pw_uid) {
258 if (uid == 0) {
261 priviledged_uid = uid;
273 (int)uid);
1149 uid_t uid; local
[all...]
H A Dnis_attr.c131 uid_t uid; local
152 uid = getuid();
154 *privileged = (uid == (uid_t)0);
157 if (uid == 0 || uid == buf->pwd->pw_uid) {
344 * succeed if the caller's uid is 0 because only root user
/illumos-gate/usr/src/cmd/newgrp/
H A Dnewgrp.c86 uid_t uid; local
130 uid = p->pw_uid;
168 if (uid == 0)
/illumos-gate/usr/src/cmd/projects/
H A Dprojects.c295 uid_t uid; local
334 uid = getuid();
335 if ((pwd = getpwuid(uid)) == NULL) {
/illumos-gate/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c298 quotactl(int cmd, char *mountpt, uid_t uid, caddr_t addr) argument
321 quota.uid = uid;
/illumos-gate/usr/src/cmd/getfacl/
H A Dgetfacl.c37 * # owner: uid
40 * user:uid:perm
46 * default:user:uid:perm
175 /* no need to display uid */
305 pruname(uid_t uid) argument
310 passwdp = getpwuid(uid);
312 /* could not get passwd information: display uid instead */
313 (void) sprintf(uidp, "%u", uid);
/illumos-gate/usr/src/cmd/ttymon/
H A Dtmexpress.c451 revokedevaccess(char *dev, uid_t uid, gid_t gid, mode_t mode) argument
454 if (chown(dev, uid, gid) == -1)
460 (void) acl_strip(dev, uid, gid, mode);
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dkey_call.c167 * on its uid. The netname is written into the string that "netname"
202 netname2user(char *name, uid_t *uid, gid_t *gid, int *len, gid_t *groups) argument
221 *uid = res.getcredres_u.cred.uid;
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dlpfsck.c229 uid_t uid; local
301 uid = va_arg(ap, uid_t);
303 (void) chownmod(path, uid, gid, mode);
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dhomedir.c67 create_home(char *homedir, char *skeldir, uid_t uid, gid_t gid, int flags) argument
70 /* uid of new user */
163 if (chown(homedir, uid, gid) != 0) {
192 homedir, uid, gid);
/illumos-gate/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/
H A Dzfs_acl_chmod_owner_001_pos.ksh44 # (1) If uid is granted the write_owner permission, then it can only do
45 # chown to its own uid, or a group that they are a member of.
97 typeset uid=$1
100 if [[ -z $uid ]]; then
104 value=$(id $uid)
111 log_fail "Invalid UID (uid)."
/illumos-gate/usr/src/cmd/saf/
H A Dsacadm.c104 uid_t uid; /* invoker's real uid */ local
288 uid = getuid();
291 if (uid) {
300 if (uid) {
309 if (uid) {
318 if (uid) {
327 if (uid) {
336 if (uid) {
353 if (uid) {
[all...]
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-port.c321 uid_t uid = getuid(); local
325 if (uid == 0) { /* let root do what they want */
328 if ((pw = getpwuid(uid)) == NULL) {
687 uid_t uid = getuid(); local
730 seteuid(uid);
785 setreuid(uid, uid);
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c406 quotactl(cmd, mountp, uid, dqp)
409 uid_t uid;
461 quota.uid = uid;
613 getdiskquota(fsqp, uid, dqp)
615 uid_t uid;
624 (void) llseek(fd, (offset_t)dqoff(uid), L_SET);
/illumos-gate/usr/src/tools/protocmp/
H A Dprotocmp.c581 uid_t uid; local
627 uid = -1;
629 uid = 2;
630 } else if ((uid = stdfind(ep->owner, usernames)) == -1) {
636 (set_user && uid != -1 && uid != sbp->st_uid)) {
653 if (lchown(fname, uid, gid) == -1) {
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/
H A Dnfslog_trans.c90 uid_t uid; member in struct:transentry
201 if (pte->uid == entry->uid) {
218 if (pte->uid == entry->uid) {
585 newte->uid = logrec->re_header.rh_uid;
654 newte->uid = logrec->re_header.rh_uid;
736 newte->uid = logrec->re_header.rh_uid;
793 newte->uid = logrec->re_header.rh_uid;
862 newte->uid
[all...]

Completed in 848 milliseconds

<<11121314151617181920>>