[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: (was Bug#570350) Google Chrome



Re: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570350

Sorry but the patch at the bottom of the thread doesn't seem to like me:

Preparation:
apt-get source linux-2.6
apt-get install build-essential fakeroot
apt-get build-dep linux-2.6
cd linux-2.6-2.6.26
fakeroot debian/rules source
fakeroot make -f debian/rules.gen setup_amd64_none_amd64

Applying the patch:

red:~/linux-2.6-2.6.26# patch -p1 < ../linux-patches/0001-pid_ns-zap_pid_ns_processes-fix-the-child_reaper-cha.patch
patching file kernel/pid_namespace.c
Hunk #1 FAILED at 179.
1 out of 1 hunk FAILED -- saving rejects to file kernel/pid_namespace.c.rej

red:~/linux-2.6-2.6.26# cat kernel/pid_namespace.c.rej
*************** void zap_pid_ns_processes(struct pid_namespace *pid_ns)
*** 179,187 ****
  		rc = sys_wait4(-1, NULL, __WALL, NULL);
  	} while (rc != -ECHILD);

-
- 	/* Child reaper for the pid namespace is going away */
- 	pid_ns->child_reaper = NULL;
  	acct_exit_ns(pid_ns);
  	return;
  }
--- 179,190 ----
  		rc = sys_wait4(-1, NULL, __WALL, NULL);
  	} while (rc != -ECHILD);

+ 	/*
+ 	 * We can not clear ->child_reaper or leave it alone.
+ 	 * There may by stealth EXIT_DEAD tasks on ->children,
+ 	 * forget_original_parent() must move them somewhere.
+ 	 */
+ 	pid_ns->child_reaper = init_pid_ns.child_reaper;
  	acct_exit_ns(pid_ns);
  	return;
  }

Any hints?

Also running Chrome 5 with the --no-sandbox option displays this message.

"You are using an unsupported command line flag: --no-sandbox. Stability and security will suffer"

Oh the irony!


Reply to: