Lines Matching full:auth
69 struct drm_auth auth;
77 /* Get a client magic number and pass it to the master for auth. */
78 auth.magic = 0; /* Quiet valgrind */
79 ret = ioctl(drmfd, DRM_IOCTL_GET_MAGIC, &auth);
83 ret = write(commfd[0], &auth.magic, sizeof(auth.magic));
85 err(1, "Couldn't write auth data");
94 struct drm_auth auth;
98 auth.magic = 0xd0d0d0d0;
99 ret = ioctl(drmfd, DRM_IOCTL_AUTH_MAGIC, &auth);
106 ret = read(commfd[1], &auth.magic, sizeof(auth.magic));
110 ret = ioctl(drmfd, DRM_IOCTL_AUTH_MAGIC, &auth);