ports/sysutils/runit-faster/files/patch-src_chkshsgr.c
Tobias Kortkamp 90c819ddbe New port: sysutils/runit-faster
Runit is a daemontools replacement with the following features:

- Service supervision
- Clean process state
- Reliable logging facility
- Fast system bootup and shutdown
- Packaging friendly
- Small code size

This very experimental port comes with a complete suite of
configuration files and services to replace init(8) and rc(8) with
runit for initializing your system.  Heavily inspired by Void Linux'
init scripts.

For usage instructions visit:
https://people.freebsd.org/~tobik/runit-faster.html

Some fixes applied to sysutils/runit:

- Fix most compiler warnings
- Fix bug where runit will only halt the system instead of powering it
  off
- Pet rclint for runsvdir
- Pet portlint and regenerate patches
2018-03-08 05:16:46 +00:00

11 lines
216 B
C

--- src/chkshsgr.c.orig 2018-03-05 09:33:03 UTC
+++ src/chkshsgr.c
@@ -4,7 +4,7 @@
int main()
{
- short x[4];
+ gid_t x[4];
x[0] = x[1] = 0;
if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);