File tree Expand file tree Collapse file tree 1 file changed +0
-31
lines changed
src/OVAL/probes/independent Expand file tree Collapse file tree 1 file changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -412,37 +412,6 @@ int probe_main(probe_ctx *ctx, void *arg)
412
412
SEXP_free (ent_val );
413
413
assume_d (pfd .pattern != NULL , -1 );
414
414
415
- /* reset filebehavior attributes if 'filepath' entity is used */
416
- if (filepath_ent != NULL && bh_ent != NULL ) {
417
- SEXP_t * r1 , * r2 , * r3 ;
418
- r1 = r2 = r3 = NULL ;
419
- if (probe_ent_attrexists (bh_ent , "ignore_case" )) {
420
- r1 = probe_ent_getattrval (bh_ent , "ignore_case" );
421
- }
422
- if (probe_ent_attrexists (bh_ent , "multiline" )) {
423
- r2 = probe_ent_getattrval (bh_ent , "multiline" );
424
- }
425
- if (probe_ent_attrexists (bh_ent , "singleline" )) {
426
- r3 = probe_ent_getattrval (bh_ent , "singleline" );
427
- }
428
- r0 = SEXP_list_new (NULL );
429
- SEXP_free (bh_ent );
430
- bh_ent = probe_ent_creat1 ("behaviors" , r0 , NULL );
431
- SEXP_free (r0 );
432
- if (r1 ) {
433
- probe_ent_attr_add (bh_ent , "ignore_case" , r1 );
434
- SEXP_free (r1 );
435
- }
436
- if (r2 ) {
437
- probe_ent_attr_add (bh_ent , "multiline" , r2 );
438
- SEXP_free (r2 );
439
- }
440
- if (r3 ) {
441
- probe_ent_attr_add (bh_ent , "singleline" , r3 );
442
- SEXP_free (r3 );
443
- }
444
- }
445
-
446
415
probe_tfc54behaviors_canonicalize (& bh_ent );
447
416
448
417
pfd .instance_ent = inst_ent ;
You can’t perform that action at this time.
0 commit comments