Searched defs:uid (Results 1 - 21 of 21) sorted by relevance

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/xmlschema/bindinfo/
H A DBISerializable.java43 public Long uid; field in class:BISerializable
/openjdk7/jdk/src/share/classes/java/rmi/activation/
H A DActivationGroupID.java57 private UID uid = new UID(); field in class:ActivationGroupID
90 return uid.hashCode();
110 return (uid.equals(id.uid) && system.equals(id.system));
H A DActivationID.java79 private transient UID uid = new UID(); field in class:ActivationID
136 return uid.hashCode();
154 return (uid.equals(id.uid) && activator.equals(id.activator));
208 out.writeObject(uid);
267 uid = (UID)in.readObject();
/openjdk7/jdk/src/share/classes/java/rmi/dgc/
H A DVMID.java51 private UID uid; field in class:VMID
74 uid = new UID();
92 return uid.hashCode();
102 if (!uid.equals(vmid.uid))
131 result.append(uid.toString());
/openjdk7/jdk/src/share/classes/com/sun/security/auth/module/
H A DSolarisSystem.java38 protected long uid; field in class:SolarisSystem
70 return uid;
H A DUnixSystem.java38 protected long uid; field in class:UnixSystem
70 return uid;
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixUserPrincipals.java44 private final int id; // uid or gid
58 int uid() { method in class:UnixUserPrincipals.User
114 // return UserPrincipal representing given uid
115 static User fromUid(int uid) { argument
118 name = new String(getpwuid(uid));
120 name = Integer.toString(uid);
122 return new User(uid, name);
151 // lookup failed, allow input to be uid or gid
170 int uid = lookupName(name, false);
171 return new User(uid, nam
[all...]
H A DUnixFileAttributeViews.java233 final void setOwners(int uid, int gid) throws IOException { argument
237 chown(file, uid, gid);
239 lchown(file, uid, gid);
263 int uid = ((UnixUserPrincipals.User)owner).uid();
264 setOwners(uid, -1);
291 private static final String UID_NAME = "uid";
348 builder.add(UID_NAME, attrs.uid());
H A DUnixFileAttributes.java101 int uid() { return st_uid; } method in class:UnixFileAttributes
H A DUnixSecureDirectoryStream.java507 private void setOwners(int uid, int gid) throws IOException { argument
518 fchown(fd, uid, gid);
543 int uid = ((UnixUserPrincipals.User)owner).uid();
544 setOwners(uid, -1);
H A DUnixNativeDispatcher.java332 static void chown(UnixPath path, int uid, int gid) throws UnixException { argument
335 chown0(buffer.address(), uid, gid);
340 private static native void chown0(long pathAddress, int uid, int gid) argument
346 static void lchown(UnixPath path, int uid, int gid) throws UnixException { argument
349 lchown0(buffer.address(), uid, gid);
354 private static native void lchown0(long pathAddress, int uid, int gid) argument
360 static native void fchown(int fd, int uid, int gid) throws UnixException; argument
457 * struct passwd *getpwuid(uid_t uid);
461 static native byte[] getpwuid(int uid) throws UnixException; argument
/openjdk7/jdk/src/solaris/native/sun/tools/attach/
H A DBsdVirtualMachine.c136 uid_t uid, gid; local
140 * Check that the path is owned by the effective uid/gid of this
143 uid = geteuid();
158 if ( (sb.st_uid != uid) || (sb.st_gid != gid) ||
H A DLinuxVirtualMachine.c354 uid_t uid, gid; local
358 * Check that the path is owned by the effective uid/gid of this
361 uid = geteuid();
376 if ( (sb.st_uid != uid) || (sb.st_gid != gid) ||
H A DSolarisVirtualMachine.c99 uid_t uid, gid; local
103 * Check that the path is owned by the effective uid/gid of this
106 uid = geteuid();
121 if ( (sb.st_uid != uid) || (sb.st_gid != gid) ||
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DThreadTreeTool.java194 long uid; field in class:ThreadTreeTool.ThreadTreeNode
204 this.uid = -1;
207 this.uid = thread.uniqueID();
208 this.description = name + " (t@" + Long.toHexString(uid) + ")";
226 return "t@" + Long.toHexString(uid);
/openjdk7/hotspot/src/os/bsd/dtrace/
H A Djvm_dtrace.c146 uid_t uid, gid; local
150 * Check that the path is owned by the effective uid/gid of this
153 uid = geteuid();
162 if ((sb.st_uid != uid) || (sb.st_gid != gid) ||
/openjdk7/hotspot/src/os/bsd/vm/
H A DperfMemory_bsd.cpp239 static char* get_user_name(uid_t uid) { argument
254 int result = getpwuid_r(uid, &pwent, pwbuf, (size_t)bufsize, &p);
571 // will be owned by euid::egid, which may not be the same as uid::gid.
/openjdk7/hotspot/src/os/linux/vm/
H A DperfMemory_linux.cpp239 static char* get_user_name(uid_t uid) { argument
254 int result = getpwuid_r(uid, &pwent, pwbuf, (size_t)bufsize, &p);
571 // will be owned by euid::egid, which may not be the same as uid::gid.
/openjdk7/hotspot/src/os/solaris/dtrace/
H A Djvm_dtrace.c146 uid_t uid, gid; local
150 * Check that the path is owned by the effective uid/gid of this
153 uid = geteuid();
162 if ((sb.st_uid != uid) || (sb.st_gid != gid) ||
/openjdk7/hotspot/src/os/solaris/vm/
H A DperfMemory_solaris.cpp241 static char* get_user_name(uid_t uid) { argument
256 int result = getpwuid_r(uid, &pwent, pwbuf, (size_t)bufsize, &p);
258 struct passwd* p = getpwuid_r(uid, &pwent, pwbuf, (int)bufsize);
608 // will be owned by euid::egid, which may not be the same as uid::gid.
/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DUnixNativeDispatcher.c498 jlong pathAddress, jint uid, jint gid)
503 RESTARTABLE(chown(path, (uid_t)uid, (gid_t)gid), err);
510 Java_sun_nio_fs_UnixNativeDispatcher_lchown0(JNIEnv* env, jclass this, jlong pathAddress, jint uid, jint gid) argument
515 RESTARTABLE(lchown(path, (uid_t)uid, (gid_t)gid), err);
522 Java_sun_nio_fs_UnixNativeDispatcher_fchown(JNIEnv* env, jclass this, jint filedes, jint uid, jint gid) argument
526 RESTARTABLE(fchown(filedes, (uid_t)uid, (gid_t)gid), err);
887 Java_sun_nio_fs_UnixNativeDispatcher_getpwuid(JNIEnv* env, jclass this, jint uid) argument
907 RESTARTABLE_RETURN_PTR(getpwuid_r((uid_t)uid, &pwent, pwbuf, (size_t)buflen), p);
909 RESTARTABLE(getpwuid_r((uid_t)uid, &pwent, pwbuf, (size_t)buflen, &p), res);
992 jint uid local
497 Java_sun_nio_fs_UnixNativeDispatcher_chown0(JNIEnv* env, jclass this, jlong pathAddress, jint uid, jint gid) argument
[all...]

Completed in 342 milliseconds