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


Groups > linux.kernel > #1166286

Re: ioperm is kept on fork

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From "H. Peter Anvin" <hpa@zytor.com>
Newsgroups linux.kernel
Subject Re: ioperm is kept on fork
Date Tue, 16 Jun 2015 19:40:03 +0200
Message-ID <pC307-Sa-27@gated-at.bofh.it> (permalink)
References <pC2dH-86L-1@gated-at.bofh.it>
X-Original-To Alex Henrie <alexhenrie24@gmail.com>, One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>, Kees Cook <keescook@chromium.org>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Tyler Hicks <tyhicks@canonical.com>, Al Viro <viro@zeniv.linux.org.uk>, Andy Lutomirski <luto@kernel.org>, Andrew Morton <akpm@linux-foundation.org>, Borislav Petkov <bp@alien8.de>, Peter Zijlstra <a.p.zijlstra@chello.nl>, Arjan van de Ven <arjan@infradead.org>, Denys Vlasenko <dvlasenk@redhat.com>, Brian Gerst <brgerst@gmail.com>, Linux Kernel Mailing List <linux-kernel@vger.kernel.org>, Austin Hemmelgarn <ahferroin7@gmail.com>, Arjan van de Ven <arjanvandeven@gmail.com>, Ingo Molnar <mingo@kernel.org>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 7bit
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 22
Organization linux.* mail to news gateway
X-Original-Date Tue, 16 Jun 2015 10:29:47 -0700
X-Original-Message-ID <55805D0B.6020309@zytor.com>
X-Original-References <CAMMLpeRz=nxZqLiYcMA1WN==S68SsFCd-WJ9q63yTxSqjHei6A@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1166286

Show key headers only | View raw


On 06/16/2015 09:42 AM, Alex Henrie wrote:
> Hi,
> 
> Could one of you knowledgeable kernel developers comment on
> https://bugzilla.kernel.org/show_bug.cgi?id=99911 ? The man pages
> maintainer wants to know when this behavior changed.
> 

I know that I wrote a program which required I/O privileges at some
point, and it called ioperm() in a setuid wrapper.  This was in the late
90s.  I suspect we'd have to do a bit of a deep dive to double-check;
the old ioperm() code which only supported the ISA port range to avoid
having to copy the bitmap might be good to look at.

	-hpa


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: ioperm is kept on fork "H. Peter Anvin" <hpa@zytor.com> - 2015-06-16 19:40 +0200

csiph-web