aio-libs / aio-libs/aiosmtpd

Selectively intuitive setuid behavior

未關閉
#275 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
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 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。