lkml.org 
[lkml]   [2007]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.6.22.6 user-mode linux: use address instead of value as argument in os_free_irq_by_cb
On Sat, Sep 22, 2007 at 12:39:55PM +0800, lepton wrote:
> There is a bug in os_free_irq_by_cb, when the first element
> of active_fds list is free, the value of active_fds is not
> updated, just value in stack is updated.

Man, that sucks.

Nice spotting.

>
> The intresting thing is that without this patch, a poweroff
> in user mode linux guest will halt the host linux system.It
> seems that after the tracing thread is dead, the syscall to
> sys_reboot of the traced thread is executed by host. I don't
> know if it is another bug.

I would say that you shouldn't be running UMLs as root. However, a
sys_reboot shouldn't escape being ptraced either. This is a bug, but
I don't see any connection between it and ptrace missing a final
system call.

Jeff

--
Work email - jdike at linux dot intel dot com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-24 19:05    [W:0.049 / U:1.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site