This patch removes Rule-Based Classification Engine (RBCE) and the
hooks it needs -- reducing the size of CKRM by nearly 5000 lines.

        A good deal of complexity is also eliminated. The difficult-to-analyze
hooks in fork, exec, and exit are gone as are many fields, variables,
and obscure chunks of module-related code.

        The same functionality can be implemented in a userspace daemon if the
hooks are replaced with userspace event notification. Importent events a
userspace classifier would need to know about are fork, exec, and exit
for processes. The classifier would also need to watch for changes in
the CKRM class hierarchy. 

        Later this week I intend to post separate proposals, entitled
"[RFC][PATCH] Process Event Userspace Notification" and "[RFC] Class
Event Userspace Notification" respectively, for notifying userspace of
these events.

        This patch is provided for evaluation purposes only and should apply
cleanly against 2.6.13 forcibly patched with CKRM e18 (there should only
be 1 reject and this patch addresses it). Due to its size the patch in
multiple forms is here:
http://ckrm.sourceforge.net/rfc/rfc_rbce.patch
http://ckrm.sourceforge.net/rfc/rfc_rbce.patch.tar.bz2

The LKML-submission-format header to the patch follows.

Thanks,
        -Matt Helsley
        matthltc @ us.ibm.com

This patch removes Rule-Based Classification Engine from CKRM

Most of this patch is removing whole CKRM files:
 fs/exec.c                         |    2
 fs/rcfs/rootdir.c                 |   30
 fs/rcfs/super.c                   |   50 -
 include/linux/ckrm.h              |   47 +
 include/linux/ckrm_ce.h           |   95 --
 include/linux/ckrm_events.h       |  202 -----
 include/linux/ckrm_rc.h           |   45 -
 include/linux/ckrm_tc.h           |   20
 include/linux/crbce.h             |  165 ----
 include/linux/rbce.h              |   78 --
 include/linux/rcfs.h              |    3
 include/linux/sched.h             |   23
 init/Kconfig                      |   40 -
 init/main.c                       |    2
 kernel/ckrm/Makefile              |    3
 kernel/ckrm/ckrm.c                |   99 --
 kernel/ckrm/ckrm_events.c         |   86 --
 kernel/ckrm/ckrm_sockc.c          |   49 -
 kernel/ckrm/ckrm_tc.c             |  307 --------
 kernel/ckrm/ckrmutils.c           |   39 -
 kernel/ckrm/rbce/Makefile         |   12
 kernel/ckrm/rbce/crbce_ext.c      |  580 ----------------
 kernel/ckrm/rbce/crbce_main.c     |    2
 kernel/ckrm/rbce/rbce_bitvector.h |  146 ----
 kernel/ckrm/rbce/rbce_core.c      |  928 --------------------------
 kernel/ckrm/rbce/rbce_fs.c        |  365 ----------
 kernel/ckrm/rbce/rbce_internal.h  |  265 -------
 kernel/ckrm/rbce/rbce_main.c      | 1279 ------------------------------------
 kernel/ckrm/rbce/rbce_token.c     |  241 ------
 kernel/exit.c                     |    3
 kernel/fork.c                     |   11
 kernel/sys.c                      |   13
 net/ipv4/tcp.c                    |    5
 33 files changed, 125 insertions(+), 5110 deletions(-)

Signed-off-by: Matt Helsley <[EMAIL PROTECTED]>




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to