Commit cb3b00e
committed
seccomp: allow TUNSETOFFLOAD ioctl in the vCPU threads
Before, we were calling this ioctl() from the VMM thread when creating
the virtio network device. Moreover, this ioctl() was called before
setting up seccomp filters. Now, we call it during device activation,
which is handled by the vCPU threads. Change the seccomp filters to
allow these ioctl()s.
Signed-off-by: Babis Chalios <[email protected]>1 parent 9b1d41b commit cb3b00e
File tree
2 files changed
+24
-0
lines changed- resources/seccomp
2 files changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1038 | 1038 | | |
1039 | 1039 | | |
1040 | 1040 | | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
1041 | 1053 | | |
1042 | 1054 | | |
1043 | 1055 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1238 | 1238 | | |
1239 | 1239 | | |
1240 | 1240 | | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
1241 | 1253 | | |
1242 | 1254 | | |
1243 | 1255 | | |
| |||
0 commit comments