plan9front/sys/man/9
cinap_lenrek fcdfb151e2 kernel: Limit parsecmd() to a maximum of READSTR bytes
A user can create a large demand paged segment
and then do write to a ctl file with a very large buffer
driving the kernel into an out-of-memory condition.

For all practcal purposes, limit the input buffer size
to something reasonable. READSTR is 8000 bytes, which
would be enougth for even the largest ctl messages.
2024-10-20 12:07:08 +00:00
..
0intro add start of section 9 manpages (thanks rgl) 2019-11-19 12:30:40 -08:00
allocb add start of section 9 manpages (thanks rgl) 2019-11-19 12:30:40 -08:00
delay improve language in delay(9) 2019-11-20 16:05:52 -08:00
error add start of section 9 manpages (thanks rgl) 2019-11-19 12:30:40 -08:00
eve add start of section 9 manpages (thanks rgl) 2019-11-19 12:30:40 -08:00
inb /sys/man/9: more pages added 2020-01-04 18:02:54 +01:00
intrenable add start of section 9 manpages (thanks rgl) 2019-11-19 12:30:40 -08:00
kproc fix manpage references for dup(2), kproc(9) and panic(9). 2021-09-08 18:22:35 +00:00
malloc add start of section 9 manpages (thanks rgl) 2019-11-19 12:30:40 -08:00
panic fix manpage references for dup(2), kproc(9) and panic(9). 2021-09-08 18:22:35 +00:00
parsecmd kernel: Limit parsecmd() to a maximum of READSTR bytes 2024-10-20 12:07:08 +00:00
qlock add start of section 9 manpages (thanks rgl) 2019-11-19 12:30:40 -08:00
readnum /sys/man/9: more pages added 2020-01-04 18:02:54 +01:00
sched sched(9): replace '–' with '-' in NAME section 2021-06-21 10:26:15 +00:00
seconds /sys/man/9: more pages added 2020-01-04 18:02:54 +01:00
sleep sleep(9): recover comment with the right reference 2019-12-20 23:15:07 +01:00
splhi add start of section 9 manpages (thanks rgl) 2019-11-19 12:30:40 -08:00
xalloc add start of section 9 manpages (thanks rgl) 2019-11-19 12:30:40 -08:00