public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
  • [parent not found: <lj7O.14a.1@gated-at.bofh.it>]
  • [parent not found: <lOll.3Jp.19@gated-at.bofh.it>]
  • * Re: Dumb question: Why are exceptions such as SIGSEGV not logged
    @ 2003-08-18 20:50 Hank Leininger
      2003-08-18 21:02 ` Mike Fedyk
      0 siblings, 1 reply; 36+ messages in thread
    From: Hank Leininger @ 2003-08-18 20:50 UTC (permalink / raw)
      To: linux-kernel
    
    On 2003-08-18, Michael Frank <mhf () linuxmail ! org> wrote:
    
    > I tend to see segfaults only when something is broken or when my lapse
    > of attention perhaps should be rewarded by said "sucker rod".
    
    As others have said some apps use "interesting" signals normally.  For
    instance probably the most common is vmware.  vmware sends itself SIGSEGV
    all the time (at startup, at least) as part of its memory-management foo:
    
    Aug 12 14:11:23 foo kernel: grsec: signal 11 sent to (vmware-ui:12180) \
    	UID(XXXX) EUID(XXXX), parent (vmware:17653) UID(XXXX) EUID(XXXX)
    Aug 12 14:11:23 foo kernel: grsec: signal 11 sent to (vmware-mks:25238) \
    	UID(XXXX) EUID(XXXX), parent (vmware:17653) UID(XXXX) EUID(XXXX)
    Aug 12 14:11:23 foo kernel: grsec: signal 11 sent to (vmware:17653) \
    	UID(XXXX) EUID(XXXX), parent (bash:2883) UID(XXXX) EUID(XXXX)
    
    ..So not *all* such cases are cause for alarm.  However, if you run one of
    the patches enabling logging of this, you quickly learn what's normal for
    the apps you run, and can teach your log-auditing tools and/or your brain
    to ignore them.
    
    --
    Hank Leininger <hlein@progressive-comp.com> 
      
    
    ^ permalink raw reply	[flat|nested] 36+ messages in thread
    * Re: Dumb question: Why are exceptions such as SIGSEGV not logged
    @ 2003-08-18  1:56 Hank Leininger
      0 siblings, 0 replies; 36+ messages in thread
    From: Hank Leininger @ 2003-08-18  1:56 UTC (permalink / raw)
      To: linux-kernel; +Cc: Michael Frank
    
    On 2003-08-16, Michael Frank <mhf () linuxmail ! org> wrote:
    
    > Linux logs almost everything, why not exceptions such as SIGSEGV in
    > userspace which may be very informative?
    
    If you really want this, patches to do so have been in hap-linux (2.2.x)
    for a while, and they were picked up by grsecurity (2.4).  We both log 
    SIGSEGV, SIGBUS, SIGABRT, SIGILL currently; you could add others if you
    desired.  The logging is rate-limited to reduce log-flood opportunities
    (though as others have mentioned it's quite easy to flood logs through
    other means).
    
    --
    Hank Leininger <hlein@progressive-comp.com> 
      
    
    ^ permalink raw reply	[flat|nested] 36+ messages in thread
    [parent not found: <lv8Y.2XU.9@gated-at.bofh.it>]
    * Dumb question: Why are exceptions such as SIGSEGV not logged
    @ 2003-08-16 20:10 Michael Frank
      2003-08-16 20:49 ` Valdis.Kletnieks
      2003-08-18 14:31 ` William Lee Irwin III
      0 siblings, 2 replies; 36+ messages in thread
    From: Michael Frank @ 2003-08-16 20:10 UTC (permalink / raw)
      To: linux-kernel
    
    Linux logs almost everything, why not exceptions such as SIGSEGV in userspace which
    may be very informative?
    
    Regards
    Michael
    
    -- 
    Powered by linux-2.6. Compiled with gcc-2.95-3 - mature and rock solid
    
    2.4/2.6 kernel testing: ACPI PCI interrupt routing, PCI IRQ sharing, swsusp
    2.6 kernel testing:     PCMCIA yenta_socket, Suspend to RAM with ACPI S1-S3
    
    More info on swsusp: http://sourceforge.net/projects/swsusp/
    
    
    
    ^ permalink raw reply	[flat|nested] 36+ messages in thread

    end of thread, other threads:[~2003-08-19 20:04 UTC | newest]
    
    Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <lg0i.6yo.11@gated-at.bofh.it>
         [not found] ` <lgjJ.6Oo.5@gated-at.bofh.it>
         [not found]   ` <lilr.p2.7@gated-at.bofh.it>
         [not found]     ` <livc.wX.17@gated-at.bofh.it>
    2003-08-17 12:43       ` Dumb question: Why are exceptions such as SIGSEGV not logged Ihar 'Philips' Filipau
         [not found]     ` <lj7O.14a.1@gated-at.bofh.it>
    2003-08-17 12:52       ` Ihar 'Philips' Filipau
    2003-08-17 13:09         ` Alan Cox
         [not found]     ` <lOll.3Jp.19@gated-at.bofh.it>
    2003-08-18  9:34       ` Ihar 'Philips' Filipau
    2003-08-18 17:26         ` David Schwartz
    2003-08-18 20:50 Hank Leininger
    2003-08-18 21:02 ` Mike Fedyk
    2003-08-18 21:18   ` Hank Leininger
    2003-08-18 21:25     ` Mike Fedyk
    2003-08-18 22:12   ` William Lee Irwin III
    2003-08-18 22:39   ` David Schwartz
    2003-08-18 22:44     ` Mike Fedyk
    2003-08-18 22:53       ` David Schwartz
    2003-08-19  6:54     ` Denis Vlasenko
    2003-08-19 14:52       ` Valdis.Kletnieks
    2003-08-19 18:51       ` David Schwartz
      -- strict thread matches above, loose matches on Subject: below --
    2003-08-18  1:56 Hank Leininger
         [not found] <lv8Y.2XU.9@gated-at.bofh.it>
         [not found] ` <lv8Y.2XU.11@gated-at.bofh.it>
         [not found]   ` <lv8Y.2XU.13@gated-at.bofh.it>
         [not found]     ` <lviD.35d.3@gated-at.bofh.it>
         [not found]       ` <lviD.35d.1@gated-at.bofh.it>
         [not found]         ` <lvC1.3p9.11@gated-at.bofh.it>
    2003-08-17 14:29           ` Ihar 'Philips' Filipau
    2003-08-16 20:10 Michael Frank
    2003-08-16 20:49 ` Valdis.Kletnieks
    2003-08-16 21:42   ` Jamie Lokier
    2003-08-16 23:06   ` David D. Hagood
    2003-08-16 23:17     ` Doug McNaught
    2003-08-16 23:41       ` Dr. David Alan Gilbert
    2003-08-17  8:17         ` Russell King
    2003-08-16 23:49     ` Alan Cox
    2003-08-17 20:54     ` Jakob Oestergaard
    2003-08-18  4:28       ` Michael Frank
    2003-08-18  9:15     ` David Schwartz
    2003-08-19  2:43       ` H. Peter Anvin
    2003-08-19 13:27         ` Jesse Pollard
    2003-08-19 19:28         ` David Schwartz
    2003-08-19 19:34           ` H. Peter Anvin
    2003-08-19 20:01             ` David Schwartz
    2003-08-18 14:31 ` William Lee Irwin III
    2003-08-18 17:52   ` Michael Frank
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox