函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:init\do_mounts_initrd.c Create Date:2022-07-27 15:20:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:init_linuxrc

函数原型:static int init_linuxrc(struct subprocess_info *info, struct cred *new)

返回类型:int

参数:

类型参数名称
struct subprocess_info *info
struct cred *new
50  share allows a process to 'unshare' part of the process* context which was originally shared using clone. copy_** functions used by do_fork() cannot be used here directly* because they modify an inactive task_struct that is being* constructed
51  console_on_rootfs()
53  ksys_chdir("/root")
54  do_mount(".", "/", NULL, MS_MOVE, NULL)
55  ksys_chroot(".")
56  ksys_setsid()
57  返回:0