0050.html
[vserver] linux 3.14.22 and patch-3.14.17-vs2.3.6.13.diff:
vserver development mailing list
[[[../|Next/Previous Months]]] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
[vserver] linux 3.14.22 and patch-3.14.17-vs2.3.6.13.diff[edit]
- This message: [ Message body ] [ More options ]
- Related messages: [ Next message ] [ Previous message ]
From: Corey Wright <undefined_at_pobox.com>
Date: Mon 27 Oct 2014 - 08:41:34 GMT
Message-Id: <20141027034134.9b8fc7bbe4b255505b93d0cd@pobox.com>
applying patch-3.14.17-vs2.3.6.13.diff to linux 3.14.22 fails in both
patching and testing/functionality.
the upstream addition of including "linux/hash.h" in "fs/namei.c" [1]
invalidated the patch hunk context.
the upstream change of masking all capabilities above CAP_LAST_CAP (which the
linux-vserver patch does not adjust to account for its own CAP_CONTEXT)
breaks changing/manipulating contexts.
\# vserver-info | grep V
Assumed 'SYSINFO' as no other option given; try '--help' for more information.
Versions:
VS-API: ???
VCI: ???
- chcontext --xid 1 -- true
chcontext: vc_new_s_context(): Function not implemented
the attached patches account for the change in patch hunk context and the
masking of CAP_CONTEXT.
1. acquire linux-3.14.22
2. apply patch-3.14.17-vs2.3.6.13.diff
3. apply the attached patch-3.14.17-19-include_hash-vs2.3.6.13.diff
4. apply the attached patch-3.14.17-19-remove_caps-vs2.3.6.13.diff
5. manually fix the Makefile reject (EXTRAVERSION)
i've built the resulting kernel and tested it in virtualbox against testme.sh
and testfs.sh, started-entered-exited-stopped a vserver guest, and (specific
to the capabilities fix) tested "vserver-info | grep V" and "chcontext --xid
1 -- true" (though that's also indirectly tested through testme.sh and
exercising a vserver guest).
corey
-- undefined@pobox.com
- text/x-diff attachment: patch-3.14.17-19-include_hash-vs2.3.6.13.diff
- text/x-diff attachment: patch-3.14.17-19-remove_caps-vs2.3.6.13.diff
Received on Mon Oct 27 08:42:02 2014
- This message: [ Message body ]
- Next message: Corey Wright: "[vserver] linux 3.14.22, patch-3.14.17-vs2.3.6.13.diff, and CONFIG_USER_NS"
- Previous message: Corey Wright: "Re: [vserver] linux 3.10.5[5678] and patch-3.10.53-vs2.3.6.8.diff"
- Contemporary messages sorted: [ By Date ] [ By Thread ] [ By Subject ] [ By Author ] [ By messages with attachments ]
[[[../|Next/Previous Months]]] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 27 Oct 2014 - 08:42:02 GMT by hypermail 2.1.8