[Swan-dev] Building current HEAD on Fedora 20

Matt Rogers mrogers at redhat.com
Tue Mar 4 07:42:15 EET 2014


For 3.13.4-200.fc20.x86_64 this runs into:

/source/modobj/pfkey_v2.c: In function ‘pfkey_create’:
/source/modobj/pfkey_v2.c:742:14: error: incompatible types when assigning to
type ‘uint32_t’ from type ‘kuid_t’
  key_pid(sk) = current_uid();

This has something to do with some newish user namespace changes
(https://lwn.net/Articles/491236/). From what info I was able to find online, I
played around with changing the current_uid() calls to use from_kuid() and
managed to get it to compile, but klips didn't seem to work. Netkey was fine of
course.

Matt


More information about the Swan-dev mailing list