[uclibc-ng-devel] fix PTRAVE_EVENT_SECCOMP typo in ptrace.h

Waldemar Brodkorb wbx at uclibc-ng.org
Sun Nov 17 17:23:24 CET 2019


Hi,
Joris Vink wrote,

> Hi,
> 
> This diff fixes a typo in the PTRACE_EVENT_SECCOMP event code.
> 
> The typo itself was introduced in 2012 when syncing with glibc header
> files and was itself fixed in 2013 in the glibc headers.
> 
> diff --git a/libc/sysdeps/linux/common/sys/ptrace.h b/libc/sysdeps/linux/common/sys/ptrace.h
> index 6b3c7b574..ebafe4e27 100644
> --- a/libc/sysdeps/linux/common/sys/ptrace.h
> +++ b/libc/sysdeps/linux/common/sys/ptrace.h
> @@ -171,7 +171,7 @@ enum __ptrace_eventcodes
>    PTRACE_EVENT_EXEC	= 4,
>    PTRACE_EVENT_VFORK_DONE = 5,
>    PTRACE_EVENT_EXIT	= 6,
> -  PTRAVE_EVENT_SECCOMP  = 7
> +  PTRACE_EVENT_SECCOMP  = 7
>  };
>  
>  /* Perform process tracing functions.  REQUEST is one of the values
> 

Applied and pushed, thanks
 Waldemar


More information about the devel mailing list