Messages in this thread | | | From | Richard Weinberger <> | Subject | Re: [PATCH v2] kbuild: Don't source kernel config | Date | Tue, 20 Feb 2018 16:25:32 +0100 |
| |
Am Dienstag, 20. Februar 2018, 16:18:11 CET schrieb Masahiro Yamada: > 2018-02-19 18:22 GMT+09:00 Richard Weinberger <richard@nod.at>: > > Don't source the kernel config file in shell scripts. > > The config file is not a shell script and often imported from untrusted > > sources. > > What could possible go wrong? ;-) > > Please enumerate your real problems.
Build a kernel where the .config contains something like: CONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE="`echo hello > world`"
I'll send a v3 because I forgot to convert one function in the shell script to the new bash array. kbuild bot FTW. :-)
Thanks, //richard
| |