Re: [PATCH v3] bus/fslmc/dpaa2: replace system("echo ...") with file i/o

2024-10-17 Thread Thomas Monjalon
26/08/2024 18:11, Stephen Hemminger: > Using system() is a bad idea in driver code because it introduces > a number of potential security issues. The codeql analysis tool > flags this a potential security issue. > > Instead just use normal stdio to do the same thing. > > Compile test only, do not

[PATCH v3] bus/fslmc/dpaa2: replace system("echo ...") with file i/o

2024-08-26 Thread Stephen Hemminger
Using system() is a bad idea in driver code because it introduces a number of potential security issues. The codeql analysis tool flags this a potential security issue. Instead just use normal stdio to do the same thing. Compile test only, do not have this hardware and therefore can not test this