You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Igor Galić <i....@brainsware.org> on 2014/02/04 16:10:16 UTC
Re: git commit: TS-2353: add ability to load ssl certs that are
owned by root and only read only by the user
> diff --git a/lib/ts/ink_cap.cc b/lib/ts/ink_cap.cc
> index e51b730..7091144 100644
> --- a/lib/ts/ink_cap.cc
> +++ b/lib/ts/ink_cap.cc
> @@ -24,12 +24,17 @@
> # include "ink_config.h"
> # include "Diags.h"
> # include "ink_cap.h"
> +# include "ink_thread.h"
>
> # if TS_USE_POSIX_CAP
> # include <sys/capability.h>
> # include <sys/prctl.h>
> # endif
>
> +# if !TS_USE_POSIX_CAP
> +ink_mutex ElevateAccess::lock = INK_MUTEX_INIT;
> +#endif
> +
I'd like to use this opportunity to voice my being unhappy with ink_cap:
The name POSIX is a little misleading, since the only system it currently
works on is Linux.
-- i
Igor Galić
Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 8716 7A9F 989B ABD5 100F 4008 F266 55D6 2998 1641