From nobody Thu Nov 28 16:45:31 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 169277008865015.615920905532562; Tue, 22 Aug 2023 22:54:48 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYgn2-0001K3-DB; Wed, 23 Aug 2023 01:52:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYgmx-0001IQ-Ac for qemu-devel@nongnu.org; Wed, 23 Aug 2023 01:52:19 -0400 Received: from isrv.corpit.ru ([86.62.121.231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYgmt-0007J3-01 for qemu-devel@nongnu.org; Wed, 23 Aug 2023 01:52:17 -0400 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 22B3C1C38D for ; Wed, 23 Aug 2023 08:52:19 +0300 (MSK) Received: from tls.msk.ru (mjt.wg.tls.msk.ru [192.168.177.130]) by tsrv.corpit.ru (Postfix) with SMTP id B68BB21235; Wed, 23 Aug 2023 08:52:00 +0300 (MSK) Received: (nullmailer pid 1917453 invoked by uid 1000); Wed, 23 Aug 2023 05:52:00 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Cc: Michael Tokarev Subject: [PATCH 02/24] bsd-user: spelling fixes Date: Wed, 23 Aug 2023 08:51:31 +0300 Message-Id: <20230823055155.1917375-3-mjt@tls.msk.ru> X-Mailer: git-send-email 2.39.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=86.62.121.231; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1692770089965100009 Content-Type: text/plain; charset="utf-8" Signed-off-by: Michael Tokarev --- bsd-user/errno_defs.h | 2 +- bsd-user/freebsd/target_os_siginfo.h | 2 +- bsd-user/freebsd/target_os_stack.h | 4 ++-- bsd-user/freebsd/target_os_user.h | 2 +- bsd-user/qemu.h | 2 +- bsd-user/signal-common.h | 4 ++-- bsd-user/signal.c | 6 +++--- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/bsd-user/errno_defs.h b/bsd-user/errno_defs.h index f3e8ac3488..abe70119d9 100644 --- a/bsd-user/errno_defs.h +++ b/bsd-user/errno_defs.h @@ -150,5 +150,5 @@ =20 /* Internal errors: */ -#define TARGET_EJUSTRETURN 254 /* Just return without mod= ifing regs */ +#define TARGET_EJUSTRETURN 254 /* Just return without mod= ifying regs */ #define TARGET_ERESTART 255 /* Restart syscall */ =20 diff --git a/bsd-user/freebsd/target_os_siginfo.h b/bsd-user/freebsd/target= _os_siginfo.h index 4573738752..6c282d8502 100644 --- a/bsd-user/freebsd/target_os_siginfo.h +++ b/bsd-user/freebsd/target_os_siginfo.h @@ -73,5 +73,5 @@ typedef struct target_siginfo { } _mesgp; =20 - /* SIGPOLL -- Not really genreated in FreeBSD ??? */ + /* SIGPOLL -- Not really generated in FreeBSD ??? */ struct { int _band; /* POLL_IN, POLL_OUT, POLL_MSG */ diff --git a/bsd-user/freebsd/target_os_stack.h b/bsd-user/freebsd/target_o= s_stack.h index 0590133291..d15fc3263f 100644 --- a/bsd-user/freebsd/target_os_stack.h +++ b/bsd-user/freebsd/target_os_stack.h @@ -26,5 +26,5 @@ =20 /* - * The inital FreeBSD stack is as follows: + * The initial FreeBSD stack is as follows: * (see kern/kern_exec.c exec_copyout_strings() ) * @@ -60,5 +60,5 @@ static inline int setup_initial_stack(struct bsd_binprm *= bprm, p -=3D sizeof(struct target_ps_strings); =20 - /* Add machine depedent sigcode. */ + /* Add machine dependent sigcode. */ p -=3D TARGET_SZSIGCODE; if (setup_sigtramp(p, (unsigned)offsetof(struct target_sigframe, sf_uc= ), diff --git a/bsd-user/freebsd/target_os_user.h b/bsd-user/freebsd/target_os= _user.h index f036a32343..1ca7b5ab17 100644 --- a/bsd-user/freebsd/target_os_user.h +++ b/bsd-user/freebsd/target_os_user.h @@ -27,5 +27,5 @@ struct target_priority { uint8_t pri_class; /* Scheduling class. */ uint8_t pri_level; /* Normal priority level. */ - uint8_t pri_native; /* Priority before propogation. */ + uint8_t pri_native; /* Priority before propagation. */ uint8_t pri_user; /* User priority based on p_cpu and p_nice= . */ }; diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h index 8f2d6a3c78..470d0337d5 100644 --- a/bsd-user/qemu.h +++ b/bsd-user/qemu.h @@ -119,5 +119,5 @@ extern const char *qemu_uname_release; * TARGET_ARG_MAX defines the number of bytes allocated for arguments * and envelope for the new program. 256k should suffice for a reasonable - * maxiumum env+arg in 32-bit environments, bump it up to 512k for !ILP32 + * maximum env+arg in 32-bit environments, bump it up to 512k for !ILP32 * platforms. */ diff --git a/bsd-user/signal-common.h b/bsd-user/signal-common.h index 6f90345bb2..c044e81165 100644 --- a/bsd-user/signal-common.h +++ b/bsd-user/signal-common.h @@ -50,9 +50,9 @@ void target_to_host_sigset(sigset_t *d, const target_sigs= et_t *s); * host_to_target_siginfo_noswap() and tswap_siginfo(); it does not appear * either within host siginfo_t or in target_siginfo structures which we g= et - * from the guest userspace program. Linux kenrels use this internally, bu= t BSD + * from the guest userspace program. Linux kernels use this internally, bu= t BSD * kernels don't do this, but its a useful abstraction. * * The linux-user version of this uses the top 16 bits, but FreeBSD's SI_U= SER - * and other signal indepenent SI_ codes have bit 16 set, so we only use t= he top + * and other signal independent SI_ codes have bit 16 set, so we only use = the top * byte instead. * diff --git a/bsd-user/signal.c b/bsd-user/signal.c index f4e078ee1d..6e77dd0b4d 100644 --- a/bsd-user/signal.c +++ b/bsd-user/signal.c @@ -45,5 +45,5 @@ static inline int sas_ss_flags(TaskState *ts, unsigned lo= ng sp) =20 /* - * The BSD ABIs use the same singal numbers across all the CPU architectur= es, so + * The BSD ABIs use the same signal numbers across all the CPU architectur= es, so * (unlike Linux) these functions are just the identity mapping. This migh= t not * be true for XyzBSD running on AbcBSD, which doesn't currently work. @@ -242,5 +242,5 @@ static inline void host_to_target_siginfo_noswap(target= _siginfo_t *tinfo, /* * Unsure that this can actually be generated, and our support for - * capsicum is somewhere between weak and non-existant, but if we = get + * capsicum is somewhere between weak and non-existent, but if we = get * one, then we know what to save. */ @@ -320,5 +320,5 @@ int block_signals(void) * It's OK to block everything including SIGSEGV, because we won't run= any * further guest code before unblocking signals in - * process_pending_signals(). We depend on the FreeBSD behaivor here w= here + * process_pending_signals(). We depend on the FreeBSD behavior here w= here * this will only affect this thread's signal mask. We don't use * pthread_sigmask which might seem more correct because that routine = also --=20 2.39.2