plan9fox/sys
cinap_lenrek 87d7a3c875 kernel: have to validate argv[] again when copying to the new stack
we have to validaddr() and vmemchr() all argv[] elements a second
time when we copy to the new stack to deal with the fact that another
process can come in and modify the memory of the process doing the
exec. so the argv[] strings could have changed and increased in
length. we just make sure the data being copied will fit into the
new stack and error when we would overflow.

also make sure to free the ESEG in case the copy pass errors.
2015-08-06 13:20:41 +02:00
..
doc
games/lib fortunes: go away. 2015-07-22 21:35:50 -04:00
include ape: implement altzone for tzset() 2015-08-04 02:01:41 +02:00
lib authsrv: remove unused opasstokey 2015-06-09 23:53:07 +02:00
man libc: make atoi() not parse c-style octal and hex numbers 2015-08-03 18:10:53 +02:00
src kernel: have to validate argv[] again when copying to the new stack 2015-08-06 13:20:41 +02:00