Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: xbd backend disconnection



Manuel Bouyer <bouyer%antioche.eu.org@localhost> writes:

> I also did a few more cleanups. The new patch is attached (against current)

And it works here.

The old patch's failure mode, however, reveals the lack of a check for
overflowing the response ring, and that a malicious or broken domU
could (I think) put garbage into the request ring indices and cause
our dom0 to loop ~forever in interrupt context.


-- 
(let ((C call-with-current-continuation)) (apply (lambda (x y) (x y)) (map
((lambda (r) ((C C) (lambda (s) (r (lambda l (apply (s s) l))))))  (lambda
(f) (lambda (l) (if (null? l) C (lambda (k) (display (car l)) ((f (cdr l))
(C k)))))))    '((#\J #\d #\D #\v #\s) (#\e #\space #\a #\i #\newline)))))




Home | Main Index | Thread Index | Old Index