Displaying 20 results from an estimated 26 matches for "mguzik".
Did you mean:
guzik
2013 Apr 11
1
[PATCH 1/1] virtio: console: replace EMFILE with EBUSY for already-open port
...a port is already open by another process. Use EBUSY for that.
This does change what we report to userspace, but I believe userspace
can look at it this way: it gets EBUSY, a new error code, instead of
EMFILE. It's still an error, and that's not changing.
Reported-by: Mateusz Guzik <mguzik at redhat.com>
Signed-off-by: Amit Shah <amit.shah at redhat.com>
---
Rusty, is this OK? It's a change for the userspace, so is it considered
breakage? OTOH the current return value is obviously wrong,
'Broken' userspace code could be relying on the exact error type
(curren...
2013 Apr 11
1
[PATCH 1/1] virtio: console: replace EMFILE with EBUSY for already-open port
...a port is already open by another process. Use EBUSY for that.
This does change what we report to userspace, but I believe userspace
can look at it this way: it gets EBUSY, a new error code, instead of
EMFILE. It's still an error, and that's not changing.
Reported-by: Mateusz Guzik <mguzik at redhat.com>
Signed-off-by: Amit Shah <amit.shah at redhat.com>
---
Rusty, is this OK? It's a change for the userspace, so is it considered
breakage? OTOH the current return value is obviously wrong,
'Broken' userspace code could be relying on the exact error type
(curren...
2013 Jul 18
0
[PATCH 05/10] virtio: console: update private_data in struct file only on successful open
...private_data
field before we've successfully done all our checks. This means we can
return an error with the private_data field updated. This could lead to
problems.
Fix by moving the assignment after all checks are done.
CC: <stable at vger.kernel.org>
Reported-by: Mateusz Guzik <mguzik at redhat.com>
Signed-off-by: Amit Shah <amit.shah at redhat.com>
---
drivers/char/virtio_console.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index a39702a..7728af9 100644
--- a/drivers/char/virtio_con...
2013 Jul 22
1
[PATCH 05/10] virtio: console: update private_data in struct file only on successful open
...ng the assignment after all checks are done.
No, this is a bit weird, but it's fine.
If we fail open, filp will be destroyed; we won't be told about it, and
private_data will never be accessed.
Cheers,
Rusty.
> CC: <stable at vger.kernel.org>
> Reported-by: Mateusz Guzik <mguzik at redhat.com>
> Signed-off-by: Amit Shah <amit.shah at redhat.com>
> ---
> drivers/char/virtio_console.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
> index a39702a..7728af9 10...
2013 Jul 25
0
[PATCH v3 1/9] virtio: console: fix race with port unplug and open/close
...ow between find_port_by_devt() returning a port and us
taking a kref on the port, where the port could get unplugged. Fix it
by taking the reference in find_port_by_devt() itself.
Problem reported and analyzed by Mateusz Guzik.
CC: <stable at vger.kernel.org>
Reported-by: Mateusz Guzik <mguzik at redhat.com>
Signed-off-by: Amit Shah <amit.shah at redhat.com>
---
drivers/char/virtio_console.c | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index 1b456fe..291f437 100644
--- a/drivers/c...
2013 Jul 22
1
[PATCH 05/10] virtio: console: update private_data in struct file only on successful open
...ng the assignment after all checks are done.
No, this is a bit weird, but it's fine.
If we fail open, filp will be destroyed; we won't be told about it, and
private_data will never be accessed.
Cheers,
Rusty.
> CC: <stable at vger.kernel.org>
> Reported-by: Mateusz Guzik <mguzik at redhat.com>
> Signed-off-by: Amit Shah <amit.shah at redhat.com>
> ---
> drivers/char/virtio_console.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
> index a39702a..7728af9 10...
2013 Jul 29
1
[PATCH v3 1/9] virtio: console: fix race with port unplug and open/close
...gt; by taking the reference in find_port_by_devt() itself.
>
> Problem reported and analyzed by Mateusz Guzik.
This fix is clearly correct, but what about the other find_port_by_*
functions?
Applied,
Rusty.
>
> CC: <stable at vger.kernel.org>
> Reported-by: Mateusz Guzik <mguzik at redhat.com>
> Signed-off-by: Amit Shah <amit.shah at redhat.com>
> ---
> drivers/char/virtio_console.c | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
> index 1b456...
2013 Jul 29
1
[PATCH v3 1/9] virtio: console: fix race with port unplug and open/close
...gt; by taking the reference in find_port_by_devt() itself.
>
> Problem reported and analyzed by Mateusz Guzik.
This fix is clearly correct, but what about the other find_port_by_*
functions?
Applied,
Rusty.
>
> CC: <stable at vger.kernel.org>
> Reported-by: Mateusz Guzik <mguzik at redhat.com>
> Signed-off-by: Amit Shah <amit.shah at redhat.com>
> ---
> drivers/char/virtio_console.c | 13 ++++++-------
> 1 file changed, 6 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
> index 1b456...
2013 Jul 18
16
[PATCH 00/10] virtio: console: fixes for races with port unplug
Hello,
This series fixes a few races with port unplug and the various file
operations: read(), write(), close() and poll().
There still might be more races lurking, but testing this series looks
good to at least solve the easily-triggerable ones. I've run the
virtio-serial testsuite and a few open/close/unplug tests, and haven't
seen any badness.
I've marked these patches for
2013 Jul 18
16
[PATCH 00/10] virtio: console: fixes for races with port unplug
Hello,
This series fixes a few races with port unplug and the various file
operations: read(), write(), close() and poll().
There still might be more races lurking, but testing this series looks
good to at least solve the easily-triggerable ones. I've run the
virtio-serial testsuite and a few open/close/unplug tests, and haven't
seen any badness.
I've marked these patches for
2013 Jul 19
12
[PATCH v2 00/11] virtio: console: fixes for port unplug
Hello,
This series fixes a few bugs and races with port unplug and the
various file operations: read(), write(), close() and poll().
There still might be more races lurking, but testing this series looks
good to at least solve the easily-triggerable ones. I've run the
virtio-serial testsuite and a few open/close/unplug tests, and haven't
seen any badness.
I've marked these patches
2013 Jul 19
12
[PATCH v2 00/11] virtio: console: fixes for port unplug
Hello,
This series fixes a few bugs and races with port unplug and the
various file operations: read(), write(), close() and poll().
There still might be more races lurking, but testing this series looks
good to at least solve the easily-triggerable ones. I've run the
virtio-serial testsuite and a few open/close/unplug tests, and haven't
seen any badness.
I've marked these patches
2013 Jul 25
18
[PATCH v3 0/9] virtio: console: fixes for bugs and races with unplug
Hello,
This series fixes a few bugs and races with port unplug and the
various file operations: read(), write() and close().
I started coding up an alternative locking mechanism based on the
discussion earlier in this series, but some of what we already have
has to remain, and the new code is sufficiently different, so I'd
rather it bakes for a while, and I ensure there are no regressions
2013 Jul 25
18
[PATCH v3 0/9] virtio: console: fixes for bugs and races with unplug
Hello,
This series fixes a few bugs and races with port unplug and the
various file operations: read(), write() and close().
I started coding up an alternative locking mechanism based on the
discussion earlier in this series, but some of what we already have
has to remain, and the new code is sufficiently different, so I'd
rather it bakes for a while, and I ensure there are no regressions
2013 Mar 29
0
[linux-linus test] 17454: regressions - FAIL
...;
Masanari Iida <standby24x7@gmail.com>
Masanari Iida<standby24x7@gmail.com>
Masatake YAMATO <yamato@redhat.com>
Massimo Morana <massimo.morana@canonical.com>
Mat Martineau <mathewm@codeaurora.org>
Matan Barak <matanb@mellanox.com>
Mateusz Guzik <mguzik@redhat.com>
Mathias Froehlich <Mathias.Froehlich@web.de>
Mathias Jeppsson <mathias.jeppsson@sonymobile.com>
Mathias Krause <minipli@googlemail.com>
Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Mathias Leblanc <mathias.leblanc@st.com>
Mathi...
2013 Apr 10
0
[linux-linus test] 17612: regressions - FAIL
...;
Masanari Iida <standby24x7@gmail.com>
Masanari Iida<standby24x7@gmail.com>
Masatake YAMATO <yamato@redhat.com>
Massimo Morana <massimo.morana@canonical.com>
Mat Martineau <mathewm@codeaurora.org>
Matan Barak <matanb@mellanox.com>
Mateusz Guzik <mguzik@redhat.com>
Mathias Froehlich <Mathias.Froehlich@web.de>
Mathias Jeppsson <mathias.jeppsson@sonymobile.com>
Mathias Krause <minipli@googlemail.com>
Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Mathias Leblanc <mathias.leblanc@st.com>
Mathi...
2013 May 05
0
[linux-linus test] 17901: regressions - FAIL
...;
Masanari Iida <standby24x7@gmail.com>
Masanari Iida<standby24x7@gmail.com>
Masatake YAMATO <yamato@redhat.com>
Massimo Morana <massimo.morana@canonical.com>
Mat Martineau <mathewm@codeaurora.org>
Matan Barak <matanb@mellanox.com>
Mateusz Guzik <mguzik@redhat.com>
Mathias Froehlich <Mathias.Froehlich@web.de>
Mathias Jeppsson <mathias.jeppsson@sonymobile.com>
Mathias Krause <minipli@googlemail.com>
Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Mathias Leblanc <mathias.leblanc@st.com>
Mathi...
2013 May 07
0
[linux-linus test] 17916: regressions - FAIL
...;
Masanari Iida <standby24x7@gmail.com>
Masanari Iida<standby24x7@gmail.com>
Masatake YAMATO <yamato@redhat.com>
Massimo Morana <massimo.morana@canonical.com>
Mat Martineau <mathewm@codeaurora.org>
Matan Barak <matanb@mellanox.com>
Mateusz Guzik <mguzik@redhat.com>
Mathias Froehlich <Mathias.Froehlich@web.de>
Mathias Jeppsson <mathias.jeppsson@sonymobile.com>
Mathias Krause <minipli@googlemail.com>
Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Mathias Leblanc <mathias.leblanc@st.com>
Mathi...
2013 Jun 16
0
[linux-linus test] 18150: regressions - FAIL
...;
Masanari Iida <standby24x7@gmail.com>
Masanari Iida<standby24x7@gmail.com>
Masatake YAMATO <yamato@redhat.com>
Massimo Morana <massimo.morana@canonical.com>
Mat Martineau <mathewm@codeaurora.org>
Matan Barak <matanb@mellanox.com>
Mateusz Guzik <mguzik@redhat.com>
Mathias Froehlich <Mathias.Froehlich@web.de>
Mathias Jeppsson <mathias.jeppsson@sonymobile.com>
Mathias Krause <minipli@googlemail.com>
Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Mathias Leblanc <mathias.leblanc@st.com>
Mathi...
2013 Jun 23
0
[linux-linus test] 18181: regressions - trouble: broken/fail/pass
...;
Masanari Iida <standby24x7@gmail.com>
Masanari Iida<standby24x7@gmail.com>
Masatake YAMATO <yamato@redhat.com>
Massimo Morana <massimo.morana@canonical.com>
Mat Martineau <mathewm@codeaurora.org>
Matan Barak <matanb@mellanox.com>
Mateusz Guzik <mguzik@redhat.com>
Mathias Froehlich <Mathias.Froehlich@web.de>
Mathias Jeppsson <mathias.jeppsson@sonymobile.com>
Mathias Krause <minipli@googlemail.com>
Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
Mathias Leblanc <mathias.leblanc@st.com>
Mathi...