LWN: Comments on "3.16 merge window, part 2" https://lwn.net/Articles/601726/ This is a special feed containing comments posted to the individual LWN article titled "3.16 merge window, part 2". en-us Tue, 04 Nov 2025 15:27:23 +0000 Tue, 04 Nov 2025 15:27:23 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net 3.16 merge window, part 2 https://lwn.net/Articles/603857/ https://lwn.net/Articles/603857/ eru <div class="FormattedComment"> Thanks again, I will study that sample.<br> <p> </div> Sun, 29 Jun 2014 12:11:48 +0000 3.16 merge window, part 2 https://lwn.net/Articles/603820/ https://lwn.net/Articles/603820/ khim <p>LDT is unusable in 64bit mode, yes. This is hardware limitation. It's fully usable in 32bit process even on x86-64 system with 64bit kernel. For 32bit process there are examples (e.g. you could look on NaCl <a href="http://src.chromium.org/viewvc/native_client/trunk/src/native_client/src/trusted/service_runtime/linux/x86/nacl_ldt.c">here</a>).</p> Sat, 28 Jun 2014 12:43:35 +0000 3.16 merge window, part 2 https://lwn.net/Articles/603798/ https://lwn.net/Articles/603798/ eru Thanks, khim. I guess I was too dense to include "ldt" in my queries. The manpage is not too informative, though. It does not say if I can extend the LDT with the call, and a quick test on my home x86_64 machine just returned 0 as the size, when reading the LDT (maybe this works only in 32-bit processes?). I would like to be able to allocate at least about ten LDT entries, in order to partially simulate a legacy system, where code, data and stack are all in different segments, and memory allocation calls return fresh segments with their own LDT entries. <p>Oh well, I probably have to read relevant bit of the kernel source for further investigations. Sat, 28 Jun 2014 10:12:05 +0000 3.16 merge window, part 2 https://lwn.net/Articles/603757/ https://lwn.net/Articles/603757/ khim What have you tried to find in Google? Request <a href="http://lmgtfy.com/?q=How+to+modify+LDT+in+Linux"><i>How to modify LDT in Linux</i></a> returns the appropriate manpage as <a href="http://man7.org/linux/man-pages/man2/modify_ldt.2.html">the first hit</a>! Fri, 27 Jun 2014 16:27:32 +0000 3.16 merge window, part 2 https://lwn.net/Articles/603706/ https://lwn.net/Articles/603706/ eru <i> <ul><li>16-bit stack segments will be allowed on 64-bit x86 kernels again. That feature was disabled due to a kernel information leak of the top 16 bits of the stack pointer that has now been fixed. Users will regain the ability to run 16-bit Windows programs in Wine on 64-bit kernels.</ul> </i> <p> Didn't even know that was ever possible, but could be useful for my purposes. I wonder where I can find docs on how to allocate actual x86 16-bit segments, or for that matter 32-bit segments from user code? Manpages and googling turned up nothing. Fri, 27 Jun 2014 10:14:12 +0000 3.16 merge window, part 2 https://lwn.net/Articles/602289/ https://lwn.net/Articles/602289/ rvfh <div class="FormattedComment"> inode_owner_or_capable() was also modified to support the case where 'current [...] has CAP_FOWNER in a namespace with the inode owner uid mapped'.<br> </div> Fri, 13 Jun 2014 07:30:38 +0000 3.16 merge window, part 2 https://lwn.net/Articles/602110/ https://lwn.net/Articles/602110/ luto <div class="FormattedComment"> The capable_wrt_inode_uidgid change was the entire fix for CVE-2014-4014. No one as claimed the prize for figuring out the vulnerability yet :)<br> </div> Thu, 12 Jun 2014 05:49:27 +0000