gooderp18绿色标准版
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

25 行
711B

  1. /*
  2. * restricted_token.h
  3. * helper routine to ensure restricted token on Windows
  4. *
  5. * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
  6. * Portions Copyright (c) 1994, Regents of the University of California
  7. *
  8. * src/include/common/restricted_token.h
  9. */
  10. #ifndef COMMON_RESTRICTED_TOKEN_H
  11. #define COMMON_RESTRICTED_TOKEN_H
  12. /*
  13. * On Windows make sure that we are running with a restricted token,
  14. * On other platforms do nothing.
  15. */
  16. void get_restricted_token(void);
  17. #ifdef WIN32
  18. /* Create a restricted token and execute the specified process with it. */
  19. HANDLE CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo);
  20. #endif
  21. #endif /* COMMON_RESTRICTED_TOKEN_H */
上海开阖软件有限公司 沪ICP备12045867号-1