r5479 - glibc-package/branches/eglibc-2.17/debian

2013-02-03 Thread Adam Conrad
Author: adconrad
Date: 2013-02-04 05:30:08 + (Mon, 04 Feb 2013)
New Revision: 5479

Modified:
   glibc-package/branches/eglibc-2.17/debian/changelog
Log:
New changelog entry

Modified: glibc-package/branches/eglibc-2.17/debian/changelog
===
--- glibc-package/branches/eglibc-2.17/debian/changelog 2013-02-04 05:28:10 UTC 
(rev 5478)
+++ glibc-package/branches/eglibc-2.17/debian/changelog 2013-02-04 05:30:08 UTC 
(rev 5479)
@@ -1,3 +1,9 @@
+eglibc (2.17-0experimental2) UNRELEASED; urgency=low
+
+  * 
+
+ -- Adam Conrad   Sun, 03 Feb 2013 22:29:39 -0700
+
 eglibc (2.17-0experimental1) experimental; urgency=low
 
   [ Adam Conrad ]


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1u2ed7-0007ki...@vasks.debian.org



r5478 - glibc-package/branches/eglibc-2.17/debian

2013-02-03 Thread Adam Conrad
Author: adconrad
Date: 2013-02-04 05:28:10 + (Mon, 04 Feb 2013)
New Revision: 5478

Modified:
   glibc-package/branches/eglibc-2.17/debian/changelog
Log:
Release 2.17-0experimental1

Modified: glibc-package/branches/eglibc-2.17/debian/changelog
===
--- glibc-package/branches/eglibc-2.17/debian/changelog 2013-02-04 03:25:53 UTC 
(rev 5477)
+++ glibc-package/branches/eglibc-2.17/debian/changelog 2013-02-04 05:28:10 UTC 
(rev 5478)
@@ -1,4 +1,4 @@
-eglibc (2.17-0experimental1) UNRELEASED; urgency=low
+eglibc (2.17-0experimental1) experimental; urgency=low
 
   [ Adam Conrad ]
   * Rebase kfreebsd patches missed in the previous upload due to quilt:
@@ -27,7 +27,7 @@
   [ Pino Toscano ]
   * debian/rules.d/build.mk: When threads is no, disable nscd in all passes.
 
- -- Adam Conrad   Mon, 28 Jan 2013 02:05:01 -0700
+ -- Adam Conrad   Sun, 03 Feb 2013 20:34:44 -0700
 
 eglibc (2.17-0experimental0) experimental; urgency=low
 


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1u2ebe-0007ot...@vasks.debian.org



r5477 - glibc-package/branches/eglibc-2.17/debian/patches/kfreebsd

2013-02-03 Thread Adam Conrad
Author: adconrad
Date: 2013-02-04 03:25:53 + (Mon, 04 Feb 2013)
New Revision: 5477

Modified:
   
glibc-package/branches/eglibc-2.17/debian/patches/kfreebsd/local-use-thr-primitives.diff
Log:
Fix more fuzz in kfreebsd/local-use-thr-primitives.diff

Modified: 
glibc-package/branches/eglibc-2.17/debian/patches/kfreebsd/local-use-thr-primitives.diff
===
--- 
glibc-package/branches/eglibc-2.17/debian/patches/kfreebsd/local-use-thr-primitives.diff
2013-02-04 02:53:34 UTC (rev 5476)
+++ 
glibc-package/branches/eglibc-2.17/debian/patches/kfreebsd/local-use-thr-primitives.diff
2013-02-04 03:25:53 UTC (rev 5477)
@@ -57,7 +57,7 @@
 --- a/linuxthreads/descr.h
 +++ b/linuxthreads/descr.h
 @@ -26,6 +26,42 @@
- #include 
+ #include 
  #include 
  
 +


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1u2cgs-0008pg...@vasks.debian.org



r5476 - glibc-package/branches/eglibc-2.17/debian/patches/any

2013-02-03 Thread Adam Conrad
Author: adconrad
Date: 2013-02-04 02:53:34 + (Mon, 04 Feb 2013)
New Revision: 5476

Modified:
   
glibc-package/branches/eglibc-2.17/debian/patches/any/unsubmitted-cloexec-conditional.diff
Log:
Add libio/fileops.c fix to unsubmitted-cloexec-conditional.diff

Modified: 
glibc-package/branches/eglibc-2.17/debian/patches/any/unsubmitted-cloexec-conditional.diff
===
--- 
glibc-package/branches/eglibc-2.17/debian/patches/any/unsubmitted-cloexec-conditional.diff
  2013-02-04 02:18:11 UTC (rev 5475)
+++ 
glibc-package/branches/eglibc-2.17/debian/patches/any/unsubmitted-cloexec-conditional.diff
  2013-02-04 02:53:34 UTC (rev 5476)
@@ -1,3 +1,39 @@
+diff --git a/libio/fileops.c b/libio/fileops.c
+index 61b61b3..80767f5 100644
+--- a/libio/fileops.c
 b/libio/fileops.c
+@@ -335,16 +335,24 @@ _IO_new_file_fopen (fp, filename, mode, is32not64)
+   if (result != NULL)
+ {
+ #ifndef __ASSUME_O_CLOEXEC
+-  if ((fp->_flags2 & _IO_FLAGS2_CLOEXEC) != 0 && __have_o_cloexec <= 0)
+-  {
+-int fd = _IO_fileno (fp);
+-if (__have_o_cloexec == 0)
++# ifdef O_CLOEXEC
++  if (__have_o_cloexec <= 0)
++# endif
++{
++if ((fp->_flags2 & _IO_FLAGS2_CLOEXEC) != 0)
+   {
++int fd = _IO_fileno (fp);
+ int flags = __fcntl (fd, F_GETFD);
+-__have_o_cloexec = (flags & FD_CLOEXEC) == 0 ? -1 : 1;
++# ifdef O_CLOEXEC
++if (__have_o_cloexec == 0)
++  __have_o_cloexec = (flags & FD_CLOEXEC) == 0 ? -1 : 1;
++if (__have_o_cloexec < 0)
++# endif
++  {
++flags |= FD_CLOEXEC;
++__fcntl (fd, F_SETFD, flags);
++  }
+   }
+-if (__have_o_cloexec < 0)
+-  __fcntl (fd, F_SETFD, FD_CLOEXEC);
+   }
+ #endif
+ 
 diff --git a/locale/loadarchive.c b/locale/loadarchive.c
 index dd70c15..4edb03e 100644
 --- a/locale/loadarchive.c


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1u2cba-0006kp...@vasks.debian.org



r5475 - in glibc-package/branches/eglibc-2.17/debian: . patches patches/any

2013-02-03 Thread Adam Conrad
Author: adconrad
Date: 2013-02-04 02:18:11 + (Mon, 04 Feb 2013)
New Revision: 5475

Added:
   
glibc-package/branches/eglibc-2.17/debian/patches/any/unsubmitted-cloexec-conditional.diff
Modified:
   glibc-package/branches/eglibc-2.17/debian/changelog
   glibc-package/branches/eglibc-2.17/debian/patches/series
Log:
debian/patches/any/unsubmitted-cloexec-conditional.diff: Make more
occurences of O_CLOEXEC conditional on it actually being defined.

Modified: glibc-package/branches/eglibc-2.17/debian/changelog
===
--- glibc-package/branches/eglibc-2.17/debian/changelog 2013-02-03 10:54:18 UTC 
(rev 5474)
+++ glibc-package/branches/eglibc-2.17/debian/changelog 2013-02-04 02:18:11 UTC 
(rev 5475)
@@ -12,6 +12,8 @@
   * debian/patches/any/local-tst-dir-overlayfs.diff: Dropped, as I seem
 to be the only person building on overlayfs, and I'll just use aufs.
   * Update debian/patches/kfreebsd/local-sysdeps.diff to revision 4353.
+  * debian/patches/any/unsubmitted-cloexec-conditional.diff: Make more
+occurences of O_CLOEXEC conditional on it actually being defined.
   * debian/rules: Don't put x32 debug symbols in libc-dbg (LP: #1106471)
   * debian/testsuite-checking/expected-*: Allow all arches to fail the
 tst-cputimer1 test, as it harmlessly comes and goes on all of them.

Added: 
glibc-package/branches/eglibc-2.17/debian/patches/any/unsubmitted-cloexec-conditional.diff
===
--- 
glibc-package/branches/eglibc-2.17/debian/patches/any/unsubmitted-cloexec-conditional.diff
  (rev 0)
+++ 
glibc-package/branches/eglibc-2.17/debian/patches/any/unsubmitted-cloexec-conditional.diff
  2013-02-04 02:18:11 UTC (rev 5475)
@@ -0,0 +1,64 @@
+diff --git a/locale/loadarchive.c b/locale/loadarchive.c
+index dd70c15..4edb03e 100644
+--- a/locale/loadarchive.c
 b/locale/loadarchive.c
+@@ -152,6 +152,10 @@ _nl_load_locale_from_archive (int category, const char 
**namep)
+   int cnt;
+   size_t ps = __sysconf (_SC_PAGE_SIZE);
+   int fd = -1;
++  int oflags = O_RDONLY | O_LARGEFILE;
++#ifdef O_CLOEXEC
++  oflags |= O_CLOEXEC;
++#endif
+ 
+   /* Check if we have already loaded this locale from the archive.
+  If we previously loaded the locale but found bogons in the data,
+@@ -202,7 +206,7 @@ _nl_load_locale_from_archive (int category, const char 
**namep)
+   archmapped = &headmap;
+ 
+   /* The archive has never been opened.  */
+-  fd = open_not_cancel_2 (archfname, O_RDONLY|O_LARGEFILE|O_CLOEXEC);
++  fd = open_not_cancel_2 (archfname, oflags);
+   if (fd < 0)
+   /* Cannot open the archive, for whatever reason.  */
+   return NULL;
+@@ -393,8 +397,7 @@ _nl_load_locale_from_archive (int category, const char 
**namep)
+ if (fd == -1)
+   {
+ struct stat64 st;
+-fd = open_not_cancel_2 (archfname,
+-O_RDONLY|O_LARGEFILE|O_CLOEXEC);
++fd = open_not_cancel_2 (archfname, oflags);
+ if (fd == -1)
+   /* Cannot open the archive, for whatever reason.  */
+   return NULL;
+diff --git a/locale/loadlocale.c b/locale/loadlocale.c
+index de7e3d0..ec5de7c 100644
+--- a/locale/loadlocale.c
 b/locale/loadlocale.c
+@@ -168,11 +168,15 @@ _nl_load_locale (struct loaded_l10nfile *file, int 
category)
+   struct __locale_data *newdata;
+   int save_err;
+   int alloc = ld_mapped;
++  int oflags = O_RDONLY;
++#ifdef O_CLOEXEC
++  oflags |= O_CLOEXEC;
++#endif
+ 
+   file->decided = 1;
+   file->data = NULL;
+ 
+-  fd = open_not_cancel_2 (file->filename, O_RDONLY | O_CLOEXEC);
++  fd = open_not_cancel_2 (file->filename, oflags);
+   if (__builtin_expect (fd, 0) < 0)
+ /* Cannot open the file.  */
+ return;
+@@ -200,7 +204,7 @@ _nl_load_locale (struct loaded_l10nfile *file, int 
category)
+_nl_category_names.str + _nl_category_name_idxs[category],
+_nl_category_name_sizes[category] + 1);
+ 
+-  fd = open_not_cancel_2 (newp, O_RDONLY | O_CLOEXEC);
++  fd = open_not_cancel_2 (newp, oflags);
+   if (__builtin_expect (fd, 0) < 0)
+   return;
+ 

Modified: glibc-package/branches/eglibc-2.17/debian/patches/series
===
--- glibc-package/branches/eglibc-2.17/debian/patches/series2013-02-03 
10:54:18 UTC (rev 5474)
+++ glibc-package/branches/eglibc-2.17/debian/patches/series2013-02-04 
02:18:11 UTC (rev 5475)
@@ -221,5 +221,6 @@
 any/local-revert-bz13979.diff
 any/local-tst-eintr1-eagain.diff
 any/cvs-tst-array-as-needed.diff
+any/unsubmitted-cloexec-conditional.diff
 any/unsubmitted-ldso-machine-mismatch.diff
 any/cvs-use-glibc-wchar.diff


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.

Bug#699593: login: wrong egid

2013-02-03 Thread Michael Tsang
In my scenario, if I change “bash” to “dash”, it clearly shows egid is not
the same as gid.

1 Install Debian GNU/kFreeBSD
2 Configure LDAP
3 Add an LDAP user with primary group in LDAP to a local group
4 Change the shell of that user to “dash”
5 Log in the that user

Now, the egid is not the primary group in LDAP, but is the local group.


Re: Libc6 messages in Esperanto

2013-02-03 Thread Carlos O'Donell
On 02/02/2013 01:28 AM, Sian Mountbatten wrote:
> Dear Maintainers
> 
> Is any work being done to translate libc6 messages into Esperanto? I am 
> willing to translate a .pot file into
> Esperanto.
> 
> Sincerely
> 

The GNU C Library uses the Translation Project services
for translation (http://translationproject.org/domain/libc.html).

Please discuss this with the Translation Project's Esperanto team
(http://translationproject.org/team/eo.html).

Cheers,
Carlos.


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/510ef466.6060...@systemhalted.org



r5474 - glibc-package/branches/eglibc-2.17/debian

2013-02-03 Thread Adam Conrad
Author: adconrad
Date: 2013-02-03 10:54:18 + (Sun, 03 Feb 2013)
New Revision: 5474

Modified:
   glibc-package/branches/eglibc-2.17/debian/changelog
   glibc-package/branches/eglibc-2.17/debian/libc6.symbols.armhf
Log:
Drop the armhf-specific symbols hack for the new linker, as we're 
no longer expecting partial upgrades from the out-of-archive port.

Modified: glibc-package/branches/eglibc-2.17/debian/changelog
===
--- glibc-package/branches/eglibc-2.17/debian/changelog 2013-02-03 03:41:29 UTC 
(rev 5473)
+++ glibc-package/branches/eglibc-2.17/debian/changelog 2013-02-03 10:54:18 UTC 
(rev 5474)
@@ -17,6 +17,8 @@
 tst-cputimer1 test, as it harmlessly comes and goes on all of them.
   * debian/testsuite-checking/expected-*: Adjust ia64 and armel results
 to allow failures expected by the upstream port maintainers of each.
+  * Drop the armhf-specific symbols hack for the new linker, as we're 
+no longer expecting partial upgrades from the out-of-archive port.
   * debian/{control,control.in/main}: Bump Standards-Version to 3.9.4.
   * Amend eglibc-source.lintian-overrides to add libc-dev-alt.postinst.
 

Modified: glibc-package/branches/eglibc-2.17/debian/libc6.symbols.armhf
===
--- glibc-package/branches/eglibc-2.17/debian/libc6.symbols.armhf   
2013-02-03 03:41:29 UTC (rev 5473)
+++ glibc-package/branches/eglibc-2.17/debian/libc6.symbols.armhf   
2013-02-03 10:54:18 UTC (rev 5474)
@@ -1,7 +1,7 @@
 #include "libc6.symbols.common"
-ld-linux-armhf.so.3 #PACKAGE# (>= 2.13-28)
+ld-linux-armhf.so.3 #PACKAGE# #MINVER#
 #include "symbols.wildcards"
-libc.so.6 #PACKAGE# (>= 2.13-28)
+libc.so.6 #PACKAGE# #MINVER#
 #include "symbols.wildcards"
  getcontext@GLIBC_2.4 2.13-31
  makecontext@GLIBC_2.4 2.13-31


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1u1xdg-0007b5...@vasks.debian.org