sonic-buildimage/platform/marvell-armhf
Mai Bui 2b3e884209
[nokia] Replace os.system and remove subprocess with shell=True (#12100)
Signed-off-by: maipbui <maibui@microsoft.com>
Dependency: [https://github.com/sonic-net/sonic-buildimage/pull/12065](https://github.com/sonic-net/sonic-buildimage/pull/12065)
#### 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
`getstatusoutput` is dangerous because it contains `shell=True` in the implementation
#### How I did it
Replace `os` by `subprocess`, use with `shell=False`
Remove unused functions
2022-12-01 12:12:50 -05:00
..
docker-syncd-mrvl [Marvell] Move armhf syncd docker to bullseye. (#12585) 2022-11-17 22:17:37 +08:00
docker-syncd-mrvl-rpc [Marvell] Move armhf syncd docker to bullseye. (#12585) 2022-11-17 22:17:37 +08:00
prestera/debian Ported Marvell armhf build on amd64 host for debian buster to use cross-comp… (#8035) 2022-07-21 14:15:16 -07:00
sai [Marvell] Update armhf driver/sai deb version (#10126) 2022-03-03 16:21:18 -08:00
sonic-platform-et6448m [Marevell] Fix armhf build failure (#9875) 2022-02-28 13:40:58 +08:00
sonic-platform-nokia [nokia] Replace os.system and remove subprocess with shell=True (#12100) 2022-12-01 12:12:50 -05:00
docker-saiserver-mrvl.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
docker-saiserver-mrvl.mk [Marvell] Move armhf syncd docker to bullseye. (#12585) 2022-11-17 22:17:37 +08:00
docker-syncd-mrvl-rpc.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
docker-syncd-mrvl-rpc.mk [dockers] change RPC, DBG dockers version: put RPG, DBG sign in build metadata part of the version (#8920) 2021-11-01 19:02:57 +02:00
docker-syncd-mrvl.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
docker-syncd-mrvl.mk [Marvell] Move armhf syncd docker to bullseye. (#12585) 2022-11-17 22:17:37 +08:00
libsaithrift-dev.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
libsaithrift-dev.mk [build]: SONiC buildimage ARM arch support (#2980) 2019-07-25 22:06:41 -07:00
one-image.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
one-image.mk [marvell]: Marvell prestera kernel driver (#7066) 2021-03-29 15:27:01 -07:00
platform-et6448m.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
platform-et6448m.mk [build]: add buster docker as the last step of the build proces 2020-04-16 10:26:18 +00:00
platform-nokia.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
platform-nokia.mk [build]: marvell-armhf bullseye fixes (#9243) 2021-11-13 10:48:58 -08:00
platform.conf Update Linux kernel from 5.10.103 to 5.10.140 (#12660) 2022-11-14 16:33:34 -08:00
prestera.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
prestera.mk [Marvell] Update armhf driver/sai deb version (#10126) 2022-03-03 16:21:18 -08:00
rules.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
rules.mk [marvell]: Marvell prestera kernel driver (#7066) 2021-03-29 15:27:01 -07:00
sai.dep Support dpkg cache for marvell-armhf (#9381) 2021-11-30 16:54:40 +08:00
sai.mk [Marvell] Update armhf sai deb (#11296) 2022-06-30 13:21:30 -07:00