Skip to contentSkip to conversation

remove global errno from the kernel, make _syscallX kernel-only

RFC PATCH Andreas Schwab 2 participants 2 messages Dec 31, 2001

lore
Share & tools
lore
#0 lore raw

Lennert Buytenhek <[email protected]> writes:

|> What I would like to know from each architecture team:
|> - What is your arch's policy on userspace usage of asm/unistd.h, and
|>   consequently, what is your opinion on the goal these patches
|>   aim for?

I very much appreciate the removal of the _syscallX macros. FWIW, the ia64 version of these macros never worked in userspace anyway.

|> - Are the changes I made in [1] and [2] for your $arch technically
|> correct?

The m68k changes look ok.

|> Please CC me on replies as I'm not on any of the lists posted to.
|> 
|> My intention is to push these to Linus for 2.5 if everyone agrees.
|> They're probably too intrusive for 2.4 (although I'd love people
|> to convince me otherwise).

I wouldn't mind putting it into 2.4.

Andreas.

Signature · 4 lines
Andreas Schwab                                  "And now for something
[email protected]				completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
#1 lore raw
Quoted 7 lines · Andreas Schwab
|> Please CC me on replies as I'm not on any of the lists posted to.
|> 
|> My intention is to push these to Linus for 2.5 if everyone agrees.
|> They're probably too intrusive for 2.4 (although I'd love people
|> to convince me otherwise).

I wouldn't mind putting it into 2.4.

While it may break things in userspace it will hopefully ensure correctness for userspace, so better kill 'em now than later. _syscallX() has a too long history of causing problems.

Ralf