aboutsummaryrefslogtreecommitdiffstats
path: root/oplot.py
diff options
context:
space:
mode:
authorChristopher Kenna <cjk@cs.unc.edu>2012-01-18 12:40:40 -0500
committerChristopher Kenna <cjk@cs.unc.edu>2012-01-18 12:40:40 -0500
commit2466523fc5830607af4cab04ebfdafcfcec040cf (patch)
tree6609f4170bc4117aff5de3ee6e35ed5cf7368c9d /oplot.py
parent241fb34222a46761e3e17b86b76f8ab29978a37f (diff)
change colors
Diffstat (limited to 'oplot.py')
0 files changed, 0 insertions, 0 deletions
;gregkh@suse.de> 2005-06-21 00:15:16 -0400 committer Greg Kroah-Hartman <gregkh@suse.de> 2006-06-26 15:25:05 -0400 [PATCH] devfs: Remove devfs from the init code' href='/cgit/cgit.cgi/litmus-rt-pandaboard.git/commit/init/do_mounts_initrd.c?id=bdaf8529385d5126ef791e8f1914afff8cd59bcf'>bdaf8529385
1da177e4c3f








1da177e4c3f
8baabde66c6





1da177e4c3f
83144186295
8baabde66c6
1da177e4c3f
8baabde66c6

1da177e4c3f








1da177e4c3f














f220ab2a516



1da177e4c3f















bdaf8529385
1da177e4c3f














1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129







                           
                          



























                                                                           
                                                     




                                      
                

                                                 
                                               








                                                                        
 





                                                                              
                                                             
                    
                                                           
                                

                                           








                                                     














                                                                       



                                                                     















                                                                         
                                                  














                                                                              
#include <linux/unistd.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/minix_fs.h>
#include <linux/ext2_fs.h>
#include <linux/romfs_fs.h>
#include <linux/initrd.h>
#include <linux/sched.h>
#include <linux/freezer.h>

#include "do_mounts.h"

unsigned long initrd_start, initrd_end;
int initrd_below_start_ok;
unsigned int real_root_dev;	/* do_proc_dointvec cannot handle kdev_t */
static int __initdata old_fd, root_fd;
static int __initdata mount_initrd = 1;

static int __init no_initrd(char *str)
{
	mount_initrd = 0;
	return 1;
}

__setup("noinitrd", no_initrd);

static int __init do_linuxrc(void * shell)
{
	static char *argv[] = { "linuxrc", NULL, };
	extern char * envp_init[];

	sys_close(old_fd);sys_close(root_fd);
	sys_close(0);sys_close(1);sys_close(2);
	sys_setsid();
	(void) sys_open("/dev/console",O_RDWR,0);
	(void) sys_dup(0);
	(void) sys_dup(0);
	return kernel_execve(shell, argv, envp_init);
}