OpenVZ Forum


Home » Mailing lists » Devel » util-linux-ng: unprivileged mounts support
Re: util-linux-ng: unprivileged mounts support [message #25823 is a reply to message #25743] Tue, 08 January 2008 15:31 Go to previous messageGo to previous message
Mike Frysinger is currently offline  Mike Frysinger
Messages: 1
Registered: January 2008
Junior Member
On Tuesday 08 January 2008, Miklos Szeredi wrote:
> --- util-linux-ng.orig/configure.ac	2008-01-07 21:40:22.000000000 +0100
> +++ util-linux-ng/configure.ac	2008-01-07 21:40:50.000000000 +0100
> @@ -91,6 +92,11 @@ fi
>  UTIL_CHECK_LIB(util, openpty)
>  UTIL_CHECK_LIB(termcap, tgetnum)
>
> +UTIL_CHECK_LIB(cap, cap_get_proc)
> +if test $have_cap = no; then
> +   AC_MSG_ERROR([libcap is required for mount]);
> +fi

this should be optional and it should be controlled with an AC_ARG_WITH()

with all the non-linux changes that have gone in, does there need to be header 
checks here and then have mount.c key off of them ?  i'm thinking so ...
-mike

_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Previous Topic: [PATCH 4/4] Fixup container_of() usage
Next Topic: [PATCH -mm 2/4] hifn_795x: fixup container_of() usage
Goto Forum:
  


Current Time: Sat Sep 06 21:50:02 GMT 2025

Total time taken to generate the page: 0.12007 seconds