documentation:error_codes
=>  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

Next revision
Previous revision
documentation:error_codes [2005/09/20 07:50] – (old revision restored) 127.0.0.1documentation:error_codes [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-RSBAC returns specific error codes on internal functions as well as RSBAC system calls. The following errors are defined: 
- 
-^Code    ^Reason ^ 
-| EPERM | Same as Linux EPERM: Permission denied. |  
-| EACCESS | RSBAC dir access failed internally |  
-| EREADFAILED | Reading from disk or from data structures failed abnormally |  
-| EWRITEFAILED | Writing to disk or data structures failed abnormally |  
-| EINVALIDPOINTER | Pointer argument was invalid (e.g. NULL). |  
-| ENOROOTDIR | Filesystem claims to have no root dir |  
-| EPATHTOOLONG | A path argument was too long for buffer |  
-| ENOROOTDEV | Root device does not exist / is not accessible |  
-| ENOTFOUND | A file or an ACI item was not found |  
-| ENOTINITIALIZED | RSBAC call before initialization or after final cleanup |  
-| EREINIT | RSBAC has already been initialized |  
-| ECOULDNOTADDDEVICE | An internal device structure could not be added, possibly out of kernel memory |  
-| ECOULDNOTADDITEM | A data structures list item or a proc pseudo file could not be added, possibly out of memory |  
-| ECOULDNOTCREATEPATH | The /rsbac dir on a filesystem could not be created |  
-| EINVALIDATTR | Invalid attribute number |  
-| EINVALIDDEV | Invalid device |  
-| EINVALIDTARGET | Invalid target type |  
-| EINVALIDVALUE | Other invalid value, e.g. attribute value out of range |  
-| EEXISTS | Item already exists |  
-| EINTERNONLY | A value must only be used internally, e.g. sec_level rsbac_internal |  
-| EINVALIDREQUEST | Invalid request number |  
-| ENOTWRITABLE | A filesystem is read-only, attributes were not written to it |  
-| EMALWAREDETECTED (| No longer used, because incompatible with Unix standards / programs). A socket read request has been denied because of malware detection |  
-| ENOMEM | Out of memory (GFP_KERNEL) |  
-| EDECISIONMISMATCH | rsbac_adf_set_attr called for a request that rsbac_adf_request should not have granted, probably some attribute changes in the meantime |  
-| EINVALIDVERSION | A REG registration was tried for another REG interface version |  
-| EINVALIDMODULE | Trial to access attribute of unknown or not included decision  module |  
  
//
documentation/error_codes.1127202619.txt.gz · Last modified: 2006/05/02 13:40 (external edit)

documentation/error_codes.1127202619.txt.gz · Last modified: 2006/05/02 13:40 (external edit)
This website is kindly hosted by m-privacy