NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/53261: kernel crash during test run
The following reply was made to PR kern/53261; it has been noted by GNATS.
From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/53261: kernel crash during test run
Date: Thu, 24 May 2018 03:57:51 +0700
Date: Wed, 23 May 2018 12:15:01 +0000 (UTC)
From: Martin Husemann <martin%duskware.de@localhost>
Message-ID: <20180523121501.5D1887A21F%mollari.NetBSD.org@localhost>
| An alternative is to make the syscall handling code in arm a lot more
| complex and check for specific misalignments, but then we would punish
| everyone for a stupid test interface that should just go away.
Regardless of what happens with syscall() that is necessary - user programs
don't necessarily use nice C interfaces with prototypes, ... they can do
anything at all, including constructing completely bogus args on a hand
constructed stack frame. The kernel must always validate all args. Always.
kre
Home |
Main Index |
Thread Index |
Old Index