RSBAC README for patching against other versions.
-------------------------------------------------

To make my point clear: I do not recommend patching against other kernel
versions than stated in the patch filename. Rather check RSBAC homepage
for new versions or send a note to the RSBAC mailing list (see README).

If you had to patch against another version, you will have to do the following:
 - Make sure you understand how rsbac_adf_request() and rsbac_adf_set_attr()
   calls work
 - Patch in all rejects by hand.
 - Edit fs/namei.c: rsbac_lookup_dentry must be lookup_dentry minus checks
   (permission(), rsbac_adf_request())
 - arch/i386/kernel/entry_rsbac.S (_23 for kernels 2.3.xx) must be a clean
   copy of arch/i386/kernel/entry.S with the RSBAC syscall numbers added.
   You may have to adjust syscall numbers there and in include/asm-i386/unistd.h.
   In that case make sure you recompiled the admin tools with the new
   unistd.h.
 - Same for arch/alpha/kernel and include/asm-alpha/ files
 - Check in rsbac/data_structures/aci_data_structures.c, if file opening and
   closing are done correctly (rsbac_read_open, rsbac_write_open,
   rsbac_read_close, rsbac_write_close).
 - Check in rsbac/help/debug.c, whether the logging in rsbac_log() is
   implemented correctly - see sys_syslog() in kernel/printk.c

06/Dec/99
Amon Ott <ao@compuniverse.com>
