On Thu, Sep 01, 2016 at 06:46:13PM +0200, Oleg Nesterov wrote:
> On 09/01, Ales Novak wrote:
> >
> > On ptrace_detach(), the TIF_SYSCALL_TRACE in thread->flags of the tracee
> > is not cleared up. This results in the tracehook_report_syscall_* being
> > called (tho
On Thu, Sep 01, 2016 at 06:46:13PM +0200, Oleg Nesterov wrote:
> On 09/01, Ales Novak wrote:
> >
> > On ptrace_detach(), the TIF_SYSCALL_TRACE in thread->flags of the tracee
> > is not cleared up. This results in the tracehook_report_syscall_* being
> > called (tho
at) upon its further syscalls.
Example scenario - attach "strace" to a running process and kill it (the
strace) with SIGKILL. You'll see that the syscall trace hooks are still
being called.
The clearing of this flag should be moved from ptrace_detach() to
__ptrace_detach().
Signed-of
at) upon its further syscalls.
Example scenario - attach "strace" to a running process and kill it (the
strace) with SIGKILL. You'll see that the syscall trace hooks are still
being called.
The clearing of this flag should be moved from ptrace_detach() to
__ptrace_detach().
Signed-off-by
cess and kill it (the
strace) with SIGKILL. You'll see that the syscall trace hooks are still
being called.
Signed-off-by: Ales Novak <alno...@suse.cz>
Cc: Jiri Kosina <jkos...@suse.cz>
---
kernel/ptrace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/ptrace.c b/kern
cess and kill it (the
strace) with SIGKILL. You'll see that the syscall trace hooks are still
being called.
Signed-off-by: Ales Novak
Cc: Jiri Kosina
---
kernel/ptrace.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/ptrace.c b/kernel/ptrace.c
index 1d3b766..634740f 100644
--- a/ke
,
handling these 'data_err=' options in other way than MOPT_SET.
Signed-off-by: Ales Novak <alno...@suse.cz>
---
fs/ext4/super.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 3ed01ec..19e589c 100644
--- a/fs/ext4/super.c
+++ b
,
handling these 'data_err=' options in other way than MOPT_SET.
Signed-off-by: Ales Novak
---
fs/ext4/super.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 3ed01ec..19e589c 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1425
This is alternative patch to the previous one, taking maybe more
logical approach.
This is alternative patch to the previous one, taking maybe more
logical approach.
r ext3 way resembling.
Signed-off-by: Ales Novak <alno...@suse.cz>
---
fs/ext4/super.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 3ed01ec..58c203a 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1860,7 +1860
r ext3 way resembling.
Signed-off-by: Ales Novak
---
fs/ext4/super.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 3ed01ec..58c203a 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -1860,7 +1860,8 @@ static int _ext4_show_opti
lpfc_send_rscn_event() allocates data for sizeof(struct
lpfc_rscn_event_header) + payload_len, but claims that the data has size
of sizeof(struct lpfc_els_event_header) + payload_len. That leads to
buffer overruns.
Signed-off-by: Ales Novak
---
drivers/scsi/lpfc/lpfc_els.c | 2 +-
1 file
lpfc_send_rscn_event() allocates data for sizeof(struct
lpfc_rscn_event_header) + payload_len, but claims that the data has size
of sizeof(struct lpfc_els_event_header) + payload_len. That leads to
buffer overruns.
Signed-off-by: Ales Novak alno...@suse.cz
---
drivers/scsi/lpfc/lpfc_els.c | 2
ked during the mount.
Signed-off-by: Ales Novak
---
fs/xfs/xfs_super.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 8fcc4cc..1a3766d 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1352,6 +1352,11 @@ xfs_finish_fl
during the mount.
Signed-off-by: Ales Novak alno...@suse.cz
---
fs/xfs/xfs_super.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 8fcc4cc..1a3766d 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1352,6 +1352,11 @@ xfs_finish_flags
Signed-off-by: Ales Novak
---
Fix for patch drivers-rtc-interfacec-fix-infinite-loop-in-initializing-the-alarm
drivers/rtc/interface.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c
index a2df283..bd6314a 100644
--- a/d
-by: Ales Novak alno...@suse.cz
---
Fix for patch drivers-rtc-interfacec-fix-infinite-loop-in-initializing-the-alarm
drivers/rtc/interface.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c
index a2df283..bd6314a 100644
--- a/drivers
reduces the loop to the leap years and adds final validity check.
Signed-off-by: Ales Novak
---
drivers/rtc/interface.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c
index 544be72..a2df283 100644
--- a/drivers
reduces the loop to the leap years and adds final validity check.
Signed-off-by: Ales Novak alno...@suse.cz
---
drivers/rtc/interface.c | 15 +--
1 file changed, 13 insertions(+), 2 deletions(-)
diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c
index 544be72..a2df283 100644
ata
now the host allocation fails
__scsi_remove_device(sdev)
calls sdev->host->hostt->slave_destroy() ==
storvsc_device_destroy(sdev)
access of sdev->hostdata->request_mempool
Signed-off-by: Ales Novak
Signed-off-by: Thomas Abraham
Ack
now the host allocation fails
__scsi_remove_device(sdev)
calls sdev-host-hostt-slave_destroy() ==
storvsc_device_destroy(sdev)
access of sdev-hostdata-request_mempool
Signed-off-by: Ales Novak alno...@suse.cz
Signed-off-by: Thomas Abraham tabra
c_device_unregister will try to
delete the files only if RTC_DEV_FILES_EXIST is set in rtc_device->flags.
Acked-by: Jiri Kosina
Signed-off-by: Ales Novak
---
drivers/rtc/class.c| 47 --
drivers/rtc/rtc-ab8500.c | 1 +
drivers/rtc/rtc-at91s
will try to
delete the files only if RTC_DEV_FILES_EXIST is set in rtc_device-flags.
Acked-by: Jiri Kosina jkos...@suse.cz
Signed-off-by: Ales Novak alno...@suse.cz
---
drivers/rtc/class.c| 47 --
drivers/rtc/rtc-ab8500.c | 1 +
drivers/rtc/rtc
24 matches
Mail list logo