Searched refs:cmdline (Results 1 - 19 of 19) sorted by relevance

/systemd/src/boot/efi/
H A Dlinux.h19 CHAR8 *cmdline, UINTN cmdline_size,
H A Dstub.c37 (UINT8 *)".cmdline",
46 CHAR8 *cmdline = NULL; local
84 cmdline = (CHAR8 *)(loaded_image->ImageBase + addrs[0]);
99 cmdline = line;
109 err = linux_exec(image, cmdline, cmdline_len,
H A Dlinux.c85 CHAR8 *cmdline, UINTN cmdline_len,
112 if (cmdline) {
118 CopyMem((VOID *)(UINTN)addr, cmdline, cmdline_len);
84 linux_exec(EFI_HANDLE *image, CHAR8 *cmdline, UINTN cmdline_len, UINTN linux_addr, UINTN initrd_addr, UINTN initrd_size) argument
H A Dboot.c1508 (UINT8 *)".cmdline",
1540 /* look for .osrel and .cmdline sections in the .efi binary */
1580 CHAR16 *cmdline; local
1587 /* read the embedded cmdline file */
1590 cmdline = stra_to_str(content);
1591 entry->options = cmdline;
1592 cmdline = NULL;
1594 FreePool(cmdline);
/systemd/src/kernel-install/
H A D90-loaderentry.install45 if [[ -f /etc/kernel/cmdline ]]; then
46 read -r -d '' -a BOOT_OPTIONS < /etc/kernel/cmdline
50 read -r -d '' -a line < /proc/cmdline
59 echo "Please specify the kernel command line in /etc/kernel/cmdline!" >&2
/systemd/src/core/
H A Dselinux-access.c49 const char *cmdline; member in struct:audit_info
80 audit->cmdline ? " cmdline=\"" : "", strempty(audit->cmdline), audit->cmdline ? "\"" : "");
192 char **cmdline = NULL; local
245 sd_bus_creds_get_cmdline(creds, &cmdline);
246 cl = strv_join(cmdline, " ");
250 audit_info.cmdline = cl;
256 log_debug("SELinux access check scon=%s tcon=%s tclass=%s perm=%s path=%s cmdline
[all...]
/systemd/src/quotacheck/
H A Dquotacheck.c26 #include "proc-cmdline.h"
71 static const char * const cmdline[] = { local
117 execv(cmdline[0], (char**) cmdline);
/systemd/src/fsck/
H A Dfsck.c42 #include "proc-cmdline.h"
396 const char *cmdline[9]; local
420 cmdline[i++] = "/sbin/fsck";
421 cmdline[i++] = arg_repair;
422 cmdline[i++] = "-T";
429 cmdline[i++] = "-l";
432 cmdline[i++] = "-M";
435 cmdline[i++] = "-f";
438 cmdline[i++] = dash_c;
440 cmdline[
[all...]
/systemd/test/
H A Dtest-efi-create-disk.sh20 echo -n "foo=yes bar=no root=/dev/fakeroot debug rd.break=initqueue" > mnt/cmdline.txt
23 --add-section .cmdline=mnt/cmdline.txt --change-section-vma .cmdline=0x30000 \
/systemd/src/bus-proxyd/
H A Dstdio-bridge.c150 char **cmdline; local
170 r = sd_bus_creds_get_cmdline(creds, &cmdline);
182 p = strv_join(cmdline, " ");
/systemd/src/libsystemd/sd-bus/
H A Dbus-creds.h53 char *cmdline; member in struct:sd_bus_creds
H A Dbus-creds.c108 free(c->cmdline);
547 _public_ int sd_bus_creds_get_cmdline(sd_bus_creds *c, char ***cmdline) { argument
553 if (!c->cmdline)
557 c->cmdline_array = strv_parse_nulstr(c->cmdline, c->cmdline_size);
562 *cmdline = c->cmdline_array;
1014 p = procfs_file_alloca(pid, "cmdline");
1015 r = read_full_file(p, &c->cmdline, &c->cmdline_size);
1023 c->cmdline = mfree(c->cmdline);
1242 if (c->cmdline) {
[all...]
H A Dbus-dump.c337 char **cmdline = NULL, **well_known = NULL; local
420 r = sd_bus_creds_get_cmdline(c, &cmdline);
425 STRV_FOREACH(i, cmdline) {
426 if (i != cmdline)
H A Dbus-control.c526 c->cmdline = memdup(item->data, c->cmdline_size);
527 if (!c->cmdline)
H A Dbus-kernel.c700 m->creds.cmdline = d->str;
/systemd/src/coredump/
H A Dcoredumpctl.c305 *sgnl = NULL, *exe = NULL, *comm = NULL, *cmdline = NULL, local
324 retrieve(d, l, "COREDUMP_CMDLINE", &cmdline);
328 if (!pid && !uid && !gid && !sgnl && !exe && !comm && !cmdline && !filename) {
357 strna(exe ?: (comm ?: cmdline)));
365 *sgnl = NULL, *exe = NULL, *comm = NULL, *cmdline = NULL, local
384 retrieve(d, l, "COREDUMP_CMDLINE", &cmdline);
470 if (cmdline)
471 fprintf(file, " Command Line: %s\n", cmdline);
/systemd/src/bootchart/
H A Dsvg.c148 _cleanup_free_ char *cmdline = NULL; local
158 r = read_one_line_file("/proc/cmdline", &cmdline);
160 log_error_errno(r, "Unable to read cmdline: %m");
166 c = strstr(cmdline, "root=/dev/");
206 fprintf(of, "<text class=\"t2\" x=\"20\" y=\"95\">Boot options: %s</text>\n", cmdline);
/systemd/src/udev/
H A Dudev-rules.c1316 } else if (streq(attr, "cmdline")) {
2174 f = fopen("/proc/cmdline", "re");
2176 char cmdline[4096]; local
2178 if (fgets(cmdline, sizeof(cmdline), f) != NULL) {
2182 pos = strstr(cmdline, key);
/systemd/src/systemd/
H A Dsd-bus.h355 int sd_bus_creds_get_cmdline(sd_bus_creds *c, char ***cmdline);

Completed in 5532 milliseconds