Skip to content
  • jim warner's avatar
    library: normalize recently added namespaces interface · 583cdaca
    jim warner authored
    While 'invisible' thread subdirectories are accessible
    under /proc/ with stat/opendir calls, they have always
    been treated as non-existent, as is true with readdir.
    
    This patch trades the /proc/#/ns access convention for
    the more proper /proc/#/task/#/ns approach when thread
    access is desired. In addition some namespace code has
    been simplified and made slightly more efficient given
    the calloc nature of proc_t acquisition and its reuse.
    
    Reference(s):
    commit a01ee3c0
    
    
    
    Signed-off-by: default avatarJim Warner <james.warner@comcast.net>
    583cdaca