----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/42551/#review130358 -----------------------------------------------------------
src/linux/fs.cpp (line 20) <https://reviews.apache.org/r/42551/#comment194087> The reason why we cannot use `syscal.h` is because it comes from `glibc`. We should perfer use the header files from linux kernel to avoid the problem mentioned below. ``` #elif __x86_64__ // A workaround for systems that have an old glib but have a new // kernel. The magic number '155' is the syscall number for // 'pivot_root' on the x86_64 architecture, see // arch/x86/syscalls/syscall_64.tbl int ret = ::syscall(155, newRoot.c_str(), putOld.c_str()); ``` - haosdent huang On March 24, 2016, 5:10 a.m., Qian Zhang wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/42551/ > ----------------------------------------------------------- > > (Updated March 24, 2016, 5:10 a.m.) > > > Review request for mesos, Ben Mahler and Vinod Kone. > > > Bugs: MESOS-4312 > https://issues.apache.org/jira/browse/MESOS-4312 > > > Repository: mesos > > > Description > ------- > > Porting mesos on ppc64le. > > > Diffs > ----- > > src/linux/fs.cpp 0df194207a66bf4c417349bebcc8912acbf5976e > > Diff: https://reviews.apache.org/r/42551/diff/ > > > Testing > ------- > > make check (OSX 10.10.5, Ubuntu 14.04.3 LTS ppc64le) > > > Thanks, > > Qian Zhang > >
