X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=src%2Fafs%2FHPUX%2Fosi_machdep.h;h=24f1fef3533f069bbf97a8ce73e20c1ce92a788a;hp=e2674bbee8ff9f1df011f873b8033c0e0493e522;hb=b0e51e2993d3775ac5ebf26c2b851b2e316aea11;hpb=3266003c5dd98c9698498322d33320c715953832 diff --git a/src/afs/HPUX/osi_machdep.h b/src/afs/HPUX/osi_machdep.h index e2674bb..24f1fef 100644 --- 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)