Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-05 | track group membership | Luke Shumaker | |
2015-09-05 | minor tidy up | Luke Shumaker | |
2015-09-05 | hackers_git:parse_user_yaml(): prune duplicate group names | Luke Shumaker | |
2015-09-05 | clean up load_yaml_file logging | Luke Shumaker | |
2015-09-05 | Teach the Makefile to not be confused by text editor temporary files | Luke Shumaker | |
2015-09-05 | tidy up hackers_git | Luke Shumaker | |
2015-09-05 | inotify: Avoid most of the race conditions, get rid of Cint | Luke Shumaker | |
There's still a condition that could be a race with fd-reuse, if one goroutine is calling inotify.{AddWatch,RmWatch,Read}(); another goroutine is calling inotify.Close(), and several things happen between loadFd() running and the add_watch/rm_watch/read syscall launching: - syscall.Close() returns - syscall.Open() reuses the filedescriptor A B syscall(loadFd()) inotify.Close(); syscall.Open() ---------------------------------------------------------- loadFd() syscall.Close() syscall.Open() syscall() Given that Read() can't be allowed to block Close() from running, I'm not sure there's a way to fix this. | |||
2015-09-05 | Add a minimal systemd-like runner for testing | Luke Shumaker | |
2015-09-05 | fix nslcd_proto IO | Luke Shumaker | |
2015-09-05 | The way nslcd_proto's GenericGetNext was designed, nil checks didn't work | Luke Shumaker | |
2015-09-05 | nslcd_proto.handleRequest had a check backwards | Luke Shumaker | |
2015-09-05 | error handling fixes | Luke Shumaker | |
2015-09-05 | nslcd_h: each of the custom types should have kind==struct, to make io easy | Luke Shumaker | |
2015-09-05 | clean up logging | Luke Shumaker | |
2015-09-04 | fix filename2uid() | Luke Shumaker | |
2015-09-04 | fix password loading | Luke Shumaker | |
2015-09-03 | nslcd_proto/io.go: Derp, the end of the switch block absolutely is reached | Luke Shumaker | |
2015-09-03 | Use a defer/recover block to have the exit status on panic match LSB. | Luke Shumaker | |
2015-09-03 | Fix a race condition: WaitGroup.Add() should be called before "go" | Luke Shumaker | |
2015-09-03 | The comment at the bottom of hackers_watch.go was wrong; fix the race. | Luke Shumaker | |
The actual determinant was this race main worker ------------------- Close() Read() Exit() If Read() returned between when Close() happened and when Exit() happened, then the code ran. It doesn't *really* matter if the code runs, but for predictability, set up a wait group to have Close() block until the worker exits. | |||
2015-09-03 | remove stray newline | Luke Shumaker | |
2015-09-03 | fix the nslcd_proto.Ucred definition | Luke Shumaker | |
2015-09-03 | fix bugs in code calling inotify | Luke Shumaker | |
2015-09-03 | tidy | Luke Shumaker | |
2015-09-03 | Fix issues in inotify bindings | Luke Shumaker | |
2015-09-03 | fix sd_daemon/logger arg passing | Luke Shumaker | |
2015-09-03 | Use systemd/lsb exit codes, consistently | Luke Shumaker | |
2015-09-03 | touch up Makefile | Luke Shumaker | |
2015-09-02 | Make the daemon user and group compile-time configurable | Luke Shumaker | |
2015-09-02 | clean up formatting | Luke Shumaker | |
2015-09-02 | Makefile variable tracking | Luke Shumaker | |
2015-09-02 | Implement all of hackers.git, except the group DB | Luke Shumaker | |
2015-09-02 | Clean up | Luke Shumaker | |
2015-09-02 | Turn on C warnings/errors | Luke Shumaker | |
2015-09-01 | Finish the hackers.git parser | Luke Shumaker | |
2015-09-01 | fix formatting | Luke Shumaker | |
2015-08-29 | roll sleeves up, do actual yaml the hard way | Luke Shumaker | |
2015-08-29 | stuff | Luke Shumaker | |
2015-08-28 | Clean up, based on making godoc slightly more readable | Luke Shumaker | |
2015-08-28 | implement hackers_watch | Luke Shumaker | |
2015-08-28 | switch to my own inotify bindings, the golang.org/x/exp bindings are crap | Luke Shumaker | |
2015-08-28 | tidy Makefiles | Luke Shumaker | |
2015-08-27 | wip | Luke Shumaker | |
2015-08-27 | wip | Luke Shumaker | |
2015-08-26 | clean up Makefiles | Luke Shumaker | |
2015-08-26 | wip | Luke Shumaker | |
2015-08-26 | stuff | Luke Shumaker | |
2015-08-26 | work | Luke Shumaker | |
2015-08-26 | clean up | Luke Shumaker | |
2015-08-25 | initial commit | Luke Shumaker | |