MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / testScreen

Function testScreen

src/dmtcp_launch.cpp:709–718  ·  view source on GitHub ↗

Test for 'screen' program, argvPtr is an in- and out- parameter

Source from the content-addressed store, hash-verified

707
708// Test for 'screen' program, argvPtr is an in- and out- parameter
709static bool
710testScreen(const char **argv, const char ***newArgv)
711{
712 if (Util::isScreen(argv[0])) {
713 Util::setScreenDir();
714 Util::patchArgvIfSetuid(argv[0], argv, newArgv);
715 return true;
716 }
717 return false;
718}
719
720// Test for fsgsbase feature.
721static void

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected