[PATCH]: Factor out PTY index allocation

H. Peter Anvin hpa at zytor.com
Thu Apr 17 09:05:36 PDT 2008


Serge E. Hallyn wrote:
> Quoting sukadev at us.ibm.com (sukadev at us.ibm.com):
>> We noticed this while working on pts namespaces and believe this might
>> be an useful change even as we rework our pts/device namespace approach.
>>
>> ---
>>
>> From: Sukadev Bhattiprolu <sukadev at us.ibm.com>
>> Subject: [PATCH]: Factor out PTY index allocation
>>
>> Factor out the code used to allocate/free a pts index into new interfaces,
>> devpts_new_index() and devpts_kill_index().  This localizes the external
>> data structures used in managing the pts indices.
>>
>> Signed-off-by: Sukadev Bhattiprolu <sukadev at us.ibm.com>
>> Signed-off-by: Serge Hallyn<serue at us.ibm.com>
>> Signed-off-by: Matt Helsley<matthltc at us.ibm.com>
> 
> No traces of devpts namespaces here, so I assume this should be
> non-offensive and fine for inclusion.
> 

Acked-by: H. Peter Anvin <hpa at zytor.com>


More information about the Containers mailing list