OpenVZ Forum


Home » Mailing lists » Devel » [PATCH]: Factor out PTY index allocation
Re: [PATCH]: Factor out PTY index allocation [message #29588 is a reply to message #29586] Thu, 17 April 2008 16:05 Go to previous messageGo to previous message
hpa is currently offline  hpa
Messages: 38
Registered: January 2007
Member
Serge E. Hallyn wrote:
> Quoting sukadev@us.ibm.com (sukadev@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@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@us.ibm.com>
>> Signed-off-by: Serge Hallyn<serue@us.ibm.com>
>> Signed-off-by: Matt Helsley<matthltc@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@zytor.com>
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: selinux mini-summit sub-policy topic
Next Topic: [PATCH 1/4] - v2 - Provide a new procfs interface to set next id
Goto Forum:
  


Current Time: Thu Sep 04 23:56:44 GMT 2025

Total time taken to generate the page: 0.08058 seconds