| Deutsch English Français Italiano |
|
<vtpk2a$2l2l$1@gal.iecc.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail From: John Levine <johnl@taugh.com> Newsgroups: comp.arch Subject: Re: virtualization, Constant Stack Canaries Date: Thu, 17 Apr 2025 01:04:10 -0000 (UTC) Organization: Taughannock Networks Message-ID: <vtpk2a$2l2l$1@gal.iecc.com> References: <vsbcnl$1d4m5$1@dont-email.me> <694fc2e37e0bcb6de19c0e1d1d0f0042@www.novabbs.org> <vtpaq5$35su6$1@dont-email.me> <IlYLP.249406$bYQ4.26862@fx41.iad> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 17 Apr 2025 01:04:10 -0000 (UTC) Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="87125"; mail-complaints-to="abuse@iecc.com" In-Reply-To: <vsbcnl$1d4m5$1@dont-email.me> <694fc2e37e0bcb6de19c0e1d1d0f0042@www.novabbs.org> <vtpaq5$35su6$1@dont-email.me> <IlYLP.249406$bYQ4.26862@fx41.iad> Cleverness: some X-Newsreader: trn 4.0-test77 (Sep 1, 2010) Originator: johnl@iecc.com (John Levine) Bytes: 2222 Lines: 22 According to Scott Lurndal <slp53@pacbell.net>: >>I think you could gain a tiny amount of efficiency if the OS (super) >>allowed the user to set up handle certain classes of exceptions, e.g. >>divide faults) itself rather than having to go through the super. > >Think carefully about the security implications of user-mode interrupt >delivery. Particuarly with respect to potential impacts on other >processes running on the system, and to overall system functionality. > >Handling interrupts requires direct access to the hardware from >user-mode. I think he was talking about exceptions, not interrupts. I don't see much danger in reflecting divide faults and supervisor calls directly back to the virtual machine. I gather that IBM's virtualization microcode has done that for decades. External interrupts are indeed a lot harder unless you know a whole lot about the thing that's interrupting. -- Regards, John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. https://jl.ly