Editing
0050.html
(section)
From Linix VServer
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= [vserver] linux 3.14.22 and patch-3.14.17-vs2.3.6.13.diff = * <span class="dfn">This message</span>: [ [[#start|Message body]] ] [ [[#options2|More options]] ] * <span class="dfn">Related messages</span>: [ [[0051.html|Next message]] ] [ [[0049.html|Previous message]] ] </div> <div class="mail"> <span id="from"> <span class="dfn">From</span>: Corey Wright <[mailto:undefined_at_pobox.com?Subject=Re:%20%5Bvserver%5D%20linux%203.14.22%20and%20patch-3.14.17-vs2.3.6.13.diff undefined_at_pobox.com]> </span><br /> <span id="date"><span class="dfn">Date</span>: Mon 27 Oct 2014 - 08:41:34 GMT</span><br /> <span id="message-id"><span class="dfn">Message-Id</span>: <20141027034134.9b8fc7bbe4b255505b93d0cd@pobox.com> </span><br /> applying patch-3.14.17-vs2.3.6.13.diff to linux 3.14.22 fails in both<br /> patching and testing/functionality.<br /> the upstream addition of including "linux/hash.h" in "fs/namei.c" [1]<br /> invalidated the patch hunk context.<br /> [1]<br /> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-3.10.y&id=d4c96061fddd129778ce8b70fb093aa532f422d0<br /> the upstream change of masking all capabilities above CAP_LAST_CAP (which the<br /> linux-vserver patch does not adjust to account for its own CAP_CONTEXT)<br /> breaks changing/manipulating contexts.<br /> \# vserver-info | grep V<br /> Assumed 'SYSINFO' as no other option given; try '--help' for more information.<br /> Versions:<br /> VS-API: ???<br /> VCI: ???<br /> # chcontext --xid 1 -- true<br /> chcontext: vc_new_s_context(): Function not implemented<br /> [2]<br /> https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?h=linux-3.10.y&id=76f01555c78e496203105bd29b878db3431a2260<br /> the attached patches account for the change in patch hunk context and the<br /> masking of CAP_CONTEXT.<br /> 1. acquire linux-3.14.22<br /> 2. apply patch-3.14.17-vs2.3.6.13.diff<br /> 3. apply the attached patch-3.14.17-19-include_hash-vs2.3.6.13.diff<br /> 4. apply the attached patch-3.14.17-19-remove_caps-vs2.3.6.13.diff<br /> 5. manually fix the Makefile reject (EXTRAVERSION)<br /> i've built the resulting kernel and tested it in virtualbox against testme.sh<br /> and testfs.sh, started-entered-exited-stopped a vserver guest, and (specific<br /> to the capabilities fix) tested "vserver-info | grep V" and "chcontext --xid<br /> 1 -- true" (though that's also indirectly tested through testme.sh and<br /> exercising a vserver guest).<br /> corey<br /> <pre> -- undefined@pobox.com</pre> <div> * text/x-diff attachment: [[att-0050/patch-3.14.17-19-include_hash-vs2.3.6.13.diff|patch-3.14.17-19-include_hash-vs2.3.6.13.diff]] * text/x-diff attachment: [[att-0050/patch-3.14.17-19-remove_caps-vs2.3.6.13.diff|patch-3.14.17-19-remove_caps-vs2.3.6.13.diff]] </div> <span id="received"><span class="dfn">Received on</span> Mon Oct 27 08:42:02 2014</span> </div> <div class="foot"> * <span class="dfn">This message</span>: [ [[#start|Message body]] ] * <span class="dfn">Next message</span>: [[0051.html|Corey Wright: "[vserver] linux 3.14.22, patch-3.14.17-vs2.3.6.13.diff, and CONFIG_USER_NS"]] * <span class="dfn">Previous message</span>: [[0049.html|Corey Wright: "Re: [vserver] linux 3.10.5[5678] and patch-3.10.53-vs2.3.6.8.diff"]] * <span id="options2"></span><span class="dfn">Contemporary messages sorted</span>: [ [[date.html#50|By Date]] ] [ [[index.html#50|By Thread]] ] [ [[subject.html#50|By Subject]] ] [ [[author.html#50|By Author]] ] [ [[attachment.html|By messages with attachments]] ] </div> <div align="center"> [<nowiki/>[[../|Next/Previous Months]]] [<nowiki/>[http://www.solucorp.qc.ca/miscprj/s_context.hc Main vserver Project Homepage]] [<nowiki/>[http://www.solucorp.qc.ca/mlist/index.hc?list=vserver Howto Subscribe/Unsubscribe]] [<nowiki/>[http://www.paul.sladen.org/vserver/ Paul Sladen's vserver stuff]]<br /> <span class="small">Generated on Mon 27 Oct 2014 - 08:42:02 GMT by [http://www.hypermail.org/ hypermail 2.1.8]</span> </div>
Summary:
Please note that all contributions to Linix VServer may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Linix VServer:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
About
Overview
Paper
News
Developers
Donations
Search
Getting Started
Downloads
FAQs
Documentation
Support
Participate
How to participate
Report a Bug
Communicate
Teams/Projects
Hall of Fame
Resources
Archives
Recent Wiki Changes
Pastebin
Related Projects
VServer Hosting
Happy VServer Users
Tools
What links here
Related changes
Special pages
Page information