[rsbac] rsbac admin compile error

sftf at yandex.ru sftf at yandex.ru
Thu Apr 1 05:10:13 CEST 2004


Hello !
  1. IMHO - first of all, get rsbac-admin-v1.2.3-pre4.tar.bz2,
     then, before compile admin tools,
     try to copy header files from package rsbac-v1.2.3-pre4.tar.bz2 (include/rsbac dir) to
     /usr/include
  2. About books.  I did not find nothing like tutorials, but if you carefully read
     Documentation/rsbac/links.htm:
     Open Source user books about RSBAC - http://books.rsbac.org/ but its not finished
     excellent series of articles about RSBAC - http://www.imagineers.nl/RSBAC/
     an RSBAC for Beginners - http://linux.ru.net/~inger/RSBAC-DOC.html
     and so on...

w> Hi, I can't compile the admin tool for rsbac with kernel version 2.6.4
w> I did ./configure --with-kerneldir=/home/jinxi/linux-2.6.4-rsbac-v1.2.3-pre4 
w> --prefix=/secoff/bin

w> configure ran without any error. When doing make. I got the following:

w> acl_grant.c:8:25: rsbac/types.h: No such file or directory
w> acl_grant.c:9:39: rsbac/aci_data_structures.h: No such file or directory
w> acl_grant.c:10:27: rsbac/getname.h: No such file or directory
w> acl_grant.c:11:31: rsbac/acl_getname.h: No such file or directory
w> acl_grant.c:12:28: rsbac/syscalls.h: No such file or directory
w> acl_grant.c:13:25: rsbac/error.h: No such file or directory
w> acl_grant.c:14:27: rsbac/helpers.h: No such file or directory
w> acl_grant.c:25: syntax error before "version"
w> acl_grant.c:25: `RSBAC_VERSION_NR' undeclared here (not in a function)
w> acl_grant.c:25: warning: data definition has no type or storage class
w> acl_grant.c:26: syntax error before "ttl"
w> acl_grant.c:26: `RSBAC_ACL_TTL_KEEP' undeclared here (not in a function)
w> acl_grant.c:26: warning: data definition has no type or storage class
w> acl_grant.c:32: syntax error before "rights_vector"
w> acl_grant.c:32: warning: data definition has no type or storage class
w> acl_grant.c:33: variable `subj_type' has initializer but incomplete type
w> acl_grant.c:33: `ACLS_NONE' undeclared here (not in a function)
w> acl_grant.c:34: syntax error before "subj_id"
w> acl_grant.c:34: warning: data definition has no type or storage class
w> acl_grant.c:35: variable `call' has initializer but incomplete type
w> acl_grant.c:35: `ACLC_add_to_acl_entry' undeclared here (not in a function)
w> acl_grant.c: In function `process':
w> acl_grant.c:42: storage size of `arg' isn't known
w> acl_grant.c:43: storage size of `arg_n' isn't known
w> acl_grant.c:49: `T_FILE' undeclared (first use in this function)
w> acl_grant.c:49: (Each undeclared identifier is reported only once
w> acl_grant.c:49: for each function it appears in.)
w> acl_grant.c:50: `T_DIR' undeclared (first use in this function)
w> acl_grant.c:51: `T_FIFO' undeclared (first use in this function)
w> acl_grant.c:52: `T_SYMLINK' undeclared (first use in this function)
w> acl_grant.c:53: `T_FD' undeclared (first use in this function)
w> acl_grant.c:54: `T_DEV' undeclared (first use in this function)
w> acl_grant.c:58: `T_IPC' undeclared (first use in this function)
w> acl_grant.c:59: `I_none' undeclared (first use in this function)
w> acl_grant.c:61: `T_SCD' undeclared (first use in this function)
w> acl_grant.c:62: `AST_none' undeclared (first use in this function)
w> acl_grant.c:64: `T_USER' undeclared (first use in this function)
w> acl_grant.c:65: `RSBAC_NO_USER' undeclared (first use in this function)
w> acl_grant.c:67: `T_PROCESS' undeclared (first use in this function)
w> acl_grant.c:70: `T_NETDEV' undeclared (first use in this function)
w> acl_grant.c:73: `T_NETTEMP_NT' undeclared (first use in this function)
w> acl_grant.c:76: `T_NETOBJ' undeclared (first use in this function)
w> acl_grant.c:86: `target' has an incomplete type
w> acl_grant.c:108: `ST_none' undeclared (first use in this function)
w> acl_grant.c:116: `RSBAC_IFNAMSIZ' undeclared (first use in this function)
w> acl_grant.c:119: `T_NETTEMP' undeclared (first use in this function)
w> acl_grant.c:131: `target' has an incomplete type
w> acl_grant.c:153: `call' has an incomplete type
w> acl_grant.c:162: `call' has an incomplete type
w> acl_grant.c:185: `errno' undeclared (first use in this function)
w> acl_grant.c: In function `main':
w> acl_grant.c:207: storage size of `right' isn't known
w> acl_grant.c:209: `boolean' undeclared (first use in this function)
w> acl_grant.c:209: syntax error before "rused"
w> acl_grant.c:231: `ACLC_set_acl_entry' undeclared (first use in this function)
w> acl_grant.c:231: `call' has an incomplete type
w> acl_grant.c:234: `ACLC_remove_from_acl_entry' undeclared (first use in this 
w> function)
w> acl_grant.c:234: `call' has an incomplete type
w> acl_grant.c:237: `ACLC_remove_acl_entry' undeclared (first use in this 
w> function)
w> acl_grant.c:237: `call' has an incomplete type
w> acl_grant.c:248: `ST_none' undeclared (first use in this function)
w> acl_grant.c:250: `AST_min' undeclared (first use in this function)
w> acl_grant.c:250: `AST_none' undeclared (first use in this function)
w> acl_grant.c:255: `ACLS_USER' undeclared (first use in this function)
w> acl_grant.c:255: `subj_type' has an incomplete type
w> acl_grant.c:258: `ACLS_GROUP' undeclared (first use in this function)
w> acl_grant.c:258: `subj_type' has an incomplete type
w> acl_grant.c:261: `ACLS_ROLE' undeclared (first use in this function)
w> acl_grant.c:261: `subj_type' has an incomplete type
w> acl_grant.c:286: `rsbac_time_t' undeclared (first use in this function)
w> acl_grant.c:286: syntax error before "now"
w> acl_grant.c:288: `now' undeclared (first use in this function)
w> acl_grant.c:324: `ACLS_NONE' undeclared (first use in this function)
w> acl_grant.c:326: `subj_type' has an incomplete type
w> acl_grant.c:364: `ACLR_NONE' undeclared (first use in this function)
w> acl_grant.c:380: `R_NONE' undeclared (first use in this function)
w> acl_grant.c:384: `RSBAC_ACL_SPECIAL_RIGHTS_VECTOR' undeclared (first use in 
w> this function)
w> acl_grant.c:389: `RSBAC_READ_WRITE_REQUEST_VECTOR' undeclared (first use in 
w> this function)
w> acl_grant.c:394: `RSBAC_READ_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:395: `rused' undeclared (first use in this function)
w> acl_grant.c:395: `TRUE' undeclared (first use in this function)
w> acl_grant.c:400: `RSBAC_WRITE_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:401: `wused' undeclared (first use in this function)
w> acl_grant.c:406: `RSBAC_SYSTEM_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:411: `RSBAC_SECURITY_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:421: `RSBAC_ALL_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:426: `RSBAC_NWS_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:431: `RSBAC_NWR_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:437: `RSBAC_NWW_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:443: `RSBAC_NWC_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:448: `RSBAC_NWE_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:453: `RSBAC_NWA_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:458: `RSBAC_NWF_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:463: `RSBAC_NWM_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:472: `rsbac_acl_rights_vector_t' undeclared (first use in this 
w> function)
w> acl_grant.c:472: syntax error before numeric constant
w> acl_grant.c:483: `target' has an incomplete type
w> acl_grant.c:488: `T_DIR' undeclared (first use in this function)
w> acl_grant.c:489: `T_FILE' undeclared (first use in this function)
w> acl_grant.c:490: `T_FIFO' undeclared (first use in this function)
w> acl_grant.c:491: `T_SYMLINK' undeclared (first use in this function)
w> acl_grant.c:492: `T_FD' undeclared (first use in this function)
w> acl_grant.c:495: `RSBAC_FD_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:497: `T_DEV' undeclared (first use in this function)
w> acl_grant.c:500: `RSBAC_DEV_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:502: `T_IPC' undeclared (first use in this function)
w> acl_grant.c:505: `RSBAC_IPC_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:507: `T_SCD' undeclared (first use in this function)
w> acl_grant.c:510: `RSBAC_SCD_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:510: `RSBAC_NONE_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:512: `T_USER' undeclared (first use in this function)
w> acl_grant.c:515: `RSBAC_ACL_USER_RIGHTS_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:517: `T_PROCESS' undeclared (first use in this function)
w> acl_grant.c:520: `RSBAC_PROCESS_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:522: `T_NETDEV' undeclared (first use in this function)
w> acl_grant.c:525: `RSBAC_NETDEV_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:527: `T_NETTEMP_NT' undeclared (first use in this function)
w> acl_grant.c:530: `RSBAC_NETTEMP_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:532: `T_NETTEMP' undeclared (first use in this function)
w> acl_grant.c:533: `T_NETOBJ' undeclared (first use in this function)
w> acl_grant.c:536: `RSBAC_NETOBJ_REQUEST_VECTOR' undeclared (first use in this 
w> function)
w> acl_grant.c:538: `T_NONE' undeclared (first use in this function)
w> acl_grant.c:540: `target' has an incomplete type
w> acl_grant.c:549: `RSBAC_MAXNAMELEN' undeclared (first use in this function)
w> acl_grant.c:557: `subj_type' has an incomplete type
w> acl_grant.c:560: `ACLC_add_to_acl_entry' undeclared (first use in this 
w> function)
w> acl_grant.c:563: `subj_type' has an incomplete type
w> acl_grant.c:569: `subj_type' has an incomplete type
w> acl_grant.c:574: `subj_type' has an incomplete type
w> acl_grant.c:586: syntax error before numeric constant
w> acl_grant.c:588: `RSBAC_ACL_SPECIAL_RIGHT_BASE' undeclared (first use in this 
w> function)
w> acl_grant.c:589: syntax error before numeric constant
w> /usr/include/sys/stat.h: At top level:
w> acl_grant.c:27: storage size of `value' isn't known
w> acl_grant.c:28: storage size of `target' isn't known
w> acl_grant.c:30: storage size of `attr' isn't known
w> acl_grant.c:33: storage size of `subj_type' isn't known
w> acl_grant.c:35: storage size of `call' isn't known
w> make[2]: *** [acl_grant.o] Error 1
w> make[1]: *** [all-recursive] Error 1
w> make: *** [all-recursive-am] Error 2


w> rsbac-admin-v1.2.2
w> and where can I find tutorials or books for rsbac. I tried google and 
w> amazon. :(

w> thank you
w> _______________________________________________
w> rsbac mailing list
w> rsbac at rsbac.org
w> http://www.rsbac.org/mailman/listinfo/rsbac
mailto:sftf at yandex.ru



More information about the rsbac mailing list