Home
last modified time | relevance | path

Searched refs:cmdline (Results 1 – 12 of 12) sorted by relevance

/base/startup/hvb/libhvb/src/cmdline/
Dhvb_cmdline.c28 struct hvb_cmdline_data *cmdline = NULL; in cmdline_append_option() local
30 if (vd == NULL || vd->cmdline.buf == NULL) in cmdline_append_option()
33 cmdline = &vd->cmdline; in cmdline_append_option()
39 if (option_len > cmdline->max_size - cmdline->cur_pos - 1) in cmdline_append_option()
43 cmdline->buf[cmdline->cur_pos] = ' '; in cmdline_append_option()
44 cmdline->cur_pos++; in cmdline_append_option()
46 hvb_memcpy(cmdline->buf + cmdline->cur_pos, key, key_len); in cmdline_append_option()
47 cmdline->cur_pos += key_len; in cmdline_append_option()
49 cmdline->buf[cmdline->cur_pos] = '='; in cmdline_append_option()
50 cmdline->cur_pos++; in cmdline_append_option()
[all …]
/base/startup/hvb/libhvb/src/auth/
Dhvb.c55 vd->cmdline.buf = hvb_calloc(CMD_LINE_SIZE); in hvb_init_verified_data()
56 if (!vd->cmdline.buf) { in hvb_init_verified_data()
64 vd->cmdline.cur_pos = 0; in hvb_init_verified_data()
65 vd->cmdline.max_size = CMD_LINE_SIZE; in hvb_init_verified_data()
323 if (vd->cmdline.buf != NULL) { in hvb_chain_verify_data_free()
324 hvb_free(vd->cmdline.buf); in hvb_chain_verify_data_free()
/base/startup/init/interfaces/innerkits/fs_manager/
Dfstab.c559 char *cmdline = ReadFileData(BOOT_CMD_LINE); in LoadFstabFromCommandLine() local
562 …BEGET_ERROR_CHECK(cmdline != NULL, return NULL, "Read from \'/proc/cmdline\' failed, err = %d", er… in LoadFstabFromCommandLine()
563 TrimTail(cmdline, '\n'); in LoadFstabFromCommandLine()
566 char *start = cmdline; in LoadFstabFromCommandLine()
567 char *end = start + strlen(cmdline); in LoadFstabFromCommandLine()
608 free(cmdline); in LoadFstabFromCommandLine()
/base/startup/init/test/unittest/init/
Dservice_unittest.cpp95 CmdLines *cmdline = (CmdLines *)malloc(sizeof(CmdLines) + sizeof(CmdLine)); variable
96 ASSERT_NE(nullptr, cmdline);
97 cmdline->cmdNum = 1;
98 cmdline->cmds[0].cmdIndex = 0;
99 service->restartArg = cmdline;
/base/startup/hvb/libhvb/include/
Dhvb.h73 struct hvb_cmdline_data cmdline; member
/base/startup/init/
Dbegetd.gni31 # boot_kernel_extended_cmdline for extend cmdline
/base/startup/hvb/libhvb/
DBUILD.gn37 "src/cmdline/hvb_cmdline.c",
/base/hiviewdfx/hilog/frameworks/libhilog/utils/
Dlog_utils.cpp427 char cmdline[CMDLINE_LEN] = { 0 }; in GetNameByPid() local
440 cmdline[i] = c; in GetNameByPid()
444 return cmdline; in GetNameByPid()
/base/startup/init/services/etc/
Dinit.cfg34 "copy /proc/cmdline /dev/urandom",
169 "chown root radio /proc/cmdline",
Dinit.without_two_stages.cfg25 "copy /proc/cmdline /dev/urandom",
197 "chown root radio /proc/cmdline",
/base/hiviewdfx/hiview/utility/smart_parser/test/resource/SmartParserTest005/
Ddmesg-ramoops-080 …): avc: denied { getattr } for pid=453 comm="hiview" path="/proc/1682/cmdline" dev="proc" ino=2…
81 …7686.475:45786): avc: denied { read } for pid=453 comm="hiview" name="cmdline" dev="proc" ino=2…
82 …787): avc: denied { open } for pid=453 comm="hiview" path="/proc/1682/cmdline" dev="proc" ino=2…
84 …): avc: denied { getattr } for pid=453 comm="hiview" path="/proc/1138/cmdline" dev="proc" ino=2…
85 …7686.475:45790): avc: denied { read } for pid=453 comm="hiview" name="cmdline" dev="proc" ino=2…
86 …791): avc: denied { open } for pid=453 comm="hiview" path="/proc/1138/cmdline" dev="proc" ino=2…
88 …): avc: denied { getattr } for pid=453 comm="hiview" path="/proc/1136/cmdline" dev="proc" ino=2…
362 …): avc: denied { getattr } for pid=453 comm="hiview" path="/proc/2579/cmdline" dev="proc" ino=2…
363 …7701.687:45943): avc: denied { read } for pid=453 comm="hiview" name="cmdline" dev="proc" ino=2…
364 …944): avc: denied { open } for pid=453 comm="hiview" path="/proc/2579/cmdline" dev="proc" ino=2…
[all …]
/base/security/selinux/sepolicy/base/system/
Dvirtfs_contexts29 genfscon proc /cmdline u:object_r:proc_cmdline_file:s0