~ubuntu-branches/ubuntu/quantal/lxc/quantal-201208301614

« back to all changes in this revision

Viewing changes to src/lxc/af_unix.c

  • Committer: Bazaar Package Importer
  • Author(s): Guido Trotter
  • Date: 2010-01-25 15:39:38 UTC
  • mfrom: (1.2.3 upstream)
  • mto: (3.1.15 sid)
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20100125153938-m2uhavs2e6ofnhkn
Tags: upstream-0.6.5
ImportĀ upstreamĀ versionĀ 0.6.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
        cmsg->cmsg_level = SOL_SOCKET;
123
123
        cmsg->cmsg_type = SCM_RIGHTS;
124
124
        *((int *) CMSG_DATA(cmsg)) = sendfd;
125
 
        msg.msg_controllen = cmsg->cmsg_len;
126
125
 
127
126
        msg.msg_name = NULL;
128
127
        msg.msg_namelen = 0;
194
193
        cmsg->cmsg_level = SOL_SOCKET;
195
194
        cmsg->cmsg_type = SCM_CREDENTIALS;
196
195
        *((struct ucred *) CMSG_DATA(cmsg)) = cred;
197
 
        msg.msg_controllen = cmsg->cmsg_len;
198
196
 
199
197
        msg.msg_name = NULL;
200
198
        msg.msg_namelen = 0;