[LTP] [PATCH 2/3] socketcall: TCONF instead of TFAIL when user is not root

Cyril Hrubis chrubis@suse.cz
Wed Nov 2 15:46:11 CET 2016


Hi!
> sockatcall01 uses certain protocols that require super user
> privileges.

Right, the RAW socket needs root. You should have included that in the
commit message from the start. Pushed with better commit message, thanks.

Also it took me while to realize that the syscall is not implemented on
x86_64 and that the test returns PASS wrongly instead of CONF. I have
fixed that in another patch as well.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list