Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2005 20:19:19 +0100
From:      Bartosz Fabianowski <freebsd@chillt.de>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: malloc() debugging flags broken on RELENG_5
Message-ID:  <423F1E37.4080107@chillt.de>
In-Reply-To: <20050321191058.GI5243@dan.emsphone.com>
References:  <423F0418.3050702@chillt.de> <20050321181209.GG5243@dan.emsphone.com> <423F11A5.40502@chillt.de> <20050321191058.GI5243@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> The actual test in the malloc code reads:
> 
>     if (malloc_abort || issetugid() || getuid() == 0 || getgid() == 0)
>         wrterror(p)
> 
> , so it may also trigger if your primary groupid is 0 (wheel).  Just
> being a member of the wheel group won't trigger it.

Thank you very much for pointing this out. I should have looked myself before complaining, of course.

My user's primary group is indeed wheel. I will patch my source tree, recompile libc and see whether this helps (I realize this is much more of a hack than a solution but as long as it works, I am fine).

- Bartosz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?423F1E37.4080107>