Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ポート < 1024 にバインドするプログラムを C で作成しています。その後、非ルート権限で実行したいと考えています。
setuid() を呼び出す必要があることはわかっていますが、引数は何ですか? UID はシステムによって異なります。
あなたが知りたいと思う以上のことhttp://www.eecs.berkeley.edu/~daw/papers/setuid-usenix02.pdf