From 6f9c0342f33f52a2bda98d3709fbefd678bd46d9 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sun, 13 May 2012 06:06:11 +0200 Subject: IRC. --- open_issues/glibc/getlogin_r.mdwn | 45 +++++++++++++++++++++++++++++++++++++++ open_issues/glibc/octave.mdwn | 35 ++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 open_issues/glibc/getlogin_r.mdwn create mode 100644 open_issues/glibc/octave.mdwn (limited to 'open_issues/glibc') diff --git a/open_issues/glibc/getlogin_r.mdwn b/open_issues/glibc/getlogin_r.mdwn new file mode 100644 index 00000000..9980ea1f --- /dev/null +++ b/open_issues/glibc/getlogin_r.mdwn @@ -0,0 +1,45 @@ +[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!meta title="getlogin_r"]] + +[[!tag open_issue_glibc]] + + +# IRC, freenode, #hurd, 2012-04-23 + + * pinotree spots how our getlogin_r() implementation uses a static + buffer... + oO + braunr: yeah, the _r means "reentrantbutnotreally" xD + pinotree: that's amazing .. + pinotree: without having checked the actual implementation, that + doesn't sound like a problem... + caching doesn't break reentrancy. the problem with the plain + getlogin() is that a static buffer is *returned to the user* + antrik: http://paste.debian.net/164727/ + ah, caching + i don't think this is caching at all + pinotree: OK, not actually caching... but same effect as far as I + can tell + pinotree: or is it the fixed size of the temporary variable you + are concerned about? + antrik: my concern was about the "static" of the buffer used for + the get_login rpc + pinotree: I'm not sure that's a problem. can the login actually + ever change for a running process? + dunno + but if so, it would be pointless to do the rpc every time + instead of just once + pinotree: true + * pinotree would just make it non-static and be safe + pinotree: well, one might argue that allocating a KiB of stack + space is not very friendly, especially in a low-level library... + not sure what the general policy is about such things in libc diff --git a/open_issues/glibc/octave.mdwn b/open_issues/glibc/octave.mdwn new file mode 100644 index 00000000..b12b7558 --- /dev/null +++ b/open_issues/glibc/octave.mdwn @@ -0,0 +1,35 @@ +[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]] + +[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable +id="license" text="Permission is granted to copy, distribute and/or modify this +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!tag open_issue_glibc]] + + +# IRC, OFTC, #debian-hurd, 2012-04-23 + + diffing the octave i386 vs hurd-i386 build logs gives + interesting surprises + checking whether this system has an arbitrary file name length + limit... no | checking whether this system has an arbitrary + file name length limit... yes + ? + not only that + checking whether getcwd handles long file names properly... yes + | checking whether getcwd handles long file names properly... no, but it + is partly worki+ + ? + -checking whether fdopendir works... yes + +checking whether fdopendir works... no + (- is i386, + is hurd-i386) + -checking whether getlogin_r works with small buffers... yes + +checking whether getlogin_r works with small buffers... no + -checking for working mkstemp... yes + +checking for working mkstemp... no + +checking for working nanosleep... no (mishandles large + arguments) -- cgit v1.2.3