Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C6391C369C2 for ; Fri, 25 Apr 2025 16:27:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=lists.linux.it; i=@lists.linux.it; q=dns/txt; s=picard; t=1745598419; h=mime-version : date : message-id : to : references : in-reply-to : subject : list-id : list-unsubscribe : list-archive : list-post : list-help : list-subscribe : from : reply-to : cc : content-type : content-transfer-encoding : sender : from; bh=22+vmrZV/0LCKCNh+zJQg1Y+I0rWey2b5QtUeiyyaZo=; b=CxqH7ri0V85DtxTGE9kUQC5MoitZ6R658Etx9swtTJdBCfH9NK0BHYIj5cQL9a3rBjx9F RNGxP0FxqxYulmSuDHsSaPWGJgR+nlb70w/LkUhWM5rHmZOxXgi8E4fYSiiuPaIYyIoRw8E gHtH5lT9LmPhsxFRBdXMOagnQko/q1I= Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 1AD8E3CB877 for ; Fri, 25 Apr 2025 18:26:59 +0200 (CEST) Received: from in-5.smtp.seeweb.it (in-5.smtp.seeweb.it [IPv6:2001:4b78:1:20::5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 43B4C3CB536 for ; Fri, 25 Apr 2025 18:26:36 +0200 (CEST) Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-5.smtp.seeweb.it (Postfix) with ESMTPS id DC5FF600719 for ; Fri, 25 Apr 2025 18:26:35 +0200 (CEST) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5f624291db6so4348123a12.3 for ; Fri, 25 Apr 2025 09:26:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1745598395; x=1746203195; darn=lists.linux.it; h=in-reply-to:references:to:cc:subject:message-id:date :content-transfer-encoding:mime-version:from:from:to:cc:subject:date :message-id:reply-to; bh=UnpBW5wkU9AY7eTQ/g5Waof7UdaX8ZL/shSW6nogn1k=; b=Efb1C7k7iDBTM5JqPQ6YuBup21PdYOYY6sz4xINu9ZW+GVa05jdSGMEL0Lei8VSJb+ oEY7kMmyKb23654JRZGHeoXpnJu1rdWEAvQWvIf1BUCahvkw57OXgG5KduMm+RIJqxsx byfzduA2nnvLWtJSsXDzKRel4HxSgdZ9yDFPkyxCZlb9V9WwWASw4cnNjXaHMcwTDZDy M/bfPZfoqTI5HsyRmBI1yN7GpbBazc3CXGnp88kUXRlPwrCzJoGp/zInxodNyXYJ9bFd AF6MMBcYo5kzyaEMxS2So/SVLgvTWl5ZgHvhMGuyarT8ct3KhRgoiWi4KWfk+rXVzmA6 w+qg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745598395; x=1746203195; h=in-reply-to:references:to:cc:subject:message-id:date :content-transfer-encoding:mime-version:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=UnpBW5wkU9AY7eTQ/g5Waof7UdaX8ZL/shSW6nogn1k=; b=oHYKgCP0AJQFKTalWfM2zjoi+2Wng1Z7VpAPY7Tu/1sOeY5STzap+My83SVKd36BzS VyFT4OPYP8JaRh+S3WhDjA8gxcVE+12zicdl8lP87jVIDz8PQ9svXcIJ9+PMYzm2YTnw RkqmzTalNYouXdRq5TuOcRNqEvl9S3V+YN1Z8kDGD2UYNwLvoByey8EXbZqqd1UuH3wH e/QpMRKVY0XUPYlrZH+mMzCJ15liQ6tj6r78ewT+x62ta9DDxoCJw7eFktgofOxKEIx/ sKe+JxFpkNG1qfcyJ6xBG6GNrFn7Ll3z0H5BBKRwVN3ca9KnSMdU4+tW6tsOQ5DYJieI iHpA== X-Gm-Message-State: AOJu0YyzUe38QArmUCxkvk5nWdnCkzfAbfCtxUgxztiTxR/nPrbFkiat GnwSPQlGDDsEzL3K0iQpOlmKCLE5wJjUai6yzb0ZSUrQiNIDk+syNQ+fhtgkhd8= X-Gm-Gg: ASbGnct267EVKN9Ol0h7Oj25gXUC8mjFMv7laVR5crsWE2yIo6E1iQPJYpxzy1MIb7K TapNKWRrz1fkwg+R/1pOrqPiVrYWsMlwWuaRXnz6xE8WrDaNypkfbO20ggzkCYAbYylyif/qOo5 Dz7xchs8GolWALKWuB1qTrXD8ntLw7nMXUeNB/WyrGLG0oRG9jSTV/ocDPMkxxA2iXnhwUQDcOH sZCe06Oz3muNG2SRVULEluBIVhUy3wdE+JGzisULMZpDy5TNZgZSF6njzD2OJnpwwypybzpqIe7 RIXkOjHTTxrDgLjuUERzeUvduxAA4g== X-Google-Smtp-Source: AGHT+IE657Qxy/gk4bii4t4ga1ojNW+nyTzPlCCr/t6HePn6JaDKVbzirjXOTaajurc+H6OHOhPsJQ== X-Received: by 2002:a17:907:7204:b0:acb:126f:5315 with SMTP id a640c23a62f3a-ace7136c6bamr259997666b.37.1745598395193; Fri, 25 Apr 2025 09:26:35 -0700 (PDT) Received: from localhost ([179.228.213.210]) by smtp.gmail.com with UTF8SMTPSA id 41be03b00d2f7-b15f76f45b1sm3101728a12.1.2025.04.25.09.26.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Apr 2025 09:26:34 -0700 (PDT) Mime-Version: 1.0 Date: Fri, 25 Apr 2025 13:26:29 -0300 Message-Id: To: "Cyril Hrubis" X-Mailer: aerc 0.20.1-31-gf6db7c329ce0-dirty References: <20250414-conversions-mknod-v3-0-e08e7463bfaa@suse.com> <20250414-conversions-mknod-v3-5-e08e7463bfaa@suse.com> In-Reply-To: X-Virus-Scanned: clamav-milter 1.0.7 at in-5.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] [PATCH v3 5/8] syscalls/mknod05: Convert to new API X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: =?utf-8?q?Ricardo_B=2E_Marli=C3=A8re_via_ltp?= Reply-To: =?utf-8?B?UmljYXJkbyBCLiBNYXJsacOocmU=?= Cc: Linux Test Project Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Hey hey! On Fri Apr 25, 2025 at 12:30 PM -03, Cyril Hrubis wrote: > Hi! >> -struct stat buf; /* struct. to hold stat(2) o/p contents */ >> -struct passwd *user1; /* struct. to hold getpwnam(3) o/p contents */ >> +#define MODE_RWX 0777 >> +#define MODE_SGID 2777 > ^ > There is 0 missing here. > > > And the test fail because of that because the mode is not interpreted as > octal number. I guess that this could be fixed before the push. > > Other than this it looks fine. With that bit fixed: > > Reviewed-by: Cyril Hrubis Thanks for the review and sorry for the mess on the modes. I'll send a new revision! -- Mailing list info: https://lists.linux.it/listinfo/ltp