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

[Xen-devel] Re: Pesky '#define current' in mini-os/sched.h



Ferenc Wagner, le Tue 28 Apr 2009 22:02:03 +0200, a écrit :
> Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> writes:
> 
> > Samuel Thibault, le Tue 28 Apr 2009 20:59:08 +0200, a écrit :
> >
> >>>>> Now let's try to hardwire the terminal type to xterm or similar...
> >>>>
> >>>> Note that for that to eventually work you need to give your stubdomain
> >>>> access to the terminfo database via fsif.
> >>> 
> >>> For now I configured out database access and compiled in some fallbacks.
> >> 
> >> Ok, that should be fine.  In that case, maybe you should rather stub
> >> access() as always failing, as it's not supposed to read files.
> >
> > (And put it in the ncurses code. Generally speaking minios _is_ able to
> > access files, via fsif).
> 
> So why deprive ncurses of accessing files for ever?

That's why I said to put it in the ncurses code, as you said you enabled
an internal database.

> Eventually it could as well read the terminfo database from the host.
> Btw. it tries to do so by invoking a stat() call, and then segfaults
> the stubdom.  So there's some problem left here, more serious than
> access().

Right, I'm not sure we really want to have a stubdom do this.

Samuel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.