aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-09-05 16:12:39 +0100
committerRon Yorston <rmy@pobox.com>2021-09-05 16:12:39 +0100
commitf67224cb2f60288c731b94975e20bd922eaacf6c (patch)
tree61c6dfdde7c13483bc0294938e84cb2907efa556 /init
parenta819ff097b754ec9ab0a6c8b64a43e0228369c7a (diff)
downloadbusybox-w32-f67224cb2f60288c731b94975e20bd922eaacf6c.tar.gz
busybox-w32-f67224cb2f60288c731b94975e20bd922eaacf6c.tar.bz2
busybox-w32-f67224cb2f60288c731b94975e20bd922eaacf6c.zip
ash: restrict valid job ids
Although job control is disabled in busybox-w32 getjob() is still compiled in because it's used by waitcmd(). Job ids of the form '%string' or '%?string' don't work, though, because the command isn't stored in the job structure. Disable the code to handle them. Job ids '%%', '%+', '%-' and '%num' are still allowed and some of them are (successfully) used in the ash tests. Saves 144 bytes.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions