sonic-buildimage/device/dell/x86_64-dellemc_s5212f_c3538-r0
Mai Bui 06e1a0bc14
[device/dell] Mitigation for security vulnerability (#11875)
Dependency: [PR (#12065)](https://github.com/sonic-net/sonic-buildimage/pull/12065) needs to merge first.

#### Why I did it
`commands` module is not protected against malicious input
`getstatusoutput` is detected without a static string, uses `shell=True`
#### How I did it
Eliminate the use of `commands`
Use `subprocess.run()`, commands in `subprorcess.run()` are totally static
Fix indentation
#### How to verify it
Tested on DUT
[dell_log.txt](https://github.com/sonic-net/sonic-buildimage/files/9561332/dell_log.txt)
2023-01-05 16:22:09 -08:00
..
DellEMC-S5212f-P-25G Added Support for Dell EMC S5212f in SONiC (#8678) 2021-10-26 12:52:03 -07:00
plugins [device/dell] Mitigation for security vulnerability (#11875) 2023-01-05 16:22:09 -08:00
default_sku Added Support for Dell EMC S5212f in SONiC (#8678) 2021-10-26 12:52:03 -07:00
installer.conf [DellEMC] DMA errors are seen when loading bullseye kernel (#9641) 2022-01-03 08:47:13 -08:00
led_proc_init.soc Added Support for Dell EMC S5212f in SONiC (#8678) 2021-10-26 12:52:03 -07:00
media_settings.json [DellEMC] S5212F and S5224F 2.0 API changes (#10315) 2022-06-16 16:50:11 -07:00
pcie.yaml [DellEMC] S5212F and S5224F 2.0 API changes (#10315) 2022-06-16 16:50:11 -07:00
platform_asic [devices]: Add platform_asic files for new platforms (#9078) 2021-10-27 08:58:05 -07:00
platform.json [DellEMC] S5212F and S5224F 2.0 API changes (#10315) 2022-06-16 16:50:11 -07:00
pmon_daemon_control.json Added Support for Dell EMC S5212f in SONiC (#8678) 2021-10-26 12:52:03 -07:00
system_health_monitoring_config.json [DellEMC] S5212F and S5224F 2.0 API changes (#10315) 2022-06-16 16:50:11 -07:00