15 lines
731 B
Diff
15 lines
731 B
Diff
diff -Naru crun-1.4.3/src/exec.c crun-1.4.3-new/src/exec.c
|
|
--- crun-1.4.3/src/exec.c 2021-11-05 14:53:28.000000000 +0800
|
|
+++ crun-1.4.3-new/src/exec.c 2022-05-23 13:51:13.000000000 +0800
|
|
@@ -304,8 +304,8 @@
|
|
capabilities->effective = exec_options.cap;
|
|
capabilities->effective_len = exec_options.cap_size;
|
|
|
|
- capabilities->inheritable = dup_array (exec_options.cap, exec_options.cap_size);
|
|
- capabilities->inheritable_len = exec_options.cap_size;
|
|
+ capabilities->inheritable = NULL;
|
|
+ capabilities->inheritable_len = 0;
|
|
|
|
capabilities->bounding = dup_array (exec_options.cap, exec_options.cap_size);
|
|
capabilities->bounding_len = exec_options.cap_size;
|