From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from integral2.. (unknown [36.68.63.145]) by gnuweeb.org (Postfix) with ESMTPSA id 103AC7E25A; Tue, 15 Feb 2022 15:37:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1644939433; bh=/FgHNUez6EN6l8BVNLeQey/0NJBAPNOH5gNwnrHSUYY=; h=From:To:Cc:Subject:Date:From; b=Fj/XnGaLCTnNfrLrdQWQOkayco2kgwpfjpzEShiJ5HOp1oZIN+I4U5osHi6C91aUl ni/589qjn5QNvmv/QNasxEFsUVrj7OcJfVKwm4CznruurYIPZ41KZq/2eh6oe+wVtX oSvVI7SUAuXqYZJOwydqnWRnVYyg40t8ItDF7sTWtxrxkXuqHrq8oIzTnuNy9aq7V6 mpCt2zYsYkUjWyW5CTtboyeEFacixAue8moVd9bY+SYh22kQjSDU7gGF03F+6T8LWM Isqts1em04J5dBS9fgoqAvrWoYNaU2D11vFkHuzHiQ/NTClCFoojzKoKjf0zdHai4+ Ar/ko/8uvUSuw== From: Ammar Faizi To: Jens Axboe Cc: io-uring Mailing List , GNU/Weeb Mailing List , Tea Inside Mailing List , Ammar Faizi , Arthur Lapz , Nugra , Alviro Iskandar Setiawan , Nugra Subject: [PATCH liburing v1 0/2] Support busybox mktemp and add x86-64 syscall macros Date: Tue, 15 Feb 2022 22:36:49 +0700 Message-Id: <20220215153651.181319-1-ammarfaizi2@gnuweeb.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Hi Jens, Two patches in this series. 1) Support busybox mktemp from Nugra. ------------------------------------- Busybox mktemp does not support `--tmpdir`, it says: mktemp: unrecognized option: tmpdir It can be fixed with: 1. Create a temporary directory. 2. Use touch to create the temporary files inside the directory. 3. Clean up by deleting the temporary directory. 2) Create syscall __do_syscall{0..6} macros from Alviro. ---------------------------------------------------------- Reduce arch dependent code by creating __do_syscall{0..6} macros. These macros are made of inline Assembly x86-64. Use them to invoke syscall via __sys* functions. By using this design, we don't have to code in inline Assembly again when adding a new syscall. Tested on Linux x86-64, all test passed, but rsrc_tags timedout. Cc: Arthur Lapz Cc: Nugra Signed-off-by: Alviro Iskandar Setiawan Signed-off-by: Nugra Signed-off-by: Ammar Faizi --- Alviro Iskandar Setiawan (1): arch/x86: Create syscall __do_syscall{0..6} macros Nugra (1): configure: Support busybox mktemp configure | 13 ++- src/arch/x86/syscall.h | 242 +++++++++++++++++++++-------------------- 2 files changed, 132 insertions(+), 123 deletions(-) base-commit: ea1e6f8c4e9180bde1844bd56a072bd4c1afae3e -- 2.32.0