[lkml]   [2007]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Subject[PATCH 0/3] core_pattern: cleaned up repost/continuing post of core_pattern enhancements
    Ok, here we go

    As promised, I'm reposting the core_pattern enhancements I've done over the past
    few days. These three patches replace and conintue the work contained in the
    following patches, and can replace them:

    For some time /proc/sys/kernel/core_pattern has been able to set its output
    destination as a pipe, allowing a user space helper to receive and intellegently
    process a core. This infrastructure however has some shortcommings which can be
    enhanced. Specifically:

    1) The coredump code in the kernel should ignore RLIMIT_CORE limitation when
    core_pattern is a pipe, since file system resources are not being consumed in
    this case, unless the user application wishes to save the core, at which point
    the app is restricted by usual file system limits and restrictions.

    2) The core_pattern code should be able to parse and pass options to the user
    space helper as an argv array. The real core limit of the uid of the crashing
    proces should also be passable to the user space helper (since it is overridden
    to zero when called).

    3) Some miscelaneous bugs need to be cleaned up (specifically the recognition of
    a recursive core dump, should the user mode helper itself crash. Also, the core
    dump code in the kernel should not wait for the user mode helper to exit, since
    the same context is responsible for writing to the pipe, and a read of the pipe
    by the user mode helper will result in a deadlock.

    All patches tested by me, with successful results.

    Thanks & Regards

    *Neil Horman
    *Software Engineer
    *Red Hat, Inc.
    *gpg keyid: 1024D / 0x92A74FA1
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-07-27 22:05    [W:0.021 / U:1.020 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site