diff options
author | Mike Pagano <mpagano@gentoo.org> | 2015-03-18 19:16:43 -0400 |
---|---|---|
committer | Mike Pagano <mpagano@gentoo.org> | 2015-03-18 19:16:43 -0400 |
commit | aca5f6281d96053a892f47fb707516f7df7d56a9 (patch) | |
tree | 618aa368d9538e31039eac6bd6d6bb1a923299d0 /2900_dev-root-proc-mount-fix.patch | |
parent | Add patch to support namespace user.pax.* on tmpfs, bug #470644 (diff) | |
download | linux-patches-aca5f6281d96053a892f47fb707516f7df7d56a9.tar.gz linux-patches-aca5f6281d96053a892f47fb707516f7df7d56a9.tar.bz2 linux-patches-aca5f6281d96053a892f47fb707516f7df7d56a9.zip |
Patch to enable link security restrictions by default. Patch to disable Windows 8 compatibility for some Lenovo ThinkPads. Patch to ensure that /dev/root doesn't appear in /proc/mounts when bootint without an initramfs. Path to not not lock when UMH is waiting on current thread spawned by linuxrc. (bug #481344) fbcondecor bootsplash patch. Add Gentoo Linux support config settings and defaults. Kernel patch that enables gcc < v4.9 optimizations for additional CPUs. Kernel patch enables gcc >= v4.9 optimizations for additional CPUs.
Diffstat (limited to '2900_dev-root-proc-mount-fix.patch')
-rw-r--r-- | 2900_dev-root-proc-mount-fix.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/2900_dev-root-proc-mount-fix.patch b/2900_dev-root-proc-mount-fix.patch new file mode 100644 index 00000000..6ea86e29 --- /dev/null +++ b/2900_dev-root-proc-mount-fix.patch @@ -0,0 +1,30 @@ +--- a/init/do_mounts.c 2014-08-26 08:03:30.000013100 -0400 ++++ b/init/do_mounts.c 2014-08-26 08:11:19.720014712 -0400 +@@ -484,7 +484,10 @@ void __init change_floppy(char *fmt, ... + va_start(args, fmt); + vsprintf(buf, fmt, args); + va_end(args); +- fd = sys_open("/dev/root", O_RDWR | O_NDELAY, 0); ++ if (saved_root_name[0]) ++ fd = sys_open(saved_root_name, O_RDWR | O_NDELAY, 0); ++ else ++ fd = sys_open("/dev/root", O_RDWR | O_NDELAY, 0); + if (fd >= 0) { + sys_ioctl(fd, FDEJECT, 0); + sys_close(fd); +@@ -527,8 +530,13 @@ void __init mount_root(void) + } + #endif + #ifdef CONFIG_BLOCK +- create_dev("/dev/root", ROOT_DEV); +- mount_block_root("/dev/root", root_mountflags); ++ if (saved_root_name[0]) { ++ create_dev(saved_root_name, ROOT_DEV); ++ mount_block_root(saved_root_name, root_mountflags); ++ } else { ++ create_dev("/dev/root", ROOT_DEV); ++ mount_block_root("/dev/root", root_mountflags); ++ } + #endif + } + |