lkml.org 
[lkml]   [2005]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][PATCH] consolidate arch specific resource.h headers
    On Tue, Jan 18, 2005 at 04:10:56PM -0800, Chris Wright wrote:
    > +#define INIT_RLIMITS \
    > +{ \
    > + { RLIM_INFINITY, RLIM_INFINITY }, \
    > + { RLIM_INFINITY, RLIM_INFINITY }, \
    > + { RLIM_INFINITY, RLIM_INFINITY }, \
    > + { _STK_LIM, _STK_LIM_MAX }, \
    > + { 0, RLIM_INFINITY }, \
    > + { RLIM_INFINITY, RLIM_INFINITY }, \
    > + { 0, 0 }, \
    > + { INR_OPEN, INR_OPEN }, \
    > + { MLOCK_LIMIT, MLOCK_LIMIT }, \
    > + { RLIM_INFINITY, RLIM_INFINITY }, \
    > + { RLIM_INFINITY, RLIM_INFINITY }, \
    > + { MAX_SIGPENDING, MAX_SIGPENDING }, \
    > + { MQ_BYTES_MAX, MQ_BYTES_MAX }, \
    > +}

    While you are rooting around in there, perhaps this block
    should be converted to C99 initializer syntax, to avoid
    problems if arch-specific changes are later introduced?

    Regards,

    Bill Rugolsky
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:09    [W:0.036 / U:60.404 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site