Commit graph

4 commits

Author SHA1 Message Date
Adnan Hajdarević
8af5a38100
Merge branch 'master' into allow_linux_setuid_setgid 2024-04-13 19:57:30 +02:00
Adnan Hajdarevic
8ee2601081 Bugfix: Unset aux groups when dropping the privileges 2024-04-13 19:55:38 +02:00
christopher-conley
f108a2b38e Allow Linux setuid/setgid
This commit allows webhook to setuid/setgid when running on Linux.

Tested with:

go get -d

CGO_ENABLED=0 go build -ldflags="-s -w"

Correctly compiled, ran, setuid/setgid properly, and answered hook requests.
2023-07-22 23:01:40 -04:00
Cameron Moore
77159d9db6 Add setuid & setgid options
Only applicable on unix systems, although Go doesn't support Linux at
this time.
2019-12-26 10:30:31 -06:00