NS_GET_ID
case NS_GET_ID:
case NS_GET_ID: {
if (ioctl(fd, NS_GET_ID, &child_userns_id) < 0) {
if (ioctl(fd, NS_GET_ID, &child_userns_id) < 0) {
if (ioctl(fd, NS_GET_ID, &parent_id) < 0) {
if (ioctl(fd, NS_GET_ID, &child_id) < 0) {
if (ioctl(fd, NS_GET_ID, &child_userns_id) < 0) {
if (ioctl(fd, NS_GET_ID, &child_userns_id) < 0) {
if (ioctl(fd, NS_GET_ID, &child_userns_id) < 0) {
if (ioctl(fd, NS_GET_ID, &userns_id) < 0) {
if (ioctl(fd, NS_GET_ID, &netns_a_id) < 0) {
if (ioctl(fd, NS_GET_ID, &parent_userns_id) < 0) {
if (ioctl(fd, NS_GET_ID, &child_userns_id) < 0) {
if (ioctl(fd, NS_GET_ID, &our_userns_id) < 0) {
if (ioctl(fd, NS_GET_ID, &our_netns_id) < 0) {
if (ioctl(fd, NS_GET_ID, &ns_id) < 0) {
if (ioctl(fd, NS_GET_ID, &ns_id) < 0) {
if (ioctl(fd, NS_GET_ID, &parent_ns_id) < 0) {
if (ioctl(fd, NS_GET_ID, &child_ns_id) < 0) {
if (ioctl(p_fd, NS_GET_ID, &p_id) < 0) {
if (ioctl(c_fd, NS_GET_ID, &c_id) < 0) {
if (ioctl(p_fd, NS_GET_ID, &p_id) < 0) {
if (ioctl(c1_fd, NS_GET_ID, &c1_id) < 0) {
if (ioctl(c2_fd, NS_GET_ID, &c2_id) < 0) {
if (ioctl(u_fd, NS_GET_ID, &u_id) < 0) {
if (ioctl(n_fd, NS_GET_ID, &n_id) < 0) {
if (ioctl(ut_fd, NS_GET_ID, &ut_id) < 0) {
if (ioctl(ua_fd, NS_GET_ID, &ua_id) < 0) {
if (ioctl(ub_fd, NS_GET_ID, &ub_id) < 0) {
if (ioctl(net_fd, NS_GET_ID, &net_id) < 0) {
if (ioctl(p_fd, NS_GET_ID, &p_id) < 0) {
if (ioctl(n1_fd, NS_GET_ID, &n1_id) < 0) {
if (ioctl(n2_fd, NS_GET_ID, &n2_id) < 0) {
if (ioctl(ua_fd, NS_GET_ID, &ua_id) < 0) {
if (ioctl(ub_fd, NS_GET_ID, &ub_id) < 0) {
if (ioctl(u_fd, NS_GET_ID, &u_id) < 0) {
if (ioctl(n_fd, NS_GET_ID, &n_id) < 0) {
if (ioctl(ut_fd, NS_GET_ID, &ut_id) < 0) {
ret = ioctl(fd, NS_GET_ID, &info->ns_id);
if (ioctl(user_fd, NS_GET_ID, &user_id) < 0) {
if (ioctl(net_fd, NS_GET_ID, &net_id) < 0) {
if (ioctl(parent_fd, NS_GET_ID, &parent_id) < 0) {
if (ioctl(child_fd, NS_GET_ID, &child_id) < 0) {
if (ioctl(gp_fd, NS_GET_ID, &gp_id) < 0) {
ret = ioctl(fd_child_mntns, NS_GET_ID, &child_mnt_ns_id);
ret = ioctl(fd_cgroupns, NS_GET_ID, &cgroup_ns_id);
ret = ioctl(fd_cgroupns, NS_GET_ID, &cgroup_ns_id2);
ret = ioctl(fd_parent_cgroupns, NS_GET_ID, &parent_cgroup_ns_id);
ret = ioctl(fd_child_cgroupns, NS_GET_ID, &child_cgroup_ns_id);
ret = ioctl(fd_ipcns, NS_GET_ID, &ipc_ns_id);
ret = ioctl(fd_ipcns, NS_GET_ID, &ipc_ns_id2);
ret = ioctl(fd_parent_ipcns, NS_GET_ID, &parent_ipc_ns_id);
ret = ioctl(fd_child_ipcns, NS_GET_ID, &child_ipc_ns_id);
ret = ioctl(fd_utsns, NS_GET_ID, &uts_ns_id);
ret = ioctl(fd_utsns, NS_GET_ID, &uts_ns_id2);
ret = ioctl(fd_parent_utsns, NS_GET_ID, &parent_uts_ns_id);
ret = ioctl(fd_child_utsns, NS_GET_ID, &child_uts_ns_id);
ret = ioctl(fd_userns, NS_GET_ID, &user_ns_id);
ret = ioctl(fd_userns, NS_GET_ID, &user_ns_id2);
ret = ioctl(fd_parent_userns, NS_GET_ID, &parent_user_ns_id);
ret = ioctl(fd_child_userns, NS_GET_ID, &child_user_ns_id);
ret = ioctl(fd_timens, NS_GET_ID, &time_ns_id);
ret = ioctl(fd_timens, NS_GET_ID, &time_ns_id2);
ret = ioctl(fd_parent_timens, NS_GET_ID, &parent_time_ns_id);
ret = ioctl(fd_mntns, NS_GET_ID, &mnt_ns_id2);
ret = ioctl(fd_child_timens, NS_GET_ID, &child_time_ns_id);
ret = ioctl(fd_pidns, NS_GET_ID, &pid_ns_id);
ret = ioctl(fd_pidns, NS_GET_ID, &pid_ns_id2);
ret = ioctl(fd_parent_pidns, NS_GET_ID, &parent_pid_ns_id);
ret = ioctl(fd_child_pidns, NS_GET_ID, &child_pid_ns_id);
ret = ioctl(fd_netns, NS_GET_ID, &net_ns_id);
ret = ioctl(fd_netns, NS_GET_ID, &net_ns_id2);
ret = ioctl(fd_parent_mntns, NS_GET_ID, &parent_mnt_ns_id);
ret = ioctl(fd_parent_netns, NS_GET_ID, &parent_net_ns_id);
ret = ioctl(fd_child_netns, NS_GET_ID, &child_net_ns_id);
ret = ioctl(netns_fd, NS_GET_ID, &netns_id);
ret = ioctl(userns_fd, NS_GET_ID, &userns_id);
ret = ioctl(netns_L3A_fd, NS_GET_ID, &netns_L3A_id);
ret = ioctl(userns_L3_fd, NS_GET_ID, &userns_L3_id);
ret = ioctl(userns_L2_fd, NS_GET_ID, &userns_L2_id);
ret = ioctl(userns_L1_fd, NS_GET_ID, &userns_L1_id);
ret = ioctl(netns_fd, NS_GET_ID, &netns_id);
ret = ioctl(owner_fd, NS_GET_ID, &owner_id);
ret = ioctl(netns_fd, NS_GET_ID, &netns_id);