documentation:rsbac_handbook:appendixes:rsbac_reference:proc_interface
=>  Releases

Current version
Git/Latestdiff: 1.5.6

Latest Snapshots
Produced after each commit or rebase to new upstream version

GIT
RSBAC source code, can be unstable sometimes

=>  Events

No events planned

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
documentation:rsbac_handbook:appendixes:rsbac_reference:proc_interface [2006/11/01 10:52]
ao Add rmsg_maxentries
documentation:rsbac_handbook:appendixes:rsbac_reference:proc_interface [2008/02/26 08:53]
127.0.0.1 (old revision restored)
Line 28: Line 28:
   * log_levels: shows adf log levels for all requests. Log levels can be changed by calling ''​echo "​log_levels request n" > /​proc/​rsbac-info/​log_levels''​ with request = request name, e.g. WRITE, n = level.   * log_levels: shows adf log levels for all requests. Log levels can be changed by calling ''​echo "​log_levels request n" > /​proc/​rsbac-info/​log_levels''​ with request = request name, e.g. WRITE, n = level.
   * rmsg (if own logging is enabled): similar to kmsg in main proc dir, logging of RSBAC requests. This file can be used by programs like klogd, or simply make a ''​cat rmsg''​.   * rmsg (if own logging is enabled): similar to kmsg in main proc dir, logging of RSBAC requests. This file can be used by programs like klogd, or simply make a ''​cat rmsg''​.
 +  * Max. number of kernel log messages from RSBAC per second: ''​echo "debug syslog_rate n" > /​proc/​rsbac_info/​debug''​
 +  * The RSBAC log buffer size is changed by ''​echo "debug rmsg_maxentries n" > debug''​
 +  * The RSBAC remote log buffer size is changed by ''​echo "debug log_remote_maxentries n" > debug''​
 +  * Remote logging address and port can be changed with ''​echo "debug log_remote_addr a.b.c.d"​ >​debug''​ ''​echo "debug log_remote_port n" > /​proc/​rsbac-info/​debug''​.
  
 ==== Model Specific ==== ==== Model Specific ====
Line 40: Line 44:
     * Debug levels can be preset to 1 by kernel parameters with same name as variable name shown, e.g. rsbac_debug_ds or rsbac_softmode. ​     * Debug levels can be preset to 1 by kernel parameters with same name as variable name shown, e.g. rsbac_debug_ds or rsbac_softmode. ​
     * Individual model softmode can be switched by calling ''​echo "debug ind_softmode <​modname>​ n" >​debug''​     * Individual model softmode can be switched by calling ''​echo "debug ind_softmode <​modname>​ n" >​debug''​
-    * The RSBAC log buffer size is changed by ''​echo "debug rmsg_maxentries n" > debug''​ 
-    * The RSBAC remote log buffer size is changed by ''​echo "debug log_remote_maxentries n" > debug''​ 
-    * Remote logging address and port can be changed with ''​echo "debug log_remote_addr a.b.c.d"​ >​debug''​ ''​echo "debug log_remote_port n" > /​proc/​rsbac-info/​debug''​. 
     * DAZ cache ttl is set via ''​echo "debug daz_ttl n" > /​proc/​rsbac-info/​debug''​     * DAZ cache ttl is set via ''​echo "debug daz_ttl n" > /​proc/​rsbac-info/​debug''​
     * CAP log missing is set with ''​echo "debug cap_log_missing n" >​debug''​     * CAP log missing is set with ''​echo "debug cap_log_missing n" >​debug''​
//
documentation/rsbac_handbook/appendixes/rsbac_reference/proc_interface.txt · Last modified: 2010/10/05 12:48 by 127.0.0.1

documentation/rsbac_handbook/appendixes/rsbac_reference/proc_interface.txt · Last modified: 2010/10/05 12:48 by 127.0.0.1
This website is kindly hosted by m-privacy