sin
|
505bb70e89
|
Fix char **argv to char *argv[]
|
2014-04-18 11:52:31 +01:00 |
|
sin
|
6c19de185a
|
Inline the *_MAGIC defines to avoid a dependency on kernel_headers
|
2014-04-14 14:59:39 +01:00 |
|
sin
|
e43a102f11
|
Inlcude <string.h> as well for strcmp()
Sort include files.
|
2014-04-14 12:49:25 +01:00 |
|
sin
|
bed72cf409
|
Simplify skipping "." and ".." in switch_root
|
2014-04-14 11:32:59 +01:00 |
|
sin
|
33be4f39c2
|
Fixup error message in switch_root
|
2014-04-14 11:27:33 +01:00 |
|
sin
|
6cf5c4dfba
|
Include limits.h instead of linux/limits.h
|
2014-04-14 11:24:02 +01:00 |
|
sin
|
4d7091cae9
|
Use *_FILENO instead of hardcoding constants
|
2014-04-14 11:22:47 +01:00 |
|
sin
|
fc4dc81535
|
Some more stylistic changes to switch_root
|
2014-04-14 11:20:25 +01:00 |
|
sin
|
38a0ce084f
|
Remember to return EXIT_FAILURE from main()
Doesn't matter in this case but gets rid of compiler warnings.
|
2014-04-14 09:47:13 +01:00 |
|
FRIGN
|
c7d72a8a56
|
Implement switch_root
|
2014-04-14 09:44:38 +01:00 |
|