MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / have_security_name_privilege

Function have_security_name_privilege

cppcryptfs/dokan/cryptdokan.cpp:2470–2481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2468}
2469
2470BOOL have_security_name_privilege() {
2471 static BOOL bHaveName = FALSE;
2472 static BOOL bCheckedName = FALSE;
2473
2474 if (!bCheckedName) {
2475 bHaveName = AddSeSecurityNamePrivilege();
2476 bCheckedName = TRUE;
2477 g_HasSeSecurityPrivilege = bHaveName;
2478 }
2479
2480 return bHaveName;
2481}
2482
2483void init_security_name_privilege() { have_security_name_privilege(); }
2484

Callers 2

mount_crypt_fsFunction · 0.85

Calls 1

Tested by

no test coverage detected