[Bug libc/20525] New: <sys/quota.h> should be based on kernel headers

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug libc/20525] New: <sys/quota.h> should be based on kernel headers

glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=20525

            Bug ID: 20525
           Summary: <sys/quota.h> should be based on kernel headers
           Product: glibc
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: fweimer at redhat dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---
             Flags: security-

There is no reason to duplicate the kernel header because <sys/quota.h> is in
no standard, so additional identifiers and macros in the Linux kernel header
should not be a problem.

See this mailing list discussion:

<https://sourceware.org/ml/libc-alpha/2016-08/msg00635.html>

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug libc/20525] <sys/quota.h> should be based on kernel headers

glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=20525

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at sourceware dot org   |fweimer at redhat dot com

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug libc/20525] <sys/quota.h> should be based on kernel headers

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=20525

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  4d728087ef8cc826b05bd21d0c74d4eca9b1a27d (commit)
      from  de6b6d14e9b4d8e9a7333addca55163d9ebb7ff6 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=4d728087ef8cc826b05bd21d0c74d4eca9b1a27d

commit 4d728087ef8cc826b05bd21d0c74d4eca9b1a27d
Author: Florian Weimer <[hidden email]>
Date:   Thu Sep 1 15:53:13 2016 +0200

    Base <sys/quota.h> on Linux kernel headers [BZ #20525]

    Macros which are also defined in <linux/quota.h> are removed, and
    <linux/quota.h> is included instead.

    This commit cleans up the definition of fs_to_dq_blocks and struct
    dqblock and struct dqinfo, too.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                                          |   19 +++
 NEWS                                               |    4 +
 sysdeps/unix/sysv/linux/Makefile                   |    2 +-
 sysdeps/unix/sysv/linux/sys/quota.h                |  169 +++++---------------
 .../unix/sysv/linux/tst-quota.c                    |   66 +++-----
 5 files changed, 90 insertions(+), 170 deletions(-)
 copy nptl/tst-align.c => sysdeps/unix/sysv/linux/tst-quota.c (56%)

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug libc/20525] <sys/quota.h> should be based on kernel headers

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=20525

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |2.25

--- Comment #2 from Florian Weimer <fweimer at redhat dot com> ---
Fixed in 2.25.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug libc/20525] <sys/quota.h> should be based on kernel headers

glaubitz at physik dot fu-berlin.de
In reply to this post by glaubitz at physik dot fu-berlin.de
https://sourceware.org/bugzilla/show_bug.cgi?id=20525

agenter <hemanthagenter at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hemanthagenter at gmail dot com

--- Comment #4 from agenter <hemanthagenter at gmail dot com> ---
Welcome to Agenter, world’s first professional network for commission for
integrating public with business across all industries on the basis of sort of
commissions

The first professional networking platform for commissions
Find - Visit profiles offering commissions
Connect - Contact with best commission providers near you
Commission - Work or refer the business and get agreed commission

https://www.agenter.com/

--
You are receiving this mail because:
You are on the CC list for the bug.