]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
lsns: add TIMENS to the map from CLONE_* to LSNS_ID_*
authorMasatake YAMATO <yamato@redhat.com>
Thu, 10 Nov 2022 21:25:03 +0000 (06:25 +0900)
committerMasatake YAMATO <yamato@redhat.com>
Thu, 10 Nov 2022 21:25:56 +0000 (06:25 +0900)
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
sys-utils/lsns.c

index 1f3c88201b4e0b18bdccb2bb6c1119b9891b8550..81adc25a4bffc4e6c0f275c1843d8c52be976231 100644 (file)
@@ -706,6 +706,10 @@ static int clone_type_to_lsns_type(int clone_type)
                return LSNS_ID_PID;
        case CLONE_NEWNET:
                return LSNS_ID_NET;
+#ifdef CLONE_NEWTIME
+       case CLONE_NEWTIME:
+               return LSNS_ID_TIME;
+#endif
        default:
                return -1;
        }