• Petr Vandrovec's avatar
    [PATCH] 2.5.5-pre1: uninitialized SO_PASSCRED on sockets · e8a573c4
    Petr Vandrovec authored
    * move socket clearing code from sock_alloc to sock_alloc_inode, so
      root of socketfs does not contain garbage, and we have all initialization
      in one place
    * add initialization of passcred to zero - otherwise it is left on some
      random value, causing at least autobind() to randomly fail on
      unix sockets
    
    			Petr Vandrovec
    e8a573c4
socket.c 40.5 KB