Selectively intuitive setuid behavior
未關閉
- 主要語言
- Python
- 星號
- 373
- 分支
- 105
- 平均合併
- 4 分鐘
- 30 天內合併 PR
- 2
描述
In my mediocre, pre-'90s universe, we use `setuid` to ascertain that _we may drop privileges_ **after** binding the socket.
This is necessary, as _one does not simply_ bind a port below 1025 without doing so as root.
_In fact, that is the sole reason to run such stuff as root._
However, when set (left) as such, the software attempts to drop its privileges _as soon as it evaluates the arguments_.
To me, this makes somewhat limited sense.
Am I missing something?
I would be glad to receive some pointers.
貢獻指南
評估
這個 Issue 還沒有評估資料。