From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Palethorpe Date: Mon, 06 May 2019 12:39:09 +0200 Subject: [LTP] NS_* ioctl commands fail in 32bit compat mode (-m32) In-Reply-To: <874l67x53e.fsf@rpws.prws.suse.cz> References: <20190403152245.GC26464@rei.lan> <20190411192534.30525-1-fedebonfi95@gmail.com> <20190412143318.GA29856@haruka.lan> <874l67x53e.fsf@rpws.prws.suse.cz> Message-ID: <8736lrx3xu.fsf@rpws.prws.suse.cz> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Richard Palethorpe writes: > Hello Federico, > > All the tests fail with something similar to: > ioctl_ns01.c:45: FAIL: unexpected ioctl error: ENOTTY > > when compiled with the -m32 flag on at least SUSE kernel 4.20 and > 4.12. > > Do you know if this feature is expected to work in 32bit compat mode? > Maybe the size of the arguments should be different when using 32bit mode? FYI, it seems the size of the argument and value are the same on both 32bit and 64bit mode in user space. -- Thank you, Richard.