diff --git a/src/uucore/src/lib/features/selinux.rs b/src/uucore/src/lib/features/selinux.rs index fab53dbcb..9b0bf58ab 100644 --- a/src/uucore/src/lib/features/selinux.rs +++ b/src/uucore/src/lib/features/selinux.rs @@ -219,6 +219,7 @@ pub fn set_selinux_security_context( /// Err(SeLinuxError::ContextRetrievalFailure(e)) => println!("Failed to retrieve the security context: {e}"), /// Err(SeLinuxError::ContextConversionFailure(ctx, e)) => println!("Failed to convert context '{ctx}': {e}"), /// Err(SeLinuxError::ContextSetFailure(ctx, e)) => println!("Failed to set context '{ctx}': {e}"), +/// Err(SeLinuxError::OperationNotSupported) => println!("Operation not supported"), /// } /// ``` pub fn get_selinux_security_context( diff --git a/util/build-gnu.sh b/util/build-gnu.sh index 1269aa841..d693466c7 100755 --- a/util/build-gnu.sh +++ b/util/build-gnu.sh @@ -90,7 +90,7 @@ cd - export CARGOFLAGS # tell to make if [ "${SELINUX_ENABLED}" = 1 ];then # Build few utils for SELinux for faster build. MULTICALL=y fails... - "${MAKE}" UTILS="cat chcon chmod cp cut dd echo env groups id install ln ls mkdir mkfifo mknod mktemp mv printf realpath rm rmdir runcon seq stat test touch tr true uname wc whoami" + make UTILS="cat chcon chmod cp cut dd echo env groups id install ln ls mkdir mkfifo mknod mktemp mv printf realpath rm rmdir runcon seq stat test touch tr true uname wc whoami" else # Use MULTICALL=y for faster build make MULTICALL=y SKIP_UTILS=more