From owner-freebsd-standards@FreeBSD.ORG Mon Oct 29 11:06:39 2012 Return-Path: Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EB63B51 for ; Mon, 29 Oct 2012 11:06:39 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id DE2038FC15 for ; Mon, 29 Oct 2012 11:06:38 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9TB6c34028630 for ; Mon, 29 Oct 2012 11:06:38 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9TB6c2Z028628 for freebsd-standards@FreeBSD.org; Mon, 29 Oct 2012 11:06:38 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 29 Oct 2012 11:06:38 GMT Message-Id: <201210291106.q9TB6c2Z028628@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-standards@FreeBSD.org Subject: Current problem reports assigned to freebsd-standards@FreeBSD.org X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2012 11:06:39 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o stand/173087 standards pax(1) does not support the pax interchange format o stand/172805 standards Fix catopen(3)'s EINVAL usage and document EFTYPE o stand/172276 standards POSIX: {get,set}groups gidsetsize is u_int not int o stand/172215 standards localeconv() grouping appears not to match POSIX o stand/170403 standards wrong ntohs expression type tickling clang o stand/170346 standards Changes to support waitid() and related stuff o stand/169697 standards syslogd(8) is not BOM aware o stand/166349 standards Support the assignment-allocation character for fscanf o stand/164787 standards dirfd() function not available when _POSIX_C_SOURCE is o kern/164674 standards [patch] [libc] vfprintf/vfwprintf return error (EOF) o o stand/162434 standards getaddrinfo: addrinfo.ai_family is an address family, o stand/150093 standards C++ std::locale support is broken o stand/130067 standards Wrong numeric limits in system headers? o stand/124860 standards flockfile(3) doesn't work when the memory has been exh o stand/121921 standards [patch] Add leap second support to at(1), atrun(8) o stand/116477 standards rm(1): rm behaves unexpectedly when using -r and relat o bin/116413 standards incorrect getconf(1) handling of unsigned constants gi o stand/116081 standards make does not work with the directive sinclude p stand/107561 standards [libc] [patch] [request] Missing SUS function tcgetsid o stand/100017 standards [Patch] Add fuser(1) functionality to fstat(1) a stand/86484 standards [patch] mkfifo(1) uses wrong permissions o stand/82654 standards C99 long double math functions are missing o stand/81287 standards [patch] fingerd(8) might send a line not ending in CRL a stand/80293 standards sysconf() does not support well-defined unistd values o stand/79056 standards [feature request] [atch] regex(3) regression tests o stand/70813 standards [patch] ls(1) not Posix compliant o stand/66357 standards make POSIX conformance problem ('sh -e' & '+' command- s kern/64875 standards [libc] [patch] [request] add a system call: fdatasync( o stand/56476 standards [patch] cd9660 unicode support simple hack o stand/54410 standards one-true-awk not POSIX compliant (no extended REs) o stand/46119 standards Priority problems for SCHED_OTHER using pthreads o stand/44365 standards [headers] [patch] [request] introduce ulong and unchar a stand/41576 standards ln(1): replacing old dir-symlinks a docs/26003 standards getgroups(2) lists NGROUPS_MAX but not syslimits.h s stand/24590 standards timezone function not compatible witn Single Unix Spec o stand/21519 standards sys/dir.h should be deprecated some more s bin/14925 standards getsubopt isn't poisonous enough 37 problems total. From owner-freebsd-standards@FreeBSD.ORG Mon Oct 29 16:45:53 2012 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 000C8BDB for ; Mon, 29 Oct 2012 16:45:52 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kostikbel-1-pt.tunnel.tserv11.ams1.ipv6.he.net [IPv6:2001:470:1f14:13d6::2]) by mx1.freebsd.org (Postfix) with ESMTP id 721D58FC15 for ; Mon, 29 Oct 2012 16:45:52 +0000 (UTC) Received: from tom.home (localhost [127.0.0.1]) by kib.kiev.ua (8.14.5/8.14.5) with ESMTP id q9TGjeoZ057152; Mon, 29 Oct 2012 18:45:40 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by tom.home (8.14.5/8.14.5/Submit) id q9TGjeqP057151; Mon, 29 Oct 2012 18:45:40 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 29 Oct 2012 18:45:40 +0200 From: Konstantin Belousov To: "Jukka A. Ukkonen" Subject: Re: standards/170346: Changes to support waitid() and related stuff Message-ID: <20121029164540.GR73505@kib.kiev.ua> References: <201210131050.q9DAo1ns034926@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RCJLo13VlymhPcEi" Content-Disposition: inline In-Reply-To: <201210131050.q9DAo1ns034926@freefall.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=0.2 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2012 16:45:53 -0000 --RCJLo13VlymhPcEi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Oct 13, 2012 at 10:50:01AM +0000, Jukka A. Ukkonen wrote: > The following reply was made to PR standards/170346; it has been noted by= GNATS. >=20 > From: "Jukka A. Ukkonen" > To: bug-followup@FreeBSD.org, jau@iki.fi > Cc: =20 > Subject: Re: standards/170346: Changes to support waitid() and related st= uff > Date: Sat, 13 Oct 2012 13:38:27 +0300 >=20 > This is a multi-part message in MIME format. > --------------080903030501070905090806 > Content-Type: text/plain; charset=3DISO-8859-1; format=3Dflowed > Content-Transfer-Encoding: 7bit > =20 > =20 > Right, having said that I would stop modifying this I have to > break that promise. > I had forgotten one change which I had intended to make. > Previously the siginfo structure was zeroed inside the kernel > when wait6() returned 0. This has now been moved out of > the kernel and put inside waitid(). > Now this should be stable. I have no more planned changes > waiting to be included. > =20 > As before start with 9.1-RC2 (9-stable), apply the patch, run > =20 > ( cd /usr/src/sys/kern ; make sysent ) > ( cd /usr/src/sys/compat/freebsd32 ; make sysent ) > =20 > and build the whole system. I reviewed the patch and besides fixing enormous style violations, I also made the following changes: - The man page was mostly converted from the description of what is differe= nt with waitid(2) to just describing waitid interface as yet another functio= n. - The fix for the kernel stack content leakage from wait6. Basically, the kernel must clear the structure as the first step. - Portability fixes: Linux returns signal number in si_status. - Fixes for exported symbol list and their location. See the patch at http://people.freebsd.org/~kib/misc/waitid.1.patch Otherwise, it looks good and is almost ready to commit, e.g. it passes glibc waitid test. To be able to commit, I need a copyright text to be filled into libc/gen/waitid.c, look for XXX there. Or, at least, please specify that you agree to license the code under the 3 (or 2) clause bsd license. Thank you. --RCJLo13VlymhPcEi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCOsrQACgkQC3+MBN1Mb4jOVwCgiXr4wgC5yZHXQJv/fP99Fkhb W1oAoN6uICd32Tc4ybh8UWnuH4LFkd33 =FUFC -----END PGP SIGNATURE----- --RCJLo13VlymhPcEi--