plan9fox/sys/src/9
Ori Bernstein 520a39efcd sysproc: raise limit on #! lines, and allow quoted args
Our #! line length is very short, and the naïve quoting
makes it difficult to pass more complicated arguments to
the programs being run. This is fine for simple interpreters,
but it's often useful to pass arguments to more complicated
interpreters like auth/box or awk.

This change raises the limit, but also switches to tokenizing
via tokenize(2), rather than hand rolled whitespace splitting.

The limits chosen are arbitrary, but they leave approximately
3 KiB of stack space on 386, and 13k on amd64. This is a lot
of stack used, but it should leave enough for fairly deep
devtab chan stacks.
2022-07-25 04:48:44 +00:00
..
bcm kernel: consistently add devbridge and netdevmedium to kernel configs 2022-07-18 17:19:57 +00:00
bcm64 kernel: consistently add devbridge and netdevmedium to kernel configs 2022-07-18 17:19:57 +00:00
boot kernel: bootrc: add bootloop= 2022-06-14 08:16:57 +00:00
cycv kernel: make Page.txtflush into an array 2022-01-16 19:25:11 +00:00
imx8 devrtc: fix mistake. 2022-07-21 00:44:34 +00:00
ip ip(3): use flags instead of tag for 8 column route add/remove 2022-03-14 18:45:27 +00:00
kw kernel: make Page.txtflush into an array 2022-01-16 19:25:11 +00:00
mtx kernel: make Page.txtflush into an array 2022-01-16 19:25:11 +00:00
omap kernel: make Page.txtflush into an array 2022-01-16 19:25:11 +00:00
pc pc/rtc: make sure string is NUL terminates for rtc write 2022-07-20 18:52:02 +00:00
pc64 kernel: consistently add devbridge and netdevmedium to kernel configs 2022-07-18 17:19:57 +00:00
port sysproc: raise limit on #! lines, and allow quoted args 2022-07-25 04:48:44 +00:00
ppc kernel: make Page.txtflush into an array 2022-01-16 19:25:11 +00:00
sgi kernel: make Page.txtflush into an array 2022-01-16 19:25:11 +00:00
teg2 kernel: make Page.txtflush into an array 2022-01-16 19:25:11 +00:00
xen remove ssl from zynq and remaining kernel configurations 2022-01-01 15:23:46 +00:00
zynq kernel: consistently add devbridge and netdevmedium to kernel configs 2022-07-18 17:19:57 +00:00
mkfile revert 8c228a123fa0c6062570964011854302bbf57242: accidental commit 2021-08-22 17:47:38 +00:00