[rsbac] rsbac admin compile error

webby webby at firexsecurity.com
Wed Mar 31 20:50:58 CEST 2004


sorry, I found what I did wrong.  But I still need tutorials and books to 
learn how to use rsbac though.

regards

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


More information about the rsbac mailing list