Software /
code /
prosody
File
spec/util_poll_spec.lua @ 11047:93cdd1ece689
mod_posix: Remove ancient undocumented user switching
User switching has been done by prosodyctl or init scripts for a very
long time now, so this is not needed.
Using this would not have worked with module reloading (e.g. to reload
certificates) since ports are closed and re-bound, which would then not
be allowed.
Today there exists better ways to grant low ports, i.e. capabilities(7)
<Zash> Why do we have this?
<MattJ> Remove it
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 24 Aug 2020 19:48:47 +0200 |
parent | 9316:4aa522b9e1c4 |
child | 12400:728d1c1dc7db |
line wrap: on
line source
describe("util.poll", function () it("loads", function () require "util.poll" end); end);