Garrett Cooper wrote: > On Tue, Aug 17, 2010 at 11:34 AM, David Marlin <[email protected]> wrote: >> 'lchown02.c' does not build properly due to calls to mmap and >> get_high_address (which references sbrk) when UCLINUX=1 is defined. >> >> Attached is a patch to skip those sections of the test when building for >> uClinux. > > I understand the mmap(2) part, but couldn't the get_high_address > portion be done in the LTP headers and library files?
Possibly. I was just copying the way it was handled in some other LTP tests, i.e., testcases/kernel/syscalls/link/link04.c testcases/kernel/syscalls/lstat/lstat02.c but I'm open to suggestions. > It would help if > there was a breakdown of what functionality is and isn't available in > uclinux that's gating builds / testing (I honestly don't know right > offhand what those pieces are). Me either. I'm just using trial and error at the moment (see what works). Many (most) syscalls tests have code to skip unsupported functions based on UCLINUX=1, but a few seem to be missing that test. I'm working my way through the list, so suggestions are welcome. Thank you, d.marlin ========== > Thanks! > -Garrett ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
