Robert Watson bdcfa9589b In ncp_conn_alloc(), a new credential pointer, 'owner', is set up to point
at the credential to be used by the connection.  However, the pointer's
value was ignored when actually setting hcp->nc_owner.

(1) Do set nc_owner to the owner pointer value so that the credential is
    not discarded after being carefully configured.

(2) In the case where we create a new credential with modified uid, copy
    the existing credential to initialize non-uid fields to existing
    values, which will lead to a fully initialized MAC label, groups, etc.

Found with:	Coverity Prevent(tm)
CID:		2226
2007-05-27 17:14:33 +00:00
..
2007-05-23 13:36:02 +00:00
2007-05-25 09:48:20 +00:00
2007-05-15 23:29:57 +00:00
2007-05-25 09:48:20 +00:00
2007-05-22 16:17:31 +00:00
2007-05-05 11:07:52 +00:00
2006-11-28 19:33:28 +00:00
2007-05-21 11:57:36 +00:00
2007-05-09 09:02:11 +00:00