aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2008-10-27 14:25:49 +0000
committerRalf Baechle <[email protected]>2008-10-27 16:18:31 +0000
commit97b0511ce125b0cb95d73b198c1bdbb3cebc4de2 (patch)
tree0caed72319b7e270b26d82c4a61ae26628b33254 /net/unix/af_unix.c
parentMIPS: Markeins: Remove unnecessary define and cleanup comments, etc. (diff)
downloadkernel-97b0511ce125b0cb95d73b198c1bdbb3cebc4de2.tar.gz
kernel-97b0511ce125b0cb95d73b198c1bdbb3cebc4de2.zip
MIPS: TXx9: Make firmware parameter passing more robust
When booting Linux on a txx9 board with VxWorks boot loader, it crashes in prom_getenv(), as VxWorks doesn't pass firmware parameters in a0-a3 (in my case, the actual leftover values in these registers were 0x80002000, 0x80001fe0, 0x2000, and 0x20). Make the parsing of argc, argv, and envp a bit more robust by checking if argc is a number below CKSEG0, and argv/envp point to CKSEG0. Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Atsushi Nemoto <[email protected]> Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions