mirror of
git://github.com/lxc/lxc
synced 2025-08-31 23:28:18 +00:00
statvfs: do nothing if statvfs does not exist (android/bionic)
If statvfs does not exist, then don't recalculate mount flags at remount. If someone does need this, they could replace the code (only if !HAVE_STATVFS) with code parsing /proc/self/mountinfo (which exists in the recent git history) Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
committed by
Stéphane Graber
parent
e2a7e8dc47
commit
614305f397
@@ -573,6 +573,7 @@ AC_CHECK_FUNCS([setns pivot_root sethostname unshare rand_r confstr faccessat])
|
||||
# Check for some functions
|
||||
AC_CHECK_LIB(pthread, main)
|
||||
AC_CHECK_FUNCS(pthread_atfork)
|
||||
AC_CHECK_FUNCS(statvfs)
|
||||
AC_CHECK_LIB(util, openpty)
|
||||
AC_CHECK_FUNCS([openpty hasmntopt setmntent endmntent utmpxname])
|
||||
AC_CHECK_FUNCS([getline],
|
||||
|
Reference in New Issue
Block a user