[lkml]   [2002]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] In-kernel module loader 1/7
    * Rusty Russell ( wrote:
    > I really wish the security guys had gone down the macro path, with
    > something like
    > #define security_check(func, default_val, ...)
    > ({ if (try_inc_mod_count(security_ops->owner))
    > security_ops->func(__VA_ARGS__);
    > else
    > default_val;
    > })
    > This also allows the whole thing to vanish if
    > CONFIG_SECURITY_CAPABILITIES=n, and allows more flexibility for
    > schemes like "always run with preemption disabled around security ops"
    > or whatever, rather than having to search for all the references to
    > security_ops.

    You may be seeing something like this soon. Greg is working on some
    conversions right now. I'm not sure what the final format will be,
    but it should make the work above easier. Check out his '[RFC] change
    format of LSM hooks' message from a few hours ago.

    Linux Security Modules
    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: 2005-03-22 13:30    [W:0.021 / U:2.520 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site