Add ramdisk_node_list
This file contains a description of dev nodes added to the CPIO archive for the Android ramdisks. /dev/null is a security requirement for bionic, /dev/console is needed so the kernel can set-up stdout stderr and stdin before running /init. Bug: 254835242 Change-Id: I111e2db53fabd63d070b8e9ab9c52faebf484ab3
This commit is contained in:
parent
1e53806ad9
commit
79ac2ad6d4
2 changed files with 14 additions and 0 deletions
|
|
@ -213,4 +213,15 @@ $(LOCAL_BUILT_MODULE):
|
|||
$(hide) $(foreach lib,$(PRIVATE_SANITIZER_RUNTIME_LIBRARIES), \
|
||||
echo $(lib) >> $@;)
|
||||
|
||||
#######################################
|
||||
# ramdisk_node_list
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_MODULE := ramdisk_node_list
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
||||
LOCAL_MODULE_PATH := $(PRODUCT_OUT)
|
||||
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(call all-makefiles-under,$(LOCAL_PATH))
|
||||
|
|
|
|||
3
rootdir/ramdisk_node_list
Normal file
3
rootdir/ramdisk_node_list
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
dir dev 0755 0 0
|
||||
nod dev/null 0600 0 0 c 1 3
|
||||
nod dev/console 0600 0 0 c 5 1
|
||||
Loading…
Add table
Reference in a new issue