Changeset 27877 in vbox
- Timestamp:
- Mar 31, 2010 10:29:46 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 59562
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
r26498 r27877 635 635 /* XXX cap_net_bind_service */ 636 636 if (!cap_set_proc(cap_from_text("all-eip cap_net_raw+ep"))) 637 prctl(PR_SET_KEEPCAPS, /*keep=*/1, 0, 0, 0); 637 prctl(PR_SET_KEEPCAPS, 1 /*keep=*/, 0, 0, 0); 638 prctl(PR_SET_DUMPABLE, 1 /*dump*/, 0, 0, 0); 638 639 # else 639 640 cap_user_header_t hdr = (cap_user_header_t)alloca(sizeof(*hdr)); … … 645 646 cap->permitted = g_uCaps; 646 647 if (!capset(hdr, cap)) 647 prctl(PR_SET_KEEPCAPS, /*keep=*/1, 0, 0, 0); 648 prctl(PR_SET_KEEPCAPS, 1 /*keep*/, 0, 0, 0); 649 prctl(PR_SET_DUMPABLE, 1 /*dump*/, 0, 0, 0); 648 650 # endif /* !USE_LIB_PCAP */ 649 651 }
Note:
See TracChangeset
for help on using the changeset viewer.