Support getrandom syscall on FreeBSD
未關閉
還沒有人認領這個 Issue。
extension-modules
OS-freebsd
type-feature
- 主要語言
- Python
- 星號
- 77.2k
- 分支
- 35.9k
- PR 合併指標
- PR 指標待擷取
描述
Feature or enhancement
Proposal:
At least FreeBSD and NetBSD also implement getrandom using the same semantics as Linux >= 3.17. The only thing preventing its use is linux specific headers being used in configure to test for its existence.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
- gh-144131
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從使用 Linux 特定標頭測試 getrandom 的 configure 檢查開始。驗證 FreeBSD 和 NetBSD 上的偵測語義,並在這些系統能夠使用 getrandom,且不會因僅適用於 Linux 的檢查而阻止支援時,視為工作完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- linux, python
- 領域
- build-system, operating-systems
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100