sonic-buildimage/device/accton/x86_64-accton_as7816_64x-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-AS7816-64X [as7816-64x] Update to support DPB (Dynamic Port Breakout) (#10562) 2022-06-30 12:29:11 -07:00
pddf [PDDF] Rename temp for as7816/7326/7726 (#10609) 2022-05-09 10:47:45 -07:00
plugins [sonic-utilities] Update submodule; Build and install as a Python 3 wheel (#5926) 2020-11-25 10:28:36 -08:00
sonic_platform [device/accton] Replace os.system and remove subprocess with shell=True (#11985) 2022-11-07 10:31:32 -05:00
default_sku [updategraph] add support to use preset config instead of default minigraph (#2050) 2018-09-21 22:01:10 -07:00
installer.conf [as7816-64x] Update installer.conf (#10418) 2022-05-02 11:09:16 -07:00
led_proc_init.soc [device]: Add a new supported device AS7816-64X (#1426) 2018-02-27 12:50:02 -08:00
pddf_support [Accton/PDDF] Support pddf to as4630/as7816/as7326 (#10340) 2022-04-01 09:55:04 -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
platform.json [as7816-64x] Update to support DPB (Dynamic Port Breakout) (#10562) 2022-06-30 12:29:11 -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 [PDDF] Rename temp for as7816/7326/7726 (#10609) 2022-05-09 10:47:45 -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