Re: [libvirt] [PATCH 4/4] cfg.mk: block use of d_type from dirent by default

2019-04-02 Thread Michal Privoznik
On 4/2/19 2:40 PM, Daniel P. Berrangé wrote: The use of d_type is non-portable and leads to surprises when the OS does not fill in any value except DT_UNKNOWN. Blacklist its usage except in files which inherantly don't require portability (cgroup and selinux) s/and selinux// Signed-off-by:

[libvirt] [PATCH 4/4] cfg.mk: block use of d_type from dirent by default

2019-04-02 Thread Daniel P . Berrangé
The use of d_type is non-portable and leads to surprises when the OS does not fill in any value except DT_UNKNOWN. Blacklist its usage except in files which inherantly don't require portability (cgroup and selinux) Signed-off-by: Daniel P. Berrangé --- cfg.mk | 16 1 file