Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why HN was slow and how Rtm fixed it. Parent comment
Yep. The arc webserver runs directly on port 80, for which it needs to run as root. To avoid all sorts of security headaches, it runs:
(setuid 2)
The whole thing seems hacky.
There are no comments on this comment yet.
Yep. The arc webserver runs directly on port 80, for which it needs to run as root. To avoid all sorts of security headaches, it runs:
soon after startup.The whole thing seems hacky.