Skip to content

Commit 6cc3575

Browse files
ShadowCurseJackThomson2
authored andcommitted
chore(seccomp): remove redundant rules
With new rust version and new bundled musl 1.2.5 these syscalls are no longer required. Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
1 parent b61c671 commit 6cc3575

2 files changed

Lines changed: 0 additions & 52 deletions

File tree

resources/seccomp/aarch64-unknown-linux-musl.json

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -663,19 +663,6 @@
663663
}
664664
]
665665
},
666-
{
667-
"syscall": "madvise",
668-
"comment": "Triggered on some deallocation paths in musl free()",
669-
"args": [
670-
{
671-
"index": 2,
672-
"type": "dword",
673-
"op": "eq",
674-
"val": 8,
675-
"comment": "libc::MADV_FREE"
676-
}
677-
]
678-
},
679666
{
680667
"syscall": "mmap",
681668
"comment": "Used for reading the timezone in LocalTime::now()",
@@ -914,19 +901,6 @@
914901
}
915902
]
916903
},
917-
{
918-
"syscall": "madvise",
919-
"comment": "Triggered on some deallocation paths in musl free()",
920-
"args": [
921-
{
922-
"index": 2,
923-
"type": "dword",
924-
"op": "eq",
925-
"val": 8,
926-
"comment": "libc::MADV_FREE"
927-
}
928-
]
929-
},
930904
{
931905
"syscall": "mmap",
932906
"comment": "Used for reading the timezone in LocalTime::now()",

resources/seccomp/x86_64-unknown-linux-musl.json

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -675,19 +675,6 @@
675675
}
676676
]
677677
},
678-
{
679-
"syscall": "madvise",
680-
"comment": "Triggered on some deallocation paths in musl free()",
681-
"args": [
682-
{
683-
"index": 2,
684-
"type": "dword",
685-
"op": "eq",
686-
"val": 8,
687-
"comment": "libc::MADV_FREE"
688-
}
689-
]
690-
},
691678
{
692679
"syscall": "mmap",
693680
"comment": "Used for large buffers sent to api_server",
@@ -926,19 +913,6 @@
926913
}
927914
]
928915
},
929-
{
930-
"syscall": "madvise",
931-
"comment": "Triggered on some deallocation paths in musl free()",
932-
"args": [
933-
{
934-
"index": 2,
935-
"type": "dword",
936-
"op": "eq",
937-
"val": 8,
938-
"comment": "libc::MADV_FREE"
939-
}
940-
]
941-
},
942916
{
943917
"syscall": "mmap",
944918
"comment": "Used for reading the timezone in LocalTime::now()",

0 commit comments

Comments
 (0)