From: Roland McGrath Subject: Re: [PATCH 1/4] signals: SEND_SIG_NOINFO should be considered as SI_FROMUSER() Date: Wed, 7 Oct 2009 18:57:48 -0700 (PDT) Message-ID: <20091008015748.AC19D8D@magilla.sf.frob.com> References: <4AC608BE.9020805@fr.ibm.com> <20091003171029.GA30442@us.ibm.com> <20091004021844.GA21006@redhat.com> <20091004021918.GB21006@redhat.com> <20091006073100.4184128@magilla.sf.frob.com> <20091006133732.GB8628@redhat.com> <20091006175705.6547A22@magilla.sf.frob.com> <20091007113049.GA3421@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Oleg Nesterov's message of Wednesday, 7 October 2009 13:30:49 +0200 <20091007113049.GA3421-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Oleg Nesterov Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Linux Containers , Andrew Morton , Sukadev Bhattiprolu , Daniel Lezcano List-Id: containers.vger.kernel.org > I think this doesn't matter because we need more cleanups. Ok, good enough for me. > The problem is, both SI_FROMUSER() and SI_FROMKERNEL() must die imho. > In fact I think they should never exist. I've always found all the si_code hackery rather confusing. (Don't forget the crucial magic (short) cast repeated three places in exit.c without a comment between them!) > Other cleanups which imho makes sense: > > - rename SEND_SIG_XXX > > - redefine them to make sure SEND_SIG_NOINFO != NULL Sounds good to me. Thanks, Roland