Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Assign reasonable priorities for certain system calls

オープン
#3 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
go
領域
cli, security

調査の方向性

まず、Go CLI が現在どのように seccomp フィルターを構築しているか、また libseccomp ルールの優先度がどのように公開されているかを確認します。優先度を一般的なシステムコールの使用状況に従わせるべきか、引数や設定で指定された順序に従わせるべきかを判断し、その後、生成されたフィルターが選択したポリシーを反映していることを確認します。

索引モデルが issue の本文から書いたものです。

説明

enhancement

seccomp filter overhead is O(n) in the worst case where n is the amount of system calls included in the filter.
This can be partially compensated by reordering BPF instructions in a way that checks for more-often-used calls first. libseccomp provides API for that (rule priorities).

Two possible way to implement it:
A. Assign priorities depending on common expectations (e.g. futex first, then I/O calls, then file and network I/O, also mmap somewhere).
B. Assign priorities depending on the order calls are specified in arguments/configuration and thus leave this job to the policy author.

主要言語
Go
スター
3
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

foxcpp/scmp-confine のほかの issue

foxcpp/scmp-confine の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。