From owner-freebsd-standards@FreeBSD.ORG Thu Apr 8 05:29:05 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 F26F31065673 for ; Thu, 8 Apr 2010 05:29:05 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id AFC508FC20 for ; Thu, 8 Apr 2010 05:29:05 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so542360qwi.7 for ; Wed, 07 Apr 2010 22:29:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=tMXPkYe6w/4e2sS0oZDB8kOq1YFWHNbs4xrNmNqkzjA=; b=uE2onQRcPcqPj8plARHImgdScJMVvV/edSuq5pMwfJnuvKd7CwxdQH3tuNp1CsOLOu F0xo59bxvtGdx+dLXba59WYi6sRr7sWnBgTDhSqfAZqvf/zcnxMAkLM4v2w19qS3eI1z yayUBqcdkZn3TOYVaITayWB8/4e8jxtB2X98Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=btpsuHRVwRVxCZw23FttGJ3tUNVg0csW04kNnnDonFDK7B5JtZZ9qOsrRQbABe7oFF vz36PLcsobViZSLeSMUFuhoFhZksh/l58dHVYfxPuOT0ez/1dFHUB9FcOGWePO8819vp aV6XgOMirZk1jGtbikd4xWX7S7AmsOc9ZZgeM= MIME-Version: 1.0 Received: by 10.229.33.72 with HTTP; Wed, 7 Apr 2010 22:00:41 -0700 (PDT) Date: Wed, 7 Apr 2010 22:00:41 -0700 Received: by 10.229.181.16 with SMTP id bw16mr733078qcb.0.1270702841700; Wed, 07 Apr 2010 22:00:41 -0700 (PDT) Message-ID: From: Garrett Cooper To: standards@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: 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: Thu, 08 Apr 2010 05:29:06 -0000 Hi Standards folks, I was recently piqued by Warner to look into open_posix_testsuite, and I've noticed that there are some discrepancies in our compliance with POSIX standards: 1. We don't implement any of the pieces in errno.h relating to POSIX STREAMs (I assume this is intentional?). This includes: - ENODATA - ENOSR - ENOSTR - ETIME - http://www.opengroup.org/onlinepubs/000095399/basedefs/errno.h.html 2. We don't define daylight or timezone in time.h - http://www.opengroup.org/onlinepubs/009695399/basedefs/time.h.html 3. We don't define SIGPOLL - http://www.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html 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 - http://www.opengroup.org/onlinepubs/000095399/basedefs/sched.h.html 6. We don't define bsd_signal (snickers) - http://www.opengroup.org/onlinepubs/000095399/functions/bsd_signal.html 7. We don't have clock_nanosleep, clock_getcpuclockid, or getdate defined using the POSIX defined headers. I'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