util-linux-ng: unprivileged mounts support

Mike Frysinger vapier at gentoo.org
Tue Jan 8 07:31:04 PST 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
Url : http://lists.linux-foundation.org/pipermail/containers/attachments/20080108/bfcd2bc0/attachment.pgp


More information about the Containers mailing list