| 2468 | } |
| 2469 | |
| 2470 | BOOL 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 | |
| 2483 | void init_security_name_privilege() { have_security_name_privilege(); } |
| 2484 |
no test coverage detected