plan9fox/sys/src
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
..
9 sysproc: raise limit on #! lines, and allow quoted args 2022-07-25 04:48:44 +00:00
ape ape/bsd/bind.c, ape/bsd/listen.c: Use _syserrno. 2022-07-06 03:46:07 +00:00
boot imx8: load a plan9.ini at CONFADDR 0x40010000 2022-07-10 16:40:36 +00:00
cmd git/log: only count the messages we show when limiting counts 2022-07-19 03:56:00 +00:00
games games/gb: minor style fixes 2022-03-18 17:32:11 -07:00
lib9p lib9p: remove Srv.srvfd, make postsrv() and threadpostsrv() return the mountable file descriptor, update documentation 2021-05-01 19:58:58 +02:00
libaml libaml: resolve refs in ObjectType instruction 2021-10-17 19:52:28 +00:00
libauth auth/newns: add chdev command 2022-05-28 02:27:59 +00:00
libauthsrv libauthsrv: open internal file-descriptors with OCEXEC flag 2020-12-07 16:47:06 +01:00
libavl
libbin
libbio
libc tmparse: remove incorrect isalpha definition 2022-05-26 20:23:11 +00:00
libcomplete libcomplete: open internal file-descriptor with OCEXEC flag 2020-12-07 17:18:33 +01:00
libcontrol
libdisk
libdraw libdraw: enter/eenter: fix ^W removing the text on the right side of the tick 2021-02-04 10:57:37 +01:00
libdtracy
libfis
libflate
libframe
libgeometry
libhtml
libhttpd
libip
libjson
liblex
libmach
libmemdraw
libmemlayer
libmp reduce: use if() to test for exit status of pipeline 2022-01-10 02:01:11 +00:00
libndb libndb: move mkptrname() into libndb to avoid duplication 2021-11-03 19:38:36 +00:00
libplumb
libregexp
libsat
libscribble
libsec libsec: fix wrong tls1.0 prf regression 2022-03-27 20:28:41 +00:00
libstdio libstdio: sync bits of vfprintf from APE 2021-02-19 23:04:09 +01:00
libString
libsunrpc libsunrpc: work around arm64 compiler bug in sunStringUnpack() 2021-03-29 17:13:50 +02:00
libthread libthread: fix debug prints, simplify 2021-10-13 17:08:26 +00:00
libttf
libventi venti: fix memory layers 2021-07-21 05:06:05 +00:00
mkfile revert 8c228a123f: accidental commit 2021-08-22 17:47:38 +00:00
mkfile.proto /sys/src: add arm64 to installall list 2021-06-21 03:34:47 +00:00