Message ID | Y/gxyQA+yKJECwyp@ZenIV |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp683486wrd; Thu, 23 Feb 2023 19:43:24 -0800 (PST) X-Google-Smtp-Source: AK7set+MbdOqB+vugD48yiISraJg0ROdhzgzHzNrlpRdKGBUlggKrkNmAb73STW/JYsSDYa/+Mt+ X-Received: by 2002:a05:6a21:999c:b0:cb:c276:5873 with SMTP id ve28-20020a056a21999c00b000cbc2765873mr10368186pzb.22.1677210204596; Thu, 23 Feb 2023 19:43:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677210204; cv=none; d=google.com; s=arc-20160816; b=dFBc/oLRd6qvreewbN8ktxziwSTsv1+dFz42hCv3wx+nwV6Mi2WPCqq1eQghrM6xzE bkTxfXr/2kU78WmpW4doKEwtFaFde9e/RV0tIyom0JYO4hEX2M/Nw8YzpdDUNsl179pL 50TLDKQLIXQHHDAOFTCujechfRPiCa/isjLH6PAq5CMQUCPjjgUeB3go0Z3KPk+pNedr fZZWlcLgq1NUVK0gIuyeMcvYv0dF1QW/3O9PAJuXK1TAISdCvYbWMHX8N23uuxTKw7jn xvJUqRLYxKvUg11Ga4gJkmu2kRPoydPoyGs88ovFyTnp3J86H2UtVI8W5XKQSJq0XTOa cgSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature; bh=zV2PTjvErRgwnmTzz6vFMxKw2+5Wo2Bf4GVoQwQhANk=; b=Li9pGdXf6O0n3v+OA1RZ38wZdWV3uAqqSQIwvv1YQoaJlgHgwSvLhTiknLPrl240ti BGdgToZNogs+An6NC5QnFmUpThV9hTeeasIwjLN0k7Sw5DQWzbWhawW5PjdjXqNGXBWK 9icqLvkp7M7lpeQF9ozsT1gMup7GFpqozNgKBdOyCMdbLVctzyB185aD6qwI6oJ6WJou 7zYS6e4g5jz40Qfp0sfBWz+Y3r4LOMbbCp4LEBjtTYQIezthWDFSU50DQbqRyqgfyET+ mRm5kNMQmwvXHb+D9+ngxGT6KBMAGnRgMImOgir09ZxEQS+bRscopKTiKBJiwgoC4vY0 Q8OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=b01dJR51; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l185-20020a6388c2000000b00502d650cfa2si10810383pgd.811.2023.02.23.19.43.12; Thu, 23 Feb 2023 19:43:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.org.uk header.s=zeniv-20220401 header.b=b01dJR51; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zeniv.linux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229656AbjBXDli (ORCPT <rfc822;jeff.pang.chn@gmail.com> + 99 others); Thu, 23 Feb 2023 22:41:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41516 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229734AbjBXDl3 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 23 Feb 2023 22:41:29 -0500 Received: from zeniv.linux.org.uk (zeniv.linux.org.uk [IPv6:2a03:a000:7:0:5054:ff:fe1c:15ff]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CD8161F17; Thu, 23 Feb 2023 19:41:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=linux.org.uk; s=zeniv-20220401; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-ID:Content-Description:In-Reply-To:References; bh=zV2PTjvErRgwnmTzz6vFMxKw2+5Wo2Bf4GVoQwQhANk=; b=b01dJR510FkYZROTnTjwTZ9GKH kPMUXKLi/Z8urjnJVTEsw1q90m0t4VP36LGUuv9yAC30Vtny3V6Q/WXshuiUFljKLa8ynIkqUzg9S /aorZyvW6Uv8CNKe69VX7dSli9vZRKr2D5SfqgW/fDC01oZeMwbNY7b8BK89s7d8yjb6PqAKVXOKj a0E7//CuZ6p+U96mKbvIhuGgxZLLe72cRsMVsBr01tzUcpBhvW/AkqsiNQUwx9Y54T+JeqibnZ/ZG +CHg6P0GXaM9zSKgUvTrHKCoLTE7Zbdwju6jEOD60bQUGSxznvkQQKceE1J5s0sTqdNKyILlBYblP 48SIsJDQ==; Received: from viro by zeniv.linux.org.uk with local (Exim 4.96 #2 (Red Hat Linux)) id 1pVOx7-00BsJM-0R; Fri, 24 Feb 2023 03:40:57 +0000 Date: Fri, 24 Feb 2023 03:40:57 +0000 From: Al Viro <viro@zeniv.linux.org.uk> To: Linus Torvalds <torvalds@linux-foundation.org> Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [git pull] vfs.git misc bits Message-ID: <Y/gxyQA+yKJECwyp@ZenIV> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Sender: Al Viro <viro@ftp.linux.org.uk> X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758682367042093496?= X-GMAIL-MSGID: =?utf-8?q?1758682367042093496?= |
Series |
[git,pull] vfs.git misc bits
|
|
Pull-request
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.miscMessage
Al Viro
Feb. 24, 2023, 3:40 a.m. UTC
Assorted stuff that didn't fit anywhere else. That should cover the rest of what I had in -next; I'd been sick for several weeks, so a lot of pending stuff I hoped to put into -next is going to miss this window ;-/ Al, off to deal with the remaining pile in the mailbox... The following changes since commit b7bfaa761d760e72a969d116517eaa12e404c262: Linux 6.2-rc3 (2023-01-08 11:49:43 -0600) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.misc for you to fetch changes up to 39ecb653f671bbccd4a3c40f7f803f2874252f81: nsfs: repair kernel-doc for ns_match() (2023-01-11 15:47:40 -0500) ---------------------------------------------------------------- Fabio M. De Francesco (1): fs/cramfs: Convert kmap() to kmap_local_data() Lukas Bulwahn (1): nsfs: repair kernel-doc for ns_match() Thomas Weißschuh (1): nsfs: add compat ioctl handler fs/cramfs/inode.c | 9 ++++----- fs/nsfs.c | 3 ++- 2 files changed, 6 insertions(+), 6 deletions(-)
Comments
On Thu, Feb 23, 2023 at 7:41 PM Al Viro <viro@zeniv.linux.org.uk> wrote: > > That should cover the rest of what I had in -next; I'd been sick for > several weeks, so a lot of pending stuff I hoped to put into -next > is going to miss this window ;-/ Does that include the uaccess fixes for weird architectures? I was hoping that was coming... Linus
The pull request you sent on Fri, 24 Feb 2023 03:40:57 +0000:
> git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.misc
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/489fa31ea873282b41046d412ec741f93946fc2d
Thank you!
On Thu, Feb 23, 2023 at 7:41 PM Al Viro <viro@zeniv.linux.org.uk> wrote: > > git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git work.misc Ugh. And I just noticed that you broke my perfect run of "only pull signed tags" this merge window. Oh well. It's not like it's a disaster, but it's a bit sad. My scripting currently reacts to pulling unsigned stuff only when it's not coming from a kernel.org tree. I think I should just update my scripts to always alert me. I should have realized as I pulled those anyway, but I just didn't think about it. Linus
On Fri, Feb 24, 2023 at 07:33:12PM -0800, Linus Torvalds wrote: > On Thu, Feb 23, 2023 at 7:41 PM Al Viro <viro@zeniv.linux.org.uk> wrote: > > > > That should cover the rest of what I had in -next; I'd been sick for > > several weeks, so a lot of pending stuff I hoped to put into -next > > is going to miss this window ;-/ > > Does that include the uaccess fixes for weird architectures? > > I was hoping that was coming... Missed -next; I'll look for tested-by/reviewed-by/etc. and put the same patches into #fixes; we have a week until the end of merge window, and those are fixes, after all...
On Sat, Feb 25, 2023 at 03:45:06AM +0000, Al Viro wrote: > On Fri, Feb 24, 2023 at 07:33:12PM -0800, Linus Torvalds wrote: > > On Thu, Feb 23, 2023 at 7:41 PM Al Viro <viro@zeniv.linux.org.uk> wrote: > > > > > > That should cover the rest of what I had in -next; I'd been sick for > > > several weeks, so a lot of pending stuff I hoped to put into -next > > > is going to miss this window ;-/ > > > > Does that include the uaccess fixes for weird architectures? > > > > I was hoping that was coming... > > Missed -next; I'll look for tested-by/reviewed-by/etc. and put the same > patches into #fixes; we have a week until the end of merge window, and > those are fixes, after all... Collected and pushed out as #fixes; exact same patches as the last time. I hope I hadn't missed anyone's ACKs/Tested-by/whatnot... Let's have it sit around for at least a few days, OK? I mean, I'm pretty certain that these are fixes, but they hadn't been in any public tree - only posted to linux-arch. At least #fixes gets picked by linux-next... Al, still crawling through bloody piles of mail - iov_iter threads, in particular ;-/
On Fri, Feb 24, 2023 at 8:57 PM Al Viro <viro@zeniv.linux.org.uk> wrote: > > Let's have it sit around for at least a few days, OK? I mean, I'm pretty > certain that these are fixes, but they hadn't been in any public tree - > only posted to linux-arch. At least #fixes gets picked by linux-next... Ack, sounds good. Linus
On Sat, Feb 25, 2023 at 09:04:57AM -0800, Linus Torvalds wrote: > On Fri, Feb 24, 2023 at 8:57 PM Al Viro <viro@zeniv.linux.org.uk> wrote: > > > > Let's have it sit around for at least a few days, OK? I mean, I'm pretty > > certain that these are fixes, but they hadn't been in any public tree - > > only posted to linux-arch. At least #fixes gets picked by linux-next... > > Ack, sounds good. ... and Intel build-bot had immediately caught a breakage in microblaze. Fixed and pushed out; I've checked all architectures affected by this series, and that was the only build breakage. However, I still have no way to test it (or anything, for that matter) on microblaze - I've no userland images for it. Status right now: alpha: bug confirmed, patch fixes it. hexagon, m68k, riscv: acked by maintainer (with explicit tested-by for m68k and riscv) microblaze, openrisc, nios2: builds, no way for me to test. sparc32, sparc64, itanic: builds, preparing to test (itanic - once I resurrect the sodding space heater I hadn't tried to boot for a couple of years; no idea whether it works). parisc: builds, but maintainers say that reproducer doesn't confirm the bug in mainline. I've parisc32 box, will try to resurrect and see what's going on. No way to test parisc64 here - no hardware and qemu/pa-risc doesn't handle 64bit system emulation. Incidentally, while digging through the arch code around #PF, something's weird on csky. Not this bug (it's handled correctly there), but... looks like vm_get_page_prot(0) returns something that would *not* pass pte_present(). Which should make life wonderful for e.g. PROT_READ|PROT_WRITE mmap() + memcpy to it + PROT_NONE mprotect() + PROT_READ|PROT_WRITE mprotect(). Unless I'm seriously misunderstanding something, we have 3 mutually exclusive cases: absent PTE - no further information in it. No page at the corresponding address range, access will fault and work from scratch; pte_none() is true for those. swap PTE - page had been swapped out, access will fault, the information in the entry encodes the location in swap. is_swap_pte() is true for those. normal page - page is there, access might or might not fault due to permissions, PTE contains the page frame number. pte_present() is true for those. PROT_NONE should not yield something that looks like a swap entry. And on csky we have #define PAGE_NONE __pgprot(_PAGE_PROT_NONE) #define pte_none(pte) (!(pte_val(pte) & ~_PAGE_GLOBAL)) #define pte_present(pte) (pte_val(pte) & _PAGE_PRESENT) and arch/csky/abiv1/inc/abi/pgtable-bits.h:26:#define _PAGE_PROT_NONE _PAGE_READ arch/csky/abiv1/inc/abi/pgtable-bits.h:8:#define _PAGE_READ (1<<1) arch/csky/abiv1/inc/abi/pgtable-bits.h:14:#define _PAGE_GLOBAL (1<<6) arch/csky/abiv1/inc/abi/pgtable-bits.h:7:#define _PAGE_PRESENT (1<<0) arch/csky/abiv2/inc/abi/pgtable-bits.h:26:#define _PAGE_PROT_NONE _PAGE_WRITE arch/csky/abiv2/inc/abi/pgtable-bits.h:9:#define _PAGE_WRITE (1<<9) arch/csky/abiv2/inc/abi/pgtable-bits.h:14:#define _PAGE_GLOBAL (1<<0) arch/csky/abiv2/inc/abi/pgtable-bits.h:10:#define _PAGE_PRESENT (1<<10) IOW, on both ABI variants we have PAGE_NONE looking like a malformed swap entry. And is_swap_pte() is simply !pte_none() && !pte_present()...
On Sat, Feb 25, 2023 at 10:21:16PM +0100, Mezgani Ali wrote: > Hello, > > > Please clean the mailing list from lamers. First of all, I'm not an admin of vger.kernel.org; Dave Miller is. Convincing him to make the lists subscriber-only is flat-out impossible - the best you can hope for is a personal ban. With sufficient effort you might be able to convince him to block an exceptionally unpleasant wanker from posting; please, do not take that as an expression of doubt regarding your capacity (or, heaven forbid, a challenge), but you are still very far from the required level of obnoxiousness - Dave has seen much worse. Hope this helps, Al