request_groups.h

Go to the documentation of this file.
00001 /************************************ */
00002 /* Rule Set Based Access Control      */
00003 /* Author and (c) 1999-2005: Amon Ott */
00004 /* Groups of ADF request for          */
00005 /* administration                     */
00006 /* Last modified: 23/Feb/2005         */
00007 /************************************ */
00008 
00009 #ifndef __RSBAC_REQUEST_GROUPS_H
00010 #define __RSBAC_REQUEST_GROUPS_H
00011 
00012 #define RSBAC_READ_REQUEST_VECTOR (\
00013   ((rsbac_request_vector_t) 1 << R_CHDIR) | \
00014   ((rsbac_request_vector_t) 1 << R_CLOSE) | \
00015   ((rsbac_request_vector_t) 1 << R_GET_PERMISSIONS_DATA) | \
00016   ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) | \
00017   ((rsbac_request_vector_t) 1 << R_READ) | \
00018   ((rsbac_request_vector_t) 1 << R_READ_OPEN) | \
00019   ((rsbac_request_vector_t) 1 << R_SEARCH) | \
00020   ((rsbac_request_vector_t) 1 << R_TERMINATE) \
00021   )
00022 
00023 #define RSBAC_WRITE_REQUEST_VECTOR (\
00024   ((rsbac_request_vector_t) 1 << R_ALTER) | \
00025   ((rsbac_request_vector_t) 1 << R_APPEND_OPEN) | \
00026   ((rsbac_request_vector_t) 1 << R_CHANGE_GROUP) | \
00027   ((rsbac_request_vector_t) 1 << R_CHANGE_OWNER) | \
00028   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_EFF_GROUP) | \
00029   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_FS_GROUP) | \
00030   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_EFF_OWNER) | \
00031   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_FS_OWNER) | \
00032   ((rsbac_request_vector_t) 1 << R_CLONE) | \
00033   ((rsbac_request_vector_t) 1 << R_CREATE) | \
00034   ((rsbac_request_vector_t) 1 << R_DELETE) | \
00035   ((rsbac_request_vector_t) 1 << R_LINK_HARD) | \
00036   ((rsbac_request_vector_t) 1 << R_MODIFY_ACCESS_DATA) | \
00037   ((rsbac_request_vector_t) 1 << R_MODIFY_PERMISSIONS_DATA) | \
00038   ((rsbac_request_vector_t) 1 << R_RENAME) | \
00039   ((rsbac_request_vector_t) 1 << R_SEND_SIGNAL) | \
00040   ((rsbac_request_vector_t) 1 << R_TRACE) | \
00041   ((rsbac_request_vector_t) 1 << R_TRUNCATE) | \
00042   ((rsbac_request_vector_t) 1 << R_WRITE) | \
00043   ((rsbac_request_vector_t) 1 << R_WRITE_OPEN) \
00044   )
00045 
00046 #define RSBAC_READ_WRITE_REQUEST_VECTOR (\
00047   RSBAC_READ_REQUEST_VECTOR | \
00048   ((rsbac_request_vector_t) 1 << R_ALTER) | \
00049   ((rsbac_request_vector_t) 1 << R_APPEND_OPEN) | \
00050   ((rsbac_request_vector_t) 1 << R_CHANGE_GROUP) | \
00051   ((rsbac_request_vector_t) 1 << R_CHANGE_OWNER) | \
00052   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_EFF_GROUP) | \
00053   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_FS_GROUP) | \
00054   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_EFF_OWNER) | \
00055   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_FS_OWNER) | \
00056   ((rsbac_request_vector_t) 1 << R_CLONE) | \
00057   ((rsbac_request_vector_t) 1 << R_CREATE) | \
00058   ((rsbac_request_vector_t) 1 << R_DELETE) | \
00059   ((rsbac_request_vector_t) 1 << R_LINK_HARD) | \
00060   ((rsbac_request_vector_t) 1 << R_MODIFY_ACCESS_DATA) | \
00061   ((rsbac_request_vector_t) 1 << R_MODIFY_PERMISSIONS_DATA) | \
00062   ((rsbac_request_vector_t) 1 << R_MODIFY_SYSTEM_DATA) | \
00063   ((rsbac_request_vector_t) 1 << R_READ_WRITE_OPEN) | \
00064   ((rsbac_request_vector_t) 1 << R_RENAME) | \
00065   ((rsbac_request_vector_t) 1 << R_SEND_SIGNAL) | \
00066   ((rsbac_request_vector_t) 1 << R_TRACE) | \
00067   ((rsbac_request_vector_t) 1 << R_TRUNCATE) | \
00068   ((rsbac_request_vector_t) 1 << R_WRITE) | \
00069   ((rsbac_request_vector_t) 1 << R_WRITE_OPEN) | \
00070   ((rsbac_request_vector_t) 1 << R_BIND) | \
00071   ((rsbac_request_vector_t) 1 << R_LISTEN) | \
00072   ((rsbac_request_vector_t) 1 << R_ACCEPT) | \
00073   ((rsbac_request_vector_t) 1 << R_CONNECT) | \
00074   ((rsbac_request_vector_t) 1 << R_SEND) | \
00075   ((rsbac_request_vector_t) 1 << R_RECEIVE) | \
00076   ((rsbac_request_vector_t) 1 << R_NET_SHUTDOWN) \
00077   )
00078 
00079 #define RSBAC_READ_WRITE_OPEN_REQUEST_VECTOR (\
00080   ((rsbac_request_vector_t) 1 << R_READ_WRITE_OPEN) \
00081   )
00082 
00083 #define RSBAC_EXECUTE_REQUEST_VECTOR (\
00084   ((rsbac_request_vector_t) 1 << R_EXECUTE) | \
00085   ((rsbac_request_vector_t) 1 << R_MAP_EXEC) \
00086   )
00087 
00088 
00089 #define RSBAC_SYSTEM_REQUEST_VECTOR (\
00090   ((rsbac_request_vector_t) 1 << R_ADD_TO_KERNEL) | \
00091   ((rsbac_request_vector_t) 1 << R_MODIFY_SYSTEM_DATA) | \
00092   ((rsbac_request_vector_t) 1 << R_MOUNT) | \
00093   ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) | \
00094   ((rsbac_request_vector_t) 1 << R_REMOVE_FROM_KERNEL) | \
00095   ((rsbac_request_vector_t) 1 << R_SHUTDOWN) | \
00096   ((rsbac_request_vector_t) 1 << R_UMOUNT) \
00097   )
00098 
00099 #define RSBAC_SECURITY_REQUEST_VECTOR (\
00100   ((rsbac_request_vector_t) 1 << R_MODIFY_ATTRIBUTE) | \
00101   ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) | \
00102   ((rsbac_request_vector_t) 1 << R_SWITCH_LOG) | \
00103   ((rsbac_request_vector_t) 1 << R_SWITCH_MODULE) \
00104   )
00105 
00106 #define RSBAC_FD_REQUEST_VECTOR (\
00107   ((rsbac_request_vector_t) 1 << R_APPEND_OPEN) | \
00108   ((rsbac_request_vector_t) 1 << R_CHANGE_OWNER) | \
00109   ((rsbac_request_vector_t) 1 << R_CHDIR) | \
00110   ((rsbac_request_vector_t) 1 << R_CLOSE) | \
00111   ((rsbac_request_vector_t) 1 << R_CREATE) | \
00112   ((rsbac_request_vector_t) 1 << R_DELETE) | \
00113   ((rsbac_request_vector_t) 1 << R_EXECUTE) | \
00114   ((rsbac_request_vector_t) 1 << R_GET_PERMISSIONS_DATA) | \
00115   ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) | \
00116   ((rsbac_request_vector_t) 1 << R_LINK_HARD) | \
00117   ((rsbac_request_vector_t) 1 << R_MODIFY_ACCESS_DATA) | \
00118   ((rsbac_request_vector_t) 1 << R_MODIFY_ATTRIBUTE) | \
00119   ((rsbac_request_vector_t) 1 << R_MODIFY_PERMISSIONS_DATA) | \
00120   ((rsbac_request_vector_t) 1 << R_MOUNT) | \
00121   ((rsbac_request_vector_t) 1 << R_READ) | \
00122   ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) | \
00123   ((rsbac_request_vector_t) 1 << R_READ_OPEN) | \
00124   ((rsbac_request_vector_t) 1 << R_READ_WRITE_OPEN) | \
00125   ((rsbac_request_vector_t) 1 << R_RENAME) | \
00126   ((rsbac_request_vector_t) 1 << R_SEARCH) | \
00127   ((rsbac_request_vector_t) 1 << R_TRUNCATE) | \
00128   ((rsbac_request_vector_t) 1 << R_UMOUNT) | \
00129   ((rsbac_request_vector_t) 1 << R_WRITE) | \
00130   ((rsbac_request_vector_t) 1 << R_WRITE_OPEN) | \
00131   ((rsbac_request_vector_t) 1 << R_MAP_EXEC) \
00132   )
00133 
00134 #define RSBAC_DEV_REQUEST_VECTOR (\
00135   ((rsbac_request_vector_t) 1 << R_APPEND_OPEN) | \
00136   ((rsbac_request_vector_t) 1 << R_CLOSE) | \
00137   ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) | \
00138   ((rsbac_request_vector_t) 1 << R_MODIFY_ATTRIBUTE) | \
00139   ((rsbac_request_vector_t) 1 << R_MOUNT) | \
00140   ((rsbac_request_vector_t) 1 << R_READ) | \
00141   ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) | \
00142   ((rsbac_request_vector_t) 1 << R_READ_OPEN) | \
00143   ((rsbac_request_vector_t) 1 << R_READ_WRITE_OPEN) | \
00144   ((rsbac_request_vector_t) 1 << R_UMOUNT) | \
00145   ((rsbac_request_vector_t) 1 << R_WRITE) | \
00146   ((rsbac_request_vector_t) 1 << R_WRITE_OPEN) \
00147   )
00148 
00149 #define RSBAC_IPC_REQUEST_VECTOR (\
00150   ((rsbac_request_vector_t) 1 << R_ALTER) | \
00151   ((rsbac_request_vector_t) 1 << R_APPEND_OPEN) | \
00152   ((rsbac_request_vector_t) 1 << R_CHANGE_GROUP) | \
00153   ((rsbac_request_vector_t) 1 << R_CHANGE_OWNER) | \
00154   ((rsbac_request_vector_t) 1 << R_CLOSE) | \
00155   ((rsbac_request_vector_t) 1 << R_CREATE) | \
00156   ((rsbac_request_vector_t) 1 << R_DELETE) | \
00157   ((rsbac_request_vector_t) 1 << R_GET_PERMISSIONS_DATA) | \
00158   ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) | \
00159   ((rsbac_request_vector_t) 1 << R_MODIFY_ATTRIBUTE) | \
00160   ((rsbac_request_vector_t) 1 << R_MODIFY_PERMISSIONS_DATA) | \
00161   ((rsbac_request_vector_t) 1 << R_READ) | \
00162   ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) | \
00163   ((rsbac_request_vector_t) 1 << R_READ_OPEN) | \
00164   ((rsbac_request_vector_t) 1 << R_READ_WRITE_OPEN) | \
00165   ((rsbac_request_vector_t) 1 << R_WRITE) | \
00166   ((rsbac_request_vector_t) 1 << R_WRITE_OPEN) \
00167   )
00168 
00169 #define RSBAC_SCD_REQUEST_VECTOR (\
00170   ((rsbac_request_vector_t) 1 << R_GET_PERMISSIONS_DATA) | \
00171   ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) | \
00172   ((rsbac_request_vector_t) 1 << R_MODIFY_ATTRIBUTE) | \
00173   ((rsbac_request_vector_t) 1 << R_MODIFY_PERMISSIONS_DATA) | \
00174   ((rsbac_request_vector_t) 1 << R_MODIFY_SYSTEM_DATA) | \
00175   ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) | \
00176   ((rsbac_request_vector_t) 1 << R_WRITE) \
00177   )
00178 
00179 #define RSBAC_USER_REQUEST_VECTOR (\
00180   ((rsbac_request_vector_t) 1 << R_CHANGE_GROUP) | \
00181   ((rsbac_request_vector_t) 1 << R_CREATE) | \
00182   ((rsbac_request_vector_t) 1 << R_DELETE) | \
00183   ((rsbac_request_vector_t) 1 << R_GET_PERMISSIONS_DATA) | \
00184   ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) | \
00185   ((rsbac_request_vector_t) 1 << R_MODIFY_ATTRIBUTE) | \
00186   ((rsbac_request_vector_t) 1 << R_MODIFY_PERMISSIONS_DATA) | \
00187   ((rsbac_request_vector_t) 1 << R_READ) | \
00188   ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) | \
00189   ((rsbac_request_vector_t) 1 << R_RENAME) | \
00190   ((rsbac_request_vector_t) 1 << R_SEARCH) | \
00191   ((rsbac_request_vector_t) 1 << R_WRITE) \
00192   )
00193 
00194 #define RSBAC_GROUP_REQUEST_VECTOR (\
00195   ((rsbac_request_vector_t) 1 << R_CREATE) | \
00196   ((rsbac_request_vector_t) 1 << R_DELETE) | \
00197   ((rsbac_request_vector_t) 1 << R_GET_PERMISSIONS_DATA) | \
00198   ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) | \
00199   ((rsbac_request_vector_t) 1 << R_MODIFY_PERMISSIONS_DATA) | \
00200   ((rsbac_request_vector_t) 1 << R_READ) | \
00201   ((rsbac_request_vector_t) 1 << R_RENAME) | \
00202   ((rsbac_request_vector_t) 1 << R_SEARCH) | \
00203   ((rsbac_request_vector_t) 1 << R_WRITE) \
00204   )
00205 
00206 #define RSBAC_PROCESS_REQUEST_VECTOR (\
00207   ((rsbac_request_vector_t) 1 << R_CHANGE_GROUP) | \
00208   ((rsbac_request_vector_t) 1 << R_CHANGE_OWNER) | \
00209   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_EFF_GROUP) | \
00210   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_FS_GROUP) | \
00211   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_EFF_OWNER) | \
00212   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_FS_OWNER) | \
00213   ((rsbac_request_vector_t) 1 << R_CLONE) | \
00214   ((rsbac_request_vector_t) 1 << R_CREATE) | \
00215   ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) | \
00216   ((rsbac_request_vector_t) 1 << R_MODIFY_ATTRIBUTE) | \
00217   ((rsbac_request_vector_t) 1 << R_MODIFY_SYSTEM_DATA) | \
00218   ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) | \
00219   ((rsbac_request_vector_t) 1 << R_SEND_SIGNAL) | \
00220   ((rsbac_request_vector_t) 1 << R_TERMINATE) | \
00221   ((rsbac_request_vector_t) 1 << R_TRACE) \
00222   )
00223 
00224 #define RSBAC_NETDEV_REQUEST_VECTOR (\
00225   ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) | \
00226   ((rsbac_request_vector_t) 1 << R_MODIFY_ATTRIBUTE) | \
00227   ((rsbac_request_vector_t) 1 << R_MODIFY_SYSTEM_DATA) | \
00228   ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) | \
00229   ((rsbac_request_vector_t) 1 << R_BIND) \
00230   )
00231 
00232 #define RSBAC_NETTEMP_REQUEST_VECTOR (\
00233   ((rsbac_request_vector_t) 1 << R_CREATE) | \
00234   ((rsbac_request_vector_t) 1 << R_DELETE) | \
00235   ((rsbac_request_vector_t) 1 << R_MODIFY_ATTRIBUTE) | \
00236   ((rsbac_request_vector_t) 1 << R_READ) | \
00237   ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) | \
00238   ((rsbac_request_vector_t) 1 << R_WRITE) \
00239   )
00240 
00241 #define RSBAC_NETOBJ_REQUEST_VECTOR (\
00242   ((rsbac_request_vector_t) 1 << R_CLOSE) | \
00243   ((rsbac_request_vector_t) 1 << R_CREATE) | \
00244   ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) | \
00245   ((rsbac_request_vector_t) 1 << R_MODIFY_ATTRIBUTE) | \
00246   ((rsbac_request_vector_t) 1 << R_READ) | \
00247   ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) | \
00248   ((rsbac_request_vector_t) 1 << R_NET_SHUTDOWN) | \
00249   ((rsbac_request_vector_t) 1 << R_WRITE) | \
00250   ((rsbac_request_vector_t) 1 << R_BIND) | \
00251   ((rsbac_request_vector_t) 1 << R_LISTEN) | \
00252   ((rsbac_request_vector_t) 1 << R_ACCEPT) | \
00253   ((rsbac_request_vector_t) 1 << R_CONNECT) | \
00254   ((rsbac_request_vector_t) 1 << R_SEND) | \
00255   ((rsbac_request_vector_t) 1 << R_RECEIVE) \
00256   )
00257 
00258 #define RSBAC_NONE_REQUEST_VECTOR (\
00259   ((rsbac_request_vector_t) 1 << R_ADD_TO_KERNEL) | \
00260   ((rsbac_request_vector_t) 1 << R_MODIFY_ATTRIBUTE) | \
00261   ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) | \
00262   ((rsbac_request_vector_t) 1 << R_MODIFY_PERMISSIONS_DATA) | \
00263   ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) | \
00264   ((rsbac_request_vector_t) 1 << R_REMOVE_FROM_KERNEL) | \
00265   ((rsbac_request_vector_t) 1 << R_SHUTDOWN) | \
00266   ((rsbac_request_vector_t) 1 << R_SWITCH_LOG) | \
00267   ((rsbac_request_vector_t) 1 << R_SWITCH_MODULE) | \
00268   ((rsbac_request_vector_t) 1 << R_MAP_EXEC) \
00269   )
00270 
00271 #define RSBAC_ALL_REQUEST_VECTOR (\
00272   ((rsbac_request_vector_t) 1 << R_ADD_TO_KERNEL) | \
00273   ((rsbac_request_vector_t) 1 << R_ALTER) | \
00274   ((rsbac_request_vector_t) 1 << R_APPEND_OPEN) | \
00275   ((rsbac_request_vector_t) 1 << R_CHANGE_GROUP) | \
00276   ((rsbac_request_vector_t) 1 << R_CHANGE_OWNER) | \
00277   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_EFF_GROUP) | \
00278   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_FS_GROUP) | \
00279   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_EFF_OWNER) | \
00280   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_FS_OWNER) | \
00281   ((rsbac_request_vector_t) 1 << R_CHDIR) | \
00282   ((rsbac_request_vector_t) 1 << R_CLONE) | \
00283   ((rsbac_request_vector_t) 1 << R_CLOSE) | \
00284   ((rsbac_request_vector_t) 1 << R_CREATE) | \
00285   ((rsbac_request_vector_t) 1 << R_DELETE) | \
00286   ((rsbac_request_vector_t) 1 << R_EXECUTE) | \
00287   ((rsbac_request_vector_t) 1 << R_GET_PERMISSIONS_DATA) | \
00288   ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) | \
00289   ((rsbac_request_vector_t) 1 << R_LINK_HARD) | \
00290   ((rsbac_request_vector_t) 1 << R_MODIFY_ACCESS_DATA) | \
00291   ((rsbac_request_vector_t) 1 << R_MODIFY_ATTRIBUTE) | \
00292   ((rsbac_request_vector_t) 1 << R_MODIFY_PERMISSIONS_DATA) | \
00293   ((rsbac_request_vector_t) 1 << R_MODIFY_SYSTEM_DATA) | \
00294   ((rsbac_request_vector_t) 1 << R_MOUNT) | \
00295   ((rsbac_request_vector_t) 1 << R_READ) | \
00296   ((rsbac_request_vector_t) 1 << R_READ_ATTRIBUTE) | \
00297   ((rsbac_request_vector_t) 1 << R_READ_OPEN) | \
00298   ((rsbac_request_vector_t) 1 << R_READ_WRITE_OPEN) | \
00299   ((rsbac_request_vector_t) 1 << R_REMOVE_FROM_KERNEL) | \
00300   ((rsbac_request_vector_t) 1 << R_RENAME) | \
00301   ((rsbac_request_vector_t) 1 << R_SEARCH) | \
00302   ((rsbac_request_vector_t) 1 << R_SEND_SIGNAL) | \
00303   ((rsbac_request_vector_t) 1 << R_SHUTDOWN) | \
00304   ((rsbac_request_vector_t) 1 << R_SWITCH_LOG) | \
00305   ((rsbac_request_vector_t) 1 << R_SWITCH_MODULE) | \
00306   ((rsbac_request_vector_t) 1 << R_TERMINATE) | \
00307   ((rsbac_request_vector_t) 1 << R_TRACE) | \
00308   ((rsbac_request_vector_t) 1 << R_TRUNCATE) | \
00309   ((rsbac_request_vector_t) 1 << R_UMOUNT) | \
00310   ((rsbac_request_vector_t) 1 << R_WRITE) | \
00311   ((rsbac_request_vector_t) 1 << R_WRITE_OPEN) | \
00312   ((rsbac_request_vector_t) 1 << R_MAP_EXEC) | \
00313   ((rsbac_request_vector_t) 1 << R_BIND) | \
00314   ((rsbac_request_vector_t) 1 << R_LISTEN) | \
00315   ((rsbac_request_vector_t) 1 << R_ACCEPT) | \
00316   ((rsbac_request_vector_t) 1 << R_CONNECT) | \
00317   ((rsbac_request_vector_t) 1 << R_SEND) | \
00318   ((rsbac_request_vector_t) 1 << R_RECEIVE) | \
00319   ((rsbac_request_vector_t) 1 << R_NET_SHUTDOWN) \
00320   )
00321 
00322 /* NW specials */
00323 
00324 /* NWS == RSBAC_ACL_SUPERVISOR_RIGHT_VECTOR in ACL types */
00325 
00326 #define RSBAC_NWR_REQUEST_VECTOR (\
00327   ((rsbac_request_vector_t) 1 << R_CLOSE) | \
00328   ((rsbac_request_vector_t) 1 << R_EXECUTE) | \
00329   ((rsbac_request_vector_t) 1 << R_READ_OPEN) \
00330   )
00331 
00332 #define RSBAC_NWW_REQUEST_VECTOR (\
00333   ((rsbac_request_vector_t) 1 << R_ALTER) | \
00334   ((rsbac_request_vector_t) 1 << R_APPEND_OPEN) | \
00335   ((rsbac_request_vector_t) 1 << R_CHANGE_GROUP) | \
00336   ((rsbac_request_vector_t) 1 << R_CHANGE_OWNER) | \
00337   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_EFF_GROUP) | \
00338   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_FS_GROUP) | \
00339   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_EFF_OWNER) | \
00340   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_FS_OWNER) | \
00341   ((rsbac_request_vector_t) 1 << R_CLOSE) | \
00342   ((rsbac_request_vector_t) 1 << R_TRUNCATE) | \
00343   ((rsbac_request_vector_t) 1 << R_WRITE) | \
00344   ((rsbac_request_vector_t) 1 << R_WRITE_OPEN) \
00345   )
00346 
00347 #define RSBAC_NWC_REQUEST_VECTOR (\
00348   ((rsbac_request_vector_t) 1 << R_CLOSE) | \
00349   ((rsbac_request_vector_t) 1 << R_CREATE) \
00350   )
00351 
00352 #define RSBAC_NWE_REQUEST_VECTOR (\
00353   ((rsbac_request_vector_t) 1 << R_DELETE) \
00354   )
00355 
00356 /* NWA == RSBAC_ACL_ACCESS_CONTROL_RIGHT_VECTOR in ACL types */
00357 
00358 #define RSBAC_NWF_REQUEST_VECTOR (\
00359   ((rsbac_request_vector_t) 1 << R_CHDIR) | \
00360   ((rsbac_request_vector_t) 1 << R_CLOSE) | \
00361   ((rsbac_request_vector_t) 1 << R_GET_PERMISSIONS_DATA) | \
00362   ((rsbac_request_vector_t) 1 << R_GET_STATUS_DATA) | \
00363   ((rsbac_request_vector_t) 1 << R_READ) | \
00364   ((rsbac_request_vector_t) 1 << R_SEARCH) \
00365   )
00366 
00367 #define RSBAC_NWM_REQUEST_VECTOR (\
00368   ((rsbac_request_vector_t) 1 << R_CHANGE_GROUP) | \
00369   ((rsbac_request_vector_t) 1 << R_CHANGE_OWNER) | \
00370   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_EFF_GROUP) | \
00371   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_FS_GROUP) | \
00372   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_EFF_OWNER) | \
00373   ((rsbac_request_vector_t) 1 << R_CHANGE_DAC_FS_OWNER) | \
00374   ((rsbac_request_vector_t) 1 << R_LINK_HARD) | \
00375   ((rsbac_request_vector_t) 1 << R_MODIFY_ACCESS_DATA) | \
00376   ((rsbac_request_vector_t) 1 << R_MODIFY_PERMISSIONS_DATA) | \
00377   ((rsbac_request_vector_t) 1 << R_RENAME) \
00378   )
00379 
00380 #endif

Generated on Fri Jun 17 09:45:18 2005 for RSBAC by  doxygen 1.4.2