tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Enhance ptyfs to handle multiple instances.
In article <5332DC47.1060707%izyk.ru@localhost>, Ilya Zykov
<netbsd%izyk.ru@localhost> wrote:
>> |
>> | - error = (*ptm->makename)(ptm, l, name, sizeof(name), dev, ms);
>> | + error = pty_makename(ptm, l, name, sizeof(name), dev, ms);
>> | if (error)
>> | return error;
>> |
>>
>> Are you sure about this one? It is used when ptyfs is mounted and you have
>> old pty nodes around (so you get consistent names).
>>
>> christos
>>
>
>I think pty_allocvp can be invoked only when ptm == &ptm_bsdpty,
>therefore:
>ptm->allocvp == pty_allocvp,
>ptm->makename == pty_makename.
>ptm->getvattr == pty_getvattr.
>
>In what condition and who can invokes pty_allocvp, when ptm == &ptm_ptyfspty?
Yes, that is true, ignore me.
christos
Home |
Main Index |
Thread Index |
Old Index