components/openscap/patches/file.c.patch
changeset 4262 a41cef0f4f68
parent 4261 5631096debec
child 4263 078df530ebdb
equal deleted inserted replaced
4261:5631096debec 4262:a41cef0f4f68
     1 This patch is required to fix file probe to support the has_extended_acl
       
     2 attribute in OVAL.
       
     3 This patch has not been contributed to upstream, but is planned to be
       
     4 completed by 2015-Jan-31.
       
     5  
       
     6 --- openscap-1.1.1/src/OVAL/probes/unix/file.c~1~	2014-10-27 12:41:33.138555312 -0700
       
     7 +++ openscap-1.1.1/src/OVAL/probes/unix/file.c	2014-10-27 12:40:05.815261373 -0700
       
     8 @@ -261,7 +261,7 @@
       
     9  	}
       
    10  	return (has_acl == 1) ? gr_true : gr_false;
       
    11  #elif defined(OS_SOLARIS)
       
    12 -	return acl_trivial(st_path) ? gr_true : gr_false;
       
    13 +	return acl_trivial(path) ? gr_true : gr_false;
       
    14  #else
       
    15  	return NULL;
       
    16  #endif