VServer: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 5: Line 5:


Consider using errno.errorcode or os.strerror() to convert error codes to strings.
Consider using errno.errorcode or os.strerror() to convert error codes to strings.



Consider using context managers to enforce proxy semantics, rather than trying to write proxies that nest well.

Revision as of 16:54, 14 June 2007

Random Notes

XIDs for new contexts must be between 2 and 49151. (from Bertl in #vserver)


Consider using errno.errorcode or os.strerror() to convert error codes to strings.


Consider using context managers to enforce proxy semantics, rather than trying to write proxies that nest well.