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

Message ID 20191031121613.GB63994@kolak.local
State New
Headers show
Series
  • [uclibc-ng-devel] fix PTRAVE_EVENT_SECCOMP typo in ptrace.h
Related show

Commit Message

Joris Vink Oct. 31, 2019, 12:16 p.m. UTC
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.


.joris

Comments

Waldemar Brodkorb Nov. 17, 2019, 4:23 p.m. UTC | #1
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

Patch
diff mbox series

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