Signal catch code; can it make kernel commands



Correct me where I'm wrong.

When a signal is sent to the computer the CPU switches to kernel mode.
The signal # is then looked up in a table that holds the signal #'s and
their associated catch code address. Is there a name for this table?
Is there a table like this for every running process on a UNIX system?
Control is sent to the catch code. The CPU stays in kernel mode during
the execution of this code so kernel commands that are placed in the
catch code by the programs author could be executed. What types of
kernel commands (if any) could be executed in this code? The signal
catch code is completed and an address is popped off the stack that
points to the section of code the program was at when the interrupt was
received. CPU is switched to user mode and control is returned to the
place where the interrupt was received.

If you know any further details on this topic I would be interested to
read those as well.

.



Relevant Pages

  • 5.2.1-p8 -> -CURRENT: Fatal trap 12
    ... page fault while in kernel mode ... CPU: Intel Pentium III ... acpi0: on motherboard ... <ACPI PCI bus> on pcib0 ...
    (freebsd-current)
  • amd64: Fatal Trap 12 in high load situations
    ... I have a problem installing / upgrading FreeBSD 8.0-release on a new machine. ... page fault while in kernel mode ... Physical memory: 8176 MB ... Not fully on topic but might be related: The buildsystem recognizes my cpu ...
    (freebsd-questions)
  • Re: Blocking read() policy?
    ... > the shortest possible time slice. ... > to the next queue. ... This sounds horrible when the CPU gets 'round to the longer ... but the comms need kernel mode. ...
    (comp.os.linux.development.system)
  • Re: implementing parallelism
    ... No, I have had no leads at all, and it now appears my question was not ... I suspect that each CPU communicates with others through its ... I also suspect the APIC is involved, especially when one CPU ... In kernel mode threading, we need to make system calls ...
    (comp.lang.asm.x86)
  • Re: Signal catch code; can it make kernel commands
    ... When a signal is sent to the computer the CPU switches to kernel mode. ...
    (comp.unix.programmer)