summaryrefslogtreecommitdiff
path: root/sd_daemon
AgeCommit message (Collapse)Author
2023-12-17Generate artifactsLuke T. Shumaker
2023-12-17sd_daemon.ListenFds: Update the doc commentmainLuke T. 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-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-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 'master' of https://git.lukeshu.com/go/libsystemdLuke 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-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-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-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.
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-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
2016-07-22ListenFds: Detect file names from LISTEN_FDNAMES.Luke Shumaker
2015-11-23gometalinterLuke Shumaker
2015-11-23gometalinter, ishLuke Shumaker
2015-11-08gofmtLuke Shumaker
2015-11-06fix import pathLuke Shumaker
2015-11-03*sigh* avoid reliance on systemd headers.Luke Shumaker
What I'd really like to do is have `go generate` download the headers if they aren't on the system. But, that will have to be a later commit.
2015-10-26make gofmt complain slightly lessLuke Shumaker
2015-09-18Massive documentation and copyright clean-up.Luke Shumaker
2015-09-03Use a defer/recover block to have the exit status on panic match LSB.Luke Shumaker
2015-09-03fix sd_daemon/logger arg passingLuke Shumaker
2015-09-03Use systemd/lsb exit codes, consistentlyLuke Shumaker
2015-08-26workLuke Shumaker
2015-08-26clean upLuke Shumaker