Re: [LTP] [PATCH] safe_macros: turn functions with off_t parameter into static inline

2014-08-26 Thread chrubis
Hi! > Testing went OK, I came across one new issue on system supporting CPU hotplug > in > sched_setaffinity01.c / tst_ncpus_max(). > > tst_ncpus_max is using sysconf(_SC_NPROCESSORS_CONF), but sched_getaffinity > cares about all possible cpus, so it fails with EINVAL, because mask is too > sma

Re: [LTP] [PATCH] safe_macros: turn functions with off_t parameter into static inline

2014-08-26 Thread Jan Stancek
- Original Message - > From: "Jan Stancek" > To: chru...@suse.cz > Cc: ltp-list@lists.sourceforge.net > Sent: Monday, 25 August, 2014 4:46:30 PM > Subject: Re: [LTP] [PATCH] safe_macros: turn functions with off_t parameter > into static inline > I'

Re: [LTP] [PATCH] safe_macros: turn functions with off_t parameter into static inline

2014-08-25 Thread Jan Stancek
- Original Message - > From: chru...@suse.cz > To: "Jan Stancek" > Cc: ltp-list@lists.sourceforge.net > Sent: Monday, 25 August, 2014 4:07:50 PM > Subject: Re: [LTP] [PATCH] safe_macros: turn functions with off_t parameter > into static inline > > Hi!

Re: [LTP] [PATCH] safe_macros: turn functions with off_t parameter into static inline

2014-08-25 Thread chrubis
Hi! > > And the testcase that fails in SAFE_SETRLIMIT() is truncate03_64 after > > the patch that fixes the EFBIG limit. > > > > So unless you are already working on it I will prepare and push a patch > > that moves rlimit related safe macros to the header as well. > > I'm not - it did not fail w

Re: [LTP] [PATCH] safe_macros: turn functions with off_t parameter into static inline

2014-08-25 Thread Jan Stancek
- Original Message - > From: chru...@suse.cz > To: "Jan Stancek" > Cc: ltp-list@lists.sourceforge.net > Sent: Monday, 25 August, 2014 3:09:20 PM > Subject: Re: [LTP] [PATCH] safe_macros: turn functions with off_t parameter > into static inline > &

Re: [LTP] [PATCH] safe_macros: turn functions with off_t parameter into static inline

2014-08-25 Thread chrubis
Hi! > Some functions used to implement safe macros have parameters > of type off_t or structures containing off_t fields. > > We don't want these to be compiled into libltp, because > some testcases are compiled with different flags such as: > -D_FILE_OFFSET_BITS=64 -DOFF_T=__off64_t > which the

Re: [LTP] [PATCH] safe_macros: turn functions with off_t parameter into static inline

2014-08-22 Thread Jan Stancek
- Original Message - > From: chru...@suse.cz > To: "Jan Stancek" > Cc: ltp-list@lists.sourceforge.net > Sent: Thursday, 21 August, 2014 1:51:43 PM > Subject: Re: [LTP] [PATCH] safe_macros: turn functions with off_t parameter > into static inline > &

Re: [LTP] [PATCH] safe_macros: turn functions with off_t parameter into static inline

2014-08-21 Thread chrubis
Hi! > Some functions used to implement safe macros have parameters > of type off_t or structures containing off_t fields. > > We don't want these to be compiled into libltp, because > some testcases are compiled with different flags such as: > -D_FILE_OFFSET_BITS=64 -DOFF_T=__off64_t > which the

[LTP] [PATCH] safe_macros: turn functions with off_t parameter into static inline

2014-08-21 Thread Jan Stancek
Some functions used to implement safe macros have parameters of type off_t or structures containing off_t fields. We don't want these to be compiled into libltp, because some testcases are compiled with different flags such as: -D_FILE_OFFSET_BITS=64 -DOFF_T=__off64_t which then creates incompat