Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2018 11:34:50 -0800
From:      John Baldwin <jhb@FreeBSD.org>
To:        cem@freebsd.org
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r341689 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys
Message-ID:  <4bcd78df-fb28-1c69-c51e-a50b55c50b1b@FreeBSD.org>
In-Reply-To: <CAG6CVpW4_=GhLnRktA0uzji0EykrwND-dSDjrz2kHgK3MycO3g@mail.gmail.com>
References:  <201812071517.wB7FHTiI035911@repo.freebsd.org> <e9e457ed-00f5-705e-55ea-1ad602f34ef0@FreeBSD.org> <20181207174757.GI52540@kib.kiev.ua> <f88691bd-0efb-e49d-8486-1405c5eb11dc@FreeBSD.org> <CAG6CVpW4_=GhLnRktA0uzji0EykrwND-dSDjrz2kHgK3MycO3g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/7/18 10:59 AM, Conrad Meyer wrote:
> On Fri, Dec 7, 2018 at 10:05 AM John Baldwin <jhb@freebsd.org> wrote:
>> The
>> requirement for root mostly mitigates this when root vs not-root is your
>> only privilege.  However, a capsicum vs non-capsicum process is a more
>> recent privilege that is orthogonal to root vs non-root.  It might be that
>> allowing a capsicumized root to create links to files that were intentionally
>> unlinked by a non-capsicumized root would be the same problem.
> 
> None of these syscalls were added to sys/kern/capabilities.conf, so I
> think a capsicum-contained root cannot use them anyway.  Maybe I
> misunderstand how capabilities.conf works, though.

Ok.

-- 
John Baldwin

                                                                            



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4bcd78df-fb28-1c69-c51e-a50b55c50b1b>