Show a cover letter.

GET /api/covers/811270/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 811270,
    "url": "http://patchwork.ozlabs.org/api/covers/811270/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/cover/20170908001204.18174-1-mhalcrow@google.com/",
    "project": {
        "id": 3,
        "url": "http://patchwork.ozlabs.org/api/projects/3/?format=api",
        "name": "Linux MTD development",
        "link_name": "linux-mtd",
        "list_id": "linux-mtd.lists.infradead.org",
        "list_email": "linux-mtd@lists.infradead.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20170908001204.18174-1-mhalcrow@google.com>",
    "list_archive_url": null,
    "date": "2017-09-08T00:12:01",
    "name": "[0/3] fscrypto: Return -EXDEV for link, rename, and cross-rename between incompat contexts",
    "submitter": {
        "id": 64496,
        "url": "http://patchwork.ozlabs.org/api/people/64496/?format=api",
        "name": "Michael Halcrow",
        "email": "mhalcrow@google.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/cover/20170908001204.18174-1-mhalcrow@google.com/mbox/",
    "series": [
        {
            "id": 2078,
            "url": "http://patchwork.ozlabs.org/api/series/2078/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/list/?series=2078",
            "date": "2017-09-08T00:12:01",
            "name": "fscrypto: Return -EXDEV for link, rename, and cross-rename between incompat contexts",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/2078/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/covers/811270/comments/",
    "headers": {
        "Return-Path": "<linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"Ytk2moDR\"; \n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=google.com header.i=@google.com\n\theader.b=\"mrG8Ph7D\"; dkim-atps=neutral"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xpHpl6MP0z9s81\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 10:13:17 +1000 (AEST)",
            "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dq6v1-00070l-Bj; Fri, 08 Sep 2017 00:13:11 +0000",
            "from mail-pg0-x22e.google.com ([2607:f8b0:400e:c05::22e])\n\tby bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dq6uZ-0006aX-1Q\n\tfor linux-mtd@lists.infradead.org; Fri, 08 Sep 2017 00:12:45 +0000",
            "by mail-pg0-x22e.google.com with SMTP id v66so2086026pgb.5\n\tfor <linux-mtd@lists.infradead.org>;\n\tThu, 07 Sep 2017 17:12:21 -0700 (PDT)",
            "from mhalcrow-linux.kir.corp.google.com ([100.66.175.61])\n\tby smtp.gmail.com with ESMTPSA id\n\td25sm1007805pfb.1.2017.09.07.17.12.19\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tThu, 07 Sep 2017 17:12:19 -0700 (PDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe:\n\tList-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:\n\tSubject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date:\n\tResent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:\n\tReferences:List-Owner; bh=2Y6ApGdr59PXQNU7sTCyA22RDjxrehZLrbD2kxRSnB8=;\n\tb=Ytk\n\t2moDRA2QnA78+K5WhUNbV6UTLQUau8wsnuAbBisYxiI1Jtww2BTD+RcYjgXoPxAx/DwfF0JvukuBt\n\tJ0x8/bUwQXxbk14F9f1lgxmtoDSbkN5bpm+iMZip5Mh/PIlVo7I3EkfE0N3niyaH+7Y3BFlgxNkOX\n\tKjxN9iKZdTBKGJ9iL5LvIS2ypETT6LCq56VxusPeAEDov3lXQHZHWaXU1W7mnfYz7uEuDF10zz/ZM\n\tqxg5izbtxGUuLphf2t11bPcsPiyIL5Tc2x7K/whZSwZbfsr7EfOdC+K8bkrqjju/w7iUPbVXS9AFK\n\tWyX6jL4QkGtRqYWGHii82iQhhCdwYjg==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n\ts=20161025; h=from:to:cc:subject:date:message-id;\n\tbh=jTHbND+USUoffSm9/ZTc++ND3F8AJEV9q9r/Bg1vV7s=;\n\tb=mrG8Ph7D3TOr+pCssmw8w2I6Iribi0ukcRYLp8Z5UqdjAkMNV5wtaeBEmjSKPXkBa8\n\tkcYqtgFeqSpE/991JkLDk05ambc7D+cfPsQ7kvIH+WnhBD2iUBiKNximnfX04SITceK0\n\tFsiz0P64GvNh9w5EL9zf6GSdKozfYvUe4nmrM/EMc1BvxX+Sx4NzlXC47tzqG79jOMYv\n\t+uJr3qkSDLnJu7lnc85F9oyB/a/vvV4YY3iUpe8LxABX5+vDemuxwtpaEH3NLhXGSsz4\n\trn17DwqwAiqyqQ1q6kyXNb6NU/WspmVscRmJOjuiRg05wXuOD9q8TRGtkPzF04dWXm46\n\t3plg=="
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=jTHbND+USUoffSm9/ZTc++ND3F8AJEV9q9r/Bg1vV7s=;\n\tb=cBZmml1Y0Axd7PUKk2Gskmatz5WMtiatrRnt+tm2dJFV89t/krhRQ3vYhd6ErcC8jo\n\tCCHgqs0Jkakys7yqVaa70B5G3rOtisDBhLlQDlAe3qABj8CZ5KpoCnVjkHGq0wNaE7QS\n\tYDOJ/GFudpfzY+u8iPHCPDcA7VzjeUELXPIFCCQUu8Pkn8gr5QV+go+cNnLuo/upzRIJ\n\t+w02F/Bk0cTGShXHjNvjaBzc5g+Mvhjj//LSfWZizwLHq+Qy2oTaQ5W8tsN9vy/Q0iAW\n\thzKpv3lUGWugYBigDDsC1fUrixqfBr6zumzTqSmrXC4Aqc5L1PJCFHYX2Ml1ayPqFMA4\n\t78Ow==",
        "X-Gm-Message-State": "AHPjjUhIAetNDHgP7DjRNkFMErdbvoBeZcpiX1a5z7kO0JHWfQohPYzm\n\tE7tzigJ0ZTdXjrBm7c4ZWQ==",
        "X-Google-Smtp-Source": "ADKCNb5ltTxAE4sTif4Bz3PB5C6oFRbcpdfQQeOs9AoJyvFwsO7mMF57PwhA233mrYIZYbzroPnQvQ==",
        "X-Received": "by 10.98.11.11 with SMTP id t11mr1240190pfi.16.1504829540444;\n\tThu, 07 Sep 2017 17:12:20 -0700 (PDT)",
        "From": "Michael Halcrow <mhalcrow@google.com>",
        "To": "linux-fscrypt@vger.kernel.org",
        "Subject": "[PATCH 0/3] fscrypto: Return -EXDEV for link, rename,\n\tand cross-rename between incompat contexts",
        "Date": "Thu,  7 Sep 2017 17:12:01 -0700",
        "Message-Id": "<20170908001204.18174-1-mhalcrow@google.com>",
        "X-Mailer": "git-send-email 2.14.1.581.gf28d330327-goog",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20170907_171243_312060_0A458EA6 ",
        "X-CRM114-Status": "UNSURE (   8.18  )",
        "X-CRM114-Notice": "Please train this message.",
        "X-Spam-Score": "0.5 (/)",
        "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (0.5 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,\n\tno\n\ttrust [2607:f8b0:400e:c05:0:0:0:22e listed in] [list.dnswl.org]\n\t-0.0 SPF_PASS               SPF: sender matches SPF record\n\t2.5 SUSPICIOUS_RECIPS      Similar addresses in recipient list\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]\n\t-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature\n\t0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n\tnot necessarily valid\n\t-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from\n\tauthor's domain",
        "X-BeenThere": "linux-mtd@lists.infradead.org",
        "X-Mailman-Version": "2.1.21",
        "Precedence": "list",
        "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-mtd/>",
        "List-Post": "<mailto:linux-mtd@lists.infradead.org>",
        "List-Help": "<mailto:linux-mtd-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>",
        "Cc": "linux-fsdevel@vger.kernel.org, linux-mtd@lists.infradead.org,\n\tlinux-ext4@vger.kernel.org, tytso@mit.edu,\n\tlinux-f2fs-devel@lists.sourceforge.net",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"linux-mtd\" <linux-mtd-bounces@lists.infradead.org>",
        "Errors-To": "linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "Currently file systems support fscrypto will return -EPERM when the\nuser attempts to link, rename, or cross-rename between two directories\nthat have incompatible encryption policy contexts.  User space tools\nwill fail the operation when receiving this errno.  With -EXDEV, user\nspace tools will typically fall back to copy-and-delete instead.\n\nOur original motivation for returning -EPERM was to force users to try\nharder when doing these operations, hopefully making them think more\ncarefully about whether what they're doing is secure.  One security\nconcern is that when moving files between unencrypted locations into\nencrypted locations, the data in the unencrypted location will remain\nin the clear on the storage device until the freed blocks are\noverwritten at some arbitrary point in the future (if ever).  Moving\nfiles from encrypted locations into unencrypted locations is also\n(perhaps more obviously) problematic.\n\nWhether making things fail will have the intended effect on users is\nup for debate.  Meanwhile I've had at least one person tell me their\nuserspace tools are failing and that they would prefer seeing the same\nsort of behavior that they see when (for example) moving files from\none project quota hierarchy to another (ext4 returns -EXDEV).\n\nNote that xfstests generic/398 will require an update with this\nchange.\n\nMichael Halcrow (3):\n  ext4 crypto: Return -EXDEV for link, rename, and cross-rename between\n    incompat contexts\n  F2FS crypto: Return -EXDEV for link, rename, and cross-rename between\n    incompat contexts\n  UBIFS crypto: Return -EXDEV for link, rename, and cross-rename between\n    incompat contexts\n\n fs/ext4/namei.c | 6 +++---\n fs/f2fs/namei.c | 6 +++---\n fs/ubifs/dir.c  | 6 +++---\n 3 files changed, 9 insertions(+), 9 deletions(-)"
}