FS#61240 - [vlan] macvlan_config lacks PIE and is not compiled

Attached to Project: Community Packages
Opened by Jelle van der Waa (jelly) - Tuesday, 01 January 2019, 22:31 GMT
Last edited by Sébastien Luttringer (seblu) - Thursday, 03 January 2019, 00:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sébastien Luttringer (seblu)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

macvlan_config lacks PIE and is actually shipped as, a 32 bit binary.

Steps to reproduce:
make -B in the PKGBUILD to really build macvlan_config


rm -f *.o
touch vconfig.h
gcc -g -D_GNU_SOURCE -Wall -I/build/linux/include -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o macvlan_config macvlan_config.c

Making vconfig.c
gcc -g -D_GNU_SOURCE -Wall -I/build/linux/include -c vconfig.c
macvlan_config.c:72:10: fatal error: linux/if_macvlan.h: No such file or directory
#include <linux/if_macvlan.h>
This task depends upon

Closed by  Sébastien Luttringer (seblu)
Thursday, 03 January 2019, 00:48 GMT
Reason for closing:  Won't fix
Comment by Jelle van der Waa (jelly) - Tuesday, 01 January 2019, 22:31 GMT
Note, maybe remove the package from the repos as it's really not needed:

802.1Q VLAN code is now part of the official kernel, and has been for years and years. MAC-VLAN code has been added since around 2.6.29. It is very unlikely that you need to download anything from this site, the packages are left here for posterity's sake. Please send questions and bug reports to the linux network mailing list: netdev@vger.kernel.org.
Comment by Sébastien Luttringer (seblu) - Wednesday, 02 January 2019, 01:39 GMT
Yes, let's move it to aur.
Comment by Sébastien Luttringer (seblu) - Thursday, 03 January 2019, 00:48 GMT
Moved to aur.

Loading...