|
From: Dirk M. <mu...@kd...> - 2003-11-14 14:20:59
|
CVS commit by mueller:
its getting annoying.
M +4 -0 vg_ldt.c 1.10.2.1
--- valgrind/coregrind/vg_ldt.c #1.10:1.10.2.1
@@ -165,4 +165,8 @@ Addr VG_(do_useseg) ( UInt seg_selector,
that RPL=11b (least privilege). These form the bottom 3 bits
of the selector. */
+ if ((seg_selector & 7) != 7) {
+ VG_(message)(Vg_UserMsg, "Warning: NPTL active. did you forget to "
+ "export LD_ASSUME_KERNEL=2.2.5 ?" );
+ }
vg_assert((seg_selector & 7) == 7);
|