RE: Toolchain is broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yep, just verified that revert this commit and the problem would go away.

> Date: Sat, 27 Aug 2011 09:46:41 -0400
> Subject: Re: Toolchain is broken?
> From: eparis@xxxxxxxxxxxxxx
> To: harrytaurus2002@xxxxxxxxxxx
> CC: selinux@xxxxxxxxxxxxx; russell@xxxxxxxxxxxx
>
> Must have come from this patch.
>
> commit d784fd71b56cb8f57d5b9fcd784094e004bf7c6a
> Author: Russell Coker <russell@xxxxxxxxxxxx>
> Date: Wed Jan 5 19:30:25 2011 +1100
>
> libsemanage: patch for MCS/MLS in user files
>
> Russell, do you know what's going on?
>
> -Eric
>
> 2011/8/27 HarryCiao <harrytaurus2002@xxxxxxxxxxx>:
> > BTW, on my box this problem could temporarily worked around by specifying
> > "disable-genhomedircon = true".
> >
> > ________________________________
> > From: harrytaurus2002@xxxxxxxxxxx
> >! ; To: selinux@xxxxxxxxxxxxx
> > Subject: Toolchain is broken?
> > Date: Sat, 27 Aug 2011 07:45:11 +0000
> >
> > Hi,
> >
> > When I am improving my patchset to discard unused branches of tunable
> > conditionals these days, I run into a new segfault issue that seems has
> > nothing to do with my patchset. After I checked back to the master branch
> > for both toolchain and refpolicy and pulled the latest codes, the segfault
> > still exist.
> >
> > Turns out the problem lies in genhomedircon.c, the level argument passed to
> > set_fallback_user is NULL, and strdup(NULL) would segfault in the end. Below
> > is the debug message I've seen:
> >
> > genhomedircon.c Entered set_fallback_user, user = user_u, prefix = user,
> > level = (null)
> > Passing NULL to strdup would segfault
> > make: *** [load] Segmentat! ion fault
> >
> > Has anyone else also run into the same problem? I didn't run into it before
> > Aug 23rd, if this is a real problem, then it must have been introduced after
> > that date.
> >
> > So far I am pretty new to the semanage code, any idea to fix this issue?
> >
> > Thanks,
> > Harry
> >
> >
> >
>
> --
> This message was distributed to subscribers of the selinux mailing list.
> If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
> the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux