]> Zhao Yanbai Git Server - minix.git/commitdiff
also don't let user process change ss segment selector when returning from
authorBen Gras <ben@minix3.org>
Fri, 25 Sep 2009 17:44:26 +0000 (17:44 +0000)
committerBen Gras <ben@minix3.org>
Fri, 25 Sep 2009 17:44:26 +0000 (17:44 +0000)
signal.

kernel/system/do_sigreturn.c

index 6e286675f9cbff2f0b4377e13a2df0326f03bb54..c382e0389c1a5945f9ff254c8171d4142aa22284 100644 (file)
@@ -46,6 +46,7 @@ message *m_ptr;                       /* pointer to request message */
   sc.sc_cs = rp->p_reg.cs;
   sc.sc_ds = rp->p_reg.ds;
   sc.sc_es = rp->p_reg.es;
+  sc.sc_ss = rp->p_reg.ss;
 #if _WORD_SIZE == 4
   sc.sc_fs = rp->p_reg.fs;
   sc.sc_gs = rp->p_reg.gs;