Re: util-linux-ng: unprivileged mounts support

From: Mike Frysinger
Date: Tue Jan 08 2008 - 10:31:25 EST


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

Attachment: signature.asc
Description: This is a digitally signed message part.