[PATCH] seccomp sandbox: fix typo w/x32 check

Damien Miller djm at mindrot.org
Tue Mar 21 08:51:21 AEDT 2017


damn. Thanks for the patch. I've applied to both HEAD and the V_7_5 branch.

On Mon, 20 Mar 2017, Mike Frysinger wrote:

> ---
>  sandbox-seccomp-filter.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
> index 3a1aedce72c2..a8d472a63ccb 100644
> --- a/sandbox-seccomp-filter.c
> +++ b/sandbox-seccomp-filter.c
> @@ -235,7 +235,7 @@ static const struct sock_filter preauth_insns[] = {
>  	 * x86-64 syscall under some circumstances, e.g.
>  	 * https://bugs.debian.org/849923
>  	 */
> -	SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT);
> +	SC_ALLOW(__NR_clock_gettime & ~__X32_SYSCALL_BIT),
>  #endif
>  
>  	/* Default deny */
> -- 
> 2.12.0
> 
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
> 


More information about the openssh-unix-dev mailing list