msm8976-common: Add rild socket shim

Change-Id: Ia5aa2cf867678045215625f6297708db6f49fdaa
lineage-17.1
Luca Stefani 7 years ago committed by LuK1337
parent 392bac6064
commit f7f672f6fb

@ -24,3 +24,12 @@ LOCAL_MODULE := libshims_get_process_name
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := rild_socket.c
LOCAL_MODULE := libshims_rild_socket
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)

@ -0,0 +1,19 @@
/*
* Copyright (C) 2017 The LineageOS Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#define MAX_SOCKET_NAME_LENGTH 6
char rild[MAX_SOCKET_NAME_LENGTH] = "rild";

@ -34,7 +34,7 @@ on early-init
chmod 0755 /sys/kernel/debug chmod 0755 /sys/kernel/debug
on init on init
export LD_SHIM_LIBS /system/lib/libcamera_client.so|libcamera_parameters_shim.so:/system/vendor/lib64/libizat_core.so|libshims_get_process_name.so export LD_SHIM_LIBS /system/lib/libcamera_client.so|libcamera_parameters_shim.so:/system/vendor/lib64/libizat_core.so|libshims_get_process_name.so:/system/lib64/libsec-ril.so|libshims_rild_socket.so
# Support legacy paths # Support legacy paths
symlink /sdcard /storage/sdcard0 symlink /sdcard /storage/sdcard0

Loading…
Cancel
Save