Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
22e67847
Commit
22e67847
authored
Feb 27, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
defconfig changes, /bin/sh boottime fallback fix
parent
52f4fc0b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
arch/i386/defconfig
arch/i386/defconfig
+5
-2
init/main.c
init/main.c
+3
-1
No files found.
arch/i386/defconfig
View file @
22e67847
...
@@ -105,6 +105,7 @@ CONFIG_CARDBUS=y
...
@@ -105,6 +105,7 @@ CONFIG_CARDBUS=y
# CONFIG_HOTPLUG_PCI is not set
# CONFIG_HOTPLUG_PCI is not set
# CONFIG_HOTPLUG_PCI_COMPAQ is not set
# CONFIG_HOTPLUG_PCI_COMPAQ is not set
# CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
# CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM is not set
# CONFIG_HOTPLUG_PCI_IBM is not set
CONFIG_KCORE_ELF=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
# CONFIG_KCORE_AOUT is not set
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_AOUT=y
...
@@ -132,7 +133,7 @@ CONFIG_PARPORT_PC_CML1=y
...
@@ -132,7 +133,7 @@ CONFIG_PARPORT_PC_CML1=y
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_PARPORT_SUNBPP is not set
# CONFIG_PARPORT_OTHER is not set
# CONFIG_PARPORT_OTHER is not set
CONFIG_PARPORT_1284=y
# CONFIG_PARPORT_1284 is not set
#
#
# Plug and Play configuration
# Plug and Play configuration
...
@@ -685,6 +686,7 @@ CONFIG_NFS_FS=y
...
@@ -685,6 +686,7 @@ CONFIG_NFS_FS=y
# CONFIG_ROOT_NFS is not set
# CONFIG_ROOT_NFS is not set
CONFIG_NFSD=y
CONFIG_NFSD=y
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_V3 is not set
# CONFIG_NFSD_TCP is not set
CONFIG_SUNRPC=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_LOCKD=y
# CONFIG_SMB_FS is not set
# CONFIG_SMB_FS is not set
...
@@ -727,13 +729,14 @@ CONFIG_SOUND=y
...
@@ -727,13 +729,14 @@ CONFIG_SOUND=y
# Advanced Linux Sound Architecture
# Advanced Linux Sound Architecture
#
#
CONFIG_SND=y
CONFIG_SND=y
# CONFIG_SND_RTCTIMER is not set
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_RTCTIMER is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_SND_DEBUG is not set
#
#
...
...
init/main.c
View file @
22e67847
...
@@ -460,6 +460,8 @@ extern void prepare_namespace(void);
...
@@ -460,6 +460,8 @@ extern void prepare_namespace(void);
static
int
init
(
void
*
unused
)
static
int
init
(
void
*
unused
)
{
{
static
char
*
argv_sh
[]
=
{
"sh"
,
NULL
,
};
lock_kernel
();
lock_kernel
();
do_basic_setup
();
do_basic_setup
();
...
@@ -491,6 +493,6 @@ static int init(void * unused)
...
@@ -491,6 +493,6 @@ static int init(void * unused)
execve
(
"/sbin/init"
,
argv_init
,
envp_init
);
execve
(
"/sbin/init"
,
argv_init
,
envp_init
);
execve
(
"/etc/init"
,
argv_init
,
envp_init
);
execve
(
"/etc/init"
,
argv_init
,
envp_init
);
execve
(
"/bin/init"
,
argv_init
,
envp_init
);
execve
(
"/bin/init"
,
argv_init
,
envp_init
);
execve
(
"/bin/sh"
,
argv_
init
,
envp_init
);
execve
(
"/bin/sh"
,
argv_
sh
,
envp_init
);
panic
(
"No init found. Try passing init= option to kernel."
);
panic
(
"No init found. Try passing init= option to kernel."
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment