Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e10bb6
)
Branch b1_8_gate
author
vitaly
<vitaly>
Mon, 15 Sep 2008 18:30:24 +0000
(18:30 +0000)
committer
vitaly
<vitaly>
Mon, 15 Sep 2008 18:30:24 +0000
(18:30 +0000)
b=15949
i=adilger
i=shadow
lnet/include/libcfs/darwin/darwin-prim.h
patch
|
blob
|
history
diff --git
a/lnet/include/libcfs/darwin/darwin-prim.h
b/lnet/include/libcfs/darwin/darwin-prim.h
index
2aa4450
..
1e5f639
100644
(file)
--- a/
lnet/include/libcfs/darwin/darwin-prim.h
+++ b/
lnet/include/libcfs/darwin/darwin-prim.h
@@
-438,10
+438,6
@@
extern int is_suser(void);
#define lock_kernel() do {} while(0)
#define unlock_kernel() do {} while(0)
-#define CAP_SYS_BOOT 0
-#define CAP_SYS_ADMIN 1
-#define capable(a) ((a) == CAP_SYS_BOOT ? is_suser(): is_suser1())
-
#define USERMODEHELPER(path, argv, envp) (0)
#define cfs_module(name, version, init, fini) \