Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Silence compilation warnings about setuid, setgid
- X-seq: zsh-workers 43013
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [PATCH] Silence compilation warnings about setuid, setgid
- Date: Thu, 14 Jun 2018 11:40:27 +0100
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180614104034euoutp02d52a4dffc4ca283d2d1ed5dbbf9e37a6~4ALE5EC2U3128831288euoutp02E
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1528972834; bh=qv9rmisZ+vFAxYbaruCl+AQrUthei1tDSoeyFUTSUrI=; h=Date:From:To:Subject:In-Reply-To:References:From; b=WDxvqWrAQj3bm/75U2kuubgALcTmwSNW9AhXEAa9whIYWsAkijgVE5HygPzTtBTNT jUaIqTXkCj7MD09M+UfQKiQvpU78dw/t7gLPaheUuTnTPE+1FlGJiXxVzXsAVvffls MFtUzJPdDSUU6Vdk+qBFEj/4xK7U4mb9PHkaRg7c=
- In-reply-to: <7B8E5961-8433-4D4F-8DBF-984364E79A84@dana.is>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: SCSC
- References: <CAKc7PVBWHsOhpC7mZcL4DA0ih=3yJF-HYe+We=r0q1oXA_s38g@mail.gmail.com> <CGME20180613115039epcas5p3f7e70bdce12919686a5dec9895782138@epcas5p3.samsung.com> <CAF6rxgmVA5KtcRoaVZi5P=6OtQdLPzHJowbBm+eyp0Zjea19Sg@mail.gmail.com> <20180613131021eucas1p263704fa9832375e6a49cf7f2077606dc~3ukj6hhqT1702017020eucas1p2W@eucas1p2.samsung.com> <CAH+w=7Z5hNeLpoUkGDMnuk3PRF3BX7+z=EdHQHTVtj1pgasrAA@mail.gmail.com> <CAF6rxg=Y1BSfoQLMgyLj4ahJcRp36AN8n2=hwFgxqQ4h0VkAYw@mail.gmail.com> <20180613171924eucas1p1ffdbcc9252255b19e36788fd06a7f582~3x_Aqkahf0839108391eucas1p1U@eucas1p1.samsung.com> <25A87D83-CBB6-446E-9008-DA413639AC7D@dana.is> <20180614084126eucas1p28dc51492cd295fc0c7df99529c94221a~3_jDOvnXx1349013490eucas1p2N@eucas1p2.samsung.com> <7B8E5961-8433-4D4F-8DBF-984364E79A84@dana.is>
On Thu, 14 Jun 2018 05:31:49 -0500
dana <dana@xxxxxxx> wrote:
> On 14 Jun 2018, at 03:41, Peter Stephenson <p.stephenson@xxxxxxxxxxx>
> wrote:
> >+ ignore_err = setgid(getgid());
> >+ (void)ignore_err;
>
> FWIW, that does seem to shut it up.
Yeah, that's basically what the GNU workaround did, translated into
standard C... hopefully standard enough for everyone.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author