OSDN Git Service

KVM: Replaces symbolic permissions with numeric
authorRoman Storozhenko <romeusmeister@gmail.com>
Tue, 27 Jun 2017 09:51:18 +0000 (12:51 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Jun 2017 13:41:02 +0000 (15:41 +0200)
commit039c5d1b2c5f249f5a291215eb5f0eb0afd54f81
tree5091d9520b5a8a95b499feb97821a9057b3215a8
parent865279c53ca9d88718d974bb014b2c6ce259ac75
KVM: Replaces symbolic permissions with numeric

Replaces "S_IRUGO | S_IWUSR" with 0644. The reason is that symbolic
permissions considered harmful:
https://lwn.net/Articles/696229/

Signed-off-by: Roman Storozhenko <romeusmeister@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/kvm_main.c