9 Commits
Author SHA1 Message Date
zonyitoo 6973480082 feat: updated edition 2024, msrv 1.85 2025-03-14 01:12:48 +08:00
zonyitoo a82911c8bd chore: more clippy checked suggestions 2024-02-01 21:59:06 +08:00
zonyitoo ce344c613b fix(shadowsocks): run_as_user abort if error occurs (#1328) 2023-10-18 21:17:42 +08:00
zonyitoo e3855b4a8d clippy --fix 2022-12-18 11:32:46 +08:00
zonyitoo bfd043735e no warning for running from root user
It is Ok to run sslocal, ssmanager, ssserver from root user unless there
are bugs and security holes in these programs which are lethal to the
system.
2022-07-06 06:15:47 +08:00
zonyitoo 0f72001378 fallback getpwnam if uid not exists 2022-06-29 00:41:50 +08:00
zonyitoo 64ad58bd61 switch user with -a, docker adds entrypoint script, #876 2022-06-29 00:31:57 +08:00
zonyitoo 6dee125baf sysctlbyname with static [u8] name 2022-03-28 12:21:12 +08:00
zonyitoo 00c7d3f0aa automatically bump RLIMIT_NOFILE on Unix (except Android)
- https://github.com/golang/go/issues/46279
- http://0pointer.net/blog/file-descriptor-limits.html

The I/O runtime, Tokio and Mio, in this Project won't use select(2), so
it is safe to bump the RLIMIT_NOFILE soft limit to hard limit
automatically.
2022-03-26 23:48:21 +08:00