diff options
Diffstat (limited to 'cmds/incidentd/src/Section.cpp')
-rw-r--r-- | cmds/incidentd/src/Section.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmds/incidentd/src/Section.cpp b/cmds/incidentd/src/Section.cpp index 935a7c43fe90..85c5a20174c3 100644 --- a/cmds/incidentd/src/Section.cpp +++ b/cmds/incidentd/src/Section.cpp @@ -63,6 +63,15 @@ static pid_t fork_execute_incident_helper(const int id, Fpipe* p2cPipe, Fpipe* c return fork_execute_cmd(const_cast<char**>(ihArgs), p2cPipe, c2pPipe); } +bool section_requires_specific_mention(int sectionId) { + switch (sectionId) { + case 3025: // restricted_images + return true; + default: + return false; + } +} + // ================================================================================ Section::Section(int i, int64_t timeoutMs) : id(i), |