From patchwork Sat Dec 26 18:20:50 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kyle mcmartin X-Patchwork-Id: 69787 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBQIKrG6014351 for ; Sat, 26 Dec 2009 18:20:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751237AbZLZSUw (ORCPT ); Sat, 26 Dec 2009 13:20:52 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752442AbZLZSUw (ORCPT ); Sat, 26 Dec 2009 13:20:52 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:52501 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751237AbZLZSUw (ORCPT ); Sat, 26 Dec 2009 13:20:52 -0500 Received: from kyle by bombadil.infradead.org with local (Exim 4.69 #1 (Red Hat Linux)) id 1NObFy-0007ME-Sx; Sat, 26 Dec 2009 18:20:50 +0000 Date: Sat, 26 Dec 2009 13:20:50 -0500 From: Kyle McMartin To: linux-parisc@vger.kernel.org Cc: "Carlos O'Donell" Subject: sys_accept4, SOCK_CLOEXEC, misc, bonghits, and others... Message-ID: <20091226182050.GH11593@bombadil.infradead.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org diff --git a/ChangeLog.hppa b/ChangeLog.hppa index 24a152e..4ce4cc7 100644 --- a/ChangeLog.hppa +++ b/ChangeLog.hppa @@ -1,3 +1,7 @@ +2009-12-26 Kyle McMartin + * sysdeps/unix/sysv/linux/hppa/bits/socket.h: Fix value of + SOCK_CLOEXEC to match O_CLOEXEC. + 2009-11-25 Carlos O'Donell * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: diff --git a/sysdeps/unix/sysv/linux/hppa/bits/socket.h b/sysdeps/unix/sysv/linux/hppa/bits/socket.h index ac6e81b..d552d85 100644 --- a/sysdeps/unix/sysv/linux/hppa/bits/socket.h +++ b/sysdeps/unix/sysv/linux/hppa/bits/socket.h @@ -62,7 +62,7 @@ enum __socket_type /* Flags to be ORed into the type parameter of socket and socketpair and used for the flags parameter of paccept. */ - SOCK_CLOEXEC = 02000000, /* Atomically set close-on-exec flag for the + SOCK_CLOEXEC = 01000000, /* Atomically set close-on-exec flag for the new descriptor(s). */ #define SOCK_CLOEXEC SOCK_CLOEXEC #undef SOCK_NONBLOCK