From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 89744C433DF for ; Tue, 9 Jun 2020 08:09:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5FFAB20812 for ; Tue, 9 Jun 2020 08:09:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="agXJuXDF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728203AbgFIIIz (ORCPT ); Tue, 9 Jun 2020 04:08:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36322 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728200AbgFIIIx (ORCPT ); Tue, 9 Jun 2020 04:08:53 -0400 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FE00C05BD43 for ; Tue, 9 Jun 2020 01:08:53 -0700 (PDT) Received: by mail-wr1-x434.google.com with SMTP id h5so20184914wrc.7 for ; Tue, 09 Jun 2020 01:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=cc:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=zrmSkGVswOMgw7270s/YOMtJOF73Eocf3U5aXhki1UE=; b=agXJuXDFQVPcVyp/ZOt3bhXdqHwaSVd93Wt6Yu7Z+FgyE47U/NSMK57O0/3/CqVeiK pdJhFmwkpzMu68BzK/jwb00Gvysaj6xJjedIRpK3Hc0hgDiiRc7qDK93rLrrYF83DVQ+ bxR5ojXzSlgUYjPjr1r6d1p0e6JUcLIbFCgGqII5ZfZdvU29ydhpxhEYIvolOh/O0aTw 7n9O7zFXv7tb0noi0OHr68o6R3fHJkSEYaHGWLwShFK25fJkGKi646M5lpiYoQIj/03+ 3Wf96v7gvibabahFi9tS76aXDcU5mCn6/XLQVoKuAxvm0OP8yb7Q1oCqRuMU7cIN5V7g wpFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:cc:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=zrmSkGVswOMgw7270s/YOMtJOF73Eocf3U5aXhki1UE=; b=L0CowZyyb3KGcDk6xj4x8fiJZUuCZCnwquZlRsNMUepsg30wCAa5aBCaNEbkpLeOGu +h+TS/eWOjyLA6OrMMWNP/A6Xh1qlDfoU/jXGG8vWFMzpc9LtaHbzArQbfE7nuCQZWdX WPNq18KFrHm/qH9BQcrP2+6FrPyvGQbst55kIO828g28o/MR5ULpQoQzhFjkjWD/8q7/ uE/+KOA3dsSTR6X0fmMEe+sbecjn1gJL11moAcznmCqfw5Fm0mRxPx96IkuMMh3dmXQF xrJByDOipImupb6dsGgA+KgYzB/XGIDMZwyr0rpo8rtdgDLgDwV5zghFdX0roDMgHRkY 6enQ== X-Gm-Message-State: AOAM533L3saEvJhM8zHE48Dc13GStnFQneT6mX7UZdrgMj0HBJaipvbB mhXZrv8+C2Vp31m8kn2XH6oDFqlx5aw= X-Google-Smtp-Source: ABdhPJwY9V3+R2ZO4lhp+VcqIVxYcPS1dVnzNbh0gdEst7qCbOadN/lgyHLMniJUpcniTWmR0Qb1vQ== X-Received: by 2002:adf:fd4f:: with SMTP id h15mr2955466wrs.397.1591690131664; Tue, 09 Jun 2020 01:08:51 -0700 (PDT) Received: from ?IPv6:2001:a61:253c:8201:b2fb:3ef8:ca:1604? ([2001:a61:253c:8201:b2fb:3ef8:ca:1604]) by smtp.gmail.com with ESMTPSA id f11sm2400335wrm.13.2020.06.09.01.08.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 09 Jun 2020 01:08:50 -0700 (PDT) Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org Subject: Re: user_namespaces(7): obsolete comment about system time To: =?UTF-8?Q?L=c3=a9o_Stefanesco?= References: From: "Michael Kerrisk (man-pages)" Message-ID: Date: Tue, 9 Jun 2020 10:08:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-man-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org Hello Léo On 5/31/20 5:26 PM, Léo Stefanesco wrote: > Hi, > > In the man7.org version of the man page for user_namespaces(7), it reads: > > there are many privileged operations that affect > resources that are not associated with any namespace type, > for example, changing the system time > (governed by CAP_SYS_TIME) > > which is not consistent with time_namespaces(7). In fact, strictly peaking the text still is correct, even after the arrival of time namespaces. Time namespaces virtualize only the boot-time and monotonic clocks, not the "real time" (i.e., calendar time), which is the time referred in the passage you quote. That said, the text is perhaps now a little misleading, and a little clarification would help. I changed the text to: there are many privileged operations that affect resources are not associated with any namespace type, for example, changing the system **(i.e., calendar)** time (governed by CAP_SYS_TIME) Thanks for your report! Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/