From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Andi Kleen <andi@firstfloor.org>
Cc: Jeff Dike <jdike@addtoit.com>, Zach Brown <zach.brown@oracle.com>,
Ingo Molnar <mingo@elte.hu>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Syslets, signals, and security
Date: Mon, 4 Jun 2007 23:44:53 +0100 [thread overview]
Message-ID: <20070604234453.06162eb9@the-village.bc.nu> (raw)
In-Reply-To: <p73vee3a14x.fsf@bingen.suse.de>
> The problem is that you would need to reference count/lock them in every
> syscall or ioctl or similar. Otherwise another thread
> could change them in the middle of a syscall which wouldn't be
> good. Doing this full reference counting would be probably somewhat
> expensive with more locked cycles and also a lot of work to implement.
> You would need to audit large parts of the source tree.
It also mucks up the rather more powerful existing behaviour unless we
make the changing optional in which case it gets *really ugly*
> I don't think it's a good idea.
Ditto (and glibc handles it for userspace posix APIs)
next prev parent reply other threads:[~2007-06-04 22:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-04 16:31 Jeff Dike
2007-06-04 17:16 ` Ulrich Drepper
2007-06-04 17:45 ` Zach Brown
2007-06-04 19:13 ` Jeff Dike
2007-06-04 20:57 ` Andi Kleen
2007-06-04 22:44 ` Alan Cox [this message]
2007-06-05 11:11 ` Andi Kleen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070604234453.06162eb9@the-village.bc.nu \
--to=alan@lxorguk.ukuu.org.uk \
--cc=andi@firstfloor.org \
--cc=jdike@addtoit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=zach.brown@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®