| To: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH v2 6/7] xfsdump: convert to the POSIX signal API |
| From: | Bill Kendall <wkendall@xxxxxxx> |
| Date: | Mon, 15 Aug 2011 08:10:48 -0500 |
| Cc: | aelder@xxxxxxx, xfs@xxxxxxxxxxx |
| In-reply-to: | <20110812204554.GA30615@xxxxxxxxxxxxx> |
| References: | <1312497011-24840-1-git-send-email-wkendall@xxxxxxx> <1312497011-24840-7-git-send-email-wkendall@xxxxxxx> <1313012883.2865.139.camel@doink> <4E457BEE.7060704@xxxxxxx> <20110812204554.GA30615@xxxxxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 |
On 08/12/2011 03:45 PM, Christoph Hellwig wrote: On Fri, Aug 12, 2011 at 02:15:58PM -0500, Bill Kendall wrote:Is there any requirement that the fields other than sa_flags and sa_handler should be zeroed before use?The sa_sigaction field will only be used if sa_flags has SA_SIGINFO set, and the sa_restored field is obsolete and not specified by POSIX. Better to explicitly initialize everything though, so I'll change that. Thanks, I do remember reading this now. I'll leave the code as is, which sets sa_handler instead of sa_sigaction, and does not touch the obsolete (possibly undefined) sa_restorer. The rest of the fields are initialized. Bill |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH v2 1/3] Added test case 257 for btrfs extended snapshot tests, Anand Jain |
|---|---|
| Next by Date: | [PATCH v3 0/7] xfsdump: convert to using the POSIX signal API, Bill Kendall |
| Previous by Thread: | Re: [PATCH v2 6/7] xfsdump: convert to the POSIX signal API, Christoph Hellwig |
| Next by Thread: | [PATCH v2 7/7] xfsdump: refactor inventory session creation, Bill Kendall |
| Indexes: | [Date] [Thread] [Top] [All Lists] |