public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Recent changes to sysctl.h breaks glibc
@ 2003-05-18 20:21 Martin Schlemmer
  2003-05-18 20:49 ` William Lee Irwin III
  0 siblings, 1 reply; 65+ messages in thread
From: Martin Schlemmer @ 2003-05-18 20:21 UTC (permalink / raw)
  To: KML

[-- Attachment #1: Type: text/plain, Size: 935 bytes --]

Hi

Some recent changes to include/linux/sysctl.h breaks glibc.

Problem is that __sysctl_args have been modified to use '__user',
but that is only defined if __KERNEL__ is defined, because that
is the only time compiler.h is included.

------------------------------------------------
--- linux-2.5.69-bk2/include/linux/sysctl.h	2003-05-05
01:53:31.000000000 +0200
+++ linux-2.5.69-bk12/include/linux/sysctl.h	2003-05-18
22:12:39.000000000 +0200
@@ -36,11 +36,11 @@
 				   member of a struct __sysctl_args to have? */
 
 struct __sysctl_args {
-	int *name;
+	int __user *name;
 	int nlen;
-	void *oldval;
-	size_t *oldlenp;
-	void *newval;
+	void __user *oldval;
+	size_t __user *oldlenp;
+	void __user *newval;
 	size_t newlen;
 	unsigned long __unused[4];
 };
--------------------------------------------------
 
Question:  Is this expected behaviour ?


Thanks,

-- 

Martin Schlemmer




[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 65+ messages in thread
* RE: Recent changes to sysctl.h breaks glibc
@ 2003-05-19 19:54 Mudama, Eric
  2003-05-19 20:36 ` Martin Schlemmer
  0 siblings, 1 reply; 65+ messages in thread
From: Mudama, Eric @ 2003-05-19 19:54 UTC (permalink / raw)
  To: 'azarah@gentoo.org', Arjan van de Ven
  Cc: David Ford, William Lee Irwin III, KML


On Monday, May 19, 2003 1:44 PM, Martin Schlemmer wrote:
> I think on the one hand the question is also ... how far
> will a developer of one distro go to help another.  I
> cannot say that I have had much success in the past to
> get a response from one of the 'big guys' to help me/us
> (the 'small guys') =)

AFAIK, it doesn't matter if a distro helps another or not.  As per Arjan van
de Ven's comment, I would think any code they release in terms of header
files based on original GPL source is itself GPL, and therefore
includable/usable/modifyable/redistributable by any distro.

Red Hat (or insert other large distro vendor here) might not want to
explicitly "help" their little competitors, but they have appeared to solve
this problem (according to other posts) and there's no reason you can't base
your own work off of that...

--eric



^ permalink raw reply	[flat|nested] 65+ messages in thread

end of thread, other threads:[~2003-05-21  7:59 UTC | newest]

Thread overview: 65+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-18 20:21 Recent changes to sysctl.h breaks glibc Martin Schlemmer
2003-05-18 20:49 ` William Lee Irwin III
2003-05-18 21:12   ` Martin Schlemmer
2003-05-19  5:38     ` Christoph Hellwig
2003-05-19 10:43       ` Martin Schlemmer
2003-05-19 10:51         ` William Lee Irwin III
2003-05-19 11:14           ` Martin Schlemmer
2003-05-19 11:21             ` William Lee Irwin III
2003-05-19 11:33             ` Arjan van de Ven
2003-05-19 11:43             ` Christoph Hellwig
2003-05-19 12:52               ` Martin Schlemmer
2003-05-19 21:14           ` H. Peter Anvin
2003-05-19 22:44             ` William Lee Irwin III
2003-05-19 22:46               ` H. Peter Anvin
2003-05-19 22:56                 ` William Lee Irwin III
2003-05-19 23:04                   ` H. Peter Anvin
2003-05-20  6:06                   ` Martin Schlemmer
2003-05-19 11:45         ` Christoph Hellwig
2003-05-19 12:56           ` Martin Schlemmer
2003-05-19 13:06             ` Christoph Hellwig
2003-05-19 16:56               ` Sam Ravnborg
2003-05-19 17:41                 ` Linus Torvalds
2003-05-19 21:16                   ` H. Peter Anvin
2003-05-19 22:18                     ` Eric W. Biederman
2003-05-19 22:31                       ` H. Peter Anvin
2003-05-19 22:20                         ` Alan Cox
2003-05-19 23:28                           ` Andries Brouwer
2003-05-20 10:35                             ` Lionel Elie Mamane
2003-05-19 23:30                           ` H. Peter Anvin
2003-05-19 23:05                         ` Eric W. Biederman
2003-05-19 23:17                           ` H. Peter Anvin
2003-05-19 23:55                             ` Eric W. Biederman
2003-05-20  0:24                               ` Valdis.Kletnieks
2003-05-20  0:40                                 ` Eric W. Biederman
2003-05-20  1:11                                   ` Valdis.Kletnieks
2003-05-20 22:10                                     ` H. Peter Anvin
2003-05-20  0:30                               ` H. Peter Anvin
2003-05-20  0:54                             ` David Woodhouse
2003-05-20  1:09                               ` H. Peter Anvin
2003-05-20  1:42                                 ` Miles Bader
2003-05-20  4:12                                   ` H. Peter Anvin
2003-05-20  4:24                                     ` Miles Bader
2003-05-20  6:37                                 ` Eric W. Biederman
2003-05-20  7:24                                   ` H. Peter Anvin
2003-05-20 19:04                                     ` Eric W. Biederman
2003-05-20  7:44                               ` Riley Williams
2003-05-20 14:01                                 ` Chris Friesen
2003-05-20 17:06                                   ` H. Peter Anvin
2003-05-21  4:39                                     ` Martin Schlemmer
2003-05-21  5:38                                       ` H. Peter Anvin
2003-05-21  5:58                                         ` Eric W. Biederman
2003-05-19 18:05               ` David Ford
2003-05-19 17:44                 ` Alan Cox
2003-05-20  2:21                   ` David Ford
2003-05-19 18:24                 ` Christoph Hellwig
2003-05-19 17:59           ` David Ford
2003-05-19 18:06             ` Arjan van de Ven
2003-05-19 18:23               ` David Ford
2003-05-19 18:34                 ` Arjan van de Ven
2003-05-19 19:43                   ` Martin Schlemmer
2003-05-19 21:21                     ` H. Peter Anvin
2003-05-19 21:35               ` Sam Ravnborg
2003-05-19 21:37                 ` Arjan van de Ven
  -- strict thread matches above, loose matches on Subject: below --
2003-05-19 19:54 Mudama, Eric
2003-05-19 20:36 ` Martin Schlemmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox