lkml.org 
[lkml]   [2015]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: Oops with tip/x86/fpu
    Date
    > From: Hansen, Dave
    > Sent: Thursday, March 26, 2015 3:44 PM
    > On 03/26/2015 03:37 PM, Yu, Fenghua wrote:
    > >> > void sighup(int sig, siginfo_t *info, void *ctxt) {
    > >> > struct ucontext *uctxt = ctxt;
    > >> > struct sigcontext *sctxt = (void*)&uctxt->uc_mcontext;
    > >> >
    > >> > printf("SIGHUP! %p\n", sctxt->fpstate);
    > >> > sctxt->fpstate = (void *)1;
    > > sctxt->fpstate=(void *)1 changes the fpstate pointer in the sigcontext. It
    > will generate segfault and bad frame info in kernel.
    > >
    > > This is expected behavior, right? Is this still a valid test?
    >
    > Just to be clear, I saw a full-on kernel panic induced from an unprivileged
    > application.
    >
    > Are you seeing something different?

    I use latest tip tree. Maybe it has the fixes already. I see "bad frame" reported in kernel. Seems the issue has been fixed in tip tree.

    Thanks.

    -Fenghua


    \
     
     \ /
      Last update: 2015-03-27 00:21    [W:2.803 / U:0.092 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site