GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — webhook/droppriv_unix.go at master · sjw2003go/webhook Expand file tree/ Copy pathdroppriv_unix.goMore file actions 21 lines (16 loc) · 243 Bytes / Copy pathdroppriv_unix.goFile metadata and controls21 lines (16 loc) · 243 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 // +build !windows,!linux package main import ( "syscall" ) func dropPrivileges(uid, gid int) error { err := syscall.Setgid(gid) if err != nil { return err } err = syscall.Setuid(uid) if err != nil { return err } return nil } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |