summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-17Merge branch 'release' into release.tmpHEADreleaseLuke T. Shumaker
2023-12-17Generate artifactsLuke T. Shumaker
2023-12-17sd_daemon.ListenFds: Update the doc commentmainLuke T. Shumaker
2023-12-17Rename the 'master' branch to 'main'Luke T. Shumaker
2019-08-14Merge branch 'release' into release.tmpv0.5.3Luke Shumaker
2019-08-14Generate artifactsLuke Shumaker
2019-08-14sd_daemon/notify_*.go:socketUnixgram(): Cross-reference with netLuke Shumaker
2019-08-14Unify notify.go and notify_nonlinux.go a bitLuke Shumaker
2019-08-14Use Go modulesLuke Shumaker
I chose this revision as the minumum revision of golang.org/x/sys because it's what parabola-hackers NSHD uses.
2019-08-14exit-status.go: Verify that it's up-to-date for SD v242Luke Shumaker
2019-08-14License auditLuke Shumaker
- Add comments about what versions things reference. This is not needed for compliance, but it makes auditing easier. - notify.go erroneously mentioned 2014 in the list of years for Docker's copyright. - Docker's required NOTICE for notify.go was missing.
2019-08-14Update my email address everywhere it appearsLuke Shumaker
2018-12-19Merge branch 'release' into release.tmpv0.5.2Luke Shumaker
2018-12-19Generate artifactsLuke Shumaker
2018-12-19sd_daemon: Fix build on macOS, fix FD leak on LinuxLuke Shumaker
2018-12-07sd_daemon.WatchdogEnabled: Update example in doc commentLuke Shumaker
The docs still used the used the pre-da323d620 (2017-01-18) notify function signature.
2018-12-07Wow, I'm really bad at spellingLuke Shumaker
2018-09-05Merge branch 'release' into release.tmpv0.5.1Luke Shumaker
2018-09-05Generate artifactsLuke Shumaker
2018-09-05Add a `make-release` scriptLuke Shumaker
2018-09-05Merge branch 'master' of https://git.lukeshu.com/go/libsystemdLuke Shumaker
2018-09-05go generateLuke Shumaker
2018-09-05sd_daemon: Update exit-status.goLuke Shumaker
- Add sysexits.h codes - Sync with systemd v239, don't mask deprecated systemd codes * Unmask _EXIT_RESERVED -> EXIT_TCPWRAP * Note that EXIT_MAKE_STARTER was dropped in SD v235 * Renumber EXIT_SMACK_PROCESS_LABEL from 237 to 236, replacing EXIT_BUS_ENDPOINT * Add EXIT_KEYRING at 237, EXIT_SMACK_PROCESS_LABEL's old number * Add everything 238 and up - Add comments about what versions of systemd handle the systemd codes - Update the LSB URL from LSB 3.1.1 to LSB 5.0.0
2018-09-05sd_id128: Fix weird grammar in docsLuke Shumaker
2018-09-04*.gen: Update to emit the pattern looked for by the `go` toolLuke Shumaker
The `go` documentation says that the generated-code notice should match the go regex: ^// Code generated .* DO NOT EDIT\.$
2017-12-18sd_daemon/log: implement io.Writer and io.stringWriter where applicableLuke Shumaker
2017-12-18sd_daemon: BREAKING CHANGE: rename WriteBytes->LogBytes, WriteString->LogStringv0.5.0Luke Shumaker
This is to make room for an io.stringWriter implementation.
2017-12-18sd_daemon.Logger: improve docsLuke Shumaker
2017-07-30sd_messages: Update messages.go.gen to work with systemd 233Luke Shumaker
2017-05-15sd_messages: fixLuke Shumaker
2017-05-15Implement sd_messagesLuke Shumaker
2017-05-15sd_daemon: Fix MakefileLuke Shumaker
2017-05-14gofmt -sLuke Shumaker
2017-05-12Have the Makefile be AutoThing friendly.Luke Shumaker
While it mostly played nice with autothing before, by having autothing treat `go generate` as an opaque step, it didn't populate `files.src.gen`.
2017-04-17gofmtLuke Shumaker
2017-01-18Change the notify signature (again). BREAKING CHANGE.v0.4.0Luke Shumaker
I think this should reduce the cognitive load of using the function.
2017-01-18sd_daemon: Update a comment.Luke Shumaker
2017-01-18Fix sd_daemon.NotifyLuke Shumaker
I was working with net.UnixConn.WriteMsgUnix() incorrectly. Literally the only example of this I can find in the wild is in CoreOS go-systemd, which does the same thing I did. Unfortunately go-systemd only hits that codepath as a fall-back if the primary code path errors... and the test suite only hits the primary code path.
2017-01-14sd_id128: use ioutil.ReadFile instead of rolling my own readfile.Luke Shumaker
2016-12-27Documentation improvements.Luke Shumaker
Also, I renamed a couple of the sd_id128 functions for better clarity. But since I haven't pushed since originally implementing them, I'm not labeling it as a breaking change.
2016-12-27Merge sd_daemon/lsb into sd_daemon. BREAKING CHANGE.v0.3.0Luke Shumaker
2016-12-27Implement sd_id128Luke Shumaker
2016-12-22sd_daemon/log.go: Shave off a byte, fix a comment.Luke Shumaker
2016-12-19Improve documentation.Luke Shumaker
2016-12-19Whoops, methods need to be on *Logger, not LoggerLuke Shumaker
2016-12-19Use golang.org/x/sys/unix instead of the deprecated syscall.Luke Shumaker
2016-12-18sd_daemon/log: cheapen WriteString/WriteBytes.Luke Shumaker
2016-12-18gofmtLuke Shumaker
2016-12-18Implement almost all of sd-daemon. BREAKING CHANGES.v0.2.0Luke Shumaker
This does not include the sd_is_* utility functions. BREAKING CHANGES: - The import name is now "sd_daemon" instead of "sd". - The logger interface is now entirely different. - Notify now takes more arguments.
2016-07-22oopsLuke Shumaker