Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4042193ybg; Fri, 25 Oct 2019 12:29:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqfH25zz8DqUpzAcdLyVGe6GfBOEMJEDODZWcqoALrrn9JCOHGPht0gsQdhhNDjqtYFc+T X-Received: by 2002:a17:906:780e:: with SMTP id u14mr4926270ejm.97.1572031754136; Fri, 25 Oct 2019 12:29:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572031754; cv=none; d=google.com; s=arc-20160816; b=Q9/ecEWHp6wBXeGjUDRw/o55cDXbPWAoVmRyRuGSE1S6oRlDBVwZ7QsyFPaQngWgVa HLLDbdG17uFuRENVK9MARxqplcm5y4WNDQ/netgKGoM4OQCHYqsdOo9fIGh2J56sY0s2 V0VbO1emSBNM2RPo25ZxvagVovaXzXa0KdEGz0RqlAZfpbi/2811wwMTMKLjUmUuYqxX pR5PRQ9L7e47E8meqraddWyNP/I0GymyZWgTB45yLbRIg1UvQJthOCx0Twt8rbFcKIBc QKkJamySSdEnnJp9rIj7vE8LJ9JllsJ/KoPnZAr8+PmBfcb9SewZ2ECe+3emdq5+xSfN DCPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :reply-to:mime-version:dkim-signature; bh=ufv5OzTW6Ho2U725k1EQBRKapEBTyRGxkO/CDS+nmDM=; b=iCC3Ihkqga30iJrBi+5gUACHubVd/TkrGPoypT9ZFi5ip7VPYtgSQ4DKoO6cLE515g ADi/8uDnIDpwSH0q95EZhT8ijZZrQYK3idLzMtxaP9LiZPfRqqVNDKz+PLLpgw+ZMhxx DlK5SjuebxSDhfpkJPI5XZEGbHFi6B4HO5egRnGVqKrrCF3ATQQ/4+ZM1MWu0WuAouoT euTEAzPU8wyzJ52+d9EaxFAA1xkzBKubiTYrUti8aSGVn1UgQTOHHIbyYayKkvwBvWjw mNwwDVsKRfi/kK8e0NP6kS8fOZ33rGhPJKbLLoYbeLQHfSjBUjxlIZNtfpE9mQ9r2ER9 dnTw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cpH3GSYh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qc16si1709308ejb.12.2019.10.25.12.28.50; Fri, 25 Oct 2019 12:29:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cpH3GSYh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407603AbfJYINi (ORCPT + 99 others); Fri, 25 Oct 2019 04:13:38 -0400 Received: from mail-ed1-f45.google.com ([209.85.208.45]:36957 "EHLO mail-ed1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389290AbfJYINh (ORCPT ); Fri, 25 Oct 2019 04:13:37 -0400 Received: by mail-ed1-f45.google.com with SMTP id e12so1027317edr.4; Fri, 25 Oct 2019 01:13:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to:cc; bh=ufv5OzTW6Ho2U725k1EQBRKapEBTyRGxkO/CDS+nmDM=; b=cpH3GSYhIpKHYeKELNj+uIbhP3LamQQnR9AifXa2wEQZdJBKWsuQ6l9qNDHnS/p8ZH 4m/fPIZxAFhIdzGW+9MeGudMMTSpzxRIA4yZOkKugoe/VMm5f7OW0Rks+9VdYpUuspUI RTx0Ta8ttkSPT3H6b9YbPtokGd/5NkGwdLaKcjXD6MkCUbZdU0DHOiEl0hIMVTff6VVn mCZGNihu5+vQTvqh5eGdVo6jmaDwnaNmH9gncFOR9jMk0JEKG9D38KJvQo/eInMuMrNB Hp+/m5UIZpav4b3eTtydp5jWSZKeBkX3hnqquXsST2HMW4YyEvLnCA8AQ4NJS+KadBVV vxdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to:cc; bh=ufv5OzTW6Ho2U725k1EQBRKapEBTyRGxkO/CDS+nmDM=; b=aPExh2JJCGNlIIHcSJWyExGvRDnUbZWL1ezC4+2jT8h9AoaGv5ASCoix7L40/pAyIo 9BBzpAlBmi5udVmQ1mcH3gLI7onJKyMY8RZcBPc9/4ajS/b2/6y6KFcgo1aW53WMA12L jBb/z83YK0CfeO8+BJz2hvrh96YPF13rP0une4iemajsoxT2x56fKr4/lqWXitpbh6AG G2RW7lHIc/H1TXzyCuTsFdwjD0vs3QAhkcG4u3SWvWky+sAv2Bzsl9BMYXI2ltgJBZIs DztvjliUM3xaxxZCSoZDqK6N4Nfl1kdg7FTRtTWyEIpjIg6LZ1nyfPSET37/Uer0oGzt +UxQ== X-Gm-Message-State: APjAAAUyjr8kSk7sFWU/UPauOyxbrxAJKr3jxyiv8e8EbD9jdRPqyI3V 8Mf/pJVbaQtKOHHuF+Yw4swNyIknuLSr7oqYar8= X-Received: by 2002:aa7:d60c:: with SMTP id c12mr1340807edr.14.1571991214302; Fri, 25 Oct 2019 01:13:34 -0700 (PDT) MIME-Version: 1.0 Reply-To: mtk.manpages@gmail.com From: "Michael Kerrisk (man-pages)" Date: Fri, 25 Oct 2019 10:13:23 +0200 Message-ID: Subject: clone3() example code To: Christian Brauner Cc: Linux API , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Christian, Do you have some example user-space code somewhere that illustrates calling clone3(). I'm looking at how we might document that system call in the manual page, and some example code to play with would be useful at this point. (I already have a simple working test program, but probably you have something better.) Thanks, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/