Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1633321
| Path | csiph.com!aioe.org!news.servidellagleba.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | ebiederm@xmission.com (Eric W. Biederman) |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] Introduce v3 namespaced file capabilities |
| Date | Sat, 29 Apr 2017 20:30:02 +0200 |
| Message-ID | <tBFi2-1bq-7@gated-at.bofh.it> (permalink) |
| References | <tBs1r-18g-3@gated-at.bofh.it> |
| X-Original-To | "Serge E. Hallyn" <serge@hallyn.com> |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| X-Xm-Spf | eid=1d4X7A-0001Hr-Cb;;;mid=<87a86zul8j.fsf@xmission.com>;;;hst=in02.mta.xmission.com;;;ip=67.3.233.227;;;frm=ebiederm@xmission.com;;;spf=neutral |
| X-Xm-Aid | U2FsdGVkX19PL2UtJ7asmzeWn3cYmJ3M4eTbExd1O+s= |
| X-Sa-Exim-Connect-IP | 67.3.233.227 |
| X-Sa-Exim-Mail-From | ebiederm@xmission.com |
| X-Spam-Report | * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 TVD_RCVD_IP Message was received from an IP address * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.4951] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa07 1397; Body=1 Fuz1=1 Fuz2=1] |
| X-Spam-Dcc | XMission; sa07 1397; Body=1 Fuz1=1 Fuz2=1 |
| X-Spam-Combo | ;"Serge E. Hallyn" <serge@hallyn.com> |
| X-Spam-Timing | total 5419 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 2.6 (0.0%), b_tie_ro: 1.82 (0.0%), parse: 0.78 (0.0%), extract_message_metadata: 14 (0.3%), get_uri_detail_list: 1.08 (0.0%), tests_pri_-1000: 6 (0.1%), tests_pri_-950: 1.15 (0.0%), tests_pri_-900: 1.03 (0.0%), tests_pri_-400: 20 (0.4%), check_bayes: 19 (0.4%), b_tokenize: 7 (0.1%), b_tok_get_all: 5 (0.1%), b_comp_prob: 1.99 (0.0%), b_tok_touch_all: 2.7 (0.1%), b_finish: 0.61 (0.0%), tests_pri_0: 467 (8.6%), check_dkim_signature: 0.82 (0.0%), check_dkim_adsp: 4.0 (0.1%), tests_pri_500: 4904 (90.5%), poll_dns_idle: 4896 (90.4%), rewrite_mail: 0.00 (0.0%) |
| X-Spam-Flag | No |
| X-Sa-Exim-Version | 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) |
| X-Sa-Exim-Scanned | Yes (on in02.mta.xmission.com) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 36 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | Seth Forshee <seth.forshee@canonical.com>, lkml <linux-kernel@vger.kernel.org>, linux-api@vger.kernel.org, linux-security-module@vger.kernel.org, Kees Cook <keescook@chromium.org>, Andreas Gruenbacher <agruenba@redhat.com>, Andy Lutomirski <luto@kernel.org>, "Andrew G. Morgan" <morgan@kernel.org> |
| X-Original-Date | Sat, 29 Apr 2017 13:22:52 -0500 |
| X-Original-Message-ID | <87a86zul8j.fsf@xmission.com> |
| X-Original-References | <20170429041534.GA25594@mail.hallyn.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1633321 |
Show key headers only | View raw
"Serge E. Hallyn" <serge@hallyn.com> writes: [snip] > A patch to linux-test-project adding a new set of tests for this > functionality is in the nsfscaps branch at github.com/hallyn/ltp > > Changelog: > Nov 02 2016: fix invalid check at refuse_fcap_overwrite() > Nov 07 2016: convert rootid from and to fs user_ns > (From ebiederm: mar 28 2017) > commoncap.c: fix typos - s/v4/v3 > get_vfs_caps_from_disk: clarify the fs_ns root access check > nsfscaps: change the code split for cap_inode_setxattr() > Apr 09 2017: > don't return v3 cap for caps owned by current root. > return a v2 cap for a true v2 cap in non-init ns > Apr 18 2017: > . Change the flow of fscap writing to support s_user_ns writing. > . Remove refuse_fcap_overwrite(). The value of the previous > xattr doesn't matter. > Apr 24 2017: > . incorporate Eric's incremental diff > . move cap_convert_nscap to setxattr and simplify its usage > --- > fs/xattr.c | 6 + > include/linux/capability.h | 3 +- > include/linux/security.h | 2 + > include/uapi/linux/capability.h | 22 +++- > security/commoncap.c | 269 +++++++++++++++++++++++++++++++++++++--- > 5 files changed, 279 insertions(+), 23 deletions(-) > Grrr. No Signed-off-by: again. Eric
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2] Introduce v3 namespaced file capabilities "Serge E. Hallyn" <serge@hallyn.com> - 2017-04-29 06:20 +0200 Re: [PATCH v2] Introduce v3 namespaced file capabilities ebiederm@xmission.com (Eric W. Biederman) - 2017-04-29 20:30 +0200
csiph-web