From owner-freebsd-standards@FreeBSD.ORG Sun Apr 18 07:59:48 2010 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 0CB5F106568C; Sun, 18 Apr 2010 07:59:48 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D853A8FC32; Sun, 18 Apr 2010 07:59:47 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3I7xlZd093297; Sun, 18 Apr 2010 07:59:47 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3I7xlPT093293; Sun, 18 Apr 2010 07:59:47 GMT (envelope-from linimon) Date: Sun, 18 Apr 2010 07:59:47 GMT Message-Id: <201004180759.o3I7xlPT093293@freefall.freebsd.org> To: dfilter@FreeBSD.ORG, linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-standards@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: standards/145783: Re: standards/44425: commit references a PR 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: Sun, 18 Apr 2010 07:59:48 -0000 Old Synopsis: Re: standard/44425: commit references a PR New Synopsis: Re: standards/44425: commit references a PR State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Sun Apr 18 07:59:05 UTC 2010 State-Changed-Why: Misfiled followup to standards/44425; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-standards Responsible-Changed-By: linimon Responsible-Changed-When: Sun Apr 18 07:59:05 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=145783 From owner-freebsd-standards@FreeBSD.ORG Sun Apr 18 08:02:06 2010 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 8AF55106564A; Sun, 18 Apr 2010 08:02:06 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 611AA8FC24; Sun, 18 Apr 2010 08:02:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3I826Vr002276; Sun, 18 Apr 2010 08:02:06 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3I826fo002272; Sun, 18 Apr 2010 08:02:06 GMT (envelope-from linimon) Date: Sun, 18 Apr 2010 08:02:06 GMT Message-Id: <201004180802.o3I826fo002272@freefall.freebsd.org> To: behanna@zbzoom.net, linimon@FreeBSD.org, freebsd-standards@FreeBSD.org, jilles@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: standards/44425: getcwd() succeeds even if current dir has perm 000. 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: Sun, 18 Apr 2010 08:02:06 -0000 Synopsis: getcwd() succeeds even if current dir has perm 000. State-Changed-From-To: open->patched State-Changed-By: linimon State-Changed-When: Sun Apr 18 08:01:24 UTC 2010 State-Changed-Why: patch committed. Responsible-Changed-From-To: freebsd-standards->jilles Responsible-Changed-By: linimon Responsible-Changed-When: Sun Apr 18 08:01:24 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=44425 From owner-freebsd-standards@FreeBSD.ORG Sun Apr 18 13:11:13 2010 Return-Path: Delivered-To: standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F4C2106566C for ; Sun, 18 Apr 2010 13:11:13 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.153]) by mx1.freebsd.org (Postfix) with ESMTP id 171DD8FC24 for ; Sun, 18 Apr 2010 13:11:12 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 22so699238fge.13 for ; Sun, 18 Apr 2010 06:11:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=ufJjMMhUhJXdFadqbdpmziWswSCpR7nnEHoJnmgQsZc=; b=P6ZFVnhtCE86ENSZteCQBPns3RNGElkYARPs9MvLJxjzvkbXrD1xuIHA35pgjmdK/Y uHsjKv9sl0RRhVTiZKUh4DDZSZimQUUc3lPx1jLpvft39YXK7Yk1PJjGWUOTCFOe5hA+ xq2S3sm3ahpWD2gfz/2mM8fDi6a8GPQCvlerc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=YaNoP29BWT+Zuq/JMdia253FRPNsgwSalJ5sEcHON9YLfnSUFgg2h2QRDacs9Ejz11 +USRe8fTbv44jQSmKkll4pn764B5jdXKc3pa1YWbeEUtq6FGwZ4wZFH3f2GVTnJEZCyl 7E5LAVRiucLfT9tbsmmrIGkUnOMX4MyUIuLLY= MIME-Version: 1.0 Received: by 10.239.150.76 with HTTP; Sun, 18 Apr 2010 05:48:08 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Sun, 18 Apr 2010 15:48:08 +0300 Received: by 10.239.181.205 with SMTP id n13mr333753hbg.66.1271594908186; Sun, 18 Apr 2010 05:48:28 -0700 (PDT) Message-ID: To: Garrett Cooper Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: standards@freebsd.org Subject: Re: Non-POSIX compliant portions of FreeBSD 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: Sun, 18 Apr 2010 13:11:13 -0000 > =C2=A0 =C2=A0I'll keep on providing a full list of items where we aren't = POSIX > compliant, but it'd be interesting to get a response about whether or > not the items I submit are known or not, and whether or not they were > conscious design decisions and/or items which need to be fixed. > Thanks, > -Garrett Can you make this into a wiki page along with the comments you receive? From owner-freebsd-standards@FreeBSD.ORG Mon Apr 19 02:29:11 2010 Return-Path: Delivered-To: standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FEFD106566B for ; Mon, 19 Apr 2010 02:29:11 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f199.google.com (mail-qy0-f199.google.com [209.85.221.199]) by mx1.freebsd.org (Postfix) with ESMTP id C8EFC8FC1D for ; Mon, 19 Apr 2010 02:29:10 +0000 (UTC) Received: by qyk37 with SMTP id 37so3887462qyk.8 for ; Sun, 18 Apr 2010 19:29:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=hCkvdPMo+OqoSbNz/WGAn4qGxbK9DCd3ocUJUYOKU24=; b=kd7VdfRB8oB+zVg6M0Wk7EVA30QXqrWwevigyM/aMIBi/XMXNFpGgCKmPTaFr8PnXI 132qEmN72QqBNdM3SfsaCP4Ewrcms6Q8eiaeD+peI+8WkhaOLdE1z/nsXiIojXzOTRHH /vRxICX9uVzzK3i5CbSgeM8q2/PWLavhQtTD8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=wHkFH2MBIR60J07OZ8hux/7ZC4lmEnBJmbHHo7lF1rC2e/wNxDDbFb6iYeyFuUABkL 2lHPFtxgToczi/cVKBVG8CJlb4l7nDejcuEa6jel+Sfes070jHQ98ugtYZFpV6SsjJS/ NVAcA4xZAeuIfRGbkMUcTCSFU5GAw5n8FnUDQ= MIME-Version: 1.0 Received: by 10.229.28.85 with HTTP; Sun, 18 Apr 2010 19:29:09 -0700 (PDT) In-Reply-To: <19398.2606.92468.700955@khavrinen.csail.mit.edu> References: <19398.2606.92468.700955@khavrinen.csail.mit.edu> Date: Sun, 18 Apr 2010 19:29:09 -0700 Received: by 10.229.238.70 with SMTP id kr6mr6008630qcb.49.1271644149328; Sun, 18 Apr 2010 19:29:09 -0700 (PDT) Message-ID: From: Garrett Cooper To: Garrett Wollman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: standards@freebsd.org Subject: Re: Non-POSIX compliant portions of FreeBSD 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, 19 Apr 2010 02:29:11 -0000 On Wed, Apr 14, 2010 at 11:32 AM, Garrett Wollman w= rote: > < = said: > >> =A0 =A0 I was recently piqued by Warner to look into open_posix_testsuit= e, >> and I've noticed that there are some discrepancies in our compliance >> with POSIX standards: > > Please take note of the broad variety of options in the POSIX > specification. =A0There are many options which we do not implement, > either because they are bad ideas (e.g., XSI, tracing), or because > nobody has gotten around to implementing them (e.g., synchronous > I/O). =A0A correct application will check (using getconf(1), sysconf(3), > or both) whether the interface it desires is available before > attempting to use it. =A0A broken application will use autoconf. autoconf is pretty foolhardy, unless one's checking to make sure that a function or struct conforms to the POSIX spec (I've seen that before...). >> 1. We don't implement any of the pieces in errno.h relating to POSIX >> STREAMs (I assume this is intentional?). > > It is intentional. > >> 2. We don't define daylight or timezone in time.h - >> http://www.opengroup.org/onlinepubs/009695399/basedefs/time.h.html > > This interface is broken as designed and impossible to implement > correctly. =A0The POSIX "timezone" interface conflicts with the > traditional BSD "timezone" interface (which is also broken as > designed) and I don't think anyone has ever done the work to > disentangle this particular mess. Yeah... I assume that the same thing is true for tzname. >> 3. We don't define SIGPOLL - >> http://www.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html > > Marked as OB (obsolete), XSR (STREAMS interface). Where does it say obsolete? >> 4. We don't define SCHED_SPORADIC and friends - >> http://www.opengroup.org/onlinepubs/000095399/basedefs/sched.h.html >> 5. We don't define the sched_param struct =A0- >> http://www.opengroup.org/onlinepubs/000095399/basedefs/sched.h.html > > Marked as SS | TPS (options we don't implement). 4. Is SS|TPS, but 5. isn't listed with any clauses. >> 6. We don't define bsd_signal (snickers) - >> http://www.opengroup.org/onlinepubs/000095399/functions/bsd_signal.html > > Interface removed in SUSv7 (along with bcmp, bcopy, bzero, ecvt, fcvt, > ftime, gcvt, getcontext, gethostbyaddr, gethostbyname, getwd, h_errno, > index, makecontext, mktemp, pthread_attr_[gs]etstackaddr, rindex, > scalb, setcontext, swapcontext, ualarm, usleep, vfork, and wcswcs). Ok. >> 7. We don't have clock_nanosleep, clock_getcpuclockid, or getdate >> defined using the POSIX defined headers. > > POSIX_CLOCK_SELECTION option group. Thanks, -Garrett From owner-freebsd-standards@FreeBSD.ORG Mon Apr 19 03:16:52 2010 Return-Path: Delivered-To: standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 941F41065670 for ; Mon, 19 Apr 2010 03:16:52 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f199.google.com (mail-qy0-f199.google.com [209.85.221.199]) by mx1.freebsd.org (Postfix) with ESMTP id 4CB138FC1D for ; Mon, 19 Apr 2010 03:16:51 +0000 (UTC) Received: by qyk37 with SMTP id 37so3919472qyk.8 for ; Sun, 18 Apr 2010 20:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1ph3trlXZ96PUW1vHoNuWjo2ke1/TdZ5KxQh9g4R7pU=; b=FAJMranqnklwvc/i8CynpjVzCqyZcZDZFjPFPiNF1B0mHVuzkEh064sIfQb6BBilKJ nYq6tgAxsCT485IRWksavKzQGDl7A7kGtVy9ae8ETapkd1jemFE8VsZTooW1pYqzrnzY mU4mAkFuQf6q1LsWHZCc63GQ2B6lcxgzY0poU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Ayt89H1EsrjxvjmSmqnSc5gVmIEh3Im7um49mAYTf9qGmMI18IUcAGYrnN9mX7odoI rK2s+8RBsrzSMlwzi76W+z+MiABLz+4Vx9U7HglLR2s+whTjV6N9F0aWbPIJmJemuqzb 8/9SzLgVgcnFMN5CLPabRjV0u1nVbBIChNnI8= MIME-Version: 1.0 Received: by 10.229.28.85 with HTTP; Sun, 18 Apr 2010 20:16:51 -0700 (PDT) In-Reply-To: References: Date: Sun, 18 Apr 2010 20:16:51 -0700 Received: by 10.229.222.82 with SMTP id if18mr1428079qcb.65.1271647011415; Sun, 18 Apr 2010 20:16:51 -0700 (PDT) Message-ID: From: Garrett Cooper To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: standards@freebsd.org Subject: Re: Non-POSIX compliant portions of FreeBSD 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, 19 Apr 2010 03:16:52 -0000 On Sun, Apr 18, 2010 at 5:48 AM, Eitan Adler wro= te: >> =A0 =A0I'll keep on providing a full list of items where we aren't POSIX >> compliant, but it'd be interesting to get a response about whether or >> not the items I submit are known or not, and whether or not they were >> conscious design decisions and/or items which need to be fixed. >> Thanks, >> -Garrett > > Can you make this into a wiki page along with the comments you receive? Sure. Here's the page for starters: http://wiki.freebsd.org/FreeBSD_and_Standards Thanks, -Garrett From owner-freebsd-standards@FreeBSD.ORG Mon Apr 19 11:07:08 2010 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 D271A1065676 for ; Mon, 19 Apr 2010 11:07:08 +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 C043E8FC37 for ; Mon, 19 Apr 2010 11:07:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3JB78ae034231 for ; Mon, 19 Apr 2010 11:07:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3JB786F034229 for freebsd-standards@FreeBSD.org; Mon, 19 Apr 2010 11:07:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 Apr 2010 11:07:08 GMT Message-Id: <201004191107.o3JB786F034229@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, 19 Apr 2010 11:07:09 -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/145517 standards POSIX getline() missing o stand/145082 standards Patch against w(1) & uptime(1) to use 24H time by defa o stand/144231 standards bind/connect/sendto too strict about sockaddr length o stand/143358 standards [libm] nearbyint(3) raises spurious inexact exception o stand/142803 standards j0 Bessel function inaccurate near zeros of the functi o stand/142255 standards scandir prototype in dirent.h isn't compliant with POS s stand/141705 standards [libc] [request] libc lacks cexp (and friends) o stand/130067 standards Wrong numeric limits in system headers? o stand/129196 standards Inconsistent errno in strtol() o bin/125855 standards sh(1) allows for multiline, non-escaped control struct o stand/124860 standards flockfile(3) doesn't work when the memory has been exh o stand/123688 standards POSIX standard changes in unistd.h and grp.h o stand/121921 standards [patch] Add leap second support to at(1), atrun(8) o stand/121568 standards [patch] ln(1): wrong "ln -s" behaviour o stand/120947 standards xsm ignores system.xsm and .xsmstartup o stand/116826 standards [patch] sh support for POSIX character classes 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/104743 standards [headers] [patch] Wrong values for _POSIX_ minimal lim o stand/100017 standards [Patch] Add fuser(1) functionality to fstat(1) o stand/96236 standards [patch] [posix] sed(1) incorrectly describes a functio o stand/96016 standards [headers] clock_getres et al should be in o stand/94729 standards [libc] fcntl() throws undocumented ENOTTY o kern/93705 standards [headers] [patch] ENODATA and EGREGIOUS (for glibc com o stand/92362 standards [headers] [patch] Missing SIGPOLL in kernel headers a stand/86484 standards [patch] mkfifo(1) uses wrong permissions o stand/83845 standards [libm] [patch] add log2() and log2f() support for libm 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( s stand/62858 standards malloc(0) not C99 compliant 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 p stand/41576 standards POSIX compliance of ln(1) o stand/39256 standards snprintf/vsnprintf aren't POSIX-conformant for strings o kern/27835 standards [libc] execve() doesn't conform to execve(2) spec in s 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 bin/24390 standards ln(1) Replacing old dir-symlinks when using /bin/ln o stand/21519 standards sys/dir.h should be deprecated some more s bin/14925 standards getsubopt isn't poisonous enough 48 problems total. From owner-freebsd-standards@FreeBSD.ORG Mon Apr 19 22:25:44 2010 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 3BFB9106564A; Mon, 19 Apr 2010 22:25:44 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 136528FC1C; Mon, 19 Apr 2010 22:25:44 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3JMPhGl020417; Mon, 19 Apr 2010 22:25:43 GMT (envelope-from jilles@freefall.freebsd.org) Received: (from jilles@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3JMPhnU020413; Mon, 19 Apr 2010 22:25:43 GMT (envelope-from jilles) Date: Mon, 19 Apr 2010 22:25:43 GMT Message-Id: <201004192225.o3JMPhnU020413@freefall.freebsd.org> To: gcooper@FreeBSD.org, jilles@FreeBSD.org, freebsd-standards@FreeBSD.org From: jilles@FreeBSD.org Cc: Subject: Re: bin/125855: sh(1) allows for multiline, non-escaped control structures (and thus isn't POSIX compliant) 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, 19 Apr 2010 22:25:44 -0000 Synopsis: sh(1) allows for multiline, non-escaped control structures (and thus isn't POSIX compliant) State-Changed-From-To: open->closed State-Changed-By: jilles State-Changed-When: Mon Apr 19 22:25:43 UTC 2010 State-Changed-Why: Supporting this extension is not a bug, and I do not plan on removing it any time soon. http://www.freebsd.org/cgi/query-pr.cgi?pr=125855 From owner-freebsd-standards@FreeBSD.ORG Tue Apr 20 19:45:46 2010 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 17A0C106566C; Tue, 20 Apr 2010 19:45:46 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E38818FC14; Tue, 20 Apr 2010 19:45:45 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3KJjjeo011304; Tue, 20 Apr 2010 19:45:45 GMT (envelope-from jilles@freefall.freebsd.org) Received: (from jilles@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3KJjjhk011300; Tue, 20 Apr 2010 19:45:45 GMT (envelope-from jilles) Date: Tue, 20 Apr 2010 19:45:45 GMT Message-Id: <201004201945.o3KJjjhk011300@freefall.freebsd.org> To: esk@ira.uka.de, jilles@FreeBSD.org, freebsd-standards@FreeBSD.org From: jilles@FreeBSD.org Cc: Subject: Re: bin/24390: ln(1) Replacing old dir-symlinks when using /bin/ln 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: Tue, 20 Apr 2010 19:45:46 -0000 Synopsis: ln(1) Replacing old dir-symlinks when using /bin/ln State-Changed-From-To: open->closed State-Changed-By: jilles State-Changed-When: Tue Apr 20 19:45:45 UTC 2010 State-Changed-Why: Duplicate of standards/41576 http://www.freebsd.org/cgi/query-pr.cgi?pr=24390 From owner-freebsd-standards@FreeBSD.ORG Wed Apr 21 21:58:52 2010 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 24BCC106566C; Wed, 21 Apr 2010 21:58:52 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F09618FC12; Wed, 21 Apr 2010 21:58:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3LLwpt4099676; Wed, 21 Apr 2010 21:58:51 GMT (envelope-from jilles@freefall.freebsd.org) Received: (from jilles@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3LLwp3J099672; Wed, 21 Apr 2010 21:58:51 GMT (envelope-from jilles) Date: Wed, 21 Apr 2010 21:58:51 GMT Message-Id: <201004212158.o3LLwp3J099672@freefall.freebsd.org> To: ighighi@gmail.com, jilles@FreeBSD.org, freebsd-standards@FreeBSD.org, jilles@FreeBSD.org From: jilles@FreeBSD.org Cc: Subject: Re: standards/121568: [patch] ln(1): wrong "ln -s" behaviour 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: Wed, 21 Apr 2010 21:58:52 -0000 Synopsis: [patch] ln(1): wrong "ln -s" behaviour State-Changed-From-To: open->patched State-Changed-By: jilles State-Changed-When: Wed Apr 21 21:58:20 UTC 2010 State-Changed-Why: Patch applied with changes to 9-CURRENT. Responsible-Changed-From-To: freebsd-standards->jilles Responsible-Changed-By: jilles Responsible-Changed-When: Wed Apr 21 21:58:20 UTC 2010 Responsible-Changed-Why: Take. http://www.freebsd.org/cgi/query-pr.cgi?pr=121568 From owner-freebsd-standards@FreeBSD.ORG Wed Apr 21 22:11:02 2010 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 570A3106566B; Wed, 21 Apr 2010 22:11:01 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2F5E98FC1C; Wed, 21 Apr 2010 22:11:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3LMB1td015924; Wed, 21 Apr 2010 22:11:01 GMT (envelope-from jilles@freefall.freebsd.org) Received: (from jilles@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3LMB1FE015920; Wed, 21 Apr 2010 22:11:01 GMT (envelope-from jilles) Date: Wed, 21 Apr 2010 22:11:01 GMT Message-Id: <201004212211.o3LMB1FE015920@freefall.freebsd.org> To: jilles@FreeBSD.org, freebsd-standards@FreeBSD.org, freebsd-x11@FreeBSD.org From: jilles@FreeBSD.org Cc: Subject: Re: ports/120947: x11/xsm ignores system.xsm and .xsmstartup 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: Wed, 21 Apr 2010 22:11:02 -0000 Old Synopsis: xsm ignores system.xsm and .xsmstartup New Synopsis: x11/xsm ignores system.xsm and .xsmstartup Responsible-Changed-From-To: freebsd-standards->freebsd-x11 Responsible-Changed-By: jilles Responsible-Changed-When: Wed Apr 21 22:09:35 UTC 2010 Responsible-Changed-Why: This is a ports PR, not about standards compliance of FreeBSD base. http://www.freebsd.org/cgi/query-pr.cgi?pr=120947 From owner-freebsd-standards@FreeBSD.ORG Wed Apr 21 22:45:03 2010 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 458141065687; Wed, 21 Apr 2010 22:45:03 +0000 (UTC) (envelope-from jilles@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1E4CB8FC0C; Wed, 21 Apr 2010 22:45:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3LMj3ZY042511; Wed, 21 Apr 2010 22:45:03 GMT (envelope-from jilles@freefall.freebsd.org) Received: (from jilles@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3LMj24r042507; Wed, 21 Apr 2010 22:45:02 GMT (envelope-from jilles) Date: Wed, 21 Apr 2010 22:45:02 GMT Message-Id: <201004212245.o3LMj24r042507@freefall.freebsd.org> To: shurd@sasktel.net, jilles@FreeBSD.org, freebsd-standards@FreeBSD.org From: jilles@FreeBSD.org Cc: Subject: Re: standards/129196: Inconsistent errno in strtol() 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: Wed, 21 Apr 2010 22:45:03 -0000 Synopsis: Inconsistent errno in strtol() State-Changed-From-To: open->closed State-Changed-By: jilles State-Changed-When: Wed Apr 21 22:45:02 UTC 2010 State-Changed-Why: The described behaviour is not a bug in FreeBSD. http://www.freebsd.org/cgi/query-pr.cgi?pr=129196 From owner-freebsd-standards@FreeBSD.ORG Fri Apr 23 01:23:44 2010 Return-Path: Delivered-To: standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F95B106566C for ; Fri, 23 Apr 2010 01:23:44 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.221.181]) by mx1.freebsd.org (Postfix) with ESMTP id 070D68FC12 for ; Fri, 23 Apr 2010 01:23:43 +0000 (UTC) Received: by qyk11 with SMTP id 11so10702692qyk.13 for ; Thu, 22 Apr 2010 18:23:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=6XhEPonXN9BzbMEhc4jBFUNnap8dTIjPJ/oZQqO0bM0=; b=r01Zpubm37EHTqiOJMVbXaLQzZ616ynKlQ7uXM9GWwrDDzgr1XcO9qS40cIaOHPyMk +qkZd0lrj3Xo8Lzcavbnfp028ZsMEdSjd5RV1nJI0VxtQK6aI1anXZ/xJuFD7NXiM4Aw etfwSByZsqvCAmMVhElCMdhzFx43JGM5b3kMY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=AEm7PV+qSs+YTyaKQN9eArImiY6LAm7Ven2SGBFXTwhSgDU02Z9aJ6Cm+cm6ezGeGu VaCEwIe5IG+hgwtt+fhL0ZRe2qOsegMLgo5lOEsb0j43gVwo7fvKopTooKg2NOVTCM3w pb/YEMFrZ9nvZrUBlay/f+WUiZtIkJSEEK+VI= MIME-Version: 1.0 Received: by 10.229.233.11 with HTTP; Thu, 22 Apr 2010 18:23:42 -0700 (PDT) In-Reply-To: References: Date: Thu, 22 Apr 2010 18:23:42 -0700 Received: by 10.229.218.147 with SMTP id hq19mr3988395qcb.34.1271985822758; Thu, 22 Apr 2010 18:23:42 -0700 (PDT) Message-ID: From: Garrett Cooper To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: standards@freebsd.org Subject: Re: Non-POSIX compliant portions of FreeBSD 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: Fri, 23 Apr 2010 01:23:44 -0000 On Sun, Apr 18, 2010 at 8:16 PM, Garrett Cooper wrote: > On Sun, Apr 18, 2010 at 5:48 AM, Eitan Adler w= rote: >>> =A0 =A0I'll keep on providing a full list of items where we aren't POSI= X >>> compliant, but it'd be interesting to get a response about whether or >>> not the items I submit are known or not, and whether or not they were >>> conscious design decisions and/or items which need to be fixed. >>> Thanks, >>> -Garrett >> >> Can you make this into a wiki page along with the comments you receive? > > =A0 =A0Sure. Here's the page for starters: > http://wiki.freebsd.org/FreeBSD_and_Standards Continuing on the fun... ioctl (by manpage alone) isn't even close to being POSIX standard. Here are the differences I spotted at least [in the ERRORS section]: FreeBSD: The ioctl() system call will fail if: [EBADF] The d argument is not a valid descriptor. [ENOTTY] The d argument is not associated with a character s= pe- cial device. [ENOTTY] The specified request does not apply to the kind of object that the descriptor d references. [EINVAL] The request or argp argument is not valid. [EFAULT] The argp argument points outside the process's allo= - cated address space. POSIX: [EBADF] The fildes argument is not a valid open file descriptor. [EINTR] A signal was caught during the ioctl() operation. [EINVAL] The STREAM or multiplexer referenced by fildes is linked (directly or indirectly) downstream from a multiplexer. If an underlying device driver detects an error, then ioctl() shall fail if= : [EINVAL] The request or arg argument is not valid for this device. [EIO] Some physical I/O error has occurred. [ENOTTY] The fildes argument is not associated with a STREAMS device that accepts control functions. [ENXIO] The request and arg arguments are valid for this device driver, but the service requested cannot be performed on this particular sub-device. [ENODEV] The fildes argument refers to a valid STREAMS device, but the corresponding device driver does not support the ioctl() function. If a STREAM is connected downstream from a multiplexer, any ioctl() command except I_UNLINK and I_PUNLINK shall set errno to [EINVAL]. 1. EINTR and EIO aren't implemented in FreeBSD. 2. The tort in EBADF for the POSIX definition suggests that the file descriptor state is important -- it looks like the wording is potentially a bit too well defined in the POSIX version as I could open a file descriptor, close it, then attempt to run an ioctl(2) on the device file descriptor, which should fail in the same way as the FreeBSD wording suggests. 3. It looks like ENODEV, ENOTTY, and ENXIO in the POSIX case are bundled together in some of the possible states for the ENOTTY error case on FreeBSD. At least it functions unlike the Linux copy in some cases though :]. Cheers, -Garrett From owner-freebsd-standards@FreeBSD.ORG Fri Apr 23 06:53:18 2010 Return-Path: Delivered-To: standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 997861065672 for ; Fri, 23 Apr 2010 06:53:18 +0000 (UTC) (envelope-from tmueller@sysgo.com) Received: from mail.sysgo.com (mail.sysgo.com [195.145.229.155]) by mx1.freebsd.org (Postfix) with ESMTP id 590578FC0A for ; Fri, 23 Apr 2010 06:53:17 +0000 (UTC) Received: from donald.sysgo.com (unknown [172.22.1.30]) by mail.sysgo.com (Postfix) with ESMTP id A366E74099; Fri, 23 Apr 2010 08:31:03 +0200 (CEST) Received: from tom.ulm.sysgo.com (tom.ulm.sysgo.com [172.30.3.10]) by donald.sysgo.com (Postfix) with ESMTP id B93EB34406E; Fri, 23 Apr 2010 08:36:33 +0200 (CEST) Date: Fri, 23 Apr 2010 08:32:12 +0200 From: Thomas Mueller To: Garrett Cooper Message-ID: <20100423083212.78227802@tom.ulm.sysgo.com> In-Reply-To: References: Organization: SYSGO AG X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: standards@freebsd.org Subject: Re: Non-POSIX compliant portions of FreeBSD 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: Fri, 23 Apr 2010 06:53:18 -0000 On Thu, 22 Apr 2010 18:23:42 -0700, Garrett Cooper wrote: > Continuing on the fun... ioctl (by manpage alone) isn't even close > to being POSIX standard. Here are the differences I spotted at least > [in the ERRORS section]: In an older version of the standard (ISO/IEC 9945-1: 1996, IEEE Std 1003.1, 1996 Edition) ioctl() wasn't mentioned in the 'System Interfaces' section at all. The 'Rationale' section mentioned ioctl() only in combination with the terminal interface and the introduction of the tc*() functions. SUSv2 added ioctl(), but strictly as function pertaining to the STREAMS option. NAME ioctl =E2=80=94control a STREAMS device DESCRIPTION The ioctl () function performs a variety of control functions on STREAMS devices [...] SUSv4 marks all STREAMS related parts as [OB] (obsolescent), including ioctl(). Looks like POSIX never adopted ioctl() until somebody pushed STREAMS into the standard. --=20 Thomas Mueller From owner-freebsd-standards@FreeBSD.ORG Fri Apr 23 15:27:30 2010 Return-Path: Delivered-To: standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F35441065670 for ; Fri, 23 Apr 2010 15:27:29 +0000 (UTC) (envelope-from wollman@khavrinen.csail.mit.edu) Received: from khavrinen.csail.mit.edu (khavrinen.csail.mit.edu [128.30.28.20]) by mx1.freebsd.org (Postfix) with ESMTP id AF5F18FC0C for ; Fri, 23 Apr 2010 15:27:29 +0000 (UTC) Received: from khavrinen.csail.mit.edu (localhost [127.0.0.1]) by khavrinen.csail.mit.edu (8.14.3/8.14.3) with ESMTP id o3NFRSxv034485 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL CN=khavrinen.csail.mit.edu issuer=Client+20CA); Fri, 23 Apr 2010 11:27:28 -0400 (EDT) (envelope-from wollman@khavrinen.csail.mit.edu) Received: (from wollman@localhost) by khavrinen.csail.mit.edu (8.14.3/8.14.3/Submit) id o3NFRSd1034482; Fri, 23 Apr 2010 11:27:28 -0400 (EDT) (envelope-from wollman) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19409.48224.233892.83204@khavrinen.csail.mit.edu> Date: Fri, 23 Apr 2010 11:27:28 -0400 From: Garrett Wollman To: Garrett Cooper In-Reply-To: References: X-Mailer: VM 7.17 under 21.4 (patch 22) "Instant Classic" XEmacs Lucid X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (khavrinen.csail.mit.edu [127.0.0.1]); Fri, 23 Apr 2010 11:27:28 -0400 (EDT) Cc: standards@freebsd.org Subject: Re: Non-POSIX compliant portions of FreeBSD 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: Fri, 23 Apr 2010 15:27:30 -0000 < said: > Continuing on the fun... ioctl (by manpage alone) isn't even close > to being POSIX standard. Here are the differences I spotted at least > [in the ERRORS section]: You should ignore everything POSIX says about ioctl(); it is marked "OB XSR" and therefore is not relevant to FreeBSD. -GAWollman From owner-freebsd-standards@FreeBSD.ORG Fri Apr 23 17:32:48 2010 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 6E31B106566B; Fri, 23 Apr 2010 17:32:48 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 451728FC0C; Fri, 23 Apr 2010 17:32:48 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3NHWm5v002411; Fri, 23 Apr 2010 17:32:48 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3NHWmgK002407; Fri, 23 Apr 2010 17:32:48 GMT (envelope-from linimon) Date: Fri, 23 Apr 2010 17:32:48 GMT Message-Id: <201004231732.o3NHWmgK002407@freefall.freebsd.org> To: dfilter@FreeBSD.ORG, linimon@FreeBSD.org, gnats-admin@FreeBSD.org, freebsd-standards@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: standards/145926: Re: standards/121568: commit references a PR 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: Fri, 23 Apr 2010 17:32:48 -0000 Old Synopsis: Re: standard/121568: commit references a PR New Synopsis: Re: standards/121568: commit references a PR State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Fri Apr 23 17:31:56 UTC 2010 State-Changed-Why: Misfiled followup to standards/121568; content migrated. Responsible-Changed-From-To: gnats-admin->freebsd-standards Responsible-Changed-By: linimon Responsible-Changed-When: Fri Apr 23 17:31:56 UTC 2010 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=145926