Use integrity_level >= HIGH for is_high_integrity
authorCharles Giessen <charles@lunarg.com>
Mon, 21 Nov 2022 22:08:59 +0000 (15:08 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Mon, 28 Nov 2022 23:29:17 +0000 (17:29 -0600)
commit76529312e0b872e86f60519243ee66a209461996
treee627f71ac826b1502f3dabd35eb8467f84823928
parent595993488ace91448d6ab809da0d1dc4a9f4128e
Use integrity_level >= HIGH for is_high_integrity

Previously it used integrity_level > MEDIUM, which causes issues since
occasionally windows elevates certain regular user mode processes to
be MEDIUM + 0x100 or similar, causing the `is_high_integrity()` to
return true even though it isn't an admin level process.
loader/loader_environment.c