mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Ingo Molnar <mingo@elte.hu>
Cc: Jamie Lokier <lk@tantalophile.demon.co.uk>,
	Linus Torvalds <torvalds@transmeta.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [patch] complain about unknown CLONE_* flags
Date: Fri, 2 Nov 2001 05:55:43 +0000	[thread overview]
Message-ID: <20011102055542.N35@toy.ucw.cz> (raw)
In-Reply-To: <Pine.LNX.4.44.0208161207450.3782-100000@localhost.localdomain>; from mingo@elte.hu on Fri, Aug 16, 2002 at 12:17:57PM +0200

Hi!

> > Ingo, how do you handle this sort of backward compatibility in your
> > latest pthreads library, or don't you do backward compatibility?
> 
> [btw., it's not me doing it but Ulrich Drepper. I'm mostly doing the 'lets
> find out how the kernel could help' side of things.]
> 
> the proper way of doing this is a way of getting fundamental kernel
> capabilities, not the 'probing' of the kernel in various ways. Glibc
> starts looking like old ISA drivers trying to do nonintrusive
> autodetection: 'lets try this port carefully without disturbing state,
> perhaps this feature is there'.
> 
> one way to handle this cleanly would be to add a kernel capabilities
> bitmask to sysconf(), and backport this to all mainstream Linux kernels

I'm afraid that bitmask will get out-of-date. Doing EINVAL seems like a good
way to do this. [Hmm, perhaps we need CLONE_DONT which only checks capabilities
and returns? It still seems better than sysconf...]
									Pavel
-- 
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.


  reply	other threads:[~2002-08-23 19:48 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-13 15:09 [patch] clone_startup(), 2.5.31-A0 Ingo Molnar
2002-08-13 15:30 ` Linus Torvalds
2002-08-13 15:44 ` Christoph Hellwig
2002-08-13 16:01   ` Linus Torvalds
2002-08-13 16:05     ` Christoph Hellwig
2002-08-13 16:20       ` Linus Torvalds
2002-08-13 18:32         ` [patch] CLONE_SETTLS, CLONE_SETTID, 2.5.31-BK Ingo Molnar
2002-08-13 18:41           ` Linus Torvalds
2002-08-13 19:09             ` Ingo Molnar
2002-08-13 19:41               ` Linus Torvalds
2002-08-13 19:41                 ` Ingo Molnar
2002-08-13 19:35             ` Ingo Molnar
2002-08-15 22:38           ` [patch] complain about unknown CLONE_* flags Jamie Lokier
2002-08-16 10:17             ` Ingo Molnar
2001-11-02  5:55               ` Pavel Machek [this message]
2002-08-13 16:09   ` [patch] clone_startup(), 2.5.31-A0 Erik Andersen
2002-08-13 16:11     ` Christoph Hellwig
2002-08-13 16:32       ` David Mosberger
2002-08-13 16:44         ` John Levon
2002-08-13 19:52         ` H. Peter Anvin
2002-08-13 20:19           ` David Mosberger
2002-08-13 20:27             ` H. Peter Anvin
2002-08-13 20:52               ` David Mosberger
2002-08-13 20:57                 ` H. Peter Anvin
2002-08-13 16:56       ` Ruth Ivimey-Cook
2002-08-13 17:42       ` Richard B. Johnson
2002-08-13 17:19     ` Ingo Molnar
2002-08-13 20:35       ` Kai Henningsen
2002-08-15 21:24         ` Thunder from the hill
2002-08-13 17:27   ` Ingo Molnar
2002-08-14 13:48     ` Rusty Russell
2002-08-14 18:47       ` Jamie Lokier

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=20011102055542.N35@toy.ucw.cz \
    --to=pavel@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lk@tantalophile.demon.co.uk \
    --cc=mingo@elte.hu \
    --cc=torvalds@transmeta.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®