git://git.openafs.org
/
openafs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Unix CM: Use macros for process name and id access
[openafs.git]
/
src
/
afs
/
FBSD
/
osi_machdep.h
diff --git
a/src/afs/FBSD/osi_machdep.h
b/src/afs/FBSD/osi_machdep.h
index
15cea31
..
68a4622
100644
(file)
--- a/
src/afs/FBSD/osi_machdep.h
+++ b/
src/afs/FBSD/osi_machdep.h
@@
-108,6
+108,7
@@
extern void osi_fbsd_free(void *p);
#define VROOT VV_ROOT
#define v_flag v_vflag
#define osi_curcred() (curthread->td_ucred)
+#define osi_curproc() (curthread)
#define osi_getpid() (curthread->td_proc->p_pid)
#define simple_lock(x) mtx_lock(x)
#define simple_unlock(x) mtx_unlock(x)