Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1557847

Re: [Question] New mmap64 syscall?

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Pavel Machek <pavel@ucw.cz>
Newsgroups linux.kernel
Subject Re: [Question] New mmap64 syscall?
Date Thu, 12 Jan 2017 23:00:02 +0100
Message-ID <sYVzA-GY-9@gated-at.bofh.it> (permalink)
References <sLvtf-7oy-21@gated-at.bofh.it> <sLKsh-BZ-11@gated-at.bofh.it> <sM9h5-7Vv-17@gated-at.bofh.it> <sM9h5-7Vv-15@gated-at.bofh.it> <sVEvh-3xp-71@gated-at.bofh.it> <sYQgy-66R-27@gated-at.bofh.it>
X-Original-To Florian Weimer <fweimer@redhat.com>
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N"
Content-Disposition inline
User-Agent Mutt/1.5.23 (2014-03-12)
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 41
Organization linux.* mail to news gateway
X-Original-Cc Yury Norov <ynorov@caviumnetworks.com>, libc-alpha@sourceware.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Catalin Marinas <catalin.marinas@arm.com>, szabolcs.nagy@arm.com, heiko.carstens@de.ibm.com, cmetcalf@ezchip.com, philipp.tomsich@theobroma-systems.com, joseph@codesourcery.com, zhouchengming1@huawei.com, Prasun.Kapoor@caviumnetworks.com, agraf@suse.de, geert@linux-m68k.org, kilobyte@angband.pl, manuel.montezelo@gmail.com, arnd@arndb.de, pinskia@gmail.com, linyongting@huawei.com, klimov.linux@gmail.com, broonie@kernel.org, bamvor.zhangjian@huawei.com, linux-arm-kernel@lists.infradead.org, maxim.kuvyrkov@linaro.org, Nathan_Lynch@mentor.com, schwidefsky@de.ibm.com, davem@davemloft.net, christoph.muellner@theobroma-systems.com
X-Original-Date Thu, 12 Jan 2017 22:51:28 +0100
X-Original-Message-ID <20170112215128.GA14063@amd>
X-Original-References <20161206185440.GA4654@yury-N73SV> <f544bcc3-8aae-1bd0-b744-9964fc038a51@redhat.com> <20161207154811.GA15248@yury-N73SV> <14981df2-b120-17c3-a5a8-5cbbd2008c4f@redhat.com> <20170103205437.GA22548@amd> <59af3a6f-f30c-46a5-2d0b-6a7e36668e6b@redhat.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1557847

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Thu 2017-01-12 17:13:25, Florian Weimer wrote:
> On 01/03/2017 09:54 PM, Pavel Machek wrote:
> >...actually, with strace and batched interface, it will be impossible
> >to see what is going on because of races. So I'm not sure if I like
> >the batched interface at all...
> 
> I'm not sure if I understand this problem.
> 
> ioctl, fcntl, most socket system calls, even open all have this problem as
> well, right?

Yes, ioctl() and similar are problematic. Still it is possible to
implement secure sandbox using ptrace. Dealing with indirect mmap()
would difficult AFAICT.

									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [Question] New mmap64 syscall? Pavel Machek <pavel@ucw.cz> - 2017-01-03 22:10 +0100
  Re: [Question] New mmap64 syscall? Florian Weimer <fweimer@redhat.com> - 2017-01-12 17:20 +0100
    Re: [Question] New mmap64 syscall? Pavel Machek <pavel@ucw.cz> - 2017-01-12 23:00 +0100

csiph-web