Searched refs:new_rule (Results 1 – 6 of 6) sorted by relevance
/external/ltp/testcases/kernel/security/smack/ |
D | smack_set_cipso.sh | 31 new_rule=$(grep "^TheOne" "$smackfsdir/cipso" 2>/dev/null) 32 if [ "$new_rule" = "" ]; then 35 right=$(echo "$new_rule" | grep ' 2') 37 tst_brkm TFAIL "Rule \"$new_rule\" is not set correctly." 41 new_rule=$(grep "^TheOne" "$smackfsdir/cipso" 2>/dev/null) 42 if [ "$new_rule" = "" ]; then 45 right=$(echo $new_rule | grep '/55') 47 tst_brkm TFAIL "Rule \"$new_rule\" is not set correctly." 51 new_rule=$(grep "^TheOne" "$smackfsdir/cipso" 2>/dev/null) 52 if [ "$new_rule" = "" ]; then [all …]
|
D | smack_set_load.sh | 30 new_rule=$(grep "^TheOne" "$smackfsdir/load" 2>/dev/null | grep ' TheOther ') 31 if [ "$new_rule" = "" ]; then 34 mode=$(echo "$new_rule" | sed -e 's/.* //') 36 tst_brkm TFAIL "Rule \"$new_rule\" is not set correctly." 40 new_rule=$(grep "^TheOne" "$smackfsdir/load" 2>/dev/null | grep ' TheOther ') 41 if [ "$new_rule" = "" ]; then 44 mode=$(echo "$new_rule" | sed -e 's/.* //') 46 tst_brkm TFAIL "Rule \"$new_rule\" is not set correctly." 49 if [ "$old_rule" != "$new_rule" ]; then 51 "to \"$new_rule\"."
|
D | smack_file_access.sh | 53 new_rule=$(grep "^TheOne" "$smackfsdir/load" 2>/dev/null | grep ' TheOther ') 54 if [ "$new_rule" = "" ]; then 57 mode=$(echo $new_rule | sed -e 's/.* //') 59 tst_brkm TFAIL "Rule \"$new_rule\" is not set correctly." 78 new_rule=$(grep "^TheOne" $smackfsdir/load 2>/dev/null | grep ' TheOther ') 79 if [ "$new_rule" = "" ]; then 82 mode=$(echo $new_rule | sed -e 's/.* //') 84 tst_brkm TFAIL "Rule \"$new_rule\" is not set correctly." 87 if [ "$old_rule" != "$new_rule" ]; then 89 "to \"$new_rule\"."
|
/external/selinux/libsepol/src/ |
D | link.c | 1252 avrule_t *cur, *new_rule = NULL, *tail; in copy_avrule_list() local 1262 if ((new_rule = (avrule_t *) malloc(sizeof(avrule_t))) == NULL) { in copy_avrule_list() 1265 avrule_init(new_rule); in copy_avrule_list() 1267 new_rule->specified = cur->specified; in copy_avrule_list() 1268 new_rule->flags = cur->flags; in copy_avrule_list() 1270 (&cur->stypes, &new_rule->stypes, module, state) == -1 in copy_avrule_list() 1271 || type_set_convert(&cur->ttypes, &new_rule->ttypes, module, in copy_avrule_list() 1289 if (new_rule->specified & AVRULE_AV) { in copy_avrule_list() 1307 if (new_rule->perms == NULL) { in copy_avrule_list() 1308 new_rule->perms = new_perm; in copy_avrule_list() [all …]
|
/external/iptables/iptables/ |
D | nft.c | 2208 const char *table, struct nftnl_rule *new_rule, int rulenum, in nft_rule_insert() argument 2225 r = nft_rule_find(h, c, new_rule, rulenum); in nft_rule_insert() 2230 r = nft_rule_find(h, c, new_rule, rulenum - 1); in nft_rule_insert() 2233 new_rule, NULL, verbose); in nft_rule_insert() 2240 new_rule = nft_rule_add(h, chain, table, new_rule, r, verbose); in nft_rule_insert() 2241 if (!new_rule) in nft_rule_insert() 2245 nftnl_chain_rule_insert_at(new_rule, r); in nft_rule_insert() 2247 nftnl_chain_rule_add(new_rule, c->nftnl); in nft_rule_insert() 2555 struct nftnl_rule *r, *new_rule; in nft_rule_zero_counters() local 2575 new_rule = nft_rule_new(h, chain, table, &cs); in nft_rule_zero_counters() [all …]
|
/external/iptables/libiptc/ |
D | libiptc.c | 973 goto new_rule; in cache_add_entry() 977 new_rule: in cache_add_entry()
|