From owner-freebsd-standards@FreeBSD.ORG Mon Apr 14 11:06:57 2008 Return-Path: Delivered-To: freebsd-standards@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60FF1106566C for ; Mon, 14 Apr 2008 11:06:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 502258FC25 for ; Mon, 14 Apr 2008 11:06:57 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3EB6vQC072386 for ; Mon, 14 Apr 2008 11:06:57 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3EB6un2072382 for freebsd-standards@FreeBSD.org; Mon, 14 Apr 2008 11:06:56 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Apr 2008 11:06:56 GMT Message-Id: <200804141106.m3EB6un2072382@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 Cc: Subject: Current problem reports assigned to freebsd-standards@FreeBSD.org X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2008 11:06:57 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/25542 standards /bin/sh: null char in quoted string o stand/54410 standards one-true-awk not POSIX compliant (no extended REs) o stand/82654 standards C99 long double math functions are missing o stand/94729 standards [libc] fcntl() throws undocumented ENOTTY 4 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- s bin/14925 standards getsubopt isn't poisonous enough o stand/21519 standards sys/dir.h should be deprecated some more o bin/24390 standards Replacing old dir-symlinks when using /bin/ln s stand/24590 standards timezone function not compatible witn Single Unix Spec f stand/25777 standards [kernel] [patch] atime not updated on exec a docs/26003 standards getgroups(2) lists NGROUPS_MAX but not syslimits.h o kern/27835 standards [libc] execve() doesn't conform to execve(2) spec in s s stand/36076 standards Implementation of POSIX fuser command o stand/39256 standards snprintf/vsnprintf aren't POSIX-conformant for strings p stand/41576 standards POSIX compliance of ln(1) o stand/44425 standards getcwd() succeeds even if current dir has perm 000. o stand/46119 standards Priority problems for SCHED_OTHER using pthreads o stand/54833 standards [pcvt] more pcvt deficits o stand/54839 standards [pcvt] pcvt deficits p stand/55112 standards glob.h, glob_t's gl_pathc should be "size_t", not "int o stand/56476 standards cd9660 unicode support simple hack o stand/58676 standards grantpt(3) alters storage used by ptsname(3) s stand/62858 standards malloc(0) not C99 compliant s kern/64875 standards [libc] [patch] [request] add a system call: fdatasync( o stand/66357 standards make POSIX conformance problem ('sh -e' & '+' command- o stand/66531 standards [libc] [patch] _gettemp uses a far smaller set of file o stand/70813 standards [PATCH] ls(1) not Posix compliant o stand/72006 standards floating point formating in non-C locales o stand/79056 standards regex(3) regression tests a stand/80293 standards sysconf() does not support well-defined unistd values o stand/81287 standards [PATCH]: fingerd(8) might send a line not ending in CR o stand/83845 standards [libm] [patch] add log2() and log2f() support for libm a stand/86484 standards [PATCH] mkfifo(1) uses wrong permissions o stand/92360 standards [headers] [patch] Missing TAB3 in kernel headers o stand/92362 standards [headers] [patch] Missing SIGPOLL in kernel headers o kern/93705 standards [headers] [patch] ENODATA and EGREGIOUS (for glibc com o stand/96016 standards [headers] clock_getres et al should be in o stand/96236 standards [PATCH] [POSIX] sed.1 incorrectly describes a function p stand/99517 standards Missing SIGRTMIN and SIGRTMAX signals o stand/99960 standards [Patch] make(1): Add -p flag o stand/100017 standards [Patch] Add fuser(1) functionality to fstat(1) o stand/104743 standards [headers] [patch] Wrong values for _POSIX_ minimal lim o stand/107561 standards [libc] [patch] [request] Missing SUS function tcgetsid o kern/114578 standards [libc] wide character printing using swprintf(dst, n, o stand/116081 standards make does not work with the directive sinclude o stand/116221 standards [kernel] [patch] [request] SUS issue -- FreeBSD has no o bin/116413 standards incorrect getconf(1) handling of unsigned constants gi o stand/116826 standards [PATCH] sh support for POSIX character classes o stand/118047 standards SUGGESTION: /etc/printcap vs mergemaster o stand/119804 standards [timedef] [patch] Invalid (long)date format in pl_PL.I o stand/120947 standards xsm ignores system.xsm and .xsmstartup o stand/121921 standards [patch] Add leap second support to at(1), atrun(8) o stand/122051 standards Add posix_spawn(3) 48 problems total. From owner-freebsd-standards@FreeBSD.ORG Tue Apr 15 17:50:04 2008 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C794A106564A for ; Tue, 15 Apr 2008 17:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AA7B28FC19 for ; Tue, 15 Apr 2008 17:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3FHo4E3057058 for ; Tue, 15 Apr 2008 17:50:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3FHo4O4057057; Tue, 15 Apr 2008 17:50:04 GMT (envelope-from gnats) Date: Tue, 15 Apr 2008 17:50:04 GMT Message-Id: <200804151750.m3FHo4O4057057@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: dfilter@FreeBSD.org (dfilter service) Cc: Subject: Re: standards/107561: commit references a PR X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2008 17:50:04 -0000 The following reply was made to PR standards/107561; it has been noted by GNATS. From: dfilter@FreeBSD.org (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: standards/107561: commit references a PR Date: Tue, 15 Apr 2008 08:33:48 +0000 (UTC) davidxu 2008-04-15 08:33:32 UTC FreeBSD src repository Modified files: sys/sys ttycom.h sys/kern tty.c lib/libc/gen Makefile.inc Symbol.map termios.c Added files: lib/libc/gen tcgetsid.3 Log: Implement POSIX function tcgetsid() which returns session id. PR: stand/107561 Revision Changes Path 1.134 +1 -1 src/lib/libc/gen/Makefile.inc 1.9 +1 -0 src/lib/libc/gen/Symbol.map 1.1 +71 -0 src/lib/libc/gen/tcgetsid.3 (new) 1.15 +11 -0 src/lib/libc/gen/termios.c 1.276 +5 -0 src/sys/kern/tty.c 1.26 +1 -1 src/sys/sys/ttycom.h _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org" From owner-freebsd-standards@FreeBSD.ORG Thu Apr 17 02:00:07 2008 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 067FB106564A for ; Thu, 17 Apr 2008 02:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 903D98FC0A for ; Thu, 17 Apr 2008 02:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3H20576036416 for ; Thu, 17 Apr 2008 02:00:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3H205tM036409; Thu, 17 Apr 2008 02:00:05 GMT (envelope-from gnats) Date: Thu, 17 Apr 2008 02:00:05 GMT Message-Id: <200804170200.m3H205tM036409@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: David Xu Cc: Subject: Re: standards/122051: Add posix_spawn(3) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Xu List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 02:00:07 -0000 The following reply was made to PR standards/122051; it has been noted by GNATS. From: David Xu To: bug-followup@freebsd.org, ed@fxq.nl Cc: Subject: Re: standards/122051: Add posix_spawn(3) Date: Thu, 17 Apr 2008 09:53:45 +0800 what error code should be returned from posix_spawn ? it seems it should return error number directly (it does not use errno), the specification said: "an error number shall be returned as the function return value to indicate the error" so it unlikely will return -1 on failure. Regards, David Xu From owner-freebsd-standards@FreeBSD.ORG Thu Apr 17 04:50:03 2008 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8401106566C for ; Thu, 17 Apr 2008 04:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ABA258FC12 for ; Thu, 17 Apr 2008 04:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3H4o3D5057282 for ; Thu, 17 Apr 2008 04:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3H4o3h8057281; Thu, 17 Apr 2008 04:50:03 GMT (envelope-from gnats) Date: Thu, 17 Apr 2008 04:50:03 GMT Message-Id: <200804170450.m3H4o3h8057281@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Ed Schouten Cc: Subject: Re: standards/122051: Add posix_spawn(3) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Schouten List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 04:50:03 -0000 The following reply was made to PR standards/122051; it has been noted by GNATS. From: Ed Schouten To: David Xu Cc: bug-followup@freebsd.org Subject: Re: standards/122051: Add posix_spawn(3) Date: Thu, 17 Apr 2008 06:39:32 +0200 --Zu4V1sHRt6IpqgDQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * David Xu wrote: > what error code should be returned from posix_spawn ? it seems it should > return error number directly (it does not use errno), > the specification said: > > "an error number shall be returned as the function return value to indica= te=20 > the error" > > so it unlikely will return -1 on failure. That's strange, isn't it? I can't think of any other C library routines that return error numbers directly. The OpenSolaris code seems to use errno. --=20 Ed Schouten WWW: http://g-rave.nl/ --Zu4V1sHRt6IpqgDQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkgG1IQACgkQ52SDGA2eCwUc4QCdFgZeU/ZkLfL1LalxsQ8QB2yt DuoAni0DkvScQFzQMhqDRBB3wNqNPYYD =UCAN -----END PGP SIGNATURE----- --Zu4V1sHRt6IpqgDQ-- From owner-freebsd-standards@FreeBSD.ORG Thu Apr 17 05:10:05 2008 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54599106564A for ; Thu, 17 Apr 2008 05:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0FF0E8FC0A for ; Thu, 17 Apr 2008 05:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3H5A4t2074124 for ; Thu, 17 Apr 2008 05:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3H5A4PT074118; Thu, 17 Apr 2008 05:10:04 GMT (envelope-from gnats) Date: Thu, 17 Apr 2008 05:10:04 GMT Message-Id: <200804170510.m3H5A4PT074118@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Ed Schouten Cc: Subject: Re: standards/122051: Add posix_spawn(3) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ed Schouten List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 05:10:05 -0000 The following reply was made to PR standards/122051; it has been noted by GNATS. From: Ed Schouten To: David Xu Cc: bug-followup@freebsd.org Subject: Re: standards/122051: Add posix_spawn(3) Date: Thu, 17 Apr 2008 07:02:38 +0200 --oTjmB4SGUHx7SKxS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Ed Schouten wrote: > The OpenSolaris code seems to use errno. It's still early in the morning here. OpenSolaris seems to return the error numbers. I'll update the patch this evening. Thanks! --=20 Ed Schouten WWW: http://g-rave.nl/ --oTjmB4SGUHx7SKxS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkgG2e4ACgkQ52SDGA2eCwV/ewCeOEyS1TcSfv0KxCEcfOVL5NVW CSMAn3bqiRl2rC6PHf3f6zoyAwH/Tse6 =Bq4O -----END PGP SIGNATURE----- --oTjmB4SGUHx7SKxS-- From owner-freebsd-standards@FreeBSD.ORG Thu Apr 17 07:00:10 2008 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59DE0106566C for ; Thu, 17 Apr 2008 07:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3F91C8FC13 for ; Thu, 17 Apr 2008 07:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3H70AFP083336 for ; Thu, 17 Apr 2008 07:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3H70A1Z083335; Thu, 17 Apr 2008 07:00:10 GMT (envelope-from gnats) Date: Thu, 17 Apr 2008 07:00:10 GMT Message-Id: <200804170700.m3H70A1Z083335@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: David Xu Cc: Subject: Re: standards/122051: Add posix_spawn(3) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: David Xu List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 07:00:10 -0000 The following reply was made to PR standards/122051; it has been noted by GNATS. From: David Xu To: Ed Schouten Cc: bug-followup@freebsd.org Subject: Re: standards/122051: Add posix_spawn(3) Date: Thu, 17 Apr 2008 14:59:12 +0800 Ed Schouten wrote: > * Ed Schouten wrote: >> The OpenSolaris code seems to use errno. > > It's still early in the morning here. OpenSolaris seems to return the > error numbers. I'll update the patch this evening. Thanks! > Also, the manual pages should remove word "shall" or replace it with something, because we either implement the features or not. Also, in the following code : + case FAE_CLOSE: + /* Perform a close() */ + if (_close(fae->fae_fildes) != 0) + _exit(127); + break; I think the it should only check errno EBADF, other error codes are not failure cases, the file handle is always freed. Regards, David Xu