Searched refs:uid (Results 1 - 25 of 30) sorted by relevance

12

/solaris-x11-s11/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/
H A Dfbc_append_config.c73 if (euid != uid) {
74 if (seteuid(uid) != 0) {
91 if (euid != uid) {
H A Dfbconf_xorg.c160 uid_t uid; /* Real user ID */ local
166 uid = getuid();
167 if (euid != uid) {
168 if (seteuid(uid) != 0) {
343 if (euid != uid) {
373 if (euid != uid) {
374 if (seteuid(uid) != 0) {
606 if (euid != uid) {
647 if (euid != uid) {
648 if (seteuid(uid) !
[all...]
/solaris-x11-s11/open-src/app/accessx/sun-src/
H A DMakefile33 L10N_FILES = accessx.hlp accessx.uid accessx.uil accessxstrings.uil
35 all:: accessx.uid accessx
37 accessx.uid: accessx.uil
44 install: accessx accessx.uid accessx.1 $(L10N_FILES)
/solaris-x11-s11/open-src/xserver/xorg/sun-src/os/
H A Ddtlogin.c38 * When shutting down, the Xserver restores it's original uid/gid as
85 uid_t uid; member in struct:dmuser
138 originalUser.uid = geteuid();
153 dmd->user.uid = (uid_t) -1;
452 dmd->user.uid = (uid_t) val;
483 if (chown(auth_file, user->uid, user->gid) < 0)
484 DtloginError("Error in changing owner to %d", user->uid);
515 * Set before the uid value is set.
521 } else if (user->uid != (uid_t) -1) {
522 ppasswd = getpwuid(user->uid);
[all...]
/solaris-x11-s11/open-src/xserver/xorg/sun-src/tsol/
H A Dtsolextension.c258 tsolinfo->uid = 0;
565 swapl(&stuff->uid);
591 swapl(&stuff->uid);
615 swapl(&stuff->uid);
691 * get the prop. that has match sl, uid of the client. Setting
693 * sl, uid specified instead of that of client. This is used
714 tsolpolyinstinfo.uid = (uid_t) stuff->uid;
836 tsolprop->uid = stuff->uid;
[all...]
H A Dtsolpolicy.c179 if ((tsolinfo->uid == tsolres->uid) ||
181 ((tsolres->uid == OwnerUID) &&
182 /* ((tsolres->uid == OwnerUID || tsolres->uid == DEF_UID) && */
193 if ((tsolinfo->uid == tsolres->uid) ||
194 (tsolinfo->uid == OwnerUID &&
212 tsolinfo->pname, xsltos(tsolinfo->sl), tsolinfo->uid,
213 tsolres->pid, xsltos(tsolres->sl), tsolres->uid,
[all...]
H A Dtsolinfo.h97 #define DEF_UID (uid_t)0 /* uid used for default objects */
98 #define INVALID_UID (uid_t)0xFFFF /* invalid uid */
181 uid_t uid; /* real user id */ member in struct:_TsolInfo
208 uid_t uid; /* user id */ member in struct:_TsolRes
319 * client's sl,uid for this or it will use the polyinstinfo
323 int enabled; /* if true use following sl, uid */
324 uid_t uid; member in struct:_TsolPolyInstInfo
339 extern uid_t OwnerUID; /* Workstation owner uid */
H A Dtsolutils.c103 int uid; /* uid type */ member in struct:xUIDreply
117 int userid; /* uid type */
171 /* Count how many valid entried in the uid table */
217 uidaddr[j].uid = uidtable[i].userid;
223 ErrorF("Invalid no. of uid entries? \n");
239 * Search entire uidtable, to prevent duplicate uid
247 /* this uid entry is already in the table; no-op */
248 return (1); /* Success, uid in the table */
255 * If we can find an empty entry, then add this uid
[all...]
H A Dtsolprotocol.c399 tsolres->uid = tsolinfo->uid;
423 tsolres->uid = tsolinfo->uid;
/solaris-x11-s11/open-src/lib/libXtsol/sun-src/
H A DXtsolproto.h82 CARD32 uid B32; /* user id */
106 CARD32 uid B16; /* UID */
127 CARD32 uid B16;
192 CARD32 uid B32;
218 CARD32 uid B32;
232 CARD32 uid B32;
H A DXtsol.c112 req->uid = (CARD32 )*uidp;
169 req->uid = *uidp;
222 req->uid = *uidp;
246 req->uid = newHeight;
323 req->uid = *uidp;
435 clientattr->uid = (uid_t) rep.uid;
513 propattrp->uid = rep.uid;
600 *uidp = rep.uid;
[all...]
H A DXtsol.h56 #define RES_OUID 16 /* owner uid */
63 CARD32 ouid; /* owner uid */
64 CARD32 uid; member in struct:_XTsolResAttributes
69 CARD32 uid; member in struct:_XTsolPropAttributes
78 uid_t uid; /* owner uid */ member in struct:_XTsolClientAttributes
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_fops.c96 priv->uid = crgetsuid(credp);
H A Ddrm_ioctl.c216 client.uid = client32.uid;
230 client.uid = pt->uid;
243 client32.uid = (uint32_t)client.uid;
H A Ddrm_io32.h46 uint32_t uid; /* User ID */ member in struct:drm_client_32
/solaris-x11-s11/open-src/proto/sun-ext-protos/include/
H A Dinteractive.h80 CARD32 uid B32; /* requestor's uid */
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_io32.c245 dest64->uid = dest32.uid;
261 src32.uid = (uint32_t)src64->uid;
H A Ddrm_ioctl.c195 client->uid = pt->uid;
H A Ddrm_fops.c190 priv->uid = crgetsuid(credp);
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_io32.h69 uint32_t uid; /* User ID */ member in struct:drm_client_32
H A Ddrm.h240 unsigned long uid; /**< User ID */ member in struct:drm_client
/solaris-x11-s11/open-src/app/mkcookie/sun-src/
H A Dmkcookie.c119 int uid; /* user id */ member in struct:verify_info
650 int uid = getuid(); local
684 if (!user2netname(netname, uid, 0))
920 chown (envname, verify->uid, verify->gid);
990 verify.uid = getuid();
/solaris-x11-s11/open-src/xserver/xorg/sun-src/IA/
H A Dinteractive.c331 (stuff->uid==ServerUid || ServerUid==0 || stuff->uid==0) &&
339 (stuff->uid==ServerUid || ServerUid==0) &&
/solaris-x11-s11/open-src/lib/libX11/sun-src/src/
H A DXInteractive.c300 req->uid = (CARD32)getuid();
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/
H A DdpsXcmu.c777 uid_t uid; local
779 int uid;
792 uid = getuid();
793 pw = getpwuid(uid);

Completed in 183 milliseconds

12