IOCTL(ioctl_name) \
char *name = __stringify(IOCTL_VMCI_ ## ioctl_name);
int main() {
VMCI_DO_IOCTL(INIT_CONTEXT)
printf("%s\n", name);
}
$ cc stringify.c
$ ./a.out
(((0U) << (((0+8)+8)+14)) | (((7)) << (0+8)) | (((0xa0)) << 0) | ((0) <<
((0+
This ioctl does nothing to justify an _IOC_READ or _IOC_WRITE flag
because it doesn't copy anything from/to userspace to access the
argument.
Fixes: 54ebbfb16034 ("tty: add TIOCGPTPEER ioctl")
Signed-off-by: Gleb Fotengauer-Malinovskiy
Acked-by: Aleksa Sarai
Acked-by: Arnd Berg
This ioctl does nothing to justify an _IOC_READ or _IOC_WRITE flag
because it doesn't copy anything from/to userspace to access the
argument.
Fixes: 54ebbfb1 ("tty: add TIOCGPTPEER ioctl")
Signed-off-by: Gleb Fotengauer-Malinovskiy
---
arch/alpha/include/uapi/asm/ioctls.h |
On Mon, Jul 10, 2017 at 08:43:12PM +0200, Christian Borntraeger wrote:
> On 07/10/2017 04:44 PM, Gleb Fotengauer-Malinovskiy wrote:
> > This ioctl actually writes to parameter too.
>
> Maybe rephrase that to:
> The kernel does not only read struct kvm_s390_cmma_log for
> K
o get and set guest storage attributes")
Signed-off-by: Gleb Fotengauer-Malinovskiy
Acked-by: Christian Borntraeger
---
include/uapi/linux/kvm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h
index c0b6dfe..ebd604c 10
This ioctl actually writes to parameter too.
Fixes: 4036e387 ("KVM: s390: ioctls to get and set guest storage attributes")
Signed-off-by: Gleb Fotengauer-Malinovskiy
---
include/uapi/linux/kvm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/lin
On Thu, Jun 15, 2017 at 07:52:37PM +0200, Greg Kroah-Hartman wrote:
> 4.9-stable review patch. If anyone has any objections, please let me know.
>
> --
>
> From: David Lin
>
>
> [ Upstream commit 35f860f9ba6aac56cc38e8b18916d833a83f1157 ]
This commit introduced a regression w
On Tue, May 30, 2017 at 04:33:57PM -0700, Laura Abbott wrote:
> On 05/30/2017 07:11 AM, Gleb Fotengauer-Malinovskiy wrote:
> > This problem was found by strace ioctl list generator.
> >
> > Fixes: 15c6098cfec5 ("staging: android: ion: Remove ion_handle and
> > io
This problem was found by strace ioctl list generator.
Fixes: 15c6098cfec5 ("staging: android: ion: Remove ion_handle and ion_client")
Signed-off-by: Gleb Fotengauer-Malinovskiy
---
drivers/staging/android/uapi/ion.h | 18 --
1 file changed, 18 deletions(-)
diff --git
tions are not relevant to this check.
Reported-by: Anton V. Boyarshinov
Fixes: 35f860f9ba6a ("jump label: pass kbuild_cflags when checking for asm goto
support")
Cc: sta...@vger.kernel.org # v4.10
Signed-off-by: Gleb Fotengauer-Malinovskiy
Signed-off-by: Dmitry V. Levin
Acked-b
tions are not relevant to this check.
Reported-by: Anton V. Boyarshinov
Fixes: 35f860f9ba6a ("jump label: pass kbuild_cflags when checking for asm goto
support")
Cc: sta...@vger.kernel.org # v4.10
Signed-off-by: Gleb Fotengauer-Malinovskiy
Signed-off-by: Dmitry V. Levin
---
v2: up
On Fri, Mar 10, 2017 at 12:04:22PM -0500, Steven Rostedt wrote:
> On Fri, 10 Mar 2017 19:24:18 +0300
> Gleb Fotengauer-Malinovskiy wrote:
>
> > The latest change of asm goto support check added passing of
> > KBUILD_CFLAGS to compiler. When these flags reference gcc plugins
ned-off-by: Gleb Fotengauer-Malinovskiy
Signed-off-by: Dmitry V. Levin
---
Makefile | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index 165cf97..7e3aade 100644
--- a/Makefile
+++ b/Makefile
@@ -653,6 +653,12 @@ KBUILD_CFLAGS += $(call cc-ifve
13 matches
Mail list logo