Repository navigation
chore(deps): update rust crate selinux to 0.7 - #17007
Closed
renovate[bot] wants to merge 1 commit into
Closed
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Collaborator
|
requires MSRV of 1.95 |
Contributor
Author
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
Collaborator
|
@SnoozeThis wait until 2027-04-17 |
|
(https://snoozeth.is/AX03s2cVFrQ) I will wait until Sat, 17 Apr 2027 00:00:00 UTC and then add a comment. |
Collaborator
|
Depends on https://codeberg.org/koutheir/selinux/pulls/7. cc: @koutheir |
Collaborator
|
@SnoozeThis /cancel |
|
Snooze cancelled. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.6→0.7Release Notes
koutheir/selinux (selinux)
v0.7.0Added
selinux::label::Labeler::into_ptr().Changed
selinux::avc::SELinuxOptionnow depend on its type.selinux::label::Labeler::get_digests_all_partial_matches_by_path()selinux::SecurityContext::check_access()selinux::SecurityContextList::eq()The method
get()ofselinux::SecurityContextListis now fallible.The method
to_color()ofselinux::SecurityContextwas renamed tocolors()and a bug was fixedin its parsing logic.
The method
to_c_string()ofselinux::SecurityContextwas renamed toto_c_str()and its return value is now a shared reference to a C string.
The method
set_call_back()ofselinux::call_back::CallBackcan no longer be used to clearcall backs because
libselinuxcrashes sometimes if that is done.The following methods of
selinux::SecurityContextno longer accept araw_formatargument:set_for_new_file_system_objects()set_for_new_kernel_key_rings()set_for_new_labeled_sockets()set_for_path()selinux::context_restore::ContextRestorenow owns its labeler, if given one.The previous behavior allowed it to have an exclusive reference to the labeler.
The new, more limited, constraint is due to the semantics of
selinux_restorecon_set_sehandle()which takes ownership of the provided labeler.
selinux::avc::AccessVectorCache::security_context_from_security_id()now requires its inputto have a life time tied to the
AccessVectorCacheitself.The new, more limited, constraint is due to the fact that security IDs are no longer reference
counted inside
libselinux.The method
selinux::SecurityClass::access_vector_bit_name()is now safe, but it returnsan owned value instead of the static reference it used to return.
The method
selinux::flush_class_cache()is nowunsafe.The following methods now return an owned value instead of shared static references:
selinux::path::selinuxselinux::path::default_type_pathselinux::path::fail_safe_contextselinux::path::removable_contextselinux::path::default_contextselinux::path::user_contextsselinux::path::file_contextselinux::path::file_context_homedirselinux::path::file_context_localselinux::path::file_context_subsselinux::path::file_context_subs_distselinux::path::home_dir_contextselinux::path::media_contextselinux::path::virtual_domain_contextselinux::path::virtual_image_contextselinux::path::lxc_contextsselinux::path::x_contextselinux::path::sepgsql_contextselinux::path::openrc_contextsselinux::path::openssh_contextsselinux::path::snapperd_contextsselinux::path::systemd_contextsselinux::path::contextsselinux::path::securetty_typesselinux::path::booleans_subsselinux::path::customizable_typesselinux::path::users_confselinux::path::translationsselinux::path::colorsselinux::path::netfilter_contextselinux::policy::root_pathselinux::policy::current_policy_pathselinux::policy::binary_policy_pathRemoved
The following methods were removed:
selinux::label::PartialMatchesDigests::lenselinux::label::PartialMatchesDigests::is_emptyConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.