16 Commits
Author SHA1 Message Date
Andrei Vagin f010ae01ac Fix a few typos 2025-01-29 21:16:51 -08:00
Koichi Shiraishi 0cf77c02f8 all: remove use io/ioutil deprecated package & fix some deprecated thing
Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>
2024-10-10 20:36:24 +09:00
Adin ScannellandgVisor bot 1ceb814544 Add default_applicable_licenses rules to packages.
PiperOrigin-RevId: 513581243
2023-03-02 10:50:04 -08:00
Zach KoopmansandgVisor bot c07dc3828a [SMT] Refactor runsc mititgate
Refactor mitigate to use /sys/devices/system/cpu/smt/control instead
of individual CPU control files.

PiperOrigin-RevId: 389215975
2021-08-06 11:10:54 -07:00
Jamie LiuandgVisor bot 1ad3822200 Add go:build directives as required by Go 1.17's gofmt.
PiperOrigin-RevId: 385894869
2021-07-20 16:28:45 -07:00
Fabricio VoznikaandgVisor bot 7132b9a07b Fix GoLand analyzer errors under runsc/...
PiperOrigin-RevId: 384344990
2021-07-12 16:45:33 -07:00
gVisor bot 6c349c675c Merge pull request #5764 from zhlhahaha:2126-2
PiperOrigin-RevId: 372993341
2021-05-10 12:59:03 -07:00
Zach KoopmansandgVisor bot 025cff180c Internal change
PiperOrigin-RevId: 368919504
2021-04-16 14:28:23 -07:00
Howard Zhang 73679fae2a Disable mitigate and related test on ARM64
As MDS side channel attack does not affect ARM64, we disable
mitigate on ARM64 in case misusage.

For more detail, please refer to:
https://access.redhat.com/security/vulnerabilities/mds

Signed-off-by: Howard Zhang <howard.zhang@arm.com>
2021-04-01 10:56:33 +08:00
Zach KoopmansandgVisor bot a82bd04e2a Major refactor of runsc mitigate.
PiperOrigin-RevId: 362360425
2021-03-11 13:10:08 -08:00
Zach KoopmansandgVisor bot b8a5420f49 Add reverse flag to mitigate.
Add reverse operation to mitigate that just enables
all CPUs.

PiperOrigin-RevId: 360511215
2021-03-02 14:10:51 -08:00
Zach KoopmansandgVisor bot 24ea8003a4 Only detect mds for mitigate.
Only detect and mitigate on mds for the mitigate command.

PiperOrigin-RevId: 358924466
2021-02-22 16:02:32 -08:00
Zach KoopmansandgVisor bot 1ac58cc23e Add mitigate command to runsc
PiperOrigin-RevId: 356772367
2021-02-10 10:48:48 -08:00
Zach KoopmansandgVisor bot fcc2468db5 Add CPUSet for runsc mitigate.
PiperOrigin-RevId: 355242055
2021-02-02 13:40:46 -08:00
Zach KoopmansandgVisor bot 814cfd7c4a Internal change
PiperOrigin-RevId: 354170726
2021-01-27 14:18:30 -08:00
Zach KoopmansandgVisor bot 16b81308cf Add initial mitigate code and cpu parsing.
PiperOrigin-RevId: 353274135
2021-01-22 10:52:57 -08:00