Releases: GoogleCloudPlatform/guest-oslogin
Releases · GoogleCloudPlatform/guest-oslogin
20260227.00
Fix broken cache_refresh behavior when groups are disabled. (#181) * Implement a binary cache for OS Login passwd entries. This change introduces a new binary cache format for storing OS Login passwd information. It includes: - `OsLoginPasswdCacheWriter`: A C++ class to build and write the cache file. It buffers user entries, sorts them, and writes them to a temporary file before atomically renaming it. - `oslogin_passwd_cache_reader`: A C implementation for reading from the cache file using mmap. It provides functions compatible with NSS modules for looking up entries by UID, name, and iterating through all entries. - `eytzinger_layout.h`: A template function to convert a sorted vector into an Eytzinger layout, used for the name index to improve cache locality during lookups. - `oslogin_index_structs.h`: Defines the structures used for the UID and Name indices. - New unit tests (`eytzinger_layout_test.cc`, `oslogin_passwd_cache_reader_test.cc`, `round_trip_test.cc`) to validate the cache functionality, including concurrent read access. - The `Makefile` is updated to build and run the new tests. The `main` function is removed from `oslogin_utils_test.cc` as `gtest_main.cc` is now linked. * Add anandadalton to the approvers list * Fix incorrect cache_refresh return value. When groups are disabled, this can cause the return value to be -1, and this can break the guest agent.
20260217.00
Fix SELinux policy to allow reading of directories, too. (#179) * Also allow the "read" permission on dirs. * Set mode of /var/google-users.d to 640, matching how the Guest Agent sets it.
20260214.00
Max openssh version available on 8_6 is 8.0p1-15 (#178)
20260129.00
Fix a nil pointer dereference caused by a temporary string being imme…
20260128.01
Fix a nil pointer dereference caused by a temporary string being imme…
20260128.00
Fix a nil pointer dereference caused by a temporary string being imme…
20260123.00
Fix a nil pointer dereference caused by a temporary string being imme…
20260122.01
Fix a nil pointer dereference caused by a temporary string being imme…
20260122.00
Fix a nil pointer dereference caused by a temporary string being imme…
20260116.00
Fix a nil pointer dereference caused by a temporary string being imme…