Displaying 11 results from an estimated 11 matches for "initarg".
Did you mean:
initargs
2016 Jan 17
1
[PATCH klibc] run-init: Add dry-run mode
...n/init [args]\n",
+ "Usage: exec %s [-d caps] [-c consoledev] [-n] /real-root /sbin/init [args]\n",
program);
exit(1);
}
@@ -64,6 +65,7 @@ int main(int argc, char *argv[])
const char *init;
const char *error;
const char *drop_caps = NULL;
+ bool dry_run = false;
char **initargs;
/* Variables... */
@@ -72,11 +74,13 @@ int main(int argc, char *argv[])
/* Parse the command line */
program = argv[0];
- while ((o = getopt(argc, argv, "c:d:")) != -1) {
+ while ((o = getopt(argc, argv, "c:d:n")) != -1) {
if (o == 'c') {
console = opt...
2019 Apr 18
1
[PATCH] Allow the initramfs to be persisted across root changes
...uot;Usage: exec %s [-d caps] [-c consoledev] [-n] [-p] /real-root /sbin/init [args]\n",
+ program);
+ exit(1);
+ }
+@@ -69,6 +72,7 @@ int main(int argc, char *argv[])
+ const char *error;
+ const char *drop_caps = NULL;
+ bool dry_run = false;
++ bool persist_initramfs = false;
+ char **initargs;
+
+ /* Variables... */
+@@ -77,13 +81,15 @@ int main(int argc, char *argv[])
+ /* Parse the command line */
+ program = argv[0];
+
+- while ((o = getopt(argc, argv, "c:d:n")) != -1) {
++ while ((o = getopt(argc, argv, "c:d:pn")) != -1) {
+ if (o == 'c') {
+ c...
2012 May 04
2
[PATCH] run-init: add drop_capabilities support
.../sbin/init [args]\n",
+ "Usage: exec %s [-d caps] [-c consoledev] /real-root /sbin/init [args]\n",
program);
exit(1);
}
@@ -62,6 +63,7 @@ int main(int argc, char *argv[])
const char *realroot;
const char *init;
const char *error;
+ const char *drop_caps = NULL;
char **initargs;
/* Variables... */
@@ -70,9 +72,11 @@ int main(int argc, char *argv[])
/* Parse the command line */
program = argv[0];
- while ((o = getopt(argc, argv, "c:")) != -1) {
+ while ((o = getopt(argc, argv, "c:d:")) != -1) {
if (o == 'c') {
console = optarg;...
2019 Apr 18
0
[PATCH] Allow the initramfs to be persisted across root changes
...t;,
+ "Usage: exec %s [-d caps] [-c consoledev] [-n] [-p] /real-root /sbin/init [args]\n",
program);
exit(1);
}
@@ -69,6 +72,7 @@ int main(int argc, char *argv[])
const char *error;
const char *drop_caps = NULL;
bool dry_run = false;
+ bool persist_initramfs = false;
char **initargs;
/* Variables... */
@@ -77,13 +81,15 @@ int main(int argc, char *argv[])
/* Parse the command line */
program = argv[0];
- while ((o = getopt(argc, argv, "c:d:n")) != -1) {
+ while ((o = getopt(argc, argv, "c:d:pn")) != -1) {
if (o == 'c') {
console = o...
2019 Apr 28
0
[klibc:master] run-init: Allow the initramfs to be persisted across root changes
...t;,
+ "Usage: exec %s [-d caps] [-c consoledev] [-n] [-p] /real-root /sbin/init [args]\n",
program);
exit(1);
}
@@ -69,6 +72,7 @@ int main(int argc, char *argv[])
const char *error;
const char *drop_caps = NULL;
bool dry_run = false;
+ bool persist_initramfs = false;
char **initargs;
/* Variables... */
@@ -77,13 +81,15 @@ int main(int argc, char *argv[])
/* Parse the command line */
program = argv[0];
- while ((o = getopt(argc, argv, "c:d:n")) != -1) {
+ while ((o = getopt(argc, argv, "c:d:pn")) != -1) {
if (o == 'c') {
console = o...
2019 Jan 18
0
[klibc:master] run-init: Add dry-run mode
...n/init [args]\n",
+ "Usage: exec %s [-d caps] [-c consoledev] [-n] /real-root /sbin/init [args]\n",
program);
exit(1);
}
@@ -64,6 +68,7 @@ int main(int argc, char *argv[])
const char *init;
const char *error;
const char *drop_caps = NULL;
+ bool dry_run = false;
char **initargs;
/* Variables... */
@@ -72,11 +77,13 @@ int main(int argc, char *argv[])
/* Parse the command line */
program = argv[0];
- while ((o = getopt(argc, argv, "c:d:")) != -1) {
+ while ((o = getopt(argc, argv, "c:d:n")) != -1) {
if (o == 'c') {
console = opt...
2011 Jul 13
9
[PATCH 0/8] switch_root() enhancements
On a train ride to Bruxelles, brought out my axe and directly attacked
run_init(8). run_init(8) is dead, long live switch_root(8).
The next run on switch_root(8) involves fdopendir,
so another push for the upcoming stdio 1.6 branch.
The following is boot tested with initramfs-tools,
kinit(8) tests would very much be appreciated!?
Michal Suchanek (1):
[klibc] switch_root: Fix single file
2011 Jul 19
4
[PATCH v1 0/2] Support dropping of capabilities from early userspace.
This patchset applies to klibc mainline. As is it will probably collide
with Maximilian's recent patch to rename run-init to switch_root posted
last week.
To boot an untrusted environment with certain capabilities locked out,
we'd like to be able to drop the capabilities up front from early
userspace, before we actually transition onto the root volume.
This patchset implements this by
2006 Sep 28
1
ramfs to tmpfs
...MFS_MAGIC 0x858458f6
#endif
#ifndef MS_MOVE
# define MS_MOVE 8192
#endif
#define NEWROOT "/newroot"
#define CMDLINE "/proc/cmdline"
#define MEMINFO "/proc/meminfo"
static const char *program; // argv[0]
static char newroot[512]; // where newroot will be
static char **initargs; // argv
static struct stat root_st; // stat of /
static char meminfo[1024]; // contents of /proc/meminfo, after getprocinfo
static char cmdline[2048]; // contents of /proc/cmdline, after getprocinfo
static const char *getprocinfo(void);
/* error functions:
* error(fmt, ...) print "progra...
2017 Dec 31
4
[PATCH klibc 0/4] Fixes from Debian and Ubuntu
The following patches come from Debian and/or Ubuntu packages of
klibc.
Ben.
Ben Hutchings (1):
[klibc] run-init: Add dry-run mode
Jay Vosburgh (1):
[klibc] ipconfig: Use separate sockets for DHCP from multiple
interfaces
Mathieu Trudel-Lapierre (1):
[klibc] ipconfig: Set broadcast when sending DHCPREQUEST and
DHCPDISCOVER
YunQiang Su (1):
[klibc] mips: setjmp.S: don't
2015 Dec 22
1
Setting environment variables for LXC Containers
...signed to the container by libvirt
LIBVIRT_LXC_UUIDThe UUID assigned to the container by libvirt
LIBVIRT_LXC_CMDLINEThe unparsed command line arguments specified in the
container configuration. Use of this is discouraged, in favour of passing
arguments directly to the container init process via the initarg config
element.
I am looking for something similar to this:
https://linuxcontainers.org/lxc/manpages/man5/lxc.container.conf.5.html
(lxc.environment)
Regards,
Harish