Bug#581750: glib2.0: FTBFS on kfreebsd-*: error: 'SOL_SOCKET' undeclared
Julien Cristau
jcristau at debian.org
Tue May 25 11:41:55 UTC 2010
retitle 581750 glib2.0: porting needed for credentials passing on kfreebsd
severity 581750 normal
kthxbye
On Sat, May 15, 2010 at 23:57:42 +0200, Julien Cristau wrote:
> So fixing the ftbfs is easy (either put the SOL_SOCKET thing in a linux
> ifdef, or include <sys/socket.h> unconditionally).
>
That part was fixed upstream in 2.27.5 afaict.
> Making this stuff actually work on freebsd I'm not sure. The following
> should basically work. Note that afaict the freebsd interface doesn't
> allow faking ids, even for root, unlike linux. struct cmsgcred has a
> field for uid and for euid, I'm not sure which is more appropriate.
> This is the first time I'm looking at this interface, and I'm not
> familiar with freebsd, so somebody should double-check.
>
Repurposing the bug for this.
Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100525/5ef0c44b/attachment.pgp>
More information about the pkg-gnome-maintainers
mailing list