Changeset 63474 in vbox for trunk/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
- Timestamp:
- Aug 15, 2016 1:07:30 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
r63463 r63474 643 643 } 644 644 #else 645 (void)write(2, pch, cch); 645 int res = write(2, pch, cch); 646 NOREF(res); 646 647 #endif 647 648 } … … 1939 1940 /* This is the preferred one, full control no questions about semantics. 1940 1941 PORTME: If this isn't work, try join one of two other gangs above. */ 1941 setresgid(g_gid, g_gid, g_gid); 1942 setresuid(g_uid, g_uid, g_uid); 1942 int res = setresgid(g_gid, g_gid, g_gid); 1943 NOREF(res); 1944 res = setresuid(g_uid, g_uid, g_uid); 1945 NOREF(res); 1943 1946 if (getresuid(&ruid, &euid, &suid) != 0) 1944 1947 {
Note:
See TracChangeset
for help on using the changeset viewer.