-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b6414e7
commit 1a07520
Showing
4 changed files
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#include <stdbool.h> | ||
#include "seccomp_rules.h" | ||
|
||
|
||
int c_cpp_file_io_seccomp_rules(struct config *_config) { | ||
return _c_cpp_seccomp_rules(_config, true); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
#ifndef JUDGER_SECCOMP_RULES_H | ||
#define JUDGER_SECCOMP_RULES_H | ||
#include <stdbool.h> | ||
#include "../runner.h" | ||
|
||
int _c_cpp_seccomp_rules(struct config *_config, bool allow_write_file); | ||
int c_cpp_seccomp_rules(struct config *_config); | ||
int general_seccomp_rules(struct config *_config); | ||
int c_cpp_file_io_seccomp_rules(struct config *_config); | ||
|
||
#endif //JUDGER_SECCOMP_RULES_H |