mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
parent
30a02a5d92
commit
1592e78387
@ -237,8 +237,10 @@ namespace Pci {
|
||||
} catch (Xml_attribute::Nonexistent_attribute) {
|
||||
return;
|
||||
}
|
||||
/* if this does not identical matches - deny access */
|
||||
if ((class_sub_prog & class_code) != class_sub_prog)
|
||||
|
||||
enum { DONT_CHECK_PROGIF = 8 };
|
||||
/* if class/subclass don't match - deny */
|
||||
if ((class_sub_prog ^ class_code) >> DONT_CHECK_PROGIF)
|
||||
return;
|
||||
|
||||
/* if this bdf is used by some policy - deny */
|
||||
|
Loading…
Reference in New Issue
Block a user