From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mx.groups.io with SMTP id smtpd.web10.124.1627935736578375156 for ; Mon, 02 Aug 2021 13:22:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=bexwRzB7; spf=pass (domain: nuviainc.com, ip: 209.85.216.50, mailfrom: rebecca@nuviainc.com) Received: by mail-pj1-f50.google.com with SMTP id s22-20020a17090a1c16b0290177caeba067so710849pjs.0 for ; Mon, 02 Aug 2021 13:22:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=d9HIqNljlY3MIWO2HbOHjZtO4P6YTSw8BExL5Y440f4=; b=bexwRzB7/B6eE+rkIeIvbC0UL4fXeXeOLSZMx7DjIOrD2wN1KVK+8m3xPUDh4EwkFZ NN5EoZ6CYav+w69mwPI1++uj0QqEMxbaVHXTtc+K31CU7+u1Bx/RHqcPFu8/HvmfJQjK if6vsLaxoAWzwsSsJCPVXmekX3BXejcGM+zVopjBEvzm6awLhjV07slBpj2u+cEQTuE7 nCDaqqSL4uzj1iEdSUORKXL4QruEeP6N6SJrx/nbm1ibFbQB0FmGr6wvVSDnElafLITs pY0G1aj2G1PVhpQWIgnluptcX5MSebUOOUtKyGE+WgBd4dMWcErmjfS92UhWd3PIxgvH UGKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=d9HIqNljlY3MIWO2HbOHjZtO4P6YTSw8BExL5Y440f4=; b=uTd8C0CMDcV4bDPgJ7lD37dk1u7hKxY/8gRXife51Cq+N8mx0WuY3k8IoL5thcqa8S T7rxaDuMVjNEUAKCGY+soRB1fOUKos4dvse81mDMGc+gT7xlaj4qtcWut+Exllm/pNEG 3iLcf4wmM81HWjT2wJdAdbEmJNxkMusAGNAhjHhYy0xE2Q+Ukm/HEDa7xYkAMmTjcB0O aAbmR5JKc9sc02hwT+549gXc0IhsRWhayYF3igyZEAAQNl9KxG3BqMgHY80AtnqpY0eP eey4+0DLlwtQLxFGZ0qLKaiRkgpWa6nxsiwkx7c8CuSEcnFO9KaapUH6NLur8MzKlQv8 cdOQ== X-Gm-Message-State: AOAM533n2orTRXmOSEDBFuRFXJFSZ3JItwCrxJVCIaLFKt7YeeD9ve73 7G0RcqNsEgcyu6yNEx45Se6y3tvlA+5P/xJr1Gtbh/A7vWwCR47U061exqMbd0NwG2ItbcQAke2 VIAv/TyhKfFVthfynooyu6NrKHeqwgOh+WDoZz7dwTZoQXbhnn+PRsCY/IscFzJ30FsGZOffm X-Google-Smtp-Source: ABdhPJw/3r7SxN8ZujRgun3mjV8oB/yI/AhDQjEO3g4ePKiAcI2+cAiW2W45mkwodW8NAr/PrqpHDw== X-Received: by 2002:a17:90a:3489:: with SMTP id p9mr604900pjb.197.1627935735870; Mon, 02 Aug 2021 13:22:15 -0700 (PDT) Return-Path: Received: from linbox.int.bluestop.org (c-174-52-16-57.hsd1.ut.comcast.net. [174.52.16.57]) by smtp.gmail.com with ESMTPSA id a9sm249556pjs.32.2021.08.02.13.22.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 02 Aug 2021 13:22:15 -0700 (PDT) Subject: Re: [edk2-discuss] State of the `edk2-libc` project To: discuss@edk2.groups.io, rebecca@bsdio.com, aladyshev22@gmail.com, edk2-devel-groups-io References: <05AF4C60-A693-4D83-B069-ABC45FB79D17@bsdio.com> From: "Rebecca Cran" Message-ID: Date: Mon, 2 Aug 2021 14:22:13 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <05AF4C60-A693-4D83-B069-ABC45FB79D17@bsdio.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US By the lack of replies, I suspect we should bring it up as a topic of discussion in the Community Meeting next week. -- Rebecca Cran On 7/14/21 1:43 PM, Rebecca Cran wrote: > I submitted a patch to fix it several weeks ago, but it never got committed. > > Rebecca Cran >> On Jul 14, 2021, at 11:36 AM, Konstantin Aladyshev wrote: >> >> Hello! >> >> What is the state of the `edk2-libc` project? >> >> The last commit is dated Apr 29, 2019. I've tried to compile >> `edk2-libc` with the master `edk2` and have come to some build issues. >> >> For example this edk2 commit (13 Oct 2020 "MdePkg: Remove code wrapped >> by DISABLE_NEW_DEPRECATED_INTERFACES" >> https://github.com/tianocore/edk2/commit/9c1f455f5f0ee63ce080940bf974aac4fefe526b) >> have dropped support for several functions, but these functions are >> still used in `edk2-libs`: >> - `StrCpy` and `StrCpy` functions are used in >> https://github.com/tianocore/edk2-libc/blob/master/StdLib/LibC/Wchar/Copying.c >> - `AsciiStrCat` and `AsciiStrnCat` functions are used in >> https://github.com/tianocore/edk2-libc/blob/master/StdLib/LibC/String/Concatenation.c >> In the modern `edk2` all these old functions are replaced with their >> safe versions (StrCpyS, StrCpyS, AsciiStrCatS, AsciiStrnCatS). >> >> My question is should these unsafe string functions be deprecated in >> the `edk2-libc` as well? And more importantly does the tianocore >> community have any plans for support of `edk2-libc` project or can it >> be counted as obsolete? >> >> Best regards, >> Konstantin Aladyshev >> >> >> >> >> > > > > >