]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix misspellings in sysdeps/unix -- BZ 25337
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Tue, 23 May 2023 10:50:31 +0000 (10:50 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Tue, 23 May 2023 11:59:23 +0000 (11:59 +0000)
Applying this commit results in bit-identical rebuild of
libc.so.6 math/libm.so.6 elf/ld-linux-x86-64.so.2 mathvec/libmvec.so.1

Reviewed-by: Florian Weimer <fweimer@redhat.com>
69 files changed:
sysdeps/unix/sysv/linux/aarch64/ucontext-internal.h
sysdeps/unix/sysv/linux/alpha/getcontext.S
sysdeps/unix/sysv/linux/alpha/ioperm.c
sysdeps/unix/sysv/linux/arc/bits/procfs.h
sysdeps/unix/sysv/linux/arc/clone.S
sysdeps/unix/sysv/linux/arc/sysdep.h
sysdeps/unix/sysv/linux/arch-fork.h
sysdeps/unix/sysv/linux/bits/local_lim.h
sysdeps/unix/sysv/linux/bits/mman-linux.h
sysdeps/unix/sysv/linux/bits/posix_opt.h
sysdeps/unix/sysv/linux/bits/siginfo-consts.h
sysdeps/unix/sysv/linux/bits/termios-tcflow.h
sysdeps/unix/sysv/linux/dl-diagnostics-kernel.c
sysdeps/unix/sysv/linux/dl-vdso-setup.c
sysdeps/unix/sysv/linux/glibcsyscalls.py
sysdeps/unix/sysv/linux/hppa/clone.S
sysdeps/unix/sysv/linux/hppa/sysdep.h
sysdeps/unix/sysv/linux/i386/brk.c
sysdeps/unix/sysv/linux/i386/sysdep.h
sysdeps/unix/sysv/linux/ia64/clone2.S
sysdeps/unix/sysv/linux/ia64/sys/rse.h
sysdeps/unix/sysv/linux/ia64/sysdep.h
sysdeps/unix/sysv/linux/kernel-posix-timers.h
sysdeps/unix/sysv/linux/loongarch/atomic-machine.h
sysdeps/unix/sysv/linux/loongarch/sysdep.h
sysdeps/unix/sysv/linux/m68k/sysdep.h
sysdeps/unix/sysv/linux/microblaze/sysdep.h
sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c
sysdeps/unix/sysv/linux/mq_notify.c
sysdeps/unix/sysv/linux/net/if_shaper.h
sysdeps/unix/sysv/linux/netax25/ax25.h
sysdeps/unix/sysv/linux/netlink_assert_response.c
sysdeps/unix/sysv/linux/nios2/setcontext.S
sysdeps/unix/sysv/linux/nscd_setup_thread.c
sysdeps/unix/sysv/linux/or1k/setcontext.S
sysdeps/unix/sysv/linux/pathconf.c
sysdeps/unix/sysv/linux/personality.c
sysdeps/unix/sysv/linux/posix_fadvise.c
sysdeps/unix/sysv/linux/powerpc/elision-conf.c
sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
sysdeps/unix/sysv/linux/riscv/atomic-machine.h
sysdeps/unix/sysv/linux/riscv/sysdep.h
sysdeps/unix/sysv/linux/s390/elision-conf.c
sysdeps/unix/sysv/linux/s390/htm.h
sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
sysdeps/unix/sysv/linux/s390/sysconf.c
sysdeps/unix/sysv/linux/scsi/sg.h
sysdeps/unix/sysv/linux/semop.c
sysdeps/unix/sysv/linux/semtimedop.c
sysdeps/unix/sysv/linux/sh/sys/user.h
sysdeps/unix/sysv/linux/sh/sysdep.h
sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S
sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
sysdeps/unix/sysv/linux/spawni.c
sysdeps/unix/sysv/linux/test-errno-linux.c
sysdeps/unix/sysv/linux/tst-fallocate-common.c
sysdeps/unix/sysv/linux/tst-o_path-locks.c
sysdeps/unix/sysv/linux/tst-ofdlocks.c
sysdeps/unix/sysv/linux/tst-process_mrelease.c
sysdeps/unix/sysv/linux/tst-skeleton-affinity.c
sysdeps/unix/sysv/linux/tst-socket-timestamp-compat.c
sysdeps/unix/sysv/linux/tst-socket-timestamp.c
sysdeps/unix/sysv/linux/tst-sysvmsg-linux.c
sysdeps/unix/sysv/linux/tst-tgkill.c
sysdeps/unix/sysv/linux/tst-ttyname.c
sysdeps/unix/sysv/linux/x86/elision-conf.c
sysdeps/unix/sysv/linux/x86_64/sysdep.h

index 1c2357a021ed9aaf6d4ddf4021b1b23a9c680690..473f3621a7e6c727d3b984fc0db0fc873ff8eb3b 100644 (file)
@@ -20,7 +20,7 @@
 
 #define SP_ALIGN_MASK     ~15
 
-/* Size of an X regiser in bytes. */
+/* Size of an X register in bytes. */
 #define SZREG                8
 
 /* Size of a V register in bytes. */
index 3ce7f8fa87d8489b4b3c132aad90b734c49a5d87..0bfe25a8af929a5a8885aaf4dfd5df29c17578d0 100644 (file)
@@ -44,7 +44,7 @@ weak_alias (__getcontext, getcontext)
 
 
 /* An internal routine used by getcontext and setcontext.
-   The incomming return address register is $0.  */
+   The incoming return address register is $0.  */
 
        .align  4
        .globl  __getcontext_x
index b026cc8261a68d123a997fbab7595291f4c78f99..6fac2bb51671734f9ad6e856161425e0d66e6bad 100644 (file)
@@ -95,7 +95,7 @@ asm(".arch ev56");
 #define TSUNAMI_DENSE_MEM      (0x80000000000UL)
 
 /* Polaris has SPARSE space, but we prefer to use only DENSE
-   because of some idiosyncracies in actually using SPARSE.  */
+   because of some idiosyncrasies in actually using SPARSE.  */
 #define POLARIS_IO_BASE                (0xf9fc000000UL)
 #define POLARIS_DENSE_MEM      (0xf900000000UL)
 
index 35cdc5621c0f3ab69dc7bfe89fabf5ee36428105..1ec0b1cd59770049cc31b776e677ca5413016c75 100644 (file)
@@ -31,5 +31,5 @@
 typedef unsigned long int elf_greg_t;
 typedef unsigned long int elf_gregset_t[ELF_NGREG];
 
-/* There's no seperate floating point reg file in ARCv2.  */
+/* There's no separate floating point reg file in ARCv2.  */
 typedef struct { } elf_fpregset_t;
index 0029aaeb817035f89331de55bb5acf16bc8e67a5..d8c7b93d1cd7570e386028d5da18f3c40978fcd9 100644 (file)
@@ -43,7 +43,7 @@ ENTRY (__clone)
        bz      L (__sys_err)
 
        /* save some of the orig args
-          r0 containg @fn will be clobbered AFTER syscall (with ret val)
+          r0 containing @fn will be clobbered AFTER syscall (with ret val)
           rest are clobbered BEFORE syscall due to different arg ordering.  */
        mov     r10, r0         /* @fn.  */
        mov     r11, r3         /* @args.  */
index 88dc1dff017f550966d035821dc669d2cedd9a2c..7f90d641247cb3adc563fe9bcd34330a0835d5f8 100644 (file)
@@ -182,11 +182,11 @@ hidden_proto (__syscall_error)
   __ret = (long int) (arg1);                                   \
   LOAD_ARGS_0 (nm, arg1)
 
-/* Note that the use of _tmpX might look superflous, however it is needed
+/* Note that the use of _tmpX might look superfluous, however it is needed
    to ensure that register variables are not clobbered if arg happens to be
    a function call itself. e.g. sched_setaffinity() calling getpid() for arg2
    Also this specific order of recursive calling is important to segregate
-   the tmp args evaluation (function call case described above) and assigment
+   the tmp args evaluation (function call case described above) and assignment
    of register variables.  */
 
 # define LOAD_ARGS_2(nm, arg1, arg2)                   \
index 84e5ef5a7f63698e1739813210688c698be973f2..0e0eccbf38de53b574b338c522ffbc8688f25bb0 100644 (file)
@@ -28,7 +28,7 @@
    to store the child thread ID at its locationm, to erase it in child memory
    when the child exits, and do a wakeup on the futex at that address.
 
-   The architecture with non-default kernel abi semantic should correctlly
+   The architecture with non-default kernel abi semantic should correctly
    override it with one of the supported calling convention (check generic
    kernel-features.h for the clone abi variants).  */
 static inline pid_t
index 54eb959ee2f3613744f19c2ca3699e8d98388e1c..978515dc37119a5672b7c576eefb19b33f3fcd51 100644 (file)
@@ -73,7 +73,7 @@
 /* We have no predefined limit on the number of threads.  */
 #undef PTHREAD_THREADS_MAX
 
-/* Maximum amount by which a process can descrease its asynchronous I/O
+/* Maximum amount by which a process can decrease its asynchronous I/O
    priority level.  */
 #define AIO_PRIO_DELTA_MAX     20
 
index 6771f07a0f9a617fcde0eb264d54784788d22e76..f654b4f8246903047ca413bf865a47ad5dfc5534 100644 (file)
@@ -78,7 +78,7 @@
 # define MADV_UNMERGEABLE 13   /* KSM may not merge identical pages.  */
 # define MADV_HUGEPAGE   14    /* Worth backing with hugepages.  */
 # define MADV_NOHUGEPAGE  15   /* Not worth backing with hugepages.  */
-# define MADV_DONTDUMP   16    /* Explicity exclude from the core dump,
+# define MADV_DONTDUMP   16    /* Explicitly exclude from the core dump,
                                    overrides the coredump filter bits.  */
 # define MADV_DODUMP     17    /* Clear the MADV_DONTDUMP flag.  */
 # define MADV_WIPEONFORK  18   /* Zero memory on fork, child only.  */
index 87d0f13596c1e39b39397b3a2abe34e947768f5e..8e3c8fac5d5b0f933094fcf95eeaa0958641dd5d 100644 (file)
@@ -84,7 +84,7 @@
 /* We support user-defined stacks.  */
 #define _POSIX_THREAD_ATTR_STACKADDR   200809L
 
-/* We support priority inheritence.  */
+/* We support priority inheritance.  */
 #define _POSIX_THREAD_PRIO_INHERIT     200809L
 
 /* We support priority protection, though only for non-robust
@@ -92,7 +92,7 @@
 #define _POSIX_THREAD_PRIO_PROTECT     200809L
 
 #ifdef __USE_XOPEN2K8
-/* We support priority inheritence for robust mutexes.  */
+/* We support priority inheritance for robust mutexes.  */
 # define _POSIX_THREAD_ROBUST_PRIO_INHERIT     200809L
 
 /* We do not support priority protection for robust mutexes.  */
index f8a6bac680ddeabae413e550ff0706a26f708c83..49f774473921a7ca04e82d580c832b518023ced0 100644 (file)
@@ -143,7 +143,7 @@ enum
 {
   BUS_ADRALN = 1,              /* Invalid address alignment.  */
 #  define BUS_ADRALN   BUS_ADRALN
-  BUS_ADRERR,                  /* Non-existant physical address.  */
+  BUS_ADRERR,                  /* Non-existent physical address.  */
 #  define BUS_ADRERR   BUS_ADRERR
   BUS_OBJERR,                  /* Object specific hardware error.  */
 #  define BUS_OBJERR   BUS_OBJERR
index b6d136cefe5f877d6bf93a073c79cf565ce00cb7..e39057913ea01c7aa63d55db34c60dfb56ea9dbe 100644 (file)
@@ -1,4 +1,4 @@
-/* termios tcflag symbolic contants definitions.  Linux/generic version.
+/* termios tcflag symbolic constant definitions.  Linux/generic version.
    Copyright (C) 2019-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
index e758fe7f8d9e5e4cea59beb32c8689a9172e92f8..e0cfa63da6fcff4419158c4d95554575c26e4365 100644 (file)
@@ -36,7 +36,7 @@ print_auxv (void)
           || av->a_type == AT_PLATFORM
           || av->a_type == AT_BASE_PLATFORM)
         /* The address of the strings is not useful at all, so print
-           the strings themselvs.  */
+           the strings themselves.  */
         _dl_diagnostics_print_string ((const char *) av->a_un.a_val);
       else
         _dl_printf ("0x%lx", (unsigned long int) av->a_un.a_val);
index 68fa8de64145b73d8470c0bf7bbda1acbac2abfb..97eaaeac373e608cbd1b5c17b7ec2e34a537def5 100644 (file)
@@ -20,7 +20,7 @@
    and shared (rtld) modes:
 
    1. PROCINFO_DECL is defined, meaning we are only interested in
-      declarations.  For static it requires use the extern keywork along with
+      declarations.  For static it requires use the extern keyword along with
       the attribute_relro while for shared it will be embedded in the
       rtld_global_ro.
 
index 0785c2f465c0f5c41afcf35b3820b86903f88568..c8e5a6ffca89dc796a750d4f173f03b5accb1167 100644 (file)
@@ -32,7 +32,7 @@ def extract_system_call_name(macro):
     else:
         raise ValueError('invalid system call name: {!r}'.format(macro))
 
-# Matches macros for systme call names.
+# Matches macros for system call names.
 RE_SYSCALL = re.compile('__NR_.*')
 
 # Some __NR_ constants are not real
@@ -54,7 +54,7 @@ def kernel_constants(cc):
     return {extract_system_call_name(name) : int(value)
             for name, value in glibcextract.compute_macro_consts(
                     '#include <asm/unistd.h>\n'
-                    # Regularlize the kernel definitions if necessary.
+                    # Regularize the kernel definitions if necessary.
                     '#include <fixup-asm-unistd.h>',
                     cc, macro_re=RE_SYSCALL, exclude_re=RE_PSEUDO_SYSCALL)
             .items()}
index 4a64e0da7edf25216af741578f7c8ab9da288e0b..3de36885a918552d15ae068350472b77452974d3 100644 (file)
@@ -51,7 +51,7 @@
 
    Return:
 
-       On success the thread ID of the child process is returend in
+       On success the thread ID of the child process is returned in
        the callers context.
        On error return -1, and set errno to the value returned by
        the syscall.
index ba5937cc176097b18d6fecbbde0686f6a5ec0cba..c0c4ffe00da97798fcb44a993587d5cabf36b058 100644 (file)
@@ -53,7 +53,7 @@
 #define LOAD_PIC(LREG) \
        copy LREG , %r19
 /* Inline assembly defines */
-#define TREG_ASM "%r4" /* Cant clobber r3, it holds framemarker */
+#define TREG_ASM "%r4" /* Can't clobber r3, it holds framemarker */
 #define SAVE_ASM_PIC   "       copy %%r19, %" TREG_ASM "\n"
 #define LOAD_ASM_PIC   "       copy %" TREG_ASM ", %%r19\n"
 #define CLOB_TREG      TREG_ASM ,
        /* SAVE_RP says we do */                        ASM_LINE_SEP    \
        stw %rp, -20(%sr0,%sp)                          ASM_LINE_SEP    \
        .cfi_offset 2, -20                              ASM_LINE_SEP    \
-       /*FIXME: Call mcount? (carefull with stack!) */
+       /*FIXME: Call mcount? (careful with stack!) */
 
 /* Some syscall wrappers do not call other functions, and
    hence are classified as leaf, so add NO_CALLS for gdb */
        /* SAVE_RP says we do */                        ASM_LINE_SEP    \
        stw %rp, -20(%sr0,%sp)                          ASM_LINE_SEP    \
        .cfi_offset 2, -20                              ASM_LINE_SEP    \
-       /*FIXME: Call mcount? (carefull with stack!) */
+       /*FIXME: Call mcount? (careful with stack!) */
 
 #undef END
 #define END(name)                                                      \
index fb5130e9476a00261dcb865b46aa85d28787898c..afc2b696e4b2b7a13acbdbfd3d8118a792b908e9 100644 (file)
@@ -17,7 +17,7 @@
    <https://www.gnu.org/licenses/>.  */
 
 #if BUILD_PIE_DEFAULT
-/* Can't use "call *%gs:SYSINFO_OFFSET" during statup in static PIE.  */
+/* Can't use "call *%gs:SYSINFO_OFFSET" during startup in static PIE.  */
 # define I386_USE_SYSENTER 0
 #endif
 
index 8538cd53427ec4cfce11814293a8ef01f37ffa91..87de7d640fa1a9972674adbe5c35a35b91e86c56 100644 (file)
@@ -61,7 +61,7 @@
    might return a large offset.  Therefore we must not anymore test
    for < 0, but test for a real error by making sure the value in %eax
    is a real error number.  Linus said he will make sure the no syscall
-   returns a value in -1 .. -4095 as a valid result so we can savely
+   returns a value in -1 .. -4095 as a valid result so we can safely
    test with -4095.  */
 
 /* We don't want the label for the error handle to be global when we define
index bf60725a349040e9027f9a37795854ad19f919ed..c869715f18050ebc7b67dff259292b6566dfc455 100644 (file)
@@ -86,6 +86,6 @@ libc_hidden_def (__clone2)
 
 /* For now we leave __clone undefined.  This is unlikely to be a       */
 /* problem, since at least the i386 __clone in glibc always failed     */
-/* with a 0 sp (eventhough the kernel explicitly handled it).          */
+/* with a 0 sp (even though the kernel explicitly handled it).         */
 /* Thus all such calls needed to pass an explicit sp, and as a result, */
 /* would be unlikely to work on ia64.                                  */
index b3677a1df61c71f8341bb7db48d902bfc78c24c5..3c6399d2ed9e50f96df4df3de8e4283071f1b6b6 100644 (file)
@@ -48,7 +48,7 @@ ia64_rse_rnat_addr (unsigned long *slot_addr)
        return (unsigned long *) ((unsigned long) slot_addr | (0x3f << 3));
 }
 
-/* Calcuate the number of registers in the dirty partition starting at
+/* Calculate the number of registers in the dirty partition starting at
    BSPSTORE with a size of DIRTY bytes.  This isn't simply DIRTY
    divided by eight because the 64th slot is used to store ar.rnat.  */
 
index c245813b68569839e2cd57bafd21944135cc305d..1d556945c19a1bded282e3d3dcb43c9de63ce5af 100644 (file)
@@ -86,7 +86,7 @@
    a large offset.  Therefore we must not anymore test for < 0, but test
    for a real error by making sure the value in %d0 is a real error
    number.  Linus said he will make sure the no syscall returns a value
-   in -1 .. -4095 as a valid result so we can savely test with -4095.  */
+   in -1 .. -4095 as a valid result so we can safely test with -4095.  */
 
 /* We don't want the label for the error handler to be visible in the symbol
    table when we define it here.  */
index c5a86250c320d4a73938e728c8c43b401d660ced..9d86bb1dab9ef90682874c1ac158977a24eaae6f 100644 (file)
@@ -68,7 +68,7 @@ struct timer
 
 
 /* For !SIGEV_THREAD, the resulting 'timer_t' is the returned kernel timer
-   identifer (kernel_timer_t), while for SIGEV_THREAD it uses the fact malloc
+   identifier (kernel_timer_t), while for SIGEV_THREAD it uses the fact malloc
    returns at least _Alignof (max_align_t) pointers plus that valid
    kernel_timer_t are always positive to set the MSB bit of the returned
    'timer_t' to indicate the timer handles a SIGEV_THREAD.  */
index 6e4cc52dd78829b867f375c0e0a361ec408ec4f6..037e12886109ce97c7a5c6333dc1b3d60a8beb97 100644 (file)
@@ -26,7 +26,7 @@
 #define ATOMIC_EXCHANGE_USES_CAS 0
 
 /* Compare and exchange.
-   For all "bool" routines, we return FALSE if exchange succesful.  */
+   For all "bool" routines, we return FALSE if exchange successful.  */
 
 #define __arch_compare_and_exchange_bool_8_int(mem, newval, oldval, model) \
   ({ \
index 8a2d73ec8c061d1ca2b487a14ec1b53c001d71d2..e11cd865ce5d5960e637c0c00017bb9c38874595 100644 (file)
@@ -83,7 +83,7 @@
 #undef ret_NOERRNO
 #define ret_NOERRNO ret
 
-/* Perfroms a system call, returning the error code.  */
+/* Performs a system call, returning the error code.  */
 #undef PSEUDO_ERRVAL
 #define PSEUDO_ERRVAL(name, syscall_name, args) \
   PSEUDO_NOERRNO (name, syscall_name, args); \
index 39592036ce789eb64a29512278a45fbe3f886e58..037b049958f4620c7ec02981ee1af9f521ae9e4f 100644 (file)
@@ -38,7 +38,7 @@
    a large offset.  Therefore we must not anymore test for < 0, but test
    for a real error by making sure the value in %d0 is a real error
    number.  Linus said he will make sure the no syscall returns a value
-   in -1 .. -4095 as a valid result so we can savely test with -4095.  */
+   in -1 .. -4095 as a valid result so we can safely test with -4095.  */
 
 /* We don't want the label for the error handler to be visible in the symbol
    table when we define it here.  */
index 53a4cad38f67f676f819980efccdaa8754b571c9..afc77b0063a3d5ee6fd12c2bffcd7973d06c897e 100644 (file)
@@ -43,7 +43,7 @@
 #ifdef __ASSEMBLER__
 
 /* In microblaze ABI function call arguments are passed in registers
-   r5...r10. The return value is stored in r3 (or r3:r4 regiters pair).
+   r5...r10. The return value is stored in r3 (or r3:r4 register pair).
    Linux syscall uses the same convention with the addition that the
    syscall number is passed in r12. To enter the kernel "brki r14,8"
    instruction is used.
@@ -58,7 +58,7 @@
    a large offset.  Therefore we must not anymore test for < 0, but test
    for a real error by making sure the value in %d0 is a real error
    number.  Linus said he will make sure the no syscall returns a value
-   in -1 .. -4095 as a valid result so we can savely test with -4095.  */
+   in -1 .. -4095 as a valid result so we can safely test with -4095.  */
 
 /* We don't want the label for the error handler to be visible in the symbol
    table when we define it here.  */
index 92740830e33af74cd5f223bc66193a72a15944ad..a85a50f77ab85bbfbd49588730d15f8e7fea93af 100644 (file)
@@ -1,4 +1,4 @@
-/* Tests register values retreived by getcontext() for mips o32.
+/* Tests register values retrieved by getcontext() for mips o32.
    Copyright (C) 2017-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
index 907585551f962c2029e9044a8ae3f70654e66902..c287954a90db972bc7a70dcf9c649bc57ac9be3a 100644 (file)
@@ -32,9 +32,9 @@
 
 /* Defined in the kernel headers: */
 #define NOTIFY_COOKIE_LEN      32      /* Length of the cookie used.  */
-#define NOTIFY_WOKENUP         1       /* Code for notifcation.  */
+#define NOTIFY_WOKENUP         1       /* Code for notification.  */
 #define NOTIFY_REMOVED         2       /* Code for closed message queue
-                                          of de-notifcation.  */
+                                          of de-notification.  */
 
 
 /* Data structure for the queued notification requests.  */
@@ -61,7 +61,7 @@ static int netlink_socket = -1;
 
 
 /* Barrier used to make sure data passed to the new thread is not
-   resused by the parent.  */
+   reused by the parent.  */
 static pthread_barrier_t notify_barrier;
 
 
index f218474822dd52b0228377061c7226f261510872..60f50b908c6d9ddcaf1ad34be2adcdb6ba46c9d9 100644 (file)
@@ -27,7 +27,7 @@ __BEGIN_DECLS
 
 #define SHAPER_QLEN    10
 /*
- *     This is a bit speed dependant (read it shouldnt be a constant!)
+ *     This is a bit speed dependent (read it shouldn't be a constant!)
  *
  *     5 is about right for 28.8 upwards. Below that double for every
  *     halving of speed or so. - ie about 20 for 9600 baud.
index e18ff8d223f7fea0e239b152a2067ac7c81a60fc..1001a7359bb4c1577ff1b93bceb88c1c48dd045e 100644 (file)
@@ -62,7 +62,7 @@
 #define AX25_DIGI_INBAND       0x01    /* Allow digipeating within port */
 #define AX25_DIGI_XBAND                0x02    /* Allow digipeating across ports */
 
-/* Maximim number of digipeaters: */
+/* Maximum number of digipeaters: */
 #define AX25_MAX_DIGIS 8
 
 
@@ -80,7 +80,7 @@ struct sockaddr_ax25
   };
 
 /*
- * The sockaddr struct with the digipeater adresses:
+ * The sockaddr struct with the digipeater addresses:
  */
 struct full_sockaddr_ax25
   {
index 00abddac882fdcc040e613b8a9014c53e226b3a7..9f0d624859c3ed7d0f80d581913cac8f70d03e77 100644 (file)
@@ -83,7 +83,7 @@ __netlink_assert_response (int fd, ssize_t result)
           __libc_fatal (message);
         }
       else
-        /* Restore orignal errno value.  */
+        /* Restore original errno value.  */
         __set_errno (error_code);
     }
   else if (result < sizeof (struct nlmsghdr))
index 2233488ee7e26dfe03a6e5a8f58a2eb242042c7c..16570ab89698704d66c9583f6b56bfba48a5436e 100644 (file)
@@ -93,7 +93,7 @@ weak_alias (__setcontext, setcontext)
 
           If this NOP word does not exist, FDE lookup just repeatedly finds
           __setcontext's FDE in an infinite loop, due to the convention of
-          using 'address - 1' for FDE lookup. Modifiying/deleting the below
+          using 'address - 1' for FDE lookup. Modifying/deleting the below
           __startcontext's FDE has no help on this.  */
        nop
 
index 7810104461be980c1f5e2c7cba4bae5878857314..cf1a56e0050a7865d24e92ef80ba84a286691f66 100644 (file)
@@ -1,4 +1,4 @@
-/* Setup of nscd worker threads.  Linux verison.
+/* Setup of nscd worker threads.  Linux version.
    Copyright (C) 2004-2023 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
index fb6a42bc03e56b97506706f05b564060c5fe2066..ce54246c57498898ea21c6c157bea1809a929ef1 100644 (file)
@@ -80,7 +80,7 @@ weak_alias (__setcontext, setcontext)
           makecontext we have set r9 to the start of &__startcontext.
 
           If this NOP did not exist the unwinder would repeatedly find
-          __setcontext's FDE in an infinite loop.  Modifiying/deleting the below
+          __setcontext's FDE in an infinite loop.  Modifying/deleting the below
           __startcontext's FDE has no help on this.  */
        l.nop
 
index aa576558b0f6038256e20f3e99f7bfcbcd3f7748..eeccbb608907fd49fef9fa667426e70bc63fa69d 100644 (file)
@@ -139,7 +139,7 @@ __statfs_link_max (int result, const struct statfs *fsbuf, const char *file,
        /* Not possible, return the default value.  */
        return LINUX_LINK_MAX;
 
-      /* Some error occured.  */
+      /* Some error occurred.  */
       return -1;
     }
 
@@ -202,7 +202,7 @@ __statfs_filesize_max (int result, const struct statfs *fsbuf)
        /* Not possible, return the default value.  */
        return 32;
 
-      /* Some error occured.  */
+      /* Some error occurred.  */
       return -1;
     }
 
@@ -251,7 +251,7 @@ __statfs_symlinks (int result, const struct statfs *fsbuf)
        /* Not possible, return the default value.  */
        return 1;
 
-      /* Some error occured.  */
+      /* Some error occurred.  */
       return -1;
     }
 
@@ -286,7 +286,7 @@ __statfs_chown_restricted (int result, const struct statfs *fsbuf)
        /* Not possible, return the default value.  */
        return 1;
 
-      /* Some error occured.  */
+      /* Some error occurred.  */
       return -1;
     }
 
index 5db07259e35d2b2a08de79d746342e23bc4661ba..9620e0caffc89b284f366a777a3777fc603bab2e 100644 (file)
@@ -28,7 +28,7 @@ __personality (unsigned long persona)
      task_struct->pesonality is "unsigned int".
      Starting with kernel commit v2.6.35-rc1-372-g485d527, the personality
      syscall accepts "unsigned int" instead of "long unsigned int".
-     Inbetween, a personality argument that does not fit into "unsigned int"
+     In between, a personality argument that does not fit into "unsigned int"
      would result to system call returning -EINVAL.
      We explicitly truncate the personality argument to "unsigned int"
      to eliminate the uncertainty.  */
index d096acc0d6420e4339301a84bdc30a9b0e0360eb..717c3f62d0d184e5a41907ccf0a239a81e8ba90e 100644 (file)
@@ -29,7 +29,7 @@
 
    Second option will be used by arm which define __NR_arm_fadvise64_64
    (redefined to __NR_fadvise64_64 in kernel-features.h) that behaves as
-   __NR_fadvise64_64 (without the aligment argument required for the ABI).
+   __NR_fadvise64_64 (without the alignment argument required for the ABI).
 
    Third option will be used by mips o32.  Mips will use a 7 argument
    syscall with __NR_fadvise64.
index 7c98dbd0d01b8ec720e0744ded9b3030df108577..61eaf89868a88ca06be0b80d310ddc66ab57e946 100644 (file)
@@ -53,7 +53,7 @@ static inline void
 __always_inline
 do_set_elision_enable (int32_t elision_enable)
 {
-  /* Enable elision if it's avaliable in hardware. It's not necessary to check
+  /* Enable elision if it's available in hardware. It's not necessary to check
      if __libc_enable_secure isn't enabled since elision_enable will be set
      according to the default, which is disabled.  */
   if (elision_enable == 1)
@@ -126,7 +126,7 @@ __lll_elision_init (void)
      syscalls which makes the glibc workaround superflours.  Worse, glibc
      transaction abortions leads to a performance issues on recent kernels.
 
-     So Lock Elision is just enabled when it has been explict set (either
+     So Lock Elision is just enabled when it has been explicitly set (either
      by tunables of by a configure switch) and if kernel aborts HTM
      transactions on syscalls (PPC_FEATURE2_HTM_NOSC)  */
 
index 754e94b26d74d71bec61dc624faacb18fe0955b2..af6eb344359e4d2750994e058e8a22a3ff41d946 100644 (file)
@@ -57,7 +57,7 @@ get_timebase_freq_fallback (void)
          the last 512 bytes of cpuinfo, so two 512 byte half_bufs
          will be sufficient to contain the timebase and will
          handle the case where the timebase spans the half_buf
-         boundry.  */
+         boundary.  */
       const ssize_t half_buf = sizeof (buf) / 2;
       while (n >= half_buf)
        {
index dbf70d8d5752f6b3c72d94ed5eecfd616e5aaa5f..50ddc3bfaf2ccd07e119448660322b0d73dae10f 100644 (file)
@@ -28,7 +28,7 @@
 # define ATOMIC_EXCHANGE_USES_CAS 0
 
 /* Compare and exchange.
-   For all "bool" routines, we return FALSE if exchange succesful.  */
+   For all "bool" routines, we return FALSE if exchange successful.  */
 
 # define __arch_compare_and_exchange_bool_8_int(mem, newval, oldval, model) \
   ({                                                                   \
index 4af5fe5dbcb199d2f44c705699b3268df5ada2bf..872c093cfa334ad22363dbb99c90fc32d9a6caff 100644 (file)
 # undef ret_NOERRNO
 # define ret_NOERRNO ret
 
-/* Perfroms a system call, returning the error code.  */
+/* Performs a system call, returning the error code.  */
 # undef PSEUDO_ERRVAL
 # define PSEUDO_ERRVAL(name, syscall_name, args)       \
   PSEUDO_NOERRNO (name, syscall_name, args)            \
index 6a6d6814eef78a177eeed0a59d5a6ddef0b68a18..37c50f17053f9625eb4d7cf9732da99d78aac43b 100644 (file)
@@ -53,7 +53,7 @@ static inline void
 __always_inline
 do_set_elision_enable (int32_t elision_enable)
 {
-  /* Enable elision if it's avaliable in hardware. It's not necessary to check
+  /* Enable elision if it's available in hardware. It's not necessary to check
      if __libc_enable_secure isn't enabled since elision_enable will be set
      according to the default, which is disabled.  */
   if (elision_enable == 1)
index b8b62bae1211b97369176366d702023e98f1715b..440fe083bc76ce556724a921d6e12f2f6d570af0 100644 (file)
                              pointer access) are filtered and the      \
                              transaction will abort.  In this case     \
                              the normal lock path will execute it      \
-                             again and result in a core dump wich does \
+                             again and result in a core dump which does        \
                              now show at tbegin but the real executed  \
                              instruction.                              \
                              However it is not guaranteed that this    \
                              memory for being accessible!  */          \
                           "2: tbegin 0, 0xFF0E\n\t"                    \
                           /* Branch away in abort case (this is the    \
-                             prefered sequence.  See PoP in chapter 5  \
+                             preferred sequence.  See PoP in chapter 5 \
                              Transactional-Execution Facility          \
                              Operation).  */                           \
                           "   jnz 0f\n\t"                              \
index 08f9e9cd9fc40ccfa19e81d8bab9db827d5abc0c..26d1a7c6d8d13865a2b7f1b107e0e70930e825e9 100644 (file)
@@ -42,7 +42,7 @@
    a large offset.  Therefore we must not anymore test for < 0, but test
    for a real error by making sure the value in gpr2 is a real error
    number.  Linus said he will make sure that no syscall returns a value
-   in -1 .. -4095 as a valid result so we can savely test with -4095.  */
+   in -1 .. -4095 as a valid result so we can safely test with -4095.  */
 
 #undef PSEUDO
 #define        PSEUDO(name, syscall_name, args)                                      \
index d5986d36f258a416087a7c7e2f9a2d114b8d24bc..7230e974486e5e7fd25db3725f8acd4fb7d3312d 100644 (file)
@@ -46,7 +46,7 @@
    a large offset.  Therefore we must not anymore test for < 0, but test
    for a real error by making sure the value in gpr2 is a real error
    number.  Linus said he will make sure that no syscall returns a value
-   in -1 .. -4095 as a valid result so we can savely test with -4095.  */
+   in -1 .. -4095 as a valid result so we can safely test with -4095.  */
 
 #undef PSEUDO
 #define        PSEUDO(name, syscall_name, args)                                      \
index 45bd8bf4a1b7f395f0417d28ade6f596abd4bd0b..f474a966f9d23eb8160891697e8bf9a3902cd920 100644 (file)
@@ -24,7 +24,7 @@ static long int linux_sysconf (int name);
 
 /* Possible arguments for get_cache_info.
    The values are reflecting the level/attribute/type indications
-   of ecag-instruction (extract cpu attribue).  */
+   of ecag-instruction (extract cpu attribute).  */
 #define CACHE_LEVEL_MAX        8
 #define CACHE_ATTR_LINESIZE    1
 #define CACHE_ATTR_SIZE        2
index 6defc97ef7d986e3810e127dafcb1e3cf317115c..bb3daac7fa200dae9bd4ea178c7d5f8aee7b482d 100644 (file)
@@ -119,7 +119,7 @@ struct sg_scsi_id {
 /* Used by SG_GET_REQUEST_TABLE ioctl().  */
 typedef struct sg_req_info {
     char req_state;     /* 0 -> not used, 1 -> written, 2 -> ready to read */
-    char orphan;        /* 0 -> normal request, 1 -> from interruped SG_IO */
+    char orphan;        /* 0 -> normal request, 1 -> from interrupted SG_IO */
     char sg_io_owned;   /* 0 -> complete with read(), 1 -> owned by SG_IO */
     char problem;       /* 0 -> no problem detected, 1 -> error to report */
     int pack_id;        /* pack_id associated with request */
index e04ce3e2d13a81225881934987d2417f10b8e48a..82b9c8729ed423d6f18512c38d8f91edc0d92ab9 100644 (file)
@@ -20,7 +20,7 @@
 #include <ipc_priv.h>
 #include <sysdep.h>
 
-/* Perform user-defined atomical operation of array of semaphores.  */
+/* Perform user-defined atomic operation of array of semaphores.  */
 
 int
 semop (int semid, struct sembuf *sops, size_t nsops)
index c0bb3c3f0615d8c0655f4486943a6ae73c7be7a8..4cff1f982a35db655da2eb353811a73919924779 100644 (file)
@@ -34,7 +34,7 @@ semtimedop_syscall (int semid, struct sembuf *sops, size_t nsops,
 #endif
 }
 
-/* Perform user-defined atomical operation of array of semaphores.  */
+/* Perform user-defined atomic operation of array of semaphores.  */
 int
 __semtimedop64 (int semid, struct sembuf *sops, size_t nsops,
                const struct __timespec64 *timeout)
index c917aba02094cd0a1271b43036e66c83f2a16b16..5a5c05bcfcf9d0eb2e8992cbff2a05b57218132a 100644 (file)
@@ -21,7 +21,7 @@
 #include <asm/ptrace.h>
 #include <stddef.h>
 
-/* asm/ptrace.h polutes the namespace.  */
+/* asm/ptrace.h pollutes the namespace.  */
 #undef PTRACE_GETREGS
 #undef PTRACE_SETREGS
 #undef PTRACE_GETFPREGS
index 34282acdb68375278df95a55f5cccc972f2ee555..73df0a52eafe83e3616c13c965b7f5a17af90573 100644 (file)
@@ -41,7 +41,7 @@
    might return a large offset.  Therefore we must not anymore test
    for < 0, but test for a real error by making sure the value in R0
    is a real error number.  Linus said he will make sure the no syscall
-   returns a value in -1 .. -4095 as a valid result so we can savely
+   returns a value in -1 .. -4095 as a valid result so we can safely
    test with -4095.  */
 
 #define _IMM1 #-1
index 6dda89248252e7f36f519f04158fa15d0c0ce6ea..7e0c20d2ed08484fb9e787b4fc709fdf8705d075 100644 (file)
@@ -102,7 +102,7 @@ weak_alias (__setcontext, setcontext)
 
    If this NOP word does not exist, FDE lookup just repeatedly finds
    __setcontext's FDE in an infinite loop, due to the convention of using
-   'address - 1' for FDE lookup. Modifiying/deleting the below
+   'address - 1' for FDE lookup. Modifying/deleting the below
    __startcontext's FDE has no help on this.  */
 
        nop
index 7815d13136ee9dda2978a5c7bf53aa8d3d9cb962..bcbc9013b7a87915f56d5b47507aed6461f6b8bb 100644 (file)
@@ -24,7 +24,7 @@
 #include <bits/wordsize.h>
 
 /* Linux/SPARC kernels up to 2.3.18 do not care much
-   about what namespace polution, so use a kludge now.  */
+   about what namespace pollution, so use a kludge now.  */
 #undef PTRACE_GETREGS
 #undef PTRACE_SETREGS
 #undef PTRACE_GETFPREGS
index 58a03e6ea7a0df9448e57d71ad437fbd7830cad3..5e2fa122a8e1eaec02a1b419da208405c1213250 100644 (file)
@@ -164,7 +164,7 @@ typedef greg_t  gregset_t[__NGREG];
  * The following structures define how a register window can appear on the
  * stack. This structure is available (when required) through the `gwins'
  * field of an mcontext (nested within ucontext). SPARC_MAXWINDOW is the
- * maximum number of outstanding regiters window defined in the SPARC
+ * maximum number of outstanding registers window defined in the SPARC
  * architecture (*not* implementation).
  */
 # define __SPARC_MAXREGWINDOW  31      /* max windows in SPARC arch. */
@@ -200,7 +200,7 @@ typedef struct
 /*
  * struct fq defines the minimal format of a floating point instruction queue
  * entry. The size of entries in the floating point queue are implementation
- * dependent. The union FQu is guarenteed to be the first field in any ABI
+ * dependent. The union FQu is guaranteed to be the first field in any ABI
  * conformant system implementation. Any additional fields provided by an
  * implementation should not be used applications designed to be ABI conformant. */
 
index bc321d4c5879fba178ae4fb3f6e18eeb10ad0a72..ec687cb4238bac10a113ab924ea9b05500142b88 100644 (file)
@@ -203,7 +203,7 @@ __spawni_child (void *arguments)
              {
                /* POSIX states that if fildes was already an open file descriptor,
                   it shall be closed before the new file is opened.  This avoid
-                  pontential issues when posix_spawn plus addopen action is called
+                  potential issues when posix_spawn plus addopen action is called
                   with the process already at maximum number of file descriptor
                   opened and also for multiple actions on single-open special
                   paths (like /dev/watchdog).  */
@@ -325,7 +325,7 @@ __spawnix (pid_t * pid, const char *file,
   ptrdiff_t argc = 0;
   /* Linux allows at most max (0x7FFFFFFF, 1/4 stack size) arguments
      to be used in a execve call.  We limit to INT_MAX minus one due the
-     compatiblity code that may execute a shell script (maybe_script_execute)
+     compatibility code that may execute a shell script (maybe_script_execute)
      where it will construct another argument list with an additional
      argument.  */
   ptrdiff_t limit = INT_MAX - 1;
index bece8ae3c6e6b69480a13f615dc9a0b3ed196e3d..1ee158ed437cc49f3c30cfe9d3624f2a888893e1 100644 (file)
@@ -70,7 +70,7 @@
    Some tests assume "/bin/sh" names a file that exists and is not a
    directory.  */
 
-/* Evalutes to the arguments in a list initializer which can be used
+/* Evaluates to the arguments in a list initializer which can be used
    as a single macro argument.  */
 #define LIST(...) { __VA_ARGS__ }
 
index 01258a5f78fcb2e4df46ec2ae2008e0417e4169c..6eb4e5cf1c3d9700fc20e5bd4fb6180b4acc18e4 100644 (file)
@@ -89,7 +89,7 @@ do_test_with_offset (off_t offset)
     FAIL_EXIT1 ("fail trying to read " XSTR (BLK_SIZE) " bytes");
 
   if (memcmp (bwrite, bread, BLK_SIZE) != 0)
-    FAIL_EXIT1 ("buffer written different than buffer readed");
+    FAIL_EXIT1 ("buffer written different from buffer read");
 
   return 0;
 }
index 16fdb6b11909e0818dc0d8c342ebe15145638cfb..0036868dfd14b4964231d461e904079aea66eac2 100644 (file)
@@ -55,7 +55,7 @@ probe_lock (void)
   *shared_errno = -1;
   support_isolate_in_subprocess (subprocess, NULL);
   if (*shared_errno == 0)
-    /* Lock was aquired by the subprocess, so this process has not
+    /* Lock was acquired by the subprocess, so this process has not
        locked it.  */
     return false;
   else
index 997487924cd4cdfc2623258ce9caa675e3e57710..70a2991edbe6e5b4f99ebdee8e39db3f3bdbc164 100644 (file)
@@ -60,7 +60,7 @@ do_test (void)
   int fd = open64 (temp_filename, O_RDWR, 0666);
   TEST_VERIFY_EXIT (fd != -1);
 
-  /* It tries then to allocate another open file descriptior with a valid
+  /* It tries then to allocate another open file descriptor with a valid
      non-LFS bits struct flock but which will result in a conflicted region
      which can not be represented in a non-LFS struct flock.  */
   struct flock lck = {
index 95a50cb68d3b25e64d5453e3b081c320b3416380..d1460ef30ed85b7a73e22b28bea701b75822346a 100644 (file)
@@ -61,7 +61,7 @@ do_test (void)
   int pidfd = pidfd_open (pid, 0);
   TEST_VERIFY (pidfd != -1);
 
-  /* The syscall only succeedes if the target process is exiting and there
+  /* The syscall only succeeds if the target process is exiting and there
      is no guarantee that calling if after pidfd_send_signal will not error
      (ince the process might have already been reaped by the OS).  So just
      check if it does fail when the process is stll running.  */
index c0610203d5ffe8c97c04fb128ab2c4cc112a826e..fe68c6d73bf8a78f055e2efb8936f2a2b39fec79 100644 (file)
@@ -18,7 +18,7 @@
 
 /* This file is included by the tst-affinity*.c files to test the two
    variants of the functions, under different conditions.  The
-   following functions have to be definied:
+   following functions have to be defined:
 
    static int getaffinity (size_t, cpu_set_t *);
    static int setaffinity (size_t, const cpu_set_t *);
index aa170d05eac47800bf13f27466f3a197d6957d97..0fe8780cbaddb4b460bea5d699929a41dfc3b93a 100644 (file)
@@ -77,7 +77,7 @@ static void
 do_test_large_buffer (bool mc)
 {
   struct mmsghdr mmhdr = { 0 };
-  /* It should be large enought for either timeval/timespec and the
+  /* It should be large enough for either timeval/timespec and the
      64 time type as well.  */
 
   union
@@ -142,7 +142,7 @@ do_test_large_buffer (bool mc)
 
 /* Check if recvmsg does not create the additional 64 bit timestamp if
    only 32 bit timestamp is enabled if the ancillary buffer is not large
-   enought.  Also checks if MSG_CTRUNC is set iff for 64 bit recvmsg
+   enough.  Also checks if MSG_CTRUNC is set iff for 64 bit recvmsg
    symbol.  */
 static void
 do_test_small_buffer (bool mc)
index d1abc8d141827563e73fa28d99c14bc56df0afd0..5ad7a0d481deca763cb2a1663fb6572a7a4503ea 100644 (file)
@@ -284,7 +284,7 @@ do_test_multiple_ancillary (void)
     TEST_VERIFY_EXIT (r != -1);
   }
 
-  /* Enougth data for default SO_TIMESTAMP, the IP_RECVORIGDSTADDR, and the
+  /* Enough data for default SO_TIMESTAMP, the IP_RECVORIGDSTADDR, and the
      extra 64-bit SO_TIMESTAMP.  */
   enum { msgbuflen = CMSG_SPACE (2 * sizeof (uint64_t))
                     + CMSG_SPACE (sizeof (struct sockaddr_in))
index 97101f2c8eb1545d5173cb0085f79edc1f8335b9..f18464e3f5ee6238e6ece512f02075ff4e26f7fa 100644 (file)
@@ -55,7 +55,7 @@ struct test_msginfo
   int msgmni;
 };
 
-/* It tries to obtain some system-wide SysV messsage queue information from
+/* It tries to obtain some system-wide SysV message queue information from
    /proc to check against IPC_INFO/MSG_INFO.  The /proc only returns the
    tunables value of MSGMAX, MSGMNB, and MSGMNI.
 
index c86a88ddadb80d8c8e78048e17ec8f135f16acec..315bf0079d430782d64baa5086c5d9a674a94482 100644 (file)
@@ -66,7 +66,7 @@ subprocess (void *closure)
 {
   int original_tid = expected_signal_tid;
 
-  /* Do not expect that the folloing signals are delivered to the
+  /* Do not expect that the following signals are delivered to the
      subprocess.  The parent process retains the original
      expected_signal_tid value.  */
   expected_signal_tid = 0;
@@ -77,7 +77,7 @@ subprocess (void *closure)
   TEST_COMPARE (expected_signal_tid, 0);
 
   /* This call has the correct PID/TID combination and is therefore
-     expected to suceed.  */
+     expected to succeed.  */
   TEST_COMPARE (tgkill (getppid (), original_tid, SIGUSR1), 0);
 }
 
index cd953657b887ba580fdf4c79b0e93a53c54d5174..ef55665fbe692decef067626fa1cb8c0f6b427b0 100644 (file)
@@ -508,7 +508,7 @@ run_chroot_tests (const char *slavename, int slave)
     char *linkname = xasprintf ("/proc/self/fd/%d", slave);
     char *target = proc_fd_readlink (linkname);
     free (linkname);
-    /* Depeding on how we set up the chroot, the kernel may or may not
+    /* Depending on how we set up the chroot, the kernel may or may not
        trim the leading path to the target (it may give us "/6",
        instead of "/dev/pts/6").  We test it both ways (do_in_chroot_1
        and do_in_chroot_2).  This test group relies on the target
index cfd9a71e3144745bd30132dfc8161a57667ffc59..19f95550cebdb40341a1e8453b99d8b9966e0036 100644 (file)
@@ -49,7 +49,7 @@ struct elision_config __elision_aconf =
 static __always_inline void
 do_set_elision_enable (int32_t elision_enable)
 {
-  /* Enable elision if it's avaliable in hardware. It's not necessary to check
+  /* Enable elision if it's available in hardware. It's not necessary to check
      if __libc_enable_secure isn't enabled since elision_enable will be set
      according to the default, which is disabled.  */
   if (elision_enable == 1)
index cfb51be8c5d62b411508fe4b66751b4531ebd353..c350ee157a1d297a5a33d34ecf7669a065e75b8a 100644 (file)
@@ -43,7 +43,7 @@
    might return a large offset.         Therefore we must not anymore test
    for < 0, but test for a real error by making sure the value in %eax
    is a real error number.  Linus said he will make sure the no syscall
-   returns a value in -1 .. -4095 as a valid result so we can savely
+   returns a value in -1 .. -4095 as a valid result so we can safely
    test with -4095.  */
 
 /* We don't want the label for the error handle to be global when we define