Запомняне

» Здравейте
[ Вход :: Регистриране ]
 » Начало » Li Форуми » Help & Support » Applications » Instalirane na SELinux?
Тема: Instalirane na SELinux?
Мнение #1 Skip to the next post in this topic.
Написано на: Август 21 2005, 21:32
Zero_effect

Avatar




Група: Li maniacs
Мнения: 489
Регистриран: Юли 2005

Оценка: 5

Offline
Ok, vsichko hubavo, no nikude ne namiram kak se instalira SELinux pod linux kato obshto, a ne pod konkretna distribuciq.

Problemut mi e, che moqta distribuciq si e sglobena lichno ot men, a tova pravi instalaciqta oshte po-trudna, zashtoto nqkoi ot bazovite paketi otsustvat, a moite znaniq sa minimalni na "security" temata.

Nqkoi moje li da me orientira kum nqkoe how-to, dokumentaciq ili neshto takova, koeto da e udobno i da mi svurshi rabota. (ne me orientiraite kum nqkoi sait kato cqlo - primer www.nsa.gov/selinux), a kum neshto, koeto bi mi svurshilo rabota.

Razbira se, nadejdata mi beshe da ne mi tursite nqkoi drug ili nqkoe neshto, koeto da mi pomogne, a po-skoro da mi dadete vie napudstviq kakvo za nachalo da napravq.

Edinstvenoto, koeto dosega sum postignal e aktiviraneto na NSA Selinux support v kernela, koeto e napravo neznachitelna chast ot celiq proces (siguren sum)

Predvaritelno blagodarq

Izvinqvam se za latinicata
Контакти:  Zero_effect

  • AOL  AOL:
  • ICQ  ICQ: 94584818
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #2 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Август 21 2005, 22:52
Zero_effect

Avatar




Група: Li maniacs
Мнения: 489
Регистриран: Юли 2005

Оценка: 5

Offline
(Poneje sum tolkova dobur(tup), che si otgovarqm ponqkoga sam na vuprosite pak shte go napravq)

Moje da se nameri prilichno how-to za instalirane v selinux-docs vuv file-a README.

Za momenta go cheta i izpulnqvam i ako ima neshto dopulnitelno shte go pusna tuk, za da e udoben posle za potrebitelite turseshti v tursachkata.
Контакти:  Zero_effect

  • AOL  AOL:
  • ICQ  ICQ: 94584818
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #3 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Август 22 2005, 12:13
Zero_effect

Avatar




Група: Li maniacs
Мнения: 489
Регистриран: Юли 2005

Оценка: 5

Offline
Vsichko hubavo, no kogato trugna da compiliram checkpolicy yacc mi dava edin kilometur greshki svurzani s:
define_ip6_node_context,define_fs_use,define_ip4_node_context,define_netif_context,define_
port_context i mnogo drugi, koito ne moga da si gi zapisha.

Nakraq izliza s: "make ***[y.tab.o] Error 1"

Nqkakva ideq ot kakvo moje da mi dava tolkova mnogo greshki?
Контакти:  Zero_effect

  • AOL  AOL:
  • ICQ  ICQ: 94584818
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #4 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Август 22 2005, 13:37
mcwolf

No avatar chosen




Група: Li gurus
Мнения: 1489
Регистриран: Април 2005

Оценка: 5

Offline
липсва някой заглавен файл - дай първата грешка от тоя "километър" грешки
Контакти:  mcwolf

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #5 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Август 22 2005, 14:23
Zero_effect

Avatar




Група: Li maniacs
Мнения: 489
Регистриран: Юли 2005

Оценка: 5

Offline
Твърде дълго е и много бързо изписва хилядите грешки, но мога да ти дам някаква част:

policy_parse.y:4313: error: `c' undeclared (first use in this function)
policy_parse.y:4313: error: `head' undeclared (first use in this function)
policy_parse.y:4313: warning: left-hand operand of comma expression has no effect
policy_parse.y:4313: warning: left-hand operand of comma expression has no effect
policy_parse.y:4321: error: parse error before ')' token
policy_parse.y:4347: error: request for member `ocontexts' in something not a structure or union
policy_parse.y:4347: error: `OCON_FS' undeclared (first use in this function)
policy_parse.y:4362: error: request for member `ocontexts' in something not a structure or union
policy_parse.y: In function `define_port_context':
policy_parse.y:4369: error: `ocontext_t' undeclared (first use in this function)
policy_parse.y:4369: error: `newc' undeclared (first use in this function)
policy_parse.y:4369: error: `c' undeclared (first use in this function)
policy_parse.y:4369: error: `l' undeclared (first use in this function)
policy_parse.y:4369: error: `head' undeclared (first use in this function)
policy_parse.y:4369: warning: left-hand operand of comma expression has no effect
policy_parse.y:4369: warning: left-hand operand of comma expression has no effect
policy_parse.y:4369: warning: left-hand operand of comma expression has no effect
policy_parse.y:4419: error: request for member `ocontexts' in something not a structure or union
policy_parse.y:4419: error: `OCON_PORT' undeclared (first use in this function)
policy_parse.y:4420: warning: left-hand operand of comma expression has no effect
policy_parse.y:4420: warning: left-hand operand of comma expression has no effect
policy_parse.y:4441: error: request for member `ocontexts' in something not a structure or union
policy_parse.y: In function `define_netif_context':
policy_parse.y:4453: error: `ocontext_t' undeclared (first use in this function)
policy_parse.y:4453: error: `newc' undeclared (first use in this function)
policy_parse.y:4453: error: `c' undeclared (first use in this function)
policy_parse.y:4453: error: `head' undeclared (first use in this function)
policy_parse.y:4453: warning: left-hand operand of comma expression has no effect
policy_parse.y:4453: warning: left-hand operand of comma expression has no effect
policy_parse.y:4462: error: parse error before ')' token
policy_parse.y:4485: error: request for member `ocontexts' in something not a structure or union
policy_parse.y:4485: error: `OCON_NETIF' undeclared (first use in this function)
policy_parse.y:4500: error: request for member `ocontexts' in something not a structure or union
policy_parse.y: In function `define_ipv4_node_context':
policy_parse.y:4506: error: `ocontext_t' undeclared (first use in this function)
policy_parse.y:4506: error: `newc' undeclared (first use in this function)
policy_parse.y:4506: error: `c' undeclared (first use in this function)
policy_parse.y:4506: error: `l' undeclared (first use in this function)
policy_parse.y:4506: error: `head' undeclared (first use in this function)
policy_parse.y:4506: warning: left-hand operand of comma expression has no effect
policy_parse.y:4506: warning: left-hand operand of comma expression has no effect
policy_parse.y:4506: warning: left-hand operand of comma expression has no effect
policy_parse.y:4532: error: request for member `ocontexts' in something not a structure or union
policy_parse.y:4532: error: `OCON_NODE' undeclared (first use in this function)
policy_parse.y:4533: warning: left-hand operand of comma expression has no effect
policy_parse.y:4533: warning: left-hand operand of comma expression has no effect
policy_parse.y:4543: error: request for member `ocontexts' in something not a structure or union
policy_parse.y: In function `define_ipv6_node_context':
policy_parse.y:4553: error: `ocontext_t' undeclared (first use in this function)
policy_parse.y:4553: error: `newc' undeclared (first use in this function)
policy_parse.y:4553: error: `c' undeclared (first use in this function)
policy_parse.y:4553: error: `l' undeclared (first use in this function)
policy_parse.y:4553: error: `head' undeclared (first use in this function)
policy_parse.y:4553: warning: left-hand operand of comma expression has no effect
policy_parse.y:4553: warning: left-hand operand of comma expression has no effect
policy_parse.y:4553: warning: left-hand operand of comma expression has no effect
policy_parse.y:4602: warning: implicit declaration of function `memcpy'
policy_parse.y:4613: error: request for member `ocontexts' in something not a structure or union
policy_parse.y:4613: error: `OCON_NODE6' undeclared (first use in this function)
policy_parse.y:4614: warning: left-hand operand of comma expression has no effect
policy_parse.y:4614: warning: left-hand operand of comma expression has no effect
policy_parse.y:4615: warning: implicit declaration of function `memcmp'
policy_parse.y:4624: error: request for member `ocontexts' in something not a structure or union
policy_parse.y: In function `define_fs_use':
policy_parse.y:4633: error: `ocontext_t' undeclared (first use in this function)
policy_parse.y:4633: error: `newc' undeclared (first use in this function)
policy_parse.y:4633: error: `c' undeclared (first use in this function)
policy_parse.y:4633: error: `head' undeclared (first use in this function)
policy_parse.y:4633: warning: left-hand operand of comma expression has no effect
policy_parse.y:4633: warning: left-hand operand of comma expression has no effect
policy_parse.y:4641: error: parse error before ')' token
policy_parse.y:4660: error: request for member `ocontexts' in something not a structure or union
policy_parse.y:4660: error: `OCON_FSUSE' undeclared (first use in this function)
policy_parse.y:4674: error: request for member `ocontexts' in something not a structure or union
policy_parse.y: In function `define_genfs_context_helper':
policy_parse.y:4681: error: `ocontext_t' undeclared (first use in this function)
policy_parse.y:4681: error: `newc' undeclared (first use in this function)
policy_parse.y:4681: error: `c' undeclared (first use in this function)
policy_parse.y:4681: error: `head' undeclared (first use in this function)
policy_parse.y:4681: error: `p' undeclared (first use in this function)
policy_parse.y:4681: warning: left-hand operand of comma expression has no effect
policy_parse.y:4681: warning: left-hand operand of comma expression has no effect
policy_parse.y:4681: warning: left-hand operand of comma expression has no effect
policy_parse.y:4694: error: request for member `genfs' in something not a structure or union
policy_parse.y:4695: error: dereferencing pointer to incomplete type
policy_parse.y:4696: error: dereferencing pointer to incomplete type
policy_parse.y:4700: error: dereferencing pointer to incomplete type
policy_parse.y:4701: error: invalid application of `sizeof' to incomplete type `genfs'
policy_parse.y:4706: error: invalid application of `sizeof' to incomplete type `genfs'
policy_parse.y:4707: error: dereferencing pointer to incomplete type
policy_parse.y:4708: error: dereferencing pointer to incomplete type
policy_parse.y:4710: error: dereferencing pointer to incomplete type
policy_parse.y:4712: error: request for member `genfs' in something not a structure or union
policy_parse.y:4716: error: parse error before ')' token
policy_parse.y:4737: error: `SECCLASS_BLK_FILE' undeclared (first use in this function)
policy_parse.y:4740: error: `SECCLASS_CHR_FILE' undeclared (first use in this function)
policy_parse.y:4743: error: `SECCLASS_DIR' undeclared (first use in this function)
policy_parse.y:4746: error: `SECCLASS_FIFO_FILE' undeclared (first use in this function)
policy_parse.y:4749: error: `SECCLASS_LNK_FILE' undeclared (first use in this function)
policy_parse.y:4752: error: `SECCLASS_SOCK_FILE' undeclared (first use in this function)
policy_parse.y:4755: error: `SECCLASS_FILE' undeclared (first use in this function)
policy_parse.y:4766: error: dereferencing pointer to incomplete type
policy_parse.y:4768: warning: left-hand operand of comma expression has no effect
policy_parse.y:4768: warning: left-hand operand of comma expression has no effect
policy_parse.y:4785: error: dereferencing pointer to incomplete type
policy_parse.y: In function `define_range_trans':
policy_parse.y:4807: error: `level_datum_t' undeclared (first use in this function)
policy_parse.y:4807: error: `levdatum' undeclared (first use in this function)
policy_parse.y:4808: error: `mls_range_t' undeclared (first use in this function)
policy_parse.y:4808: error: parse error before "range"
policy_parse.y:4809: error: `ebitmap_t' undeclared (first use in this function)
policy_parse.y:4810: error: `range_trans_t' undeclared (first use in this function)
policy_parse.y:4810: error: `rt' undeclared (first use in this function)
policy_parse.y:4837: error: `doms' undeclared (first use in this function)
policy_parse.y:4838: error: `types' undeclared (first use in this function)
policy_parse.y:4840: error: `negset' undeclared (first use in this function)
policy_parse.y:4860: error: request for member `p_levels' in something not a structure or union
policy_parse.y:4868: error: `range' undeclared (first use in this function)
policy_parse.y:4905: error: request for member `range_tr' in something not a structure or union
policy_parse.y:4936: error: request for member `range_tr' in something not a structure or union
policy_parse.y:4937: error: request for member `range_tr' in something not a structure or union
policy_parse.y: In function `define_category':
policy_parse.y:1280: warning: statement with no effect
policy_parse.y: In function `define_av_perms':
policy_parse.y:1016: warning: statement with no effect
policy_parse.y: In function `define_sens':
policy_parse.y:1128: warning: statement with no effect
policy_parse.y: In function `define_type':
policy_parse.y:1623: warning: statement with no effect
policy_parse.y: In function `define_cond_te_avtab':
policy_parse.y:2445: warning: statement with no effect
policy_parse.y: In function `cond_list_append':
policy_parse.y:2159: warning: statement with no effect
policy_parse.y: In function `cond_reduce_insert_list':
policy_parse.y:3638: warning: statement with no effect
policy_parse.y: In function `define_fs_context':
policy_parse.y:4313: warning: statement with no effect
policy_parse.y: In function `define_port_context':
policy_parse.y:4369: warning: statement with no effect
policy_parse.y:4420: warning: statement with no effect
policy_parse.y:4420: warning: statement with no effect
policy_parse.y: In function `define_netif_context':
policy_parse.y:4453: warning: statement with no effect
policy_parse.y: In function `define_ipv4_node_context':
policy_parse.y:4506: warning: statement with no effect
policy_parse.y:4533: warning: statement with no effect
policy_parse.y:4533: warning: statement with no effect
policy_parse.y: In function `define_fs_use':
policy_parse.y:4633: warning: statement with no effect
policy_parse.y: In function `define_ipv6_node_context':
policy_parse.y:4553: warning: statement with no effect
policy_parse.y:4614: warning: statement with no effect
policy_parse.y:4614: warning: statement with no effect

Тия са откъм края на това, което се вижда
Контакти:  Zero_effect

  • AOL  AOL:
  • ICQ  ICQ: 94584818
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #6 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Август 22 2005, 14:30
Zero_effect

Avatar




Група: Li maniacs
Мнения: 489
Регистриран: Юли 2005

Оценка: 5

Offline
union
policy_parse.y:949: error: request for member `p_commons' in something not a structure or union
policy_parse.y:950: error: `hashtab_key_t' undeclared (first use in this function)
policy_parse.y:950: error: parse error before "id"
policy_parse.y:952: error: `HASHTAB_PRESENT' undeclared (first use in this function)
policy_parse.y:956: error: `HASHTAB_OVERFLOW' undeclared (first use in this function)
policy_parse.y:960: warning: implicit declaration of function `symtab_init'
policy_parse.y:960: error: `PERM_SYMTAB_SIZE' undeclared (first use in this function)
policy_parse.y:965: error: parse error before ')' token
policy_parse.y:973: error: `sepol_access_vector_t' undeclared (first use in this function)
policy_parse.y:978: error: parse error before "perm"
policy_parse.y: In function `define_av_perms':
policy_parse.y:1014: error: `class_datum_t' undeclared (first use in this function)
policy_parse.y:1014: error: `cladatum' undeclared (first use in this function)
policy_parse.y:1015: error: `common_datum_t' undeclared (first use in this function)
policy_parse.y:1015: error: `comdatum' undeclared (first use in this function)
policy_parse.y:1016: error: `perm_datum_t' undeclared (first use in this function)
policy_parse.y:1016: error: `perdatum' undeclared (first use in this function)
policy_parse.y:1016: error: `perdatum2' undeclared (first use in this function)
policy_parse.y:1016: warning: left-hand operand of comma expression has no effect
policy_parse.y:1031: error: parse error before ')' token
policy_parse.y:1044: error: `PERM_SYMTAB_SIZE' undeclared (first use in this function)
policy_parse.y:1054: error: parse error before ')' token
policy_parse.y:1072: error: parse error before ')' token
policy_parse.y:1080: error: `sepol_access_vector_t' undeclared (first use in this function)
policy_parse.y:1090: error: parse error before ')' token
policy_parse.y:1099: error: `hashtab_key_t' undeclared (first use in this function)
policy_parse.y:1099: error: parse error before "id"
policy_parse.y:1102: error: `HASHTAB_PRESENT' undeclared (first use in this function)
policy_parse.y:1107: error: `HASHTAB_OVERFLOW' undeclared (first use in this function)
policy_parse.y: In function `define_sens':
policy_parse.y:1127: error: `mls_level_t' undeclared (first use in this function)
policy_parse.y:1127: error: `level' undeclared (first use in this function)
policy_parse.y:1128: error: `level_datum_t' undeclared (first use in this function)
policy_parse.y:1128: error: `datum' undeclared (first use in this function)
policy_parse.y:1128: error: `aliasdatum' undeclared (first use in this function)
policy_parse.y:1128: warning: left-hand operand of comma expression has no effect
policy_parse.y:1151: error: parse error before ')' token
policy_parse.y:1158: error: request for member `p_levels' in something not a structure or union
policy_parse.y:1159: warning: implicit declaration of function `ebitmap_init'
policy_parse.y:1161: error: parse error before ')' token
policy_parse.y:1170: error: request for member `p_levels' in something not a structure or union
policy_parse.y:1171: error: `hashtab_key_t' undeclared (first use in this function)
policy_parse.y:1171: error: parse error before "id"
policy_parse.y:1173: error: `HASHTAB_PRESENT' undeclared (first use in this function)
policy_parse.y:1174: error: request for member `p_levels' in something not a structure or union
policy_parse.y:1179: error: `HASHTAB_OVERFLOW' undeclared (first use in this function)
policy_parse.y:1189: error: parse error before ')' token
policy_parse.y:1198: error: request for member `p_levels' in something not a structure or union
policy_parse.y:1199: error: parse error before "id"
policy_parse.y: In function `define_dominance':
policy_parse.y:1233: error: `level_datum_t' undeclared (first use in this function)
policy_parse.y:1233: error: `datum' undeclared (first use in this function)
policy_parse.y:1250: error: parse error before ')' token
policy_parse.y:1270: error: request for member `p_levels' in something not a structure or union
policy_parse.y: In function `define_category':
policy_parse.y:1280: error: `cat_datum_t' undeclared (first use in this function)
policy_parse.y:1280: error: `datum' undeclared (first use in this function)
policy_parse.y:1280: error: `aliasdatum' undeclared (first use in this function)
policy_parse.y:1280: warning: left-hand operand of comma expression has no effect
policy_parse.y:1303: error: parse error before ')' token
policy_parse.y:1310: error: request for member `p_cats' in something not a structure or union
policy_parse.y:1312: error: request for member `p_cats' in something not a structure or union
policy_parse.y:1313: error: `hashtab_key_t' undeclared (first use in this function)
policy_parse.y:1313: error: parse error before "id"
policy_parse.y:1315: error: `HASHTAB_PRESENT' undeclared (first use in this function)
policy_parse.y:1316: error: request for member `p_cats' in something not a structure or union
policy_parse.y:1321: error: `HASHTAB_OVERFLOW' undeclared (first use in this function)
policy_parse.y:1331: error: parse error before ')' token
policy_parse.y:1340: error: request for member `p_cats' in something not a structure or union
policy_parse.y:1341: error: parse error before "id"
policy_parse.y: In function `define_level':
policy_parse.y:1375: error: `level_datum_t' undeclared (first use in this function)
policy_parse.y:1375: error: `levdatum' undeclared (first use in this function)
policy_parse.y:1393: error: parse error before ')' token
policy_parse.y:1401: warning: implicit declaration of function `ebitmap_length'
policy_parse.y:1410: error: `cat_datum_t' undeclared (first use in this function)
policy_parse.y:1410: error: `cdatum' undeclared (first use in this function)
policy_parse.y:1419: error: parse error before ')' token
policy_parse.y:1428: error: parse error before ')' token
policy_parse.y:1445: error: parse error before ')' token
policy_parse.y:1451: warning: implicit declaration of function `ebitmap_set_bit'
policy_parse.y: In function `define_attrib':
policy_parse.y:1467: error: `type_datum_t' undeclared (first use in this function)
policy_parse.y:1467: error: `attr' undeclared (first use in this function)
policy_parse.y:1481: warning: implicit declaration of function `hashtab_search'
policy_parse.y:1481: error: request for member `p_types' in something not a structure or union
policy_parse.y:1489: error: parse error before ')' token
policy_parse.y:1496: error: request for member `p_types' in something not a structure or union
policy_parse.y:1497: error: `hashtab_datum_t' undeclared (first use in this function)
policy_parse.y:1497: error: parse error before "attr"
policy_parse.y: In function `define_typealias':
policy_parse.y:1509: error: `type_datum_t' undeclared (first use in this function)
policy_parse.y:1509: error: `t' undeclared (first use in this function)
policy_parse.y:1509: error: `aliasdatum' undeclared (first use in this function)
policy_parse.y:1509: warning: left-hand operand of comma expression has no effect
policy_parse.y:1524: error: request for member `p_types' in something not a structure or union
policy_parse.y:1538: error: parse error before ')' token
policy_parse.y:1547: error: request for member `p_types' in something not a structure or union
policy_parse.y:1548: error: `hashtab_key_t' undeclared (first use in this function)
policy_parse.y:1548: error: parse error before "id"
policy_parse.y:1550: error: `HASHTAB_PRESENT' undeclared (first use in this function)
policy_parse.y:1557: error: `HASHTAB_OVERFLOW' undeclared (first use in this function)
policy_parse.y: In function `define_typeattribute':
policy_parse.y:1570: error: `type_datum_t' undeclared (first use in this function)
policy_parse.y:1570: error: `t' undeclared (first use in this function)
policy_parse.y:1570: error: `attr' undeclared (first use in this function)
policy_parse.y:1570: warning: left-hand operand of comma expression has no effect
policy_parse.y:1584: error: request for member `p_types' in something not a structure or union
policy_parse.y:1593: error: request for member `p_types' in something not a structure or union
policy_parse.y: In function `define_type':
policy_parse.y:1623: error: `type_datum_t' undeclared (first use in this function)
policy_parse.y:1623: error: `datum' undeclared (first use in this function)
policy_parse.y:1623: error: `aliasdatum' undeclared (first use in this function)
policy_parse.y:1623: error: `attr' undeclared (first use in this function)
policy_parse.y:1623: warning: left-hand operand of comma expression has no effect
policy_parse.y:1623: warning: left-hand operand of comma expression has no effect
policy_parse.y:1643: error: parse error before ')' token
policy_parse.y:1651: error: request for member `p_types' in something not a structure or union
policy_parse.y:1653: error: request for member `p_types' in something not a structure or union
policy_parse.y:1654: error: `hashtab_key_t' undeclared (first use in this function)
policy_parse.y:1654: error: parse error before "id"
policy_parse.y:1656: error: `HASHTAB_PRESENT' undeclared (first use in this function)
policy_parse.y:1657: error: request for member `p_types' in something not a structure or union
policy_parse.y:1664: error: `HASHTAB_OVERFLOW' undeclared (first use in this function)
policy_parse.y:1673: error: parse error before ')' token
policy_parse.y:1681: error: request for member `p_types' in something not a structure or union
policy_parse.y:1682: error: parse error before "id"
policy_parse.y:1701: error: request for member `p_types' in something not a structure or union
policy_parse.y: At top level:
policy_parse.y:1752: error: parse error before "key"
policy_parse.y: In function `type_val_to_name_helper':
policy_parse.y:1754: error: `type_datum_t' undeclared (first use in this function)
policy_parse.y:1754: error: `typdatum' undeclared (first use in this function)
policy_parse.y:1755: error: `p' undeclared (first use in this function)
policy_parse.y:1757: error: parse error before ')' token
policy_parse.y:1760: error: `key' undeclared (first use in this function)
policy_parse.y: In function `type_val_to_name':
policy_parse.y:1773: warning: implicit declaration of function `hashtab_map'
policy_parse.y:1773: error: request for member `p_types' in something not a structure or union
policy_parse.y: At top level:
policy_parse.y:1781: error: parse error before '*' token
policy_parse.y: In function `set_types':
policy_parse.y:1786: error: `type_datum_t' undeclared (first use in this function)
policy_parse.y:1786: error: `t' undeclared (first use in this function)
policy_parse.y:1789: error: `id' undeclared (first use in this function)
policy_parse.y:1791: error: request for member `p_types' in something not a structure or union
policy_parse.y:1792: warning: implicit declaration of function `ebitmap_get_bit'
policy_parse.y:1792: error: `negset' undeclared (first use in this function)
policy_parse.y:1793: error: `set' undeclared (first use in this function)
policy_parse.y:1801: error: request for member `p_types' in something not a structure or union
policy_parse.y:1812: error: `add' undeclared (first use in this function)
policy_parse.y:1817: error: request for member `p_types' in something not a structure or union
policy_parse.y:1828: warning: implicit declaration of function `ebitmap_startbit'
policy_parse.y: In function `define_compute_type':
policy_parse.y:1869: error: `avtab_key_t' undeclared (first use in this function)
policy_parse.y:1869: error: parse error before "avkey"
policy_parse.y:1870: error: `avtab_datum_t' undeclared (first use in this function)
policy_parse.y:1871: error: `type_datum_t' undeclared (first use in this function)
policy_parse.y:1871: error: `datum' undeclared (first use in this function)
policy_parse.y:1872: error: `class_datum_t' undeclared (first use in this function)
policy_parse.y:1872: error: `cladatum' undeclared (first use in this function)
policy_parse.y:1873: error: `ebitmap_t' undeclared (first use in this function)
policy_parse.y:1873: error: parse error before "stypes"
policy_parse.y:1890: error: `stypes' undeclared (first use in this function)
policy_parse.y:1894: error: `negset' undeclared (first use in this function)
policy_parse.y:1899: warning: implicit declaration of function `ebitmap_destroy'
policy_parse.y:1909: error: request for member `p_classes' in something not a structure or union
policy_parse.y:1924: error: parse error before ')' token
policy_parse.y:1941: error: `avkey' undeclared (first use in this function)
policy_parse.y:1944: error: `avdatump' undeclared (first use in this function)
policy_parse.y:1944: warning: implicit declaration of function `avtab_search'
policy_parse.y:1944: error: request for member `te_avtab' in something not a structure or union
policy_parse.y:1944: error: `AVTAB_TYPE' undeclared (first use in this function)
policy_parse.y:1947: error: `AVTAB_TRANSITION' undeclared (first use in this function)
policy_parse.y:1948: warning: implicit declaration of function `avtab_transition'
policy_parse.y:1950: error: `AVTAB_MEMBER' undeclared (first use in this function)
policy_parse.y:1951: warning: implicit declaration of function `avtab_member'
policy_parse.y:1953: error: `AVTAB_CHANGE' undeclared (first use in this function)
policy_parse.y:1954: warning: implicit declaration of function `avtab_change'
policy_parse.y:1959: error: request for member `p_class_val_to_name' in something not a structure or union
policy_parse.y:1977: error: `avdatum' undeclared (first use in this function)
policy_parse.y:1990: warning: implicit declaration of function `avtab_insert'
policy_parse.y:1990: error: request for member `te_avtab' in something not a structure or union
policy_parse.y: At top level:
policy_parse.y:2006: error: parse error before '*' token
policy_parse.y:2007: warning: return type defaults to `int'
policy_parse.y: In function `define_cond_compute_type':
policy_parse.y:2009: error: `cond_av_list_t' undeclared (first use in this function)
policy_parse.y:2009: error: `sub_list' undeclared (first use in this function)
policy_parse.y:2010: error: `avtab_key_t' undeclared (first use in this function)
policy_parse.y:2010: error: parse error before "avkey"
policy_parse.y:2011: error: `avtab_datum_t' undeclared (first use in this function)
policy_parse.y:2012: error: `type_datum_t' undeclared (first use in this function)
policy_parse.y:2012: error: `datum' undeclared (first use in this function)
policy_parse.y:2013: error: `class_datum_t' undeclared (first use in this function)
policy_parse.y:2013: error: `cladatum' undeclared (first use in this function)
policy_parse.y:2014: error: `ebitmap_t' undeclared (first use in this function)
policy_parse.y:2014: error: parse error before "stypes"
policy_parse.y:2027: error: parse error before ')' token
policy_parse.y:2030: error: `stypes' undeclared (first use in this function)
policy_parse.y:2034: error: `negset' undeclared (first use in this function)
policy_parse.y:2037: error: parse error before ')' token
policy_parse.y:2044: error: parse error before ')' token
policy_parse.y:2049: error: request for member `p_classes' in something not a structure or union
policy_parse.y:2064: error: parse error before ')' token
policy_parse.y:2073: error: parse error before ')' token
policy_parse.y:2084: error: `avkey' undeclared (first use in this function)
policy_parse.y:2087: error: `avdatump' undeclared (first use in this function)
policy_parse.y:2087: error: request for member `te_avtab' in something not a structure or union
policy_parse.y:2087: error: `AVTAB_TYPE' undeclared (first use in this function)
policy_parse.y:2092: error: `AVTAB_TRANSITION' undeclared (first use in this function)
policy_parse.y:2095: error: `AVTAB_MEMBER' undeclared (first use in this function)
policy_parse.y:2098: error: `AVTAB_CHANGE' undeclared (first use in this function)
policy_parse.y:2108: error: request for member `p_class_val_to_name' in something not a structure or union
policy_parse.y:2118: error: request for member `p_class_val_to_name' in something not a structure or union
policy_parse.y:2127: error: `avdatum' undeclared (first use in this function)
policy_parse.y:2142: error: parse error before ')' token
policy_parse.y:2154: error: parse error before ')' token
policy_parse.y: At top level:
policy_parse.y:2157: error: parse error before '*' token
policy_parse.y:2157: error: parse error before '*' token
policy_parse.y:2157: warning: return type defaults to `int'
policy_parse.y: In function `cond_list_append':
policy_parse.y:2159: error: `cond_av_list_t' undeclared (first use in this function)
policy_parse.y:2159: error: `n' undeclared (first use in this function)
policy_parse.y:2159: error: `end' undeclared (first use in this function)
policy_parse.y:2159: warning: left-hand operand of comma expression has no effect
policy_parse.y:2161: error: parse error before ')' token
policy_parse.y:2164: error: parse error before ')' token
policy_parse.y:2167: error: `sl' undeclared (first use in this function)
policy_parse.y:2175: error: `avtab_ptr_t' undeclared (first use in this function)
policy_parse.y:2175: error: parse error before "malloc"
policy_parse.y:2178: error: parse error before ')' token
policy_parse.y:2180: error: invalid application of `sizeof' to incomplete type `avtab_node'
policy_parse.y:2181: error: `key' undeclared (first use in this function)
policy_parse.y:2182: error: `datum' undeclared (first use in this function)
policy_parse.y:2184: error: parse error before numeric constant
policy_parse.y: At top level:
policy_parse.y:2191: error: parse error before "key"
policy_parse.y: In function `perm_name':
policy_parse.y:2193: error: `data' undeclared (first use in this function)
policy_parse.y:2194: error: `perm_datum_t' undeclared (first use in this function)
policy_parse.y:2194: error: `perdatum' undeclared (first use in this function)
policy_parse.y:2196: error: parse error before ')' token
policy_parse.y:2199: error: `key' undeclared (first use in this function)
policy_parse.y: At top level:
policy_parse.y:2207: error: parse error before "sepol_access_vector_t"
policy_parse.y: In function `av_to_string':
policy_parse.y:2211: error: `class_datum_t' undeclared (first use in this function)
policy_parse.y:2211: error: `cladatum' undeclared (first use in this function)
policy_parse.y:2216: error: request for member `class_val_to_struct' in something not a structure or union
policy_parse.y:2216: error: `tclass' undeclared (first use in this function)
policy_parse.y:2219: error: `av' undeclared (first use in this function)
policy_parse.y: In function `define_bool':
policy_parse.y:2243: error: `cond_bool_datum_t' undeclared (first use in this function)
policy_parse.y:2243: error: `datum' undeclared (first use in this function)
policy_parse.y:2272: error: parse error before ')' token
policy_parse.y:2281: error: request for member `p_bools' in something not a structure or union
policy_parse.y:2283: error: request for member `p_bools' in something not a structure or union
policy_parse.y:2284: error: `hashtab_key_t' undeclared (first use in this function)
policy_parse.y:2284: error: parse error before "name"
policy_parse.y:2286: error: `HASHTAB_PRESENT' undeclared (first use in this function)
policy_parse.y:2287: error: request for member `p_bools' in something not a structure or union
policy_parse.y:2295: error: `HASHTAB_OVERFLOW' undeclared (first use in this function)
policy_parse.y: At top level:
policy_parse.y:2305: error: parse error before '*' token
policy_parse.y:2305: error: parse error before '*' token
policy_parse.y:2306: warning: return type defaults to `int'
policy_parse.y: In function `define_cond_pol_list':
policy_parse.y:2307: error: `cond_av_list_t' undeclared (first use in this function)
policy_parse.y:2307: error: `end' undeclared (first use in this function)
policy_parse.y:2311: error: parse error before ')' token
policy_parse.y:2316: error: `sl' undeclared (first use in this function)
policy_parse.y:2316: error: `avlist' undeclared (first use in this function)
policy_parse.y: At top level:
policy_parse.y:2327: error: parse error before "ebitmap_t"
policy_parse.y: In function `te_avtab_helper':
policy_parse.y:2330: error: `avtab_key_t' undeclared (first use in this function)
policy_parse.y:2330: error: parse error before "avkey"
policy_parse.y:2331: error: `avtab_datum_t' undeclared (first use in this function)
policy_parse.y:2335: error: `which' undeclared (first use in this function)
policy_parse.y:2335: error: `AVTAB_ALLOWED' undeclared (first use in this function)
policy_parse.y:2343: error: `avkey' undeclared (first use in this function)
policy_parse.y:2343: error: `stype' undeclared (first use in this function)
policy_parse.y:2344: error: `ttype' undeclared (first use in this function)
policy_parse.y:2346: error: `avdatump' undeclared (first use in this function)
policy_parse.y:2346: error: request for member `te_avtab' in something not a structure or union
policy_parse.y:2346: error: `AVTAB_AV' undeclared (first use in this function)
policy_parse.y:2348: error: `avdatum' undeclared (first use in this function)
policy_parse.y:2350: error: request for member `te_avtab' in something not a structure or union
policy_parse.y:2355: error: request for member `te_avtab' in something not a structure or union
policy_parse.y:2366: warning: implicit declaration of function `avtab_allowed'
policy_parse.y:2366: error: invalid lvalue in assignment
policy_parse.y:2368: error: `AVTAB_AUDITALLOW' undeclared (first use in this function)
policy_parse.y:2369: warning: implicit declaration of function `avtab_auditallow'
policy_parse.y:2369: error: invalid lvalue in assignment
policy_parse.y:2371: error: `AVTAB_AUDITDENY' undeclared (first use in this function)
policy_parse.y:2372: warning: implicit declaration of function `avtab_auditdeny'
policy_parse.y:2372: error: invalid lvalue in assignment
policy_parse.y:2376: error: invalid lvalue in assignment
policy_parse.y:2378: error: invalid lvalue in assignment
policy_parse.y: At top level:
policy_parse.y:2386: error: parse error before '*' token
policy_parse.y:2387: error: parse error before "ebitmap_t"
policy_parse.y:2389: warning: return type defaults to `int'
policy_parse.y: In function `cond_te_avtab_helper':
policy_parse.y:2390: error: `cond_av_list_t' undeclared (first use in this function)
policy_parse.y:2390: error: `sl' undeclared (first use in this function)
policy_parse.y:2391: error: `avtab_key_t' undeclared (first use in this function)
policy_parse.y:2391: error: parse error before "avkey"
policy_parse.y:2392: error: `avtab_datum_t' undeclared (first use in this function)
policy_parse.y:2395: error: `which' undeclared (first use in this function)
policy_parse.y:2395: error: `AVTAB_ALLOWED' undeclared (first use in this function)
policy_parse.y:2397: error: parse error before ')' token
policy_parse.y:2401: error: parse error before ')' token
policy_parse.y:2407: error: `avkey' undeclared (first use in this function)
policy_parse.y:2407: error: `stype' undeclared (first use in this function)
policy_parse.y:2408: error: `ttype' undeclared (first use in this function)
policy_parse.y:2412: error: `avdatum' undeclared (first use in this function)
policy_parse.y:2417: error: invalid lvalue in assignment
policy_parse.y:2419: error: `AVTAB_AUDITALLOW' undeclared (first use in this function)
policy_parse.y:2420: error: invalid lvalue in assignment
policy_parse.y:2422: error: `AVTAB_AUDITDENY' undeclared (first use in this function)
policy_parse.y:2424: error: parse error before ')' token
policy_parse.y:2426: error: invalid lvalue in assignment
policy_parse.y:2433: error: parse error before ')' token
policy_parse.y:2435: error: parse error before ')' token
policy_parse.y: At top level:
policy_parse.y:2442: error: parse error before '*' token
policy_parse.y:2443: warning: return type defaults to `int'
policy_parse.y: In function `define_cond_te_avtab':
policy_parse.y:2445: error: `cond_av_list_t' undeclared (first use in this function)
policy_parse.y:2445: error: `sub_list' undeclared (first use in this function)
policy_parse.y:2445: error: `final_list' undeclared (first use in this function)
policy_parse.y:2445: error: `tail' undeclared (first use in this function)
policy_parse.y:2445: warning: left-hand operand of comma expression has no effect
policy_parse.y:2445: warning: left-hand operand of comma expression has no effect
policy_parse.y:2446: error: `class_datum_t' undeclared (first use in this function)
policy_parse.y:2446: error: `cladatum' undeclared (first use in this function)
policy_parse.y:2447: error: `perm_datum_t' undeclared (first use in this function)
policy_parse.y:2447: error: `perdatum' undeclared (first use in this function)
policy_parse.y:2448: error: `ebitmap_t' undeclared (first use in this function)
policy_parse.y:2448: error: parse error before "stypes"
policy_parse.y:2449: error: `sepol_access_vector_t' undeclared (first use in this function)
policy_parse.y:2462: error: parse error before ')' token
policy_parse.y:2465: error: `stypes' undeclared (first use in this function)
policy_parse.y:2469: error: `negset' undeclared (first use in this function)
policy_parse.y:2472: error: parse error before ')' token
policy_parse.y:2483: error: parse error before ')' token
policy_parse.y:2491: error: request for member `p_classes' in something not a structure or union
policy_parse.y:2498: error: `POLICYDB_VERSION_NLCLASS' undeclared (first use in this function)
policy_parse.y:2499: error: `SECCLASS_NETLINK_ROUTE_SOCKET' undeclared (first use in this function)
policy_parse.y:2500: error: `SECCLASS_NETLINK_DNRT_SOCKET' undeclared (first use in this function)
policy_parse.y:2504: error: `SECCLASS_NETLINK_SOCKET' undeclared (first use in this function)
policy_parse.y:2518: error: parse error before ')' token
policy_parse.y:2526: error: request for member `class_val_to_struct' in something not a structure or union
policy_parse.y:2536: error: `AVTAB_AUDITDENY' undeclared (first use in this function)
policy_parse.y:2551: error: request for member `p_class_val_to_name' in something not a structure or union
policy_parse.y:2572: error: parse error before ')' token
policy_parse.y:2573: error: parse error before ')' token
policy_parse.y:2593: error: parse error before ')' token
policy_parse.y:2594: error: parse error before ')' token
policy_parse.y:2615: error: parse error before ')' token
policy_parse.y: In function `define_te_avtab':
policy_parse.y:2622: error: `class_datum_t' undeclared (first use in this function)
policy_parse.y:2622: error: `cladatum' undeclared (first use in this function)
policy_parse.y:2623: error: `perm_datum_t' undeclared (first use in this function)
policy_parse.y:2623: error: `perdatum' undeclared (first use in this function)
policy_parse.y:2624: error: `ebitmap_t' undeclared (first use in this function)
policy_parse.y:2624: error: parse error before "stypes"
policy_parse.y:2625: error: `sepol_access_vector_t' undeclared (first use in this function)
policy_parse.y:2628: error: `newassert' undeclared (first use in this function)
policy_parse.y:2643: error: `stypes' undeclared (first use in this function)
policy_parse.y:2647: error: `negset' undeclared (first use in this function)
policy_parse.y:2669: error: request for member `p_classes' in something not a structure or union
policy_parse.y:2676: error: `POLICYDB_VERSION_NLCLASS' undeclared (first use in this function)
policy_parse.y:2677: error: `SECCLASS_NETLINK_ROUTE_SOCKET' undeclared (first use in this function)
policy_parse.y:2678: error: `SECCLASS_NETLINK_DNRT_SOCKET' undeclared (first use in this function)
policy_parse.y:2682: error: `SECCLASS_NETLINK_SOCKET' undeclared (first use in this function)
policy_parse.y:2705: error: request for member `class_val_to_struct' in something not a structure or union
policy_parse.y:2715: error: `AVTAB_AUDITDENY' undeclared (first use in this function)
policy_parse.y:2730: error: request for member `p_class_val_to_name' in something not a structure or union
policy_parse.y:2742: error: `AVTAB_ALLOWED' undeclared (first use in this function)
policy_parse.y: At top level:
policy_parse.y:2786: error: parse error before "key"
policy_parse.y: In function `role_val_to_name_helper':
policy_parse.y:2788: error: `p' undeclared (first use in this function)
policy_parse.y:2789: error: `role_datum_t' undeclared (first use in this function)
policy_parse.y:2789: error: `roldatum' undeclared (first use in this function)
policy_parse.y:2791: error: parse error before ')' token
policy_parse.y:2794: error: `key' undeclared (first use in this function)
policy_parse.y: In function `role_val_to_name':
policy_parse.y:2808: error: request for member `p_roles' in something not a structure or union
policy_parse.y: In function `define_role_types':
policy_parse.y:2817: error: `role_datum_t' undeclared (first use in this function)
policy_parse.y:2817: error: `role' undeclared (first use in this function)
policy_parse.y:2820: error: `ebitmap_t' undeclared (first use in this function)
policy_parse.y:2820: error: parse error before "negset"
policy_parse.y:2830: error: parse error before ')' token
policy_parse.y:2833: error: parse error before ')' token
policy_parse.y:2840: error: request for member `p_roles' in something not a structure or union
policy_parse.y:2842: error: request for member `p_roles' in something not a structure or union
policy_parse.y:2843: error: `hashtab_key_t' undeclared (first use in this function)
policy_parse.y:2843: error: parse error before "role_id"
policy_parse.y:2854: error: `negset' undeclared (first use in this function)
policy_parse.y: At top level:
policy_parse.y:2865: error: parse error before '*' token
policy_parse.y:2866: error: parse error before '*' token
policy_parse.y:2867: warning: return type defaults to `int'
policy_parse.y: In function `merge_roles_dom':
policy_parse.y:2868: error: `role_datum_t' undeclared (first use in this function)
policy_parse.y:2868: error: `new' undeclared (first use in this function)
policy_parse.y:2871: error: parse error before ')' token
policy_parse.y:2881: warning: implicit declaration of function `ebitmap_or'
policy_parse.y:2881: error: `r1' undeclared (first use in this function)
policy_parse.y:2881: error: `r2' undeclared (first use in this function)
policy_parse.y: At top level:
policy_parse.y:2906: error: parse error before "key"
policy_parse.y: In function `dominate_role_recheck':
policy_parse.y:2908: error: `role_datum_t' undeclared (first use in this function)
policy_parse.y:2908: error: `rdp' undeclared (first use in this function)
policy_parse.y:2908: error: parse error before ')' token
policy_parse.y:2909: error: `rdatum' undeclared (first use in this function)
policy_parse.y:2909: error: parse error before ')' token
policy_parse.y: At top level:
policy_parse.y:2938: error: parse error before '*' token
policy_parse.y:2939: error: parse error before '*' token
policy_parse.y:2940: warning: return type defaults to `int'
policy_parse.y: In function `define_role_dom':
policy_parse.y:2941: error: `role_datum_t' undeclared (first use in this function)
policy_parse.y:2941: error: `role' undeclared (first use in this function)
policy_parse.y:2949: error: parse error before ')' token
policy_parse.y:2953: error: parse error before ')' token
policy_parse.y:2956: error: parse error before ')' token
policy_parse.y:2963: error: request for member `p_roles' in something not a structure or union
policy_parse.y:2965: error: request for member `p_roles' in something not a structure or union
policy_parse.y:2966: error: `hashtab_key_t' undeclared (first use in this function)
policy_parse.y:2966: error: parse error before "role_id"
policy_parse.y:2975: error: `r' undeclared (first use in this function)
policy_parse.y:2994: error: request for member `p_roles' in something not a structure or union
policy_parse.y: At top level:
policy_parse.y:3001: error: parse error before '*' token
policy_parse.y: In function `set_roles':
policy_parse.y:3004: error: `role_datum_t' undeclared (first use in this function)
policy_parse.y:3004: error: `r' undeclared (first use in this function)
policy_parse.y:3007: error: `id' undeclared (first use in this function)
policy_parse.y:3009: error: request for member `p_roles' in something not a structure or union
policy_parse.y:3010: error: `set' undeclared (first use in this function)
policy_parse.y:3017: error: request for member `p_roles' in something not a structure or union
policy_parse.y:3027: error: request for member `p_roles' in something not a structure or union
policy_parse.y: In function `define_role_trans':
policy_parse.y:3045: error: `role_datum_t' undeclared (first use in this function)
policy_parse.y:3045: error: `role' undeclared (first use in this function)
policy_parse.y:3046: error: `ebitmap_t' undeclared (first use in this function)
policy_parse.y:3046: error: parse error before "roles"
policy_parse.y:3061: error: `roles' undeclared (first use in this function)
policy_parse.y:3062: error: `types' undeclared (first use in this function)
policy_parse.y:3069: error: `negset' undeclared (first use in this function)
policy_parse.y:3081: error: request for member `p_roles' in something not a structure or union
policy_parse.y:3095: error: request for member `role_tr' in something not a structure or union
policy_parse.y:3095: error: dereferencing pointer to incomplete type
policy_parse.y:3096: error: dereferencing pointer to incomplete type
policy_parse.y:3096: error: dereferencing pointer to incomplete type
policy_parse.y:3104: error: invalid application of `sizeof' to incomplete type `role_trans'
policy_parse.y:3109: error: invalid application of `sizeof' to incomplete type `role_trans'
policy_parse.y:3110: error: dereferencing pointer to incomplete type
policy_parse.y:3111: error: dereferencing pointer to incomplete type
policy_parse.y:3112: error: dereferencing pointer to incomplete type
policy_parse.y:3113: error: dereferencing pointer to incomplete type
policy_parse.y:3113: error: request for member `role_tr' in something not a structure or union
policy_parse.y:3114: error: request for member `role_tr' in something not a structure or union
policy_parse.y: In function `define_role_allow':
policy_parse.y:3128: error: `ebitmap_t' undeclared (first use in this function)
policy_parse.y:3128: error: parse error before "roles"
policy_parse.y:3140: error: `roles' undeclared (first use in this function)
policy_parse.y:3141: error: `new_roles' undeclared (first use in this function)
policy_parse.y:3161: error: request for member `role_allow' in something not a structure or union
policy_parse.y:3161: error: dereferencing pointer to incomplete type
policy_parse.y:3162: error: dereferencing pointer to incomplete type
policy_parse.y:3162: error: dereferencing pointer to incomplete type
policy_parse.y:3169: error: invalid application of `sizeof' to incomplete type `role_allow'
policy_parse.y:3174: error: invalid application of `sizeof' to incomplete type `role_allow'
policy_parse.y:3175: error: dereferencing pointer to incomplete type
policy_parse.y:3176: error: dereferencing pointer to incomplete type
policy_parse.y:3177: error: dereferencing pointer to incomplete type
policy_parse.y:3177: error: request for member `role_allow' in something not a structure or union
policy_parse.y:3178: error: request for member `role_allow' in something not a structure or union
policy_parse.y: At top level:
policy_parse.y:3186: error: parse error before '*' token
policy_parse.y: In function `define_constraint':
policy_parse.y:3190: error: `class_datum_t' undeclared (first use in this function)
policy_parse.y:3190: error: `cladatum' undeclared (first use in this function)
policy_parse.y:3191: error: `perm_datum_t' undeclared (first use in this function)
policy_parse.y:3191: error: `perdatum' undeclared (first use in this function)
policy_parse.y:3192: error: `ebitmap_t' undeclared (first use in this function)
policy_parse.y:3192: error: parse error before "classmap"
policy_parse.y:3193: error: `constraint_expr_t' undeclared (first use in this function)
policy_parse.y:3193: error: `e' undeclared (first use in this function)
policy_parse.y:3206: error: `expr' undeclared (first use in this function)
policy_parse.y:3208: error: `CEXPR_NOT' undeclared (first use in this function)
policy_parse.y:3214: error: `CEXPR_AND' undeclared (first use in this function)
policy_parse.y:3215: error: `CEXPR_OR' undeclared (first use in this function)
policy_parse.y:3222: error: `CEXPR_ATTR' undeclared (first use in this function)
policy_parse.y:3223: error: `CEXPR_NAMES' undeclared (first use in this function)
policy_parse.y:3224: error: `CEXPR_XTARGET' undeclared (first use in this function)
policy_parse.y:3228: error: `CEXPR_MAXDEPTH' undeclared (first use in this function)
policy_parse.y:3244: error: `classmap' undeclared (first use in this function)
policy_parse.y:3246: error: parse error before ')' token
policy_parse.y:3261: error: invalid application of `sizeof' to incomplete type `constraint_node'
policy_parse.y:3266: error: `constraint_node_t' undeclared (first use in this function)
policy_parse.y:3267: error: dereferencing pointer to incomplete type
policy_parse.y:3268: error: dereferencing pointer to incomplete type
policy_parse.y:3270: error: dereferencing pointer to incomplete type
policy_parse.y:3279: error: request for member `class_val_to_struct' in something not a structure or union
policy_parse.y:3282: error: parse error before ')' token
policy_parse.y:3286: error: parse error before ')' token
policy_parse.y:3297: error: dereferencing pointer to incomplete type
policy_parse.y: At top level:
policy_parse.y:3308: error: parse error before '*' token
policy_parse.y: In function `define_validatetrans':
policy_parse.y:3312: error: `class_datum_t' undeclared (first use in this function)
policy_parse.y:3312: error: `cladatum' undeclared (first use in this function)
policy_parse.y:3313: error: `ebitmap_t' undeclared (first use in this function)
policy_parse.y:3313: error: parse error before "classmap"
policy_parse.y:3314: error: `constraint_expr_t' undeclared (first use in this function)
policy_parse.y:3314: error: `e' undeclared (first use in this function)
policy_parse.y:3324: error: `expr' undeclared (first use in this function)
policy_parse.y:3326: error: `CEXPR_NOT' undeclared (first use in this function)
policy_parse.y:3332: error: `CEXPR_AND' undeclared (first use in this function)
policy_parse.y:3333: error: `CEXPR_OR' undeclared (first use in this function)
policy_parse.y:3340: error: `CEXPR_ATTR' undeclared (first use in this function)
policy_parse.y:3341: error: `CEXPR_NAMES' undeclared (first use in this function)
policy_parse.y:3342: error: `CEXPR_MAXDEPTH' undeclared (first use in this function)
policy_parse.y:3358: error: `classmap' undeclared (first use in this function)
policy_parse.y:3360: error: parse error before ')' token
policy_parse.y:3375: error: invalid application of `sizeof' to incomplete type `constraint_node'
policy_parse.y:3380: error: `constraint_node_t' undeclared (first use in this function)
policy_parse.y:3381: error: dereferencing pointer to incomplete type
policy_parse.y:3382: error: dereferencing pointer to incomplete type
policy_parse.y:3384: error: dereferencing pointer to incomplete type
policy_parse.y: In function `define_cexpr':
policy_parse.y:3400: error: `user_datum_t' undeclared (first use in this function)
policy_parse.y:3400: error: `user' undeclared (first use in this function)
policy_parse.y:3401: error: `role_datum_t' undeclared (first use in this function)
policy_parse.y:3401: error: `role' undeclared (first use in this function)
policy_parse.y:3402: error: `ebitmap_t' undeclared (first use in this function)
policy_parse.y:3402: error: parse error before "negset"
policy_parse.y:3408: error: `CEXPR_NAMES' undeclared (first use in this function)
policy_parse.y:3415: error: invalid application of `sizeof' to incomplete type `constraint_expr'
policy_parse.y:3420: error: `constraint_expr_t' undeclared (first use in this function)
policy_parse.y:3421: error: dereferencing pointer to incomplete type
policy_parse.y:3424: error: `CEXPR_NOT' undeclared (first use in this function)
policy_parse.y:3429: error: dereferencing pointer to incomplete type
policy_parse.y:3431: error: dereferencing pointer to incomplete type
policy_parse.y:3436: error: dereferencing pointer to incomplete type
policy_parse.y:3438: error: `CEXPR_AND' undeclared (first use in this function)
policy_parse.y:3439: error: `CEXPR_OR' undeclared (first use in this function)
policy_parse.y:3444: error: dereferencing pointer to incomplete type
policy_parse.y:3446: error: dereferencing pointer to incomplete type
policy_parse.y:3451: error: dereferencing pointer to incomplete type
policy_parse.y:3457: error: dereferencing pointer to incomplete type
policy_parse.y:3459: error: dereferencing pointer to incomplete type
policy_parse.y:3464: error: dereferencing pointer to incomplete type
policy_parse.y:3466: error: `CEXPR_ATTR' undeclared (first use in this function)
policy_parse.y:3467: error: dereferencing pointer to incomplete type
policy_parse.y:3468: error: dereferencing pointer to incomplete type
policy_parse.y:3471: error: dereferencing pointer to incomplete type
policy_parse.y:3472: error: dereferencing pointer to incomplete type
policy_parse.y:3473: error: `negset' undeclared (first use in this function)
policy_parse.y:3475: error: dereferencing pointer to incomplete type
policy_parse.y:3475: error: `CEXPR_USER' undeclared (first use in this function)
policy_parse.y:3476: error: parse error before ')' token
policy_parse.y:3485: error: dereferencing pointer to incomplete type
policy_parse.y:3485: error: `CEXPR_ROLE' undeclared (first use in this function)
policy_parse.y:3486: error: parse error before ')' token
policy_parse.y:3495: error: dereferencing pointer to incomplete type
policy_parse.y:3495: error: `CEXPR_TYPE' undeclared (first use in this function)
policy_parse.y:3496: error: dereferencing pointer to incomplete type
policy_parse.y:3506: error: dereferencing pointer to incomplete type
policy_parse.y:3508: error: dereferencing pointer to incomplete type
policy_parse.y: At top level:
policy_parse.y:3527: error: parse error before '*' token
policy_parse.y: In function `define_conditional':
policy_parse.y:3529: error: `cond_expr_t' undeclared (first use in this function)
policy_parse.y:3529: error: `e' undeclared (first use in this function)
policy_parse.y:3530: error: `cond_node_t' undeclared (first use in this function)
policy_parse.y:3530: error: `cn' undeclared (first use in this function)
policy_parse.y:3530: error: `tmp' undeclared (first use in this function)
policy_parse.y:3530: error: `cn_new' undeclared (first use in this function)
policy_parse.y:3530: warning: left-hand operand of comma expression has no effect
policy_parse.y:3530: warning: left-hand operand of comma expression has no effect
policy_parse.y:3535: error: `expr' undeclared (first use in this function)
policy_parse.y:3539: error: `t' undeclared (first use in this function)
policy_parse.y:3540: error: `f' undeclared (first use in this function)
policy_parse.y:3547: error: `COND_NOT' undeclared (first use in this function)
policy_parse.y:3564: error: `COND_AND' undeclared (first use in this function)
policy_parse.y:3565: error: `COND_OR' undeclared (first use in this function)
policy_parse.y:3566: error: `COND_XOR' undeclared (first use in this function)
policy_parse.y:3567: error: `COND_EQ' undeclared (first use in this function)
policy_parse.y:3568: error: `COND_NEQ' undeclared (first use in this function)
policy_parse.y:3575: error: `COND_BOOL' undeclared (first use in this function)
policy_parse.y:3576: error: `COND_EXPR_MAXDEPTH' undeclared (first use in this function)
policy_parse.y:3599: warning: implicit declaration of function `cond_normalize_expr'
policy_parse.y:3605: warning: implicit declaration of function `cond_node_search'
policy_parse.y: At top level:
policy_parse.y:3635: error: parse error before '*' token
policy_parse.y: In function `cond_reduce_insert_list':
policy_parse.y:3638: error: `cond_av_list_t' undeclared (first use in this function)
policy_parse.y:3638: error: `c' undeclared (first use in this function)
policy_parse.y:3638: error: `top' undeclared (first use in this function)
policy_parse.y:3638: warning: left-hand operand of comma expression has no effect
policy_parse.y:3639: error: `avtab_ptr_t' undeclared (first use in this function)
policy_parse.y:3639: error: parse error before "dup"
policy_parse.y:3642: error: `new' undeclared (first use in this function)
policy_parse.y:3648: error: `AVTAB_TYPE' undeclared (first use in this function)
policy_parse.y:3649: error: `dup' undeclared (first use in this function)
policy_parse.y:3649: warning: implicit declaration of function `avtab_search_node'
policy_parse.y:3649: error: request for member `te_cond_avtab' in something not a structure or union
policy_parse.y:3652: error: `active' undeclared (first use in this function)
policy_parse.y:3655: error: `AVTAB_TRANSITION' undeclared (first use in this function)
policy_parse.y:3658: error: invalid lvalue in assignment
policy_parse.y:3660: error: `AVTAB_MEMBER' undeclared (first use in this function)
policy_parse.y:3663: error: invalid lvalue in assignment
policy_parse.y:3665: error: `AVTAB_CHANGE' undeclared (first use in this function)
policy_parse.y:3668: error: invalid lvalue in assignment
policy_parse.y:3674: error: request for member `p_class_val_to_name' in something not a structure or union
policy_parse.y:3682: error: `inactive' undeclared (first use in this function)
policy_parse.y:3689: error: request for member `p_class_val_to_name' in something not a structure or union
policy_parse.y:3694: warning: implicit declaration of function `avtab_search_node_next'
policy_parse.y:3697: error: `AVTAB_AV' undeclared (first use in this function)
policy_parse.y:3698: error: request for member `te_cond_avtab' in something not a structure or union
policy_parse.y:3704: error: `AVTAB_ALLOWED' undeclared (first use in this function)
policy_parse.y:3706: error: invalid lvalue in assignment
policy_parse.y:3708: error: `AVTAB_AUDITALLOW' undeclared (first use in this function)
policy_parse.y:3710: error: invalid lvalue in assignment
policy_parse.y:3712: error: `AVTAB_AUDITDENY' undeclared (first use in this function)
policy_parse.y:3719: error: invalid lvalue in assignment
policy_parse.y:3731: warning: implicit declaration of function `avtab_insert_with_parse_context'
policy_parse.y:3731: error: request for member `te_cond_avtab' in something not a structure or union
policy_parse.y:3736: error: `state' undeclared (first use in this function)
policy_parse.y:3737: error: `AVTAB_ENABLED' undeclared (first use in this function)
policy_parse.y: At top level:
policy_parse.y:3758: error: parse error before '*' token
policy_parse.y:3760: warning: return type defaults to `int'
policy_parse.y: In function `define_cond_expr':
policy_parse.y:3762: error: `cond_bool_datum_t' undeclared (first use in this function)
policy_parse.y:3762: error: `bool_var' undeclared (first use in this function)
policy_parse.y:3767: error: `COND_BOOL' undeclared (first use in this function)
policy_parse.y:3772: error: `cond_expr_t' undeclared (first use in this function)
policy_parse.y:3772: error: parse error before ')' token
policy_parse.y:3776: error: invalid application of `sizeof' to incomplete type `cond_expr'
policy_parse.y:3782: error: dereferencing pointer to incomplete type
policy_parse.y:3786: error: `COND_NOT' undeclared (first use in this function)
policy_parse.y:3791: error: dereferencing pointer to incomplete type
policy_parse.y:3793: error: dereferencing pointer to incomplete type
policy_parse.y:3798: error: dereferencing pointer to incomplete type
policy_parse.y:3799: warning: return from incompatible pointer type
policy_parse.y:3800: error: `COND_AND' undeclared (first use in this function)
policy_parse.y:3801: error: `COND_OR' undeclared (first use in this function)
policy_parse.y:3802: error: `COND_XOR' undeclared (first use in this function)
policy_parse.y:3803: error: `COND_EQ' undeclared (first use in this function)
policy_parse.y:3804: error: `COND_NEQ' undeclared (first use in this function)
policy_parse.y:3809: error: dereferencing pointer to incomplete type
policy_parse.y:3811: error: dereferencing pointer to incomplete type
policy_parse.y:3816: error: dereferencing pointer to incomplete type
policy_parse.y:3822: error: dereferencing pointer to incomplete type
policy_parse.y:3824: error: dereferencing pointer to incomplete type
policy_parse.y:3829: error: dereferencing pointer to incomplete type
policy_parse.y:3830: warning: return from incompatible pointer type
policy_parse.y:3839: error: parse error before ')' token
policy_parse.y:3848: error: dereferencing pointer to incomplete type
policy_parse.y:3850: warning: return from incompatible pointer type
policy_parse.y: At top level:
policy_parse.y:3858: error: parse error before '*' token
policy_parse.y: In function `set_user_roles':
policy_parse.y:3861: error: `role_datum_t' undeclared (first use in this function)
policy_parse.y:3861: error: `r' undeclared (first use in this function)
policy_parse.y:3864: error: `id' undeclared (first use in this function)
policy_parse.y:3866: error: request for member `p_roles' in something not a structure or union
policy_parse.y:3867: error: `set' undeclared (first use in this function)
policy_parse.y:3874: error: request for member `p_roles' in something not a structure or union
policy_parse.y:3884: error: request for member `p_roles' in something not a structure or union
policy_parse.y: At top level:
policy_parse.y:3903: error: parse error before "level_datum_t"
policy_parse.y: In function `parse_categories':
policy_parse.y:3905: error: `cat_datum_t' undeclared (first use in this function)
policy_parse.y:3905: error: `cdatum' undeclared (first use in this function)
policy_parse.y:3908: error: `id' undeclared (first use in this function)
policy_parse.y:3914: error: parse error before ')' token
policy_parse.y:3922: error: parse error before ')' token
policy_parse.y:3937: error: parse error before ')' token
policy_parse.y:3943: error: `levdatum' undeclared (first use in this function)
policy_parse.y:3948: error: request for member `p_cat_val_to_name' in something not a structure or union
policy_parse.y:3949: error: request for member `p_sens_val_to_name' in something not a structure or union
policy_parse.y:3953: error: `cats' undeclared (first use in this function)
policy_parse.y: In function `define_user':
policy_parse.y:3966: error: `user_datum_t' undeclared (first use in this function)
policy_parse.y:3966: error: `usrdatum' undeclared (first use in this function)
policy_parse.y:3968: error: `level_datum_t' undeclared (first use in this function)
policy_parse.y:3968: error: `levdatum' undeclared (first use in this function)
policy_parse.y:3996: error: parse error before ')' token
policy_parse.y:3999: error: parse error before ')' token
policy_parse.y:4006: error: request for member `p_users' in something not a structure or union
policy_parse.y:4008: error: request for member `p_users' in something not a structure or union
policy_parse.y:4009: error: `hashtab_key_t' undeclared (first use in this function)
policy_parse.y:4009: error: parse error before "id"
policy_parse.y:4031: error: parse error before ')' token
policy_parse.y:4058: error: parse error before ')' token
policy_parse.y:4088: warning: implicit declaration of function `ebitmap_cpy'
policy_parse.y:4094: warning: implicit declaration of function `mls_level_dom'
policy_parse.y:4099: warning: implicit declaration of function `mls_level_between'
policy_parse.y: At top level:
policy_parse.y:4116: error: parse error before '*' token
policy_parse.y: In function `parse_security_context':
policy_parse.y:4119: error: `role_datum_t' undeclared (first use in this function)
policy_parse.y:4119: error: `role' undeclared (first use in this function)
policy_parse.y:4120: error: `type_datum_t' undeclared (first use in this function)
policy_parse.y:4120: error: `typdatum' undeclared (first use in this function)
policy_parse.y:4121: error: `user_datum_t' undeclared (first use in this function)
policy_parse.y:4121: error: `usrdatum' undeclared (first use in this function)
policy_parse.y:4122: error: `level_datum_t' undeclared (first use in this function)
policy_parse.y:4122: error: `levdatum' undeclared (first use in this function)
policy_parse.y:4144: error: `c' undeclared (first use in this function)
policy_parse.y:4152: error: parse error before ')' token
policy_parse.y:4171: error: parse error before ')' token
policy_parse.y:4191: error: parse error before ')' token
policy_parse.y:4215: error: parse error before ')' token
policy_parse.y:4255: warning: implicit declaration of function `policydb_context_isvalid'
policy_parse.y:4262: warning: implicit declaration of function `context_destroy'
policy_parse.y: In function `define_initial_sid_context':
policy_parse.y:4271: error: `ocontext_t' undeclared (first use in this function)
policy_parse.y:4271: error: `c' undeclared (first use in this function)
policy_parse.y:4271: error: `head' undeclared (first use in this function)
policy_parse.y:4271: warning: left-hand operand of comma expression has no effect
policy_parse.y:4284: error: request for member `ocontexts' in something not a structure or union
policy_parse.y:4284: error: `OCON_ISID' undeclared (first use in this function)
policy_parse.y: In function `define_fs_context':
policy_parse.y:4313: error: `ocontext_t' undeclared (first use in this function)
policy_parse.y:4313: error: `newc' undeclared (first use in this function)
policy_parse.y:4313: error: `c' undeclared (first use in this function)
policy_parse.y:4313: error: `head' undeclared (first use in this function)
policy_parse.y:4313: warning: left-hand operand of comma expression has no effect
policy_parse.y:4313: warning: left-hand operand of comma expression has no effect
policy_parse.y:4321: error: parse error before ')' token
policy_parse.y:4347: error: request for member `ocontexts' in something not a structure or union
policy_parse.y:4347: error: `OCON_FS' undeclared (first use in this function)
policy_parse.y:4362: error: request for member `ocontexts' in something not a structure or union
policy_parse.y: In function `define_port_context':
policy_parse.y:4369: error: `ocontext_t' undeclared (first use in this function)
policy_parse.y:4369: error: `newc' undeclared (first use in this function)
policy_parse.y:4369: error: `c' undeclared (first use in this function)
policy_parse.y:4369: error: `l' undeclared (first use in this function)
policy_parse.y:4369: error: `head' undeclared (first use in this function)
policy_parse.y:4369: warning: left-hand operand of comma expression has no effect
policy_parse.y:4369: warning: left-hand operand of comma expression has no effect
policy_parse.y:4369: warning: left-hand operand of comma expression has no effect
policy_parse.y:4419: error: request for member `ocontexts' in something not a structure o
Контакти:  Zero_effect

  • AOL  AOL:
  • ICQ  ICQ: 94584818
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #7 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Август 22 2005, 14:37
Zero_effect

Avatar




Група: Li maniacs
Мнения: 489
Регистриран: Юли 2005

Оценка: 5

Offline
Първите грешки (успях разгеле да ги прекопирам като увеличин на unlimited history на конзолата под кнопикс)

cc -g -Wall -O2 -pipe -I. -I/usr/include -o y.tab.o -c y.tab.c
policy_parse.y:32:28: sepol/policydb.h: No such file or directory
policy_parse.y:33:28: sepol/services.h: No such file or directory
policy_parse.y:34:31: sepol/conditional.h: No such file or directory
policy_parse.y:35:25: sepol/flask.h: No such file or directory
policy_parse.y:36:29: sepol/hierarchy.h: No such file or directory
In file included from policy_parse.y:38:
checkpolicy.h:4:27: sepol/ebitmap.h: No such file or directory
In file included from policy_parse.y:38:
checkpolicy.h:7: error: parse error before "ebitmap_t"
checkpolicy.h:7: warning: no semicolon at end of struct or union
checkpolicy.h:8: warning: type defaults to `int' in declaration of `ttypes'
checkpolicy.h:8: warning: data definition has no type or storage class
checkpolicy.h:9: error: parse error before "tclasses"
checkpolicy.h:9: warning: type defaults to `int' in declaration of `tclasses'
checkpolicy.h:9: warning: data definition has no type or storage class
checkpolicy.h:11: error: parse error before '*' token
checkpolicy.h:11: warning: type defaults to `int' in declaration of `avp'
checkpolicy.h:11: warning: data definition has no type or storage class
checkpolicy.h:14: error: parse error before '}' token
checkpolicy.h:14: warning: type defaults to `int' in declaration of `te_assert_t'
checkpolicy.h:14: warning: data definition has no type or storage class
checkpolicy.h:16: error: parse error before '*' token
checkpolicy.h:16: warning: type defaults to `int' in declaration of `te_assertions'
checkpolicy.h:16: warning: data definition has no type or storage class
policy_parse.y:45: error: parse error before '*' token
policy_parse.y:45: warning: type defaults to `int' in declaration of `conditional_unused_error_code'
policy_parse.y:45: warning: data definition has no type or storage class
policy_parse.y:51: error: parse error before '*' token
policy_parse.y:51: warning: type defaults to `int' in declaration of `policydbp'
policy_parse.y:51: warning: data definition has no type or storage class
policy_parse.y:84: error: parse error before '*' token
policy_parse.y:84: error: parse error before '*' token
policy_parse.y:84: warning: type defaults to `int' in declaration of `merge_roles_dom'
policy_parse.y:84: warning: data definition has no type or storage class
policy_parse.y:85: error: parse error before '*' token
policy_parse.y:85: error: parse error before '*' token
policy_parse.y:85: warning: type defaults to `int' in declaration of `define_role_dom'
policy_parse.y:85: warning: data definition has no type or storage class
policy_parse.y:89: error: parse error before '*' token
policy_parse.y:90: error: parse error before '*' token
policy_parse.y:92: error: parse error before '*' token
policy_parse.y:93: error: parse error before '*' token
policy_parse.y:93: warning: type defaults to `int' in declaration of `define_cond_expr'
policy_parse.y:93: warning: data definition has no type or storage class
policy_parse.y:94: error: parse error before '*' token
policy_parse.y:94: error: parse error before '*' token
policy_parse.y:94: warning: type defaults to `int' in declaration of `define_cond_pol_list'
policy_parse.y:94: warning: data definition has no type or storage class
policy_parse.y:95: error: parse error before '*' token
policy_parse.y:95: warning: type defaults to `int' in declaration of `define_cond_compute_type'
policy_parse.y:95: warning: data definition has no type or storage class
policy_parse.y:96: error: parse error before '*' token
policy_parse.y:96: warning: type defaults to `int' in declaration of `define_cond_te_avtab'
policy_parse.y:96: warning: data definition has no type or storage class
policy_parse.y:97: error: parse error before '*' token
policy_parse.y:97: error: parse error before '*' token
policy_parse.y:97: warning: type defaults to `int' in declaration of `cond_list_append'
policy_parse.y:97: warning: data definition has no type or storage class
policy_parse.y:98: error: parse error before '*' token
policy_parse.y:101: error: parse error before '*' token
policy_parse.y: In function `yyparse':
policy_parse.y:186: warning: implicit declaration of function `policydb_index_classes'
policy_parse.y:188: warning: implicit declaration of function `policydb_index_bools'
policy_parse.y:189: warning: implicit declaration of function `policydb_index_others'
policy_parse.y:271: error: `constraint_expr_t' undeclared (first use in this function)
policy_parse.y:271: error: (Each undeclared identifier is reported only once
policy_parse.y:271: error: for each function it appears in.)
policy_parse.y:271: error: parse error before ')' token
policy_parse.y:274: error: parse error before ')' token
policy_parse.y:324: error: `cond_expr_t' undeclared (first use in this function)
policy_parse.y:324: error: parse error before ')' token
policy_parse.y:324: error: `cond_av_list_t' undeclared (first use in this function)
policy_parse.y:324: error: parse error before ')' token
policy_parse.y:324: error: parse error before ')' token
policy_parse.y:326: error: parse error before ')' token
policy_parse.y:326: error: parse error before ')' token
policy_parse.y:326: error: parse error before ')' token
policy_parse.y:328: error: parse error before ')' token
policy_parse.y:328: error: parse error before ')' token
policy_parse.y:328: error: parse error before ')' token
policy_parse.y:330: error: parse error before ')' token
policy_parse.y:330: error: parse error before ')' token
policy_parse.y:339: error: `COND_NOT' undeclared (first use in this function)
policy_parse.y:342: error: `COND_AND' undeclared (first use in this function)
policy_parse.y:345: error: `COND_OR' undeclared (first use in this function)
policy_parse.y:348: error: `COND_XOR' undeclared (first use in this function)
policy_parse.y:351: error: `COND_EQ' undeclared (first use in this function)
policy_parse.y:354: error: `COND_NEQ' undeclared (first use in this function)
policy_parse.y:360: error: `COND_BOOL' undeclared (first use in this function)
policy_parse.y:361: error: parse error before ')' token
policy_parse.y:364: error: parse error before ')' token
policy_parse.y:366: error: parse error before ')' token
policy_parse.y:366: error: parse error before ')' token
policy_parse.y:374: error: `AVTAB_TRANSITION' undeclared (first use in this function)
policy_parse.y:375: error: parse error before ')' token
policy_parse.y:377: error: `AVTAB_MEMBER' undeclared (first use in this function)
policy_parse.y:378: error: parse error before ')' token
policy_parse.y:380: error: `AVTAB_CHANGE' undeclared (first use in this function)
policy_parse.y:381: error: parse error before ')' token
policy_parse.y:393: error: `AVTAB_ALLOWED' undeclared (first use in this function)
policy_parse.y:394: error: parse error before ')' token
policy_parse.y:397: error: `AVTAB_AUDITALLOW' undeclared (first use in this function)
policy_parse.y:398: error: parse error before ')' token
policy_parse.y:401: error: `AVTAB_AUDITDENY' undeclared (first use in this function)
policy_parse.y:402: error: parse error before ')' token
policy_parse.y:406: error: parse error before ')' token
policy_parse.y:453: error: `role_datum_t' undeclared (first use in this function)
policy_parse.y:453: error: parse error before ')' token
policy_parse.y:453: error: parse error before ')' token
policy_parse.y:458: error: parse error before ')' token
policy_parse.y:470: error: parse error before ')' token
policy_parse.y:473: error: parse error before ')' token
policy_parse.y:478: error: `CEXPR_NOT' undeclared (first use in this function)
policy_parse.y:481: error: `CEXPR_AND' undeclared (first use in this function)
policy_parse.y:484: error: `CEXPR_OR' undeclared (first use in this function)
policy_parse.y:490: error: `CEXPR_ATTR' undeclared (first use in this function)
policy_parse.y:490: error: `CEXPR_USER' undeclared (first use in this function)
policy_parse.y:493: error: `CEXPR_ROLE' undeclared (first use in this function)
policy_parse.y:496: error: `CEXPR_TYPE' undeclared (first use in this function)
policy_parse.y:499: error: `CEXPR_NAMES' undeclared (first use in this function)
policy_parse.y:502: error: `CEXPR_TARGET' undeclared (first use in this function)
policy_parse.y:505: error: `CEXPR_XTARGET' undeclared (first use in this function)
policy_parse.y:526: error: `CEXPR_EQ' undeclared (first use in this function)
policy_parse.y:544: error: `CEXPR_L1L2' undeclared (first use in this function)
policy_parse.y:547: error: `CEXPR_L1H2' undeclared (first use in this function)
policy_parse.y:550: error: `CEXPR_H1L2' undeclared (first use in this function)
policy_parse.y:553: error: `CEXPR_H1H2' undeclared (first use in this function)
policy_parse.y:556: error: `CEXPR_L1H1' undeclared (first use in this function)
policy_parse.y:559: error: `CEXPR_L2H2' undeclared (first use in this function)
policy_parse.y:565: error: `CEXPR_NEQ' undeclared (first use in this function)
policy_parse.y:570: error: `CEXPR_DOM' undeclared (first use in this function)
policy_parse.y:572: error: `CEXPR_DOMBY' undeclared (first use in this function)
policy_parse.y:574: error: `CEXPR_INCOMP' undeclared (first use in this function)
policy_parse.y:640: error: `SECURITY_FS_USE_XATTR' undeclared (first use in this function)
policy_parse.y:642: error: `SECURITY_FS_USE_TASK' undeclared (first use in this function)
policy_parse.y:644: error: `SECURITY_FS_USE_TRANS' undeclared (first use in this function)
policy_parse.y: In function `insert_id':
policy_parse.y:789: warning: implicit declaration of function `strlen'
policy_parse.y:794: warning: implicit declaration of function `strcpy'
policy_parse.y: In function `id_has_dot':
policy_parse.y:811: warning: implicit declaration of function `strchr'
policy_parse.y: In function `define_class':
policy_parse.y:820: error: `class_datum_t' undeclared (first use in this function)
policy_parse.y:820: error: `datum' undeclared (first use in this function)
policy_parse.y:840: error: parse error before ')' token
policy_parse.y:845: warning: implicit declaration of function `memset'
policy_parse.y:846: error: request for member `p_classes' in something not a structure or union
policy_parse.y:848: warning: implicit declaration of function `hashtab_insert'
policy_parse.y:848: error: request for member `p_classes' in something not a structure or union
policy_parse.y:849: error: `hashtab_key_t' undeclared (first use in this function)
policy_parse.y:849: error: parse error before "id"
policy_parse.y:851: error: `HASHTAB_PRESENT' undeclared (first use in this function)
policy_parse.y:852: error: request for member `p_classes' in something not a structure or union
policy_parse.y:856: error: `HASHTAB_OVERFLOW' undeclared (first use in this function)
policy_parse.y: In function `define_initial_sid':
policy_parse.y:873: error: `ocontext_t' undeclared (first use in this function)
policy_parse.y:873: error: `newc' undeclared (first use in this function)
policy_parse.y:873: error: `c' undeclared (first use in this function)
policy_parse.y:873: error: `head' undeclared (first use in this function)
policy_parse.y:873: warning: left-hand operand of comma expression has no effect
policy_parse.y:873: warning: left-hand operand of comma expression has no effect
policy_parse.y:887: error: parse error before ')' token
policy_parse.y:894: warning: implicit declaration of function `context_init'
policy_parse.y:895: error: request for member `ocontexts' in something not a structure or union
policy_parse.y:895: error: `OCON_ISID' undeclared (first use in this function)
policy_parse.y:898: warning: implicit declaration of function `strcmp'
policy_parse.y:899: warning: implicit declaration of function `sprintf'
policy_parse.y:911: error: request for member `ocontexts' in something not a structure or union
policy_parse.y: In function `define_common_perms':
policy_parse.y:926: error: `common_datum_t' undeclared (first use in this function)
policy_parse.y:926: error: `comdatum' undeclared (first use in this function)
policy_parse.y:927: error: `perm_datum_t' undeclared (first use in this function)
policy_parse.y:927: error: `perdatum' undeclared (first use in this function)
policy_parse.y:942: error: parse error before ')' token
policy_parse.y:948: error: request for member `p_commons' in something not a structure or union
policy_parse.y:949: error: request for member `p_commons' in something not a structure or union
policy_parse.y:950: error: `hashtab_key_t' undeclared (first use in this function)
policy_parse.y:950: error: parse error before "id"
policy_parse.y:952: error: `HASHTAB_PRESENT' undeclared (first use in this function)
policy_parse.y:956: error: `HASHTAB_OVERFLOW' undeclared (first use in this function)
policy_parse.y:960: warning: implicit declaration of function `symtab_init'
policy_parse.y:960: error: `PERM_SYMTAB_SIZE' undeclared (first use in this function)
policy_parse.y:965: error: parse error before ')' token
policy_parse.y:973: error: `sepol_access_vector_t' undeclared (first use in this function)
policy_parse.y:978: error: parse error before "perm"
policy_parse.y: In function `define_av_perms':
Контакти:  Zero_effect

  • AOL  AOL:
  • ICQ  ICQ: 94584818
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #8 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Август 22 2005, 14:39
Zero_effect

Avatar




Група: Li maniacs
Мнения: 489
Регистриран: Юли 2005

Оценка: 5

Offline
Изглежда му трябва следния пакет

http://www.nsa.gov/selinux/archives/libsepol-1.6.tgz
Контакти:  Zero_effect

  • AOL  AOL:
  • ICQ  ICQ: 94584818
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #9 Skip to the next post in this topic.
Skip to the previous post in this topic. Написано на: Август 22 2005, 14:57
mcwolf

No avatar chosen




Група: Li gurus
Мнения: 1489
Регистриран: Април 2005

Оценка: 5

Offline
:) тия грешки са в следствие на липсващ хедър файл - те не значат нищо сами по себеси - просто ти казват че дадени функций и/или променливи не са декларирани - така че първата грешка ще бъде за липсващ фаил - гледаш кой е фаилът и после проверяваш кой пакет го доставя тоя файл - ако съобщенията ти минават прекалено бързо пренасочи стандартият изход в някое текстово фаилче и после го разгледаи - aко компилираш с make използвай нещо подобно make > filename - така целият изход от make ще се запише в filename и ще можеш да го прегледаш наспокойствие

ето за такива грешки става дума
checkpolicy.h:4:27: sepol/ebitmap.h: No such file or directory
после питаш google за ebitmap.h и виждаш че е в пакетът libsepol-devel - така че добре си се ориентирал :)


Редактирано от mcwolf на Август 22 2005, 15:04
Контакти:  mcwolf

  • AOL  AOL:
  • ICQ  ICQ:
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Мнение #10
Skip to the previous post in this topic. Написано на: Август 22 2005, 15:06
Zero_effect

Avatar




Група: Li maniacs
Мнения: 489
Регистриран: Юли 2005

Оценка: 5

Offline
Mda, tova, koeto kazah beshe i mnogo blagodarq za pomoshta. Vse pak sega trqbva da se opravq s flex, koito se pravi na lex i razpravq:

lex policy_scan.l
/usr/bin/flex: Unrecognized option `1'
Try `flex --help' for more information
make: ***[lex.yy.c] Error 1

Tova moje li da mi go obqsnish?
Контакти:  Zero_effect

  • AOL  AOL:
  • ICQ  ICQ: 94584818
  • MSN  MSN:
  • YIM  Yahoo IM:
WEB  
Общо 11 отговор(а) от Август 21 2005, 21:32 до сега
 » Начало » Li Форуми » Help & Support » Applications » Instalirane na SELinux?

© 2014 Linux Index Project
Powered by iF 1.0.0 © 2006 ikonForums