You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Daniel Golle 267873ac9b
base-files: don't evaluate block-device uevent
Current code and also before commit da52dd0c83 was vulnerable to shell
injection using volume lables in the GPT partition table of block
devices. Given that partition names can be freely defined in GPT tables
we really shouldn't evaluate a string which is potentially crafted with
evil intentions. Hence rather use `export -n` to absorb the uevent's
variables into the environment.

Fixes commit da52dd0c83 (base-files: quote values when evaluating uevent)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[mschiffer@universe-factory.net: suggested export -n usage]
6 years ago
..
bin linux-atm: add br2684ctl option to specify the netdev name 6 years ago
etc base-files: gpio switch: check if direction can be set 6 years ago
lib base-files: don't evaluate block-device uevent 6 years ago
rom rename default/ to files/ 18 years ago
sbin base-files: sysupgrade: correct command help text 6 years ago
usr base-files: remove remaining uses of %N, and drop VERSION_NICK config symbol 7 years ago