git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
curcred-20021008
[openafs.git]
/
src
/
afs
/
HPUX
/
osi_machdep.h
diff --git
a/src/afs/HPUX/osi_machdep.h
b/src/afs/HPUX/osi_machdep.h
index
e2674bb
..
24f1fef
100644
(file)
--- a/
src/afs/HPUX/osi_machdep.h
+++ b/
src/afs/HPUX/osi_machdep.h
@@
-38,6
+38,8
@@
extern struct timeval time;
#undef afs_suser
+#define osi_curcred() (p_cred(u.u_procp))
+
#define getpid() (afs_uint32)p_pid(u.u_procp)
#define getppid() (afs_uint32)p_ppid(u.u_procp)