sonic-buildimage/device/accton/x86_64-accton_as5835_54x-r0
Mai Bui 5b0c4ec1e6
[device/accton] Replace os.system and remove subprocess with shell=True (#11985)
Signed-off-by: maipbui <maibui@microsoft.com>
#### Why I did it
`subprocess.Popen()` and `subprocess.run()` is used with `shell=True`, which is very dangerous for shell injection.
`os` - not secure against maliciously constructed input and dangerous if used to evaluate dynamic content
#### How I did it
Replace `os` by `subprocess`
Remove unused functions
2022-11-07 10:31:32 -05:00
..
Accton-AS5835-54X [as5835-54x] Add to support API2.0 (#6480) 2021-05-28 10:50:49 -07:00
plugins Edgecore 4630/5835/7326/7816 API2.0 platform support (#10053) 2022-03-18 06:17:08 +05:30
sonic_platform [device/accton] Replace os.system and remove subprocess with shell=True (#11985) 2022-11-07 10:31:32 -05:00
custom_led.bin [device] Add as5835_54x configuration (#6970) 2021-04-19 08:56:12 -07:00
default_sku [device][platform] add platform as5835-54x, accton. (#2977) 2019-06-07 09:00:12 -07:00
installer.conf Edgecore 4630/5835/7326/7816 API2.0 platform support (#10053) 2022-03-18 06:17:08 +05:30
led_proc_init.soc [device] Add as5835_54x configuration (#6970) 2021-04-19 08:56:12 -07:00
platform_asic Add platform_asic file to each platform folder in sonic-device-data based package (#8542) 2021-10-08 19:27:48 -07:00
pmon_daemon_control.json Edgecore 4630/5835/7326/7816 API2.0 platform support (#10053) 2022-03-18 06:17:08 +05:30
sensors.conf [accton] Add sensors.conf to multiple models (#7494) 2021-05-12 12:42:20 -07:00
system_health_monitoring_config.json Edgecore 4630/5835/7326/7816 API2.0 platform support (#10053) 2022-03-18 06:17:08 +05:30