login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
29
Re: [RFC][PATCH] Demultiplexing SIGTRAP signal -v2
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [author]
[view in full thread]
From: Srinivasa DS
Subject:
Re: [RFC][PATCH] Demultiplexing SIGTRAP signal -v2
Date: Monday, September 29, 2008 - 6:34 am
Roland McGrath wrote:
quoted text
> I certainly have no objection in principle. I doubt that any x86 userland > apps expect certain si_code values for SIGTRAP now, since the existing > values are not of any real use. (Signal handlers get the thread.trap_no and > thread.error_code values from hardware to guess from, and debuggers via > ptrace get the hardware %db6 value to guess from.) I do have a few comments. > > If you're doing it, I think you should do the do_int3 case too, > so every machine-generated SIGTRAP has a meaningful si_code value.
Roland Thanks for your comments.
quoted text
> I'm inclined to consolidate the si_code logic there, and just > pass it the hardware bits or let it get them from the thread_struct > (trap_nr, error_code, debugreg6).
That sounds like a good idea. Let me go through code and get back to you. Thanks Srinivasa DS --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [author]
Messages in current thread:
[RFC][PATCH] Demultiplexing SIGTRAP signal
, Srinivasa Ds
, (Mon Sep 22, 3:32 am)
Re: [RFC][PATCH] Demultiplexing SIGTRAP signal
, Ingo Molnar
, (Mon Sep 22, 3:42 am)
Re: [RFC][PATCH] Demultiplexing SIGTRAP signal
, Srinivasa Ds
, (Mon Sep 22, 6:11 am)
Re: [RFC][PATCH] Demultiplexing SIGTRAP signal
, Ingo Molnar
, (Mon Sep 22, 7:54 am)
Re: [RFC][PATCH] Demultiplexing SIGTRAP signal
, Srinivasa Ds
, (Tue Sep 23, 2:53 am)
Re: [RFC][PATCH] Demultiplexing SIGTRAP signal
, Ingo Molnar
, (Tue Sep 23, 4:28 am)
Re: [RFC][PATCH] Demultiplexing SIGTRAP signal
, Ingo Molnar
, (Tue Sep 23, 4:30 am)
Re: [RFC][PATCH] Demultiplexing SIGTRAP signal -v2
, Srinivasa Ds
, (Tue Sep 23, 7:25 am)
Re: [RFC][PATCH] Demultiplexing SIGTRAP signal -v2
, Ingo Molnar
, (Tue Sep 23, 7:31 am)
Re: [RFC][PATCH] Demultiplexing SIGTRAP signal -v2
, Gabriel Paubert
, (Tue Sep 23, 8:53 am)
Re: [RFC][PATCH] Demultiplexing SIGTRAP signal -v2
, Roland McGrath
, (Fri Sep 26, 2:06 am)
Re: [RFC][PATCH] Demultiplexing SIGTRAP signal -v2
, Srinivasa DS
, (Mon Sep 29, 6:34 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
monstr
[PATCH 46/56] microblaze_v2: headers files entry.h current.h mman.h registers.h se...
Jan Engelhardt
Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)
Dave Jones
Re: Why do so many machines need "noapic"?
Michael Moore
Re: underage models, pre teen models, lolita porn, young preteens, little lolitas
Lars-Peter Clausen
[PATCH v4] MMC: Add JZ4740 mmc driver
git
:
Andy Parkins
git-fetch fails with error code 128
Eli Zaretskii
Re: Switching from CVS to GIT
Jan Harkes
Re: git-svn and huge data and modifying the git-svn-HEAD branch directly
Dan Chokola
Re: how do you "force a pull"?
Johan Herland
Re: Comment on weak refs
git-commits-head
:
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
MIPS: SMTC: Fix lockup in smtc_distribute_timer
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
Linux Kernel Mailing List
sh-sci: update receive error handling for muxed irqs
linux-netdev
:
Patrick McHardy
Re: no reassembly for outgoing packets on RAW socket
Ilpo Järvinen
net-next/unix: BUG: using smp_processor_id() in preemptible
Herbert Xu
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Evgeniy Polyakov
Re: virt-manager broken by bind(0) in net-next.
Eric Dumazet
Re: [PATCH] conntrack: use SLAB_DESTROY_BY_RCU for nf_conn structs
openbsd-misc
:
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Marcus Andree
Re: This is what Linus Torvalds calls openBSD crowd
Lars D. Noodén
Re: sshd.config and AllowUsers
Henning Brauer
Re: Sun Blade 1000?
Laurens Vets
Re: OT: opinions on IDS / IPS solutions
Colocation donated by:
Syndicate