{"push_id":1454210764,"size":90,"distinct_size":8,"ref":"refs/heads/keyring-init","head":"ab79099d1684457d040ee7c28b2012e8c1ea9a4f","before":"b006a56f2255ec5ec45dd54855894ca9ccd16b34","commits":[{"sha":"0fe5f3c5d743a7e4c63580a67066935f9e23a2f4","author":{"name":"Lennart Poettering","email":"2baa8fca698523d252842633f852b9ab3cfeddbc@poettering.net"},"message":"core: add \"khash\" API to src/basic/ (as wrapper around kernel AF_ALG)\n\nLet's take inspiration from bluez's ELL library, and let's move our\ncryptographic primitives away from libgcrypt and towards the kernel's AF_ALG\ncryptographic userspace API.\n\nIn the long run we should try to remove the dependency on libgcrypt, in favour\nof using only the kernel's own primitives, however this is unlikely to happen\nanytime soon, as the kernel does not provide Elliptic Curve APIs to userspace\nat this time, and we need them for the DNSSEC cryptographic.\n\nThis commit only covers hashing for now, symmetric encryption/decryption or\neven asymetric encryption/decryption is not available for now.\n\n\"khash\" is little more than a lightweight wrapper around the kernel's AF_ALG\nsocket API.","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/0fe5f3c5d743a7e4c63580a67066935f9e23a2f4"},{"sha":"70fc4f57902290c48bec9acb2393ded84c09d4ca","author":{"name":"Lennart Poettering","email":"2baa8fca698523d252842633f852b9ab3cfeddbc@poettering.net"},"message":"sd-id128: add new sd_id128_get_machine_app_specific() API\n\nThis adds an API for retrieving an app-specific machine ID to sd-id128.\nInternally it calculates HMAC-SHA256 with an 128bit app-specific ID as payload\nand the machine ID as key.\n\n(An alternative would have been to use siphash for this, which is also\ncryptographically strong. However, as it only generates 64bit hashes it's not\nan obvious choice for generating 128bit IDs.)\n\nFixes: #4667","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/70fc4f57902290c48bec9acb2393ded84c09d4ca"},{"sha":"0f2e01a503d5763087da95d7a001cf84f190d19b","author":{"name":"Zbigniew Jędrzejewski-Szmek","email":"77dc704bc81310147658033dcc63fa6fb3a4d704@in.waw.pl"},"message":"Two small cleanups","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/0f2e01a503d5763087da95d7a001cf84f190d19b"},{"sha":"389be927b485ceb7351963986232fb6975860680","author":{"name":"Zbigniew Jędrzejewski-Szmek","email":"77dc704bc81310147658033dcc63fa6fb3a4d704@in.waw.pl"},"message":"hwdb: remove path comparison which broke overriding of properties\n\nPartial fix for #4750.\n\nWe would compare strings like \"/usr/lib/udev/hwdb.d/something.hwdb\" and\n\"/etc/udev/hwdb.db/something.hwdb\" and conclude that the first has higher\npriority. Since we process files in order (higher priority later), no\ncomparison is necessary when loading.\n\nThis partially undoes 3a04b789c6f17dff2000a3cdbeaaf86baa604524\n(not in spirit, but in the implementation).","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/389be927b485ceb7351963986232fb6975860680"},{"sha":"d8646d05724a658cc60fb03f105db8ead454eba3","author":{"name":"Zbigniew Jędrzejewski-Szmek","email":"77dc704bc81310147658033dcc63fa6fb3a4d704@in.waw.pl"},"message":"hwdb, sd-hwdb: rework priority comparison when loading properties\n\nWe cannot compare filenames directly, because paths are not sortable\nlexicographically, e.g. /etc/udev is \"later\" (has higher priority)\nthan /usr/lib/udev.\n\nThe on-disk format is changed to have a separate field for \"file priority\",\nwhich is stored when writing the binary file, and then loaded and used in\ncomparisons. For data in the previous format (as generated by systemd 232),\nthis information is not available, and we use a trick where the offset into the\nstring table is used as a proxy for priority. Most of the time strings are\nstored in the order in which the files were processed. This is not entirely\nreliable, but is good enough to properly order /usr/lib and /etc/, which are\nthe two most common cases. This hack is included because it allows proper\nparsing of files until the binary hwdb is regenerated.\n\nInstead of adding a new field, I reduced the size of line_number from 64 to 32\nbits, and added a 16 bit priority field, and 16 bits of padding. Adding a new\nfield of 16 bytes would significantly screw up alignment and increase file\nsize, and line number realistically don't need more than ~20 bits.\n\nFixes #4750.","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/d8646d05724a658cc60fb03f105db8ead454eba3"},{"sha":"1cd592b91679f3a04fe884d51dd2b9d65eb5f2f9","author":{"name":"Zbigniew Jędrzejewski-Szmek","email":"77dc704bc81310147658033dcc63fa6fb3a4d704@in.waw.pl"},"message":"sd-hwdb: drop caching of search string\n\nWe have only two callers, and for neither this \"optimization\" is useful.\nSo let's drop it an save some code and a malloc.","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/1cd592b91679f3a04fe884d51dd2b9d65eb5f2f9"},{"sha":"d702dcdfef04512fa1529acece6d84ea58740d74","author":{"name":"Zbigniew Jędrzejewski-Szmek","email":"77dc704bc81310147658033dcc63fa6fb3a4d704@in.waw.pl"},"message":"hwdb: simplify error handling in trie_store\n\nfclose() can also set errno, so the attempts to protect errno that the\ncode made were not successful. Simplify things by immediately saving\nerrno to r.","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/d702dcdfef04512fa1529acece6d84ea58740d74"},{"sha":"ca0e88efbb86211aa15325c69675fffb1b8ad5c5","author":{"name":"Zbigniew Jędrzejewski-Szmek","email":"77dc704bc81310147658033dcc63fa6fb3a4d704@in.waw.pl"},"message":"hwdb: rename err to r and use _cleanup_ in two more places","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/ca0e88efbb86211aa15325c69675fffb1b8ad5c5"},{"sha":"dc17ee3d6eb1c642d3518e23c7a1cdabf7225d98","author":{"name":"Zbigniew Jędrzejewski-Szmek","email":"77dc704bc81310147658033dcc63fa6fb3a4d704@in.waw.pl"},"message":"man: describe overriding of entries in hwdb files","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/dc17ee3d6eb1c642d3518e23c7a1cdabf7225d98"},{"sha":"8ce2069263a5ed9237ca03179a760d3023e12fbe","author":{"name":"Zbigniew Jędrzejewski-Szmek","email":"77dc704bc81310147658033dcc63fa6fb3a4d704@in.waw.pl"},"message":"hwdb-test: properly print error output from systemd-hwdb update\n\nBecause -e was set, we'd exit immediately when systemd-hwdb failed and the\ncaptured error output was never printed. We want to test two things:\nthat 0 is returned, and that nothing is printed to stderr (to catch\nsyntax errors in the hwdb).\n\nv2: stop capturing stderr to a variable\nv3: capture stderr to a variable and test both error types separately","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/8ce2069263a5ed9237ca03179a760d3023e12fbe"},{"sha":"49141e0cd1a56e5f97e81e13a6d7be85138c134c","author":{"name":"Zbigniew Jędrzejewski-Szmek","email":"77dc704bc81310147658033dcc63fa6fb3a4d704@in.waw.pl"},"message":"hwdb: improve and test syntax error messages\n\nSince syntax error are non-fatal, downgrade them to warnings.\nUse log_syntax to have uniform formatting including the line number.\nState machine states like DATA and MATCH are internal, user-facing\nmessages should use the names from hwdb(7): match, property, record.\nAlso change \"key/value\" to \"key-value\", since there's no alternative\nhere, both parts must be present.\n\n[/tmp/tmp.KFwEhm74n4/etc/udev/hwdb.d/10-bad.hwdb:2] Property expected, ignoring record with no properties\n[/tmp/tmp.KFwEhm74n4/etc/udev/hwdb.d/10-bad.hwdb:5] Property expected, ignoring record with no properties\n[/tmp/tmp.KFwEhm74n4/etc/udev/hwdb.d/10-bad.hwdb:9] Property expected, ignoring record with no properties\n[/tmp/tmp.KFwEhm74n4/etc/udev/hwdb.d/10-bad.hwdb:11] Key/value pair expected but got \" NO_VALUE\", ignoring\n[/tmp/tmp.KFwEhm74n4/etc/udev/hwdb.d/10-bad.hwdb:18] Property or empty line expected, got \"BAD:7:match at wrong place\", ignoring record\n[/tmp/tmp.KFwEhm74n4/etc/udev/hwdb.d/10-bad.hwdb:22] Property or empty line expected, got \"BAD:8:match at wrong place\", ignoring record\n[/tmp/tmp.KFwEhm74n4/etc/udev/hwdb.d/10-bad.hwdb:23] Match expected but got indented property \" Z=z\", ignoring line\n\nsquash! hwdb: improve syntax error messages","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/49141e0cd1a56e5f97e81e13a6d7be85138c134c"},{"sha":"a6a2f018bec9087427ba202691db7b663cce932c","author":{"name":"Zbigniew Jędrzejewski-Szmek","email":"77dc704bc81310147658033dcc63fa6fb3a4d704@in.waw.pl"},"message":"hwdb: fix detection of assignments with no key\n\nThe code was trying to detect an empty key, but property lines always\nstart with a space, so the condition was wrong.\n\nNow:\n[/tmp/tmp.YWeKax4fMI/etc/udev/hwdb.d/10-bad.hwdb:14] Empty key in \" =NO_NAME\", ignoring\n[/tmp/tmp.YWeKax4fMI/etc/udev/hwdb.d/10-bad.hwdb:15] Empty value in \" NO_VALUE=\", ignoring","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/a6a2f018bec9087427ba202691db7b663cce932c"},{"sha":"a4e26faf33a255cc26d62836ca0f59b6a1e31526","author":{"name":"Jouke Witteveen","email":"3d504b3bcc89ccb789b82672c752bf4b42c66b0d@gmail.com"},"message":"man: fix $SERVICE_RESULT/$EXIT_CODE/$EXIT_STATUS documentation\n\nNote that any exit code is available through $EXIT_STATUS and not through\n$EXIT_CODE. This mimics siginfo.","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/a4e26faf33a255cc26d62836ca0f59b6a1e31526"},{"sha":"c3fda31da36706b045f5de800d6a77e65e7a8ec9","author":{"name":"Jouke Witteveen","email":"3d504b3bcc89ccb789b82672c752bf4b42c66b0d@gmail.com"},"message":"service: go through stop_post on failure (#4770)","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/c3fda31da36706b045f5de800d6a77e65e7a8ec9"},{"sha":"9e70a49dc779ca8a082a96eb8eb6b4aec18dd966","author":{"name":"Lennart Poettering","email":"2baa8fca698523d252842633f852b9ab3cfeddbc@poettering.net"},"message":"libudev: set errno if udev_new() fails\n\nAll other constructors in libudev do that, let's also do this for udev_new().","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/9e70a49dc779ca8a082a96eb8eb6b4aec18dd966"},{"sha":"8c1be37e5b438bfdb640cfd39700bf074c66820c","author":{"name":"Lennart Poettering","email":"2baa8fca698523d252842633f852b9ab3cfeddbc@poettering.net"},"message":"util-lib: split out image dissecting code and loopback code from nspawn\n\nThis adds two new APIs to systemd:\n\n- loop-util.h is a simple internal API for allocating, setting up and releasing\n  loopback block devices.\n\n- dissect-image.h is an internal API for taking apart disk images and figuring\n  out what the purpose of each partition is.\n\nBoth APIs are basically refactored versions of similar code in nspawn.  This\nrework should permit us to reuse this in other places than just nspawn in the\nfuture. Specifically: to implement RootImage= in the service image, similar to\nRootDirectory=, but operating on a disk image; to unify the gpt-auto-discovery\ngenerator code with the discovery logic in nspawn; to add new API to machined\nfor determining the OS version of a disk image (i.e. not just running\ncontainers). This PR does not make any such changes however, it just provides\nthe new reworked API.\n\nThe reworked code is also slightly more powerful than the nspawn original one.\nWhen pointing it to an image or block device with a naked file system (i.e. no\npartition table) it will simply make it the root device.","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/8c1be37e5b438bfdb640cfd39700bf074c66820c"},{"sha":"2d8457851b85813724b1b8b8c7a49c1c4200dd45","author":{"name":"Lennart Poettering","email":"2baa8fca698523d252842633f852b9ab3cfeddbc@poettering.net"},"message":"nspawn: port nspawn to new generalized image dissection code\n\nLet's make use of the new internal API. This mostly doesn't change anything for\nthe caller, however, \"systemd-nspawn --image=/dev/sda7\" works now as the new\ncode can handle disk images with no partition tables, and make any detected\nimages directly the root.","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/2d8457851b85813724b1b8b8c7a49c1c4200dd45"},{"sha":"676bcb0fc042c24e4335832622ea4104a1295b48","author":{"name":"Lennart Poettering","email":"2baa8fca698523d252842633f852b9ab3cfeddbc@poettering.net"},"message":"util-lib: add easy helpers for temporary directories that rmdir()ed via _cleanup_\n\nThis adds mkdtemp_malloc() that is a combination of mkdtemp() plus strdup(). It\ninitializes its return paremeter only if the temporary directory could be\ncreated successfully, so that the parameter is exactly non-NULL when the\ndirectory exists.\n\nrmdir_and_free() and rmdir_and_freep() are also added, and the latter may be\nused inside of _cleanup_ for such a directory string variable, to automatically\nrmdir() the directory if it is non-NULL when the scope exits.\n\nrmdir_and_free() is similar to the existing rm_rf_and_free() however, is only\nremoves a single directory and does not operate recursively.","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/676bcb0fc042c24e4335832622ea4104a1295b48"},{"sha":"9153b02bb5030e29d6008992fb74b9028d7c392c","author":{"name":"Lennart Poettering","email":"2baa8fca698523d252842633f852b9ab3cfeddbc@poettering.net"},"message":"machined: add API for querying the OS release of a machine image\n\nThis adds a bus call GetImageOSRelease() to the Manager interface that\nretrieves the /etc/os-release file of a machine image. It matches the existing\nGetMachineOSRelease() call, however operates on a disk image rather than a\nrunning container.\n\nThe backend for this call on .raw images is implemented via the generalized\nimage dissector, which makes this scheme relatively easy to implement.","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/9153b02bb5030e29d6008992fb74b9028d7c392c"},{"sha":"9f3c7fc1ad0d3d46e14b737e912ae8ca15f4e072","author":{"name":"Lennart Poettering","email":"2baa8fca698523d252842633f852b9ab3cfeddbc@poettering.net"},"message":"util-lib: drop unnecessary NULL check\n\nDEFINE_TRIVIAL_CLEANUP_FUNC() already does that check, no need to duplicate it.","distinct":false,"url":"https://api.github.com/repos/poettering/systemd/commits/9f3c7fc1ad0d3d46e14b737e912ae8ca15f4e072"}]}
{"actor":{"display_login":"poettering"}}