CIOCGSESSION2
#if defined(CIOCGSESSINFO) || defined(CIOCGSESSION2)
#if defined(CIOCGSESSINFO) || defined(CIOCGSESSION2)
#ifdef CIOCGSESSION2
ret = ioctl(cfd, CIOCGSESSION2, &cipher_ctx->sess);
#ifdef CIOCGSESSION2
#ifdef CIOCGSESSION2
#ifdef CIOCGSESSION2
if (ioctl(cfd, CIOCGSESSION2, &sess) == 0) {
if (ioctl(cfd, CIOCGSESSION2, &sess) < 0) {
#ifdef CIOCGSESSION2
cmd = CIOCGSESSION2;
case CIOCGSESSION2:
ATF_REQUIRE_MSG(ioctl(fd, CIOCGSESSION2, &sop) >= 0,
ATF_REQUIRE_MSG(ioctl(fd, CIOCGSESSION2, &sop) >= 0,
if (ioctl(fd, CIOCGSESSION2, sop) < 0) {