projects
/
platform
/
upstream
/
bcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b0fe40
)
tools/capable: fix compilation error
author
Mauricio Vásquez
<mauricio@kinvolk.io>
Thu, 26 Mar 2020 19:36:22 +0000
(14:36 -0500)
committer
yonghong-song
<ys114321@gmail.com>
Sat, 28 Mar 2020 19:12:38 +0000
(12:12 -0700)
9d7feeed87c5
("tools: add option --unique to capable.py") introduced a
compilation error when the --unique flag is passed.
Signed-off-by: Mauricio Vásquez <mauricio@kinvolk.io>
tools/capable.py
patch
|
blob
|
history
diff --git
a/tools/capable.py
b/tools/capable.py
index
c19cddb
..
3852e22
100755
(executable)
--- a/
tools/capable.py
+++ b/
tools/capable.py
@@
-193,7
+193,7
@@
int kprobe__cap_capable(struct pt_regs *ctx, const struct cred *cred,
struct repeat_t repeat = {0,};
repeat.cap = cap;
#if CGROUPSET
- repeat.cgroupid = bpf_get_current_cgroup_id()
,
+ repeat.cgroupid = bpf_get_current_cgroup_id()
;
#else
repeat.tgid = tgid;
#endif