Bug 653 - glibc contains old quota.h copy
Summary: glibc contains old quota.h copy
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.3.4
: P2 normal
Target Milestone: ---
Assignee: GOTO Masanori
URL:
Keywords:
Depends on:
Blocks: libc236
  Show dependency treegraph
 
Reported: 2005-01-12 08:31 UTC by Thorsten Kukuk
Modified: 2019-04-10 09:23 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments
Patch to sync quota.h with current 2.6 kernel interface (2.27 KB, patch)
2005-01-12 08:33 UTC, Thorsten Kukuk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Kukuk 2005-01-12 08:31:39 UTC
glibc still ships a very old quota.h copy, which is incompatible with 
the current quota implementation used the last years and part of 
kernel 2.6. 
 
We should remove this file complete or update it with the attached patch.
Comment 1 Thorsten Kukuk 2005-01-12 08:33:36 UTC
Created attachment 349 [details]
Patch to sync quota.h with current 2.6 kernel interface
Comment 2 Sourceware Commits 2005-07-18 02:07:45 UTC
Subject: Bug 653

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-07-18 02:07:37

Modified files:
	sysdeps/unix/sysv/linux/sys: quota.h 

Log message:
	2005-06-20  Jakub Jelinek  <jakub@redhat.com>
	
	[BZ #653]
	* sysdeps/unix/sysv/linux/sys/quota.h: Add definitions and types for
	_LINUX_QUOTA_VERSION >= 2.
	(_LINUX_QUOTA_VERSION): Define if not yet defined.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/sys/quota.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.7&r2=1.7.6.1

Comment 3 Roland McGrath 2005-07-19 03:30:54 UTC
This fix is now in the 2.3 branch as well as the trunk, and the problem should
be resolved as of the 2.3.6 release.