[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190701164536.GA202431@gmail.com>
Date: Mon, 1 Jul 2019 09:45:37 -0700
From: Eric Biggers <ebiggers@...nel.org>
To: David Howells <dhowells@...hat.com>
Cc: linux-fsdevel@...r.kernel.org,
Alexander Viro <viro@...iv.linux.org.uk>,
linux-kernel@...r.kernel.org, syzkaller-bugs@...glegroups.com
Subject: Re: [PATCH] vfs: move_mount: reject moving kernel internal mounts
On Sat, Jun 29, 2019 at 01:27:44PM -0700, Eric Biggers wrote:
>
> Reproducer:
>
> #include <unistd.h>
>
> #define __NR_move_mount 429
> #define MOVE_MOUNT_F_EMPTY_PATH 0x00000004
>
> int main()
> {
> int fds[2];
>
> pipe(fds);
> syscall(__NR_move_mount, fds[0], "", -1, "/", MOVE_MOUNT_F_EMPTY_PATH);
> }
David, I'd like to add this as a regression test somewhere.
Can you point me to the tests for the new mount syscalls?
I checked LTP, kselftests, and xfstests, but nothing to be found.
- Eric
Powered by blists - more mailing lists