From minios-devel-bounces@lists.xenproject.org Mon Feb 01 08:40:00 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 01 Feb 2021 08:40:00 +0000
Received: from list by lists.xenproject.org with outflank-mailman.79614.144944 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l6UkX-0000Vc-2x; Mon, 01 Feb 2021 08:39:57 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 79614.144944; Mon, 01 Feb 2021 08:39:57 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l6UkX-0000VV-03; Mon, 01 Feb 2021 08:39:57 +0000
Received: by outflank-mailman (input) for mailman id 79614;
 Mon, 01 Feb 2021 08:39:55 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=uq0D=HD=neclab.eu=sharan.santhanam@srs-us1.protection.inumbo.net>)
 id 1l6UkV-0000TG-46
 for minios-devel@lists.xen.org; Mon, 01 Feb 2021 08:39:55 +0000
Received: from mailer1.neclab.eu (unknown [195.37.70.40])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id affb9cbc-f30f-4a33-8303-a1208bc5e07e;
 Mon, 01 Feb 2021 08:39:52 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer1.neclab.eu (Postfix) with ESMTP id C130F104107;
 Mon,  1 Feb 2021 09:39:51 +0100 (CET)
Received: from mailer1.neclab.eu ([127.0.0.1])
 by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 9GD-Of1FgKnC; Mon,  1 Feb 2021 09:39:51 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer1.neclab.eu (Postfix) with ESMTPS id 9CCF9103B72;
 Mon,  1 Feb 2021 09:39:51 +0100 (CET)
Received: from [10.7.1.9] (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 1 Feb 2021
 09:39:50 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: affb9cbc-f30f-4a33-8303-a1208bc5e07e
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-a.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
Subject: Re: [UNIKRAFT PATCH 1/1] lib/posix-libdl: Add dlvsym stub
To: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>,
	<minios-devel@lists.xen.org>
CC: <felipe.huici@neclab.eu>
References: <20201129150311.122761-1-vlad_andrei.badoiu@upb.ro>
From: Sharan Santhanam <sharan.santhanam@neclab.eu>
Message-ID: <584cabd6-8726-44f6-9d2a-2fb22d859c80@neclab.eu>
Date: Mon, 1 Feb 2021 14:09:47 +0530
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <20201129150311.122761-1-vlad_andrei.badoiu@upb.ro>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: puck.office.hd (192.168.24.91) To puck.office.hd
 (192.168.24.91)

Hello Vlad,

Thanks for the work!! The patch series introduces the following 
warnings. We should fix them especially the last one before upstreaming it.

`
lib/posix-libdl/stubs.c:71:20: warning: unused parameter ‘handle’ 
[-Wunused-parameter]
  void *dlvsym(void *handle, const char *symbol, const char *version)

lib/posix-libdl/stubs.c:71:40: warning: unused parameter ‘symbol’ 
[-Wunused-parameter]
  void *dlvsym(void *handle, const char *symbol, const char *version)

lib/posix-libdl/stubs.c:71:60: warning: unused parameter ‘version’ 
[-Wunused-parameter]
  void *dlvsym(void *handle, const char *symbol, const char *version)

lib/posix-libdl/stubs.c:73:1: warning: control reaches end of non-void 
function [-Wreturn-type]
`


Thanks & Regards
Sharan

On 11/29/20 8:33 PM, Vlad-Andrei Badoiu wrote:
> Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
> ---
>   lib/posix-libdl/exportsyms.uk   | 3 ++-
>   lib/posix-libdl/include/dlfcn.h | 1 +
>   lib/posix-libdl/stubs.c         | 4 ++++
>   3 files changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/lib/posix-libdl/exportsyms.uk b/lib/posix-libdl/exportsyms.uk
> index 77c7a542..d570a578 100644
> --- a/lib/posix-libdl/exportsyms.uk
> +++ b/lib/posix-libdl/exportsyms.uk
> @@ -3,4 +3,5 @@ dlclose
>   dlsym
>   dlerror
>   dladdr
> -dlinfo
> \ No newline at end of file
> +dlinfo
> +dlvsym
> diff --git a/lib/posix-libdl/include/dlfcn.h b/lib/posix-libdl/include/dlfcn.h
> index 706245a5..6cb6cf52 100644
> --- a/lib/posix-libdl/include/dlfcn.h
> +++ b/lib/posix-libdl/include/dlfcn.h
> @@ -58,6 +58,7 @@ typedef struct {
>   } Dl_info;
>   int dladdr(const void *, Dl_info *);
>   int dlinfo(void *, int, void *);
> +void *dlvsym(void *handle, const char *symbol, const char *version);
>   
>   #ifdef __cplusplus
>   }
> diff --git a/lib/posix-libdl/stubs.c b/lib/posix-libdl/stubs.c
> index dbfac7d1..8f5ee384 100644
> --- a/lib/posix-libdl/stubs.c
> +++ b/lib/posix-libdl/stubs.c
> @@ -67,3 +67,7 @@ int dlinfo(void *handle __unused, int request __unused, void *info __unused)
>   {
>   	return 0;
>   }
> +
> +void *dlvsym(void *handle, const char *symbol, const char *version)
> +{
> +}
> 


From minios-devel-bounces@lists.xenproject.org Mon Feb 01 15:09:31 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 01 Feb 2021 15:09:31 +0000
Received: from list by lists.xenproject.org with outflank-mailman.79954.145884 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l6apV-00042W-G8; Mon, 01 Feb 2021 15:09:29 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 79954.145884; Mon, 01 Feb 2021 15:09:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l6apV-00042S-Cx; Mon, 01 Feb 2021 15:09:29 +0000
Received: by outflank-mailman (input) for mailman id 79954;
 Mon, 01 Feb 2021 15:09:28 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=/Xf1=HD=arm.com=jianyong.wu@srs-us1.protection.inumbo.net>)
 id 1l6apT-00041Q-Q9
 for minios-devel@lists.xenproject.org; Mon, 01 Feb 2021 15:09:28 +0000
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (unknown
 [40.107.21.64]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id 7050838c-7b52-417c-b10c-1c6a9919a48d;
 Mon, 01 Feb 2021 15:09:26 +0000 (UTC)
Received: from DB8PR04CA0010.eurprd04.prod.outlook.com (2603:10a6:10:110::20)
 by DB8PR08MB4073.eurprd08.prod.outlook.com (2603:10a6:10:ad::27) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3784.12; Mon, 1 Feb
 2021 15:09:22 +0000
Received: from DB5EUR03FT009.eop-EUR03.prod.protection.outlook.com
 (2603:10a6:10:110:cafe::3d) by DB8PR04CA0010.outlook.office365.com
 (2603:10a6:10:110::20) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.16 via Frontend
 Transport; Mon, 1 Feb 2021 15:09:21 +0000
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by
 DB5EUR03FT009.mail.protection.outlook.com (10.152.20.117) with
 Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.3784.11 via Frontend Transport; Mon, 1 Feb 2021 15:09:21 +0000
Received: ("Tessian outbound 8418c949a3fa:v71");
 Mon, 01 Feb 2021 15:09:21 +0000
Received: from fef8e650a2d3.2
 by 64aa7808-outbound-1.mta.getcheckrecipient.com id
 186AF07B-B1E0-4FC6-B440-4A96E828170A.1; 
 Mon, 01 Feb 2021 15:09:16 +0000
Received: from EUR05-VI1-obe.outbound.protection.outlook.com
 by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id fef8e650a2d3.2
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384);
 Mon, 01 Feb 2021 15:09:16 +0000
Received: from VE1PR08MB4766.eurprd08.prod.outlook.com (2603:10a6:802:a9::18)
 by VI1PR0802MB2479.eurprd08.prod.outlook.com (2603:10a6:800:af::14)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.24; Mon, 1 Feb
 2021 15:09:15 +0000
Received: from VE1PR08MB4766.eurprd08.prod.outlook.com
 ([fe80::11f1:cc3d:cb34:b3f1]) by VE1PR08MB4766.eurprd08.prod.outlook.com
 ([fe80::11f1:cc3d:cb34:b3f1%4]) with mapi id 15.20.3805.025; Mon, 1 Feb 2021
 15:09:15 +0000
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 7050838c-7b52-417c-b10c-1c6a9919a48d
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com;
 s=selector2-armh-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=h0Qj3tVIrPWA2lOlfZOdpaTbj0zlqg19Q/9R0xtGZvk=;
 b=uWyEkcAuGQH2c58t3AygDsInWJiPW5/XaWQuOt84rrKVLl2YdNkoBIS+n7SnM642e88Og3MOzehT3/XoFK30k4CCFoJpjCBdWGYaadw4o5C9IS0Ec1N3KAwYSTG1e1ahpEzciCmgtcCcex6Nxy/usRlMR5sGeZRf6B7fn4dyPms=
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123)
 smtp.mailfrom=arm.com; lists.xenproject.org; dkim=pass (signature was
 verified) header.d=armh.onmicrosoft.com;lists.xenproject.org; dmarc=pass
 action=none header.from=arm.com;
Received-SPF: Pass (protection.outlook.com: domain of arm.com designates
 63.35.35.123 as permitted sender) receiver=protection.outlook.com;
 client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com;
X-CR-MTA-TID: 64aa7808
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=kDGIaHsrvdEVotag4Rv4J1C2JL8qnG0LQgHO7eOUfLhdbuK+w0AhzKKzJc15gdTg9aYM1WmBjOtz5IpP2QgquZiivTlVDpVtFW9gYtvD8U+PU06IA5uJjWLbvgwnFlcdAy78cRN0vY2mDvsjSZh4NlJUQpFsFspSwuaMcsZ5u7Dk9KlyAph9zG7PPQyIABL5+dF+RxkEmziskgS5t4fU74aXu0rrjujiu+/HEazoOMU1UKZ7jDt5LCDkRPjRpTeAvjKpoCoDr1s3bsFWgrwWuplnOjSscf7OMCPlcfGvP1G9mOMYxKwSiVZDxLtiI12Eq/H4hmOMZ6O0nfCYUYtpaw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=h0Qj3tVIrPWA2lOlfZOdpaTbj0zlqg19Q/9R0xtGZvk=;
 b=dLC6Ui3nllzTTAyqBHqSymc9i9GdVFJS+8OEnX6ahhYFar4miq7pQP9v3NHmnGqmESgcKpQK2HassQNt3FrBtBCyfGMwKp62cHzkw+g7c6+6GsFEkeYLittMW5zrJXwRewXT2r+r9990yLz40qjzi2iXcSxuXKpMjRHaA0Lg0ReiYFlneagl8mzSdBdQPzOu9cuxBtF5sDMNRaAImui3YEbZIQxSP6bUEpEM2Hgmavdlpr+rg16Am6ZQI6qRhWkxSa+95JXRxDXlGTDQJm4vkOvxLwSE6csuWSjG2LWmD1vmaicOPnPAM603S33TcO7l0morSfq6uFJK+kdGPvdflg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass
 header.d=arm.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com;
 s=selector2-armh-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=h0Qj3tVIrPWA2lOlfZOdpaTbj0zlqg19Q/9R0xtGZvk=;
 b=uWyEkcAuGQH2c58t3AygDsInWJiPW5/XaWQuOt84rrKVLl2YdNkoBIS+n7SnM642e88Og3MOzehT3/XoFK30k4CCFoJpjCBdWGYaadw4o5C9IS0Ec1N3KAwYSTG1e1ahpEzciCmgtcCcex6Nxy/usRlMR5sGeZRf6B7fn4dyPms=
From: Jianyong Wu <Jianyong.Wu@arm.com>
To: Julien Grall <julien@xen.org>, "minios-devel@lists.xenproject.org"
	<minios-devel@lists.xenproject.org>, "sharan.santhanam@neclab.eu"
	<sharan.santhanam@neclab.eu>, "simon.kuenzer@neclab.eu"
	<simon.kuenzer@neclab.eu>
CC: Justin He <Justin.He@arm.com>
Subject: RE: [PATCH] arm/entry: set x0 before cache maintenance.
Thread-Topic: [PATCH] arm/entry: set x0 before cache maintenance.
Thread-Index: AQHW49uzRHrqnSIcfk6pAPiz35T026o+w3YAgAR4HHA=
Date: Mon, 1 Feb 2021 15:09:15 +0000
Message-ID:
 <VE1PR08MB4766EC6839723DFD70E615EEF4B69@VE1PR08MB4766.eurprd08.prod.outlook.com>
References: <20210106032542.33036-1-jianyong.wu@arm.com>
 <fe217665-7d6d-5a40-ad6c-7c5cd22e4898@xen.org>
In-Reply-To: <fe217665-7d6d-5a40-ad6c-7c5cd22e4898@xen.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ts-tracking-id: ABEE0ABD0E273D4C8BD7A20CDE172E9C.0
x-checkrecipientchecked: true
Authentication-Results-Original: xen.org; dkim=none (message not signed)
 header.d=none;xen.org; dmarc=none action=none header.from=arm.com;
x-originating-ip: [203.126.0.113]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-HT: Tenant
X-MS-Office365-Filtering-Correlation-Id: 6b1ae40f-08d1-4bf9-9e4f-08d8c6c35ae2
x-ms-traffictypediagnostic: VI1PR0802MB2479:|DB8PR08MB4073:
x-ms-exchange-transport-forked: True
X-Microsoft-Antispam-PRVS:
	<DB8PR08MB407344D7851DFE76B9822295F4B69@DB8PR08MB4073.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
nodisclaimer: true
x-ms-oob-tlc-oobclassifiers: OLM:10000;OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original:
 TkCW57funMmn1mmuCC/vI2IDOLbKmg2fZOdY8GYk7qZKxQV5/ywTrFkL0z/XtMAhpnNodFabffttmAcjEzUtBOokovFWXWrQ9UYSH3pQVF8oRgMfVD4G+wpki70jl++FCmrpappmut7kGvKkUC9dSSCed2yK7sM1fdR/WDRHgrZYhhHBoXchbcnDsTV4QCy/obxjDWY5aA3rs/hqNWEusfhDhwAzBFyUYAdKduHdg831ynRKKx1C4ljqWW8LtChqxu4j7A6LWjv1bFa56tzAvsYH+YrkNe/KMnEgD1URE8dflrVkvH94aZiWum0pfBymbt0ofGtNiIiCsjChwiup8XiFNqoHemvC7XUCFaVRaOV9KYF3GsCxPVcbW0XAuTOBgbiR1Uo1l3+ozogL7xYEOZjKgbRgmh4zpLqJz8odBg7dFdsUBoGTLoIakfbuO6SnvO76L1XmlOpIyR2ovQhi1Ifb03Zq66Zlvg3H9jqwxayc7PDCWHPn80J3WDCzuwxwjWJeL7D3UtvMdaOxs2nkrw==
X-Forefront-Antispam-Report-Untrusted:
 CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR08MB4766.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(346002)(396003)(376002)(136003)(39860400002)(52536014)(66476007)(66946007)(66556008)(4326008)(66446008)(64756008)(76116006)(55016002)(5660300002)(2906002)(316002)(478600001)(110136005)(8936002)(33656002)(53546011)(7696005)(6506007)(71200400001)(9686003)(8676002)(26005)(186003)(86362001)(83380400001);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata:
 =?utf-8?B?T0x6OHd4czUwZ29sU2JITC9pd1hubFZsSUlZREQycHg1QiszaHNoREh1UUtL?=
 =?utf-8?B?Y291OFovM3piYk9JNHVySjl0S3FOQlhTaWZ4K2lyTHBNQ21PUXY4ZUpGY0I0?=
 =?utf-8?B?RlNRMEpQMW45TENxclJUTm45QzkxUEloWWZLY0xpMEpVd1JsZmR1ME9aTWRv?=
 =?utf-8?B?RGlyVU5UWVVaeW14Z3pIS21ITUFlMjVNd2FXekVIRWJUcDNrN3pRd0lXcGtW?=
 =?utf-8?B?RWdlNUg5eVZ0OUJUS25YbFhHMUt4azFKckh3RlRMV0dsVTJEejVSMmtTc1Nq?=
 =?utf-8?B?eENPdG1zeDYzdDNvcHlEKzlsWkZicWZ6UnNpenRybk9WTStBMXNRZjRtYU9h?=
 =?utf-8?B?Q2FNbTAwZjR1MVVYWnNWNHZyUGg3YmFFREFjWEVEdUp3RjNvbU5FeUJwVElP?=
 =?utf-8?B?Sk94WWVDSGgyNkdtWmxGa08zRk1lbEhZaUlkYXRWaGNweU9od0RwelhRYkFp?=
 =?utf-8?B?TWhoVXJaYTVMN0swK3FCWmc1dDVSTmZMTDk5bnhRcE1Yd3lVWkNtY1BFTGk5?=
 =?utf-8?B?RUV1cGdoaGFtREJxQjJNUTBsK1JhUE1wT2wzVWw0TnpUMyswVHlFYUIvZE1m?=
 =?utf-8?B?TWVlbHJrS2NOWGpUVWJrSGFjVldNMThyY3lnNWxRZ2Q2UmdzdjJTdUdVdkN0?=
 =?utf-8?B?UXRkdXZKREQ5YlhYenUvdFZMZDMzM1ZXbkg4TXJ2YUpaU3E3ZWxzKzUxV29I?=
 =?utf-8?B?YTRQM1h2TWdnUFo4RytLWm5VM3FPeUdRQllkWG45cE81dTZsUUVLczRnYURo?=
 =?utf-8?B?UXhnUTRHcCs0OWpSenlUdjY0RUUyRS9PN0t0bDNGWmR2b0RYTTd5VDU2QTkr?=
 =?utf-8?B?clIxMGlLNUNTQVlOUjBrVVhQUkJDeHIrcGtxQ2plakJNZFc1a3BXQ21iWm5w?=
 =?utf-8?B?MnlzZTY2RmhENVhxbW52dU1YYVF2U1l5SUc0VVRKb0lMVHhGZTBXdnZNWEo1?=
 =?utf-8?B?bnp1Zi9xZlF5Qzc2amU3S2NxcWl0djNtb3NTcG1KbUZManZJUHd5UEd5UVBG?=
 =?utf-8?B?eEh6U2N2OG5ObXJFUnp0V3hEcCt6NFNwV2ZIWENzZUFLa1NzbWhERit2ZXBI?=
 =?utf-8?B?UU9sUTZPSFNhWDFPZ1ZPVnRWa3JVRGFMRDZOUGNkVURWM2dLVHBDdGduSWZY?=
 =?utf-8?B?SkJqWFBiYVFXMXk3WTBjNHJWWXRTanBoMmhSSDZLdWJKQ2kyYVdYMEpqUkFk?=
 =?utf-8?B?NldyOGtXZ2IzalF1M3UwTXIvdDJST0hCbzQvQW9ZVXNna3ZMeWJpQnExS3Nj?=
 =?utf-8?B?VDBldFUyY3d2b09TeVhaV2VGSzVneHR4OW5KMGRMbUZKdDBjcmFsbWJpNDB0?=
 =?utf-8?B?R05pR3hjWlJPdlVmc1pRMHVOeWJjZ3EwRk52dW9mWWpwZlRKZlZSOTRqaUNM?=
 =?utf-8?B?MDJKL1Rhb2t2eENTbjRsUEZQQjVEOENPVGZNcDZ0ejZtSmxNWFRVUHBzSTdn?=
 =?utf-8?Q?2INC7Zgl?=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2479
Original-Authentication-Results: xen.org; dkim=none (message not signed)
 header.d=none;xen.org; dmarc=none action=none header.from=arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped:
 DB5EUR03FT009.eop-EUR03.prod.protection.outlook.com
X-MS-Office365-Filtering-Correlation-Id-Prvs:
	4cb34f91-5019-4216-da7c-08d8c6c35713
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info:
	MAh0lrOglGNKk33pCdsfppzJTRXvN+0wstwTZvyvFyi76y8hr694aPTMaqvJv8UMsLofOcNxUsKqefWDqJcewxxEomh9xchUF3QRQbRaI7TQg73oWg4eloqnqPOPBiw+vShpD3byyjVyKTnX3nnnyWWEw+l9WJ7zVycXCxg7KIumoioFi6O0gAI7n7/4jpCyL+1s0+iz3iR5zul6mQFJe4QMowa6GzdbqjQWinYHZUxvsa6PuG7ScpxUD8ZNh3OxxURBHLUkzQsGkT3v1+vKSIsJ8r0KrSBuLZ70MWbPwNLBnJv2wtY4eKrkOtl+CTa41YeYyzQu59TCrv9Xw5z8HtLKljfOWczPgJXIq+nHNzBdQKWtxmypSVh9VERCu99MotDDFk2qaXWo7aNLFHpQhR04LDedvRZXyvcXJL7mqKQk7qrDE965BTw/TRQAIdIRNEOzgIZssrszSG+zQC4liDktzPr49Mse0E97JLEASLeSDhowRvxMzUbBlveZKqbLTmojQ41wOe2Li5aS4YeafVvMnpY6RmG1xZ0WEUXEhhxxG1vMamF8nkFo2rO3lOrKch4l4LTv8TTJ3UQX2OAosa2X58AY9gZF345I3gRrFiA=
X-Forefront-Antispam-Report:
	CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(39860400002)(346002)(376002)(396003)(136003)(46966006)(9686003)(55016002)(26005)(86362001)(52536014)(356005)(6506007)(33656002)(478600001)(53546011)(186003)(7696005)(110136005)(83380400001)(4326008)(2906002)(70206006)(70586007)(8676002)(8936002)(82310400003)(316002)(5660300002)(336012)(82740400003)(81166007)(47076005);DIR:OUT;SFP:1101;
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Feb 2021 15:09:21.8578
 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: 6b1ae40f-08d1-4bf9-9e4f-08d8c6c35ae2
X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com]
X-MS-Exchange-CrossTenant-AuthSource:
	DB5EUR03FT009.eop-EUR03.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4073

SGkgSnVsaWVuLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEp1bGll
biBHcmFsbCA8anVsaWVuQHhlbi5vcmc+DQo+IFNlbnQ6IEZyaWRheSwgSmFudWFyeSAyOSwgMjAy
MSA5OjUwIFBNDQo+IFRvOiBKaWFueW9uZyBXdSA8SmlhbnlvbmcuV3VAYXJtLmNvbT47IG1pbmlv
cy0NCj4gZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmc7IHNoYXJhbi5zYW50aGFuYW1AbmVjbGFi
LmV1Ow0KPiBzaW1vbi5rdWVuemVyQG5lY2xhYi5ldQ0KPiBDYzogSnVzdGluIEhlIDxKdXN0aW4u
SGVAYXJtLmNvbT4NCj4gU3ViamVjdDogUmU6IFtQQVRDSF0gYXJtL2VudHJ5OiBzZXQgeDAgYmVm
b3JlIGNhY2hlIG1haW50ZW5hbmNlLg0KPg0KPiBIaSwNCj4NCj4gT24gMDYvMDEvMjAyMSAwMzoy
NSwgSmlhbnlvbmcgV3Ugd3JvdGU6DQo+ID4gVGhlcmUgaXMgYSBsb25nIHN0YW5kaW5nIGlzc3Vl
IGluIGVudHJ5IGNvZGUgb2YgYXJtIHRoYXQgeDAgaXMgbm90IHNldA0KPiA+IGJlZm9yZSB1c2lu
ZyBpdCBpbiBjbGVhbl9hbmRfaW52YWxpZGF0ZV9kY2FjaGVfcmFuZ2UuIFRoaXMgZXJyb3IgY2Fu
DQo+ID4gYmUgY2F1Z2h0IGJ5IGt2bSBhbmQgcmVzdWx0IGluIGNvcmUgZHVtcC4NCj4gPiBIZXJl
LCB4MCBpcyBzZXQgdG8gdGhlIGJhc2UgYWRkcmVzcyBvZiBkdGIgYmVmb3JlIGNhY2hlIG1haW50
YWluLg0KPiA+IFNpZ25lZC1vZmYtYnk6IEppYW55b25nIFd1IDxqaWFueW9uZy53dUBhcm0uY29t
Pg0KPiA+IC0tLQ0KPiA+ICAgcGxhdC9rdm0vYXJtL2VudHJ5NjQuUyB8IDYgKysrKysrDQo+ID4g
ICAxIGZpbGUgY2hhbmdlZCwgNiBpbnNlcnRpb25zKCspDQo+ID4NCj4gPiBkaWZmIC0tZ2l0IGEv
cGxhdC9rdm0vYXJtL2VudHJ5NjQuUyBiL3BsYXQva3ZtL2FybS9lbnRyeTY0LlMgaW5kZXgNCj4g
PiBjNGRlMzM0Li4wNTI2YWU4IDEwMDY0NA0KPiA+IC0tLSBhL3BsYXQva3ZtL2FybS9lbnRyeTY0
LlMNCj4gPiArKysgYi9wbGF0L2t2bS9hcm0vZW50cnk2NC5TDQo+ID4gQEAgLTkyLDYgKzkyLDEy
IEBAIEVOVFJZKF9saWJrdm1wbGF0X2VudHJ5KQ0KPiA+ICAgYWRkIHgyNywgeDI2LCB4MTcNCj4g
PiAgIGFkZCB4MjcsIHgyNywgI19fU1RBQ0tfU0laRQ0KPiA+ICAgc3ViIHgxLCB4MjcsIHgyNQ0K
PiA+ICsNCj4gPiArLyoNCj4gPiArICogc2V0IHgwIHRvIHRoZSBsb2NhdGlvbiBzdG9yZXMgZHRi
IGFzIHRoZSBiYXNlIGFkZHJlc3Mgb2YgdGhlDQo+ID4gKyAqIG1lbW9yeSByYW5nZSB0byBiZSBj
YWNoZSBtYWludGFpbmVkDQo+ID4gKyAqLw0KPg0KPiBUaGVyZSBpcyBhbHJlYWR5IGEgZmV3IGxp
bmVzIGFib3ZlIGV4cGxhaW5pbmcgd2hhdCB0aGUgY2xlYW4gaXMgbWVhbnQgdG8gZG8uIEkNCj4g
dGhpbmsgaXQgd291bGQgYmUgYmVzdCB0byBtb2RpZnkgdGhpcyBjb21tZW50IChpZiB5b3UgbmVl
ZCB0bykgcmF0aGVyIHRoYW4NCj4gYWRkaW5nIGEgbmV3IGNvbW1lbnQuDQo+DQpPaywgSSBjYW4g
bW92ZSB0aGlzIGNvbW1lbnQgdXAuDQoNCj4gSXQgd291bGQgYWxzbyBtYWtlIHNlbnNlIHRvIGlu
dHJvZHVjZSBhIG5ldyBzeW1ib2wgKG1heWJlIHN0YXJ0X2JpbmFyeSkgdG8NCj4gYXZvaWQgcmVs
eWluZyBvbiBfZHRiIHRvIGFsd2F5cyBiZSBmaXJzdC4NCj4NClNvdW5kcyBnb29kLCBidXQgSSdt
IG5vdCBzdXJlIGhvdyB0byBkbyB0aGF0LiBBcyBfZHRiIGlzIGFzc2lnbmVkIGluIGxpbmsgc2Ny
aXB0LCB3aGVyZSBzaG91bGQgd2UgYXNzaWduZWQgdGhlIG5ldyBzeW1ib2w/IEluIHRoZSBlbnRy
eS5TIG9yIGluIHRoZSBsaW5rIHNjcmlwdD8NCg0KPiA+ICtsZHIgeDAsID1fZHRiDQo+DQo+IFVu
cmVsYXRlZCB0byB0aGlzIHBhdGNoLCBJIGFtIGEgYml0IGNvbmZ1c2VkIHdpdGggdGhlIGNvZGUu
IFRoZSBjb21tZW50IG9uDQo+IHRvcCBvZiBfX2xpYmt2bXBsYXRfZW50cnkgc3VnZ2VzdHMgdGhh
dCB0aGUgRFRCIGluIHgwLCBzbyB0aGlzIGltcGxpZXMgdGhlIERUQg0KPiBjYW4gYmUgZHluYW1p
Yy4NCj4NCg0KSSBkb24ndCB0aGluayB0aGUgZHRiIGFkZHJlc3MgY2FuIGJlIGR5bmFtaWMuICBU
aGUgICBfX2xpYmt2bXBsYXRfZW50cnkgaXMgYSAiQyIgZnVuY3Rpb24gYW5kIHRoZSAiX2R0YiIg
d2lsbCBiZSBpdHMgcGFyYW1ldGVyLg0KTWF5YmUgd2UgY2FuIHVzZSAiY29uc3QiIHRvIGJvbmQg
dGhlIHBhcmFtZXRlciBvZiBfX2xpYmt2bXBsYXRfZW50cnkuIERvZXMgdGhhdCBkbyB5b3VyIHRy
aWNrPw0KDQo+IEhvd2V2ZXIsIHRoaXMgbGluZSB3aWxsIGxvYWQgdGhlIERUQiBmcm9tIHRoZSBp
bWFnZS4gQ2FuIHlvdSBjbGFyaWZ5IHRoZQ0KPiBleHBlY3RlZCBiZWhhdmlvcj8NCg0KVGhpcyBs
b2FkIG9wcyBvbmx5IHBhc3MgdGhlIGR0YiBhZGRyZXNzIHRvIHRoZSBfX2xpYmt2bXBsYXRfZW50
cnkuICBBbmQgSSdtIG5vdCBzdXJlIHdoeSBpdCdzIG5vdCBjbGVhciBhYm91dCB0aGF0LiBDYW4g
eW91IGdpdmUgbW9yZSBpbmZvPw0KDQpUaGFua3MNCkppYW55b25nDQoNCj4NCj4gPiAgIGJsIGNs
ZWFuX2FuZF9pbnZhbGlkYXRlX2RjYWNoZV9yYW5nZQ0KPiA+DQo+ID4gICAvKiBEaXNhYmxlIHRo
ZSBNTVUgYW5kIEQtQ2FjaGUuICovDQo+ID4NCj4NCj4gQ2hlZXJzLA0KPg0KPiAtLQ0KPiBKdWxp
ZW4gR3JhbGwNCklNUE9SVEFOVCBOT1RJQ0U6IFRoZSBjb250ZW50cyBvZiB0aGlzIGVtYWlsIGFu
ZCBhbnkgYXR0YWNobWVudHMgYXJlIGNvbmZpZGVudGlhbCBhbmQgbWF5IGFsc28gYmUgcHJpdmls
ZWdlZC4gSWYgeW91IGFyZSBub3QgdGhlIGludGVuZGVkIHJlY2lwaWVudCwgcGxlYXNlIG5vdGlm
eSB0aGUgc2VuZGVyIGltbWVkaWF0ZWx5IGFuZCBkbyBub3QgZGlzY2xvc2UgdGhlIGNvbnRlbnRz
IHRvIGFueSBvdGhlciBwZXJzb24sIHVzZSBpdCBmb3IgYW55IHB1cnBvc2UsIG9yIHN0b3JlIG9y
IGNvcHkgdGhlIGluZm9ybWF0aW9uIGluIGFueSBtZWRpdW0uIFRoYW5rIHlvdS4NCg==


From minios-devel-bounces@lists.xenproject.org Mon Feb 01 17:24:07 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 01 Feb 2021 17:24:07 +0000
Received: from list by lists.xenproject.org with outflank-mailman.80036.146137 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l6cvj-00040b-B2; Mon, 01 Feb 2021 17:24:03 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 80036.146137; Mon, 01 Feb 2021 17:24:03 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l6cvj-00040T-89; Mon, 01 Feb 2021 17:24:03 +0000
Received: by outflank-mailman (input) for mailman id 80036;
 Mon, 01 Feb 2021 17:24:02 +0000
Received: from mail.xenproject.org ([104.130.215.37])
 by lists.xenproject.org with esmtp (Exim 4.92)
 (envelope-from <julien@xen.org>) id 1l6cvi-0003zO-8q
 for minios-devel@lists.xenproject.org; Mon, 01 Feb 2021 17:24:02 +0000
Received: from xenbits.xenproject.org ([104.239.192.120])
 by mail.xenproject.org with esmtp (Exim 4.92)
 (envelope-from <julien@xen.org>)
 id 1l6cvh-0007A7-Ie; Mon, 01 Feb 2021 17:24:01 +0000
Received: from 54-240-197-234.amazon.com ([54.240.197.234]
 helo=a483e7b01a66.ant.amazon.com)
 by xenbits.xenproject.org with esmtpsa
 (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92)
 (envelope-from <julien@xen.org>)
 id 1l6cvh-0002BM-DM; Mon, 01 Feb 2021 17:24:01 +0000
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org;
	s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:
	MIME-Version:Date:Message-ID:From:References:Cc:To:Subject;
	bh=3wzfJOo3hDPhAtwlleSOk8r1qd2RFeLix0JekWix4C8=; b=X2CHnDXMTt65s03q0e04uZhkgq
	U40tTYEpZesjUyl3GE7WpC8Mhod0yhxB2+7tSDIP1PZzstr+cDh90izVUeMgg8InF3z9QmjHhjYDD
	5GH2ixqqGdnYKN6RjEv04tHXC2PaGdsQaEHsAB4CKdpjfTj68qwMPwA8iRD5UUSU/t8Q=;
Subject: Re: [PATCH] arm/entry: set x0 before cache maintenance.
To: Jianyong Wu <Jianyong.Wu@arm.com>,
 "minios-devel@lists.xenproject.org" <minios-devel@lists.xenproject.org>,
 "sharan.santhanam@neclab.eu" <sharan.santhanam@neclab.eu>,
 "simon.kuenzer@neclab.eu" <simon.kuenzer@neclab.eu>
Cc: Justin He <Justin.He@arm.com>
References: <20210106032542.33036-1-jianyong.wu@arm.com>
 <fe217665-7d6d-5a40-ad6c-7c5cd22e4898@xen.org>
 <VE1PR08MB4766EC6839723DFD70E615EEF4B69@VE1PR08MB4766.eurprd08.prod.outlook.com>
From: Julien Grall <julien@xen.org>
Message-ID: <9737f19e-40d0-1c3a-140d-05dd53a7c997@xen.org>
Date: Mon, 1 Feb 2021 17:23:59 +0000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0)
 Gecko/20100101 Thunderbird/78.7.0
MIME-Version: 1.0
In-Reply-To: <VE1PR08MB4766EC6839723DFD70E615EEF4B69@VE1PR08MB4766.eurprd08.prod.outlook.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-GB
Content-Transfer-Encoding: 7bit



On 01/02/2021 15:09, Jianyong Wu wrote:
> Hi Julien,

Hi Jianyong,

> -----Original Message-----
>> From: Julien Grall <julien@xen.org>
>> Sent: Friday, January 29, 2021 9:50 PM
>> To: Jianyong Wu <Jianyong.Wu@arm.com>; minios-
>> devel@lists.xenproject.org; sharan.santhanam@neclab.eu;
>> simon.kuenzer@neclab.eu
>> Cc: Justin He <Justin.He@arm.com>
>> Subject: Re: [PATCH] arm/entry: set x0 before cache maintenance.
>>
>> Hi,
>>
>> On 06/01/2021 03:25, Jianyong Wu wrote:
>>> There is a long standing issue in entry code of arm that x0 is not set
>>> before using it in clean_and_invalidate_dcache_range. This error can
>>> be caught by kvm and result in core dump.
>>> Here, x0 is set to the base address of dtb before cache maintain.
>>> Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
>>> ---
>>>    plat/kvm/arm/entry64.S | 6 ++++++
>>>    1 file changed, 6 insertions(+)
>>>
>>> diff --git a/plat/kvm/arm/entry64.S b/plat/kvm/arm/entry64.S index
>>> c4de334..0526ae8 100644
>>> --- a/plat/kvm/arm/entry64.S
>>> +++ b/plat/kvm/arm/entry64.S
>>> @@ -92,6 +92,12 @@ ENTRY(_libkvmplat_entry)
>>>    add x27, x26, x17
>>>    add x27, x27, #__STACK_SIZE
>>>    sub x1, x27, x25
>>> +
>>> +/*
>>> + * set x0 to the location stores dtb as the base address of the
>>> + * memory range to be cache maintained
>>> + */
>>
>> There is already a few lines above explaining what the clean is meant to do. I
>> think it would be best to modify this comment (if you need to) rather than
>> adding a new comment.
>>
> Ok, I can move this comment up.
> 
>> It would also make sense to introduce a new symbol (maybe start_binary) to
>> avoid relying on _dtb to always be first.
>>
> Sounds good, but I'm not sure how to do that. As _dtb is assigned in link script, where should we assigned the new symbol? In the entry.S or in the link script?

I meant introducing a new symbol in the link script.

> 
>>> +ldr x0, =_dtb
>>
>> Unrelated to this patch, I am a bit confused with the code. The comment on
>> top of __libkvmplat_entry suggests that the DTB in x0, so this implies the DTB
>> can be dynamic.
>>
> 
> I don't think the dtb address can be dynamic. The   __libkvmplat_entry is a "C" function and the "_dtb" will be its parameter.
> Maybe we can use "const" to bond the parameter of __libkvmplat_entry. Does that do your trick?

I couldn't find the caller to _libkvmplat_entry. Would you mind to give 
a pointer to the code calling it?

> 
>> However, this line will load the DTB from the image. Can you clarify the
>> expected behavior?
> 
> This load ops only pass the dtb address to the __libkvmplat_entry.  And I'm not sure why it's not clear about that. Can you give more info?

On a Linux setup, the device-tree is most of the time not embedded in 
the kernel. Instead, it is provided by the firmware (or possibly the 
toolstack in a virtualized environment).

In those setup, the device tree physical address will be provided in x0.

_libkvmplat_entry has the following comment on top:

/*
  * The registers used by _libkvmplat_start:
  * x0 - FDT pointer
  */

So I thought you were following the same behavior as Linux. But from 
what you wrote, the DTB will instead be embeded in Unikraft. Is that 
correct?

Cheers,

-- 
Julien Grall


From minios-devel-bounces@lists.xenproject.org Mon Feb 01 18:31:37 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 01 Feb 2021 18:31:37 +0000
Received: from list by lists.xenproject.org with outflank-mailman.80090.146207 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l6dz4-000300-Gi; Mon, 01 Feb 2021 18:31:34 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 80090.146207; Mon, 01 Feb 2021 18:31:34 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l6dz4-0002zt-DS; Mon, 01 Feb 2021 18:31:34 +0000
Received: by outflank-mailman (input) for mailman id 80090;
 Mon, 01 Feb 2021 18:31:32 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=uq0D=HD=neclab.eu=sharan.santhanam@srs-us1.protection.inumbo.net>)
 id 1l6dz2-0002zo-Qv
 for minios-devel@lists.xen.org; Mon, 01 Feb 2021 18:31:32 +0000
Received: from mailer1.neclab.eu (unknown [195.37.70.40])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id aedaa3e0-a775-4c9f-91a6-deb87d411496;
 Mon, 01 Feb 2021 18:31:30 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer1.neclab.eu (Postfix) with ESMTP id F0D4910419E;
 Mon,  1 Feb 2021 19:31:28 +0100 (CET)
Received: from mailer1.neclab.eu ([127.0.0.1])
 by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id E79FgeoZW9tL; Mon,  1 Feb 2021 19:31:28 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer1.neclab.eu (Postfix) with ESMTPS id 9AC07103B72;
 Mon,  1 Feb 2021 19:31:28 +0100 (CET)
Received: from [10.7.1.9] (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 1 Feb 2021
 19:31:27 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: aedaa3e0-a775-4c9f-91a6-deb87d411496
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-a.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
Subject: Re: [UNIKRAFT PATCH v4 2/3] support/build: Add build functions for
 clang and gcc check
To: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>, Vlad-Andrei Badoiu
	<vlad_andrei.badoiu@upb.ro>
CC: <minios-devel@lists.xen.org>, Alice Suiu <alicesuiu17@gmail.com>
References: <20210131103234.32867-1-vlad_andrei.badoiu@upb.ro>
 <20210131103234.32867-3-vlad_andrei.badoiu@upb.ro>
 <86h7mwlm6x.fsf@drone.cs.pub.ro>
From: Sharan Santhanam <sharan.santhanam@neclab.eu>
Message-ID: <d5cc2471-5e17-b953-346f-24d803963ac2@neclab.eu>
Date: Tue, 2 Feb 2021 00:01:23 +0530
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <86h7mwlm6x.fsf@drone.cs.pub.ro>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: puck.office.hd (192.168.24.91) To puck.office.hd
 (192.168.24.91)

Hello Vlad,

Thanks for the work. Please find the comment inline.

Thanks & Regards

Sharan

On 2/1/21 4:59 AM, Razvan Deaconescu wrote:
> All good.
>
> Razvan
>
> Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro> writes:
>> We add have_gcc and have_clang. We modify gcc_version_ge to
>> use have_gcc.
>>
>> Signed-off-by: Alice Suiu <alicesuiu17@gmail.com>
>> Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
>> Reviewed-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
>> ---
>>   support/build/Makefile.rules | 12 +++++++++++-
>>   1 file changed, 11 insertions(+), 1 deletion(-)
>>
>> diff --git a/support/build/Makefile.rules b/support/build/Makefile.rules
>> index 2a8a294..c201bc4 100644
>> --- a/support/build/Makefile.rules
>> +++ b/support/build/Makefile.rules
>> @@ -29,10 +29,20 @@ lc = $(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f,$(s
>>   # upper case
>>   uc = $(subst a,A,$(subst b,B,$(subst c,C,$(subst d,D,$(subst
>> e,E,$(subst f,F,$(subst g,G,$(subst h,H,$(subst i,I,$(subst
>> j,J,$(subst k,K,$(subst l,L,$(subst m,M,$(subst n,N,$(subst
>> o,O,$(subst p,P,$(subst q,Q,$(subst r,R,$(subst s,S,$(subst
>> t,T,$(subst u,U,$(subst v,V,$(subst w,W,$(subst x,X,$(subst
>> y,Y,$(subst z,Z,$(1)))))))))))))))))))))))))))
>>   
>> +# test if GCC is set as a compiler
>> +define have_gcc =
>> +$(shell if [ $(CC) = gcc ] ; then echo y ; else echo n ; fi)

shouldn't this check also for check for $(CONFIG_CROSSCOMPILE)gcc, 
wouldn't it return false when cross-compiling with gcc?

We can fix it within make using the this syntax instead of calling shell:

$(if $(filter %gcc,$(CC)),y,n)

>> +endef
>> +
>> +# test if CLANG is set as a compiler
>> +define have_clang =
>> +$(shell if [ $(CC) = clang ] ; then echo y ; else echo n ; fi)
>> +endef
>> +
>>   # test whether GCC version is greater than or equal to the minimum requirement
>>   # gcc_version_ge $gcc_major,$gcc_minor
>>   define gcc_version_ge =
>> -$(shell if [ $(CC_VER_MAJOR) -gt $(1) ] || ([ $(CC_VER_MAJOR) -eq $(1) ] && [ $(CC_VER_MINOR) -ge $(2) ]) ; then echo y ; fi)
>> +$(shell if [ $(call have_gcc) = y ] ; then if [ $(CC_VER_MAJOR) -gt $(1) ] || ([ $(CC_VER_MAJOR) -eq $(1) ] && [ $(CC_VER_MINOR) -ge $(2) ]) ; then echo y ; fi ; else echo n ; fi)
>>   endef
You are changing the behavior of this definition. The definition is 
expected to return y or empty string. If you `echo n` here, the caller 
has to checked explicitly check if the value returned is y. Typically 
only not empty string check would be performed. So if you echo n it will 
result if clause evaluating true on both account.
>>   
>>   # print error and stop build when GCC version doesn't meet the minimum requirement


From minios-devel-bounces@lists.xenproject.org Tue Feb 02 02:51:25 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 02 Feb 2021 02:51:25 +0000
Received: from list by lists.xenproject.org with outflank-mailman.80300.146796 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l6lmk-00063E-HU; Tue, 02 Feb 2021 02:51:22 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 80300.146796; Tue, 02 Feb 2021 02:51:22 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l6lmk-000637-ER; Tue, 02 Feb 2021 02:51:22 +0000
Received: by outflank-mailman (input) for mailman id 80300;
 Tue, 02 Feb 2021 02:51:21 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=wcHp=HE=arm.com=jianyong.wu@srs-us1.protection.inumbo.net>)
 id 1l6lmj-000632-3U
 for minios-devel@lists.xenproject.org; Tue, 02 Feb 2021 02:51:21 +0000
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (unknown
 [2a01:111:f400:7d00::616])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 4293f5fa-6872-408d-91f0-d28340368342;
 Tue, 02 Feb 2021 02:51:17 +0000 (UTC)
Received: from MR2P264CA0119.FRAP264.PROD.OUTLOOK.COM (2603:10a6:500:33::35)
 by DBBPR08MB5979.eurprd08.prod.outlook.com (2603:10a6:10:205::24) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.19; Tue, 2 Feb
 2021 02:51:14 +0000
Received: from VE1EUR03FT055.eop-EUR03.prod.protection.outlook.com
 (2603:10a6:500:33:cafe::4a) by MR2P264CA0119.outlook.office365.com
 (2603:10a6:500:33::35) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.22 via Frontend
 Transport; Tue, 2 Feb 2021 02:51:14 +0000
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by
 VE1EUR03FT055.mail.protection.outlook.com (10.152.19.158) with
 Microsoft SMTP
 Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.3784.11 via Frontend Transport; Tue, 2 Feb 2021 02:51:13 +0000
Received: ("Tessian outbound 28c96a6c9d2e:v71");
 Tue, 02 Feb 2021 02:51:13 +0000
Received: from 0944da0fbb0d.2
 by 64aa7808-outbound-1.mta.getcheckrecipient.com id
 00187211-70E3-4526-B723-8C73C43C5D84.1; 
 Tue, 02 Feb 2021 02:51:08 +0000
Received: from EUR02-HE1-obe.outbound.protection.outlook.com
 by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 0944da0fbb0d.2
 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384);
 Tue, 02 Feb 2021 02:51:08 +0000
Received: from VE1PR08MB4766.eurprd08.prod.outlook.com (2603:10a6:802:a9::18)
 by VE1PR08MB5709.eurprd08.prod.outlook.com (2603:10a6:800:1a7::8)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.22; Tue, 2 Feb
 2021 02:51:06 +0000
Received: from VE1PR08MB4766.eurprd08.prod.outlook.com
 ([fe80::11f1:cc3d:cb34:b3f1]) by VE1PR08MB4766.eurprd08.prod.outlook.com
 ([fe80::11f1:cc3d:cb34:b3f1%4]) with mapi id 15.20.3805.025; Tue, 2 Feb 2021
 02:51:06 +0000
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 4293f5fa-6872-408d-91f0-d28340368342
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com;
 s=selector2-armh-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=veWNFt5YXRm13OgDrw/AJ6tLSeobA9C+8zUoHtjTYB8=;
 b=nu2wkqUrsdMWYaoaRlLW60yUC4x42u0pV8pSuRjBs8rPvj3l4QFZl0oeRDa9WwQOX7hfGuHjEaR6zwzoI4xJLlwnh8ZON+5YeG+RsGpolqkM0NnEhx/fY3kbX7kKsamx8nPUHYDwYO84wN1MnjB3+6wOGVwSzV9h/dPm4fDlKo0=
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123)
 smtp.mailfrom=arm.com; lists.xenproject.org; dkim=pass (signature was
 verified) header.d=armh.onmicrosoft.com;lists.xenproject.org; dmarc=pass
 action=none header.from=arm.com;
Received-SPF: Pass (protection.outlook.com: domain of arm.com designates
 63.35.35.123 as permitted sender) receiver=protection.outlook.com;
 client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com;
X-CR-MTA-TID: 64aa7808
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=m/T8vnatzuAdGuRwJUMtDmdlA9y8E9E2bdA0MUG12hri9fzRdyt/q1WSPT4uGWzTmDsBWUSQ4NEYdNZ4iuU/9OWBlAYgkSA6jXIFgAD/LI6sZkSo5yR4P1DRy5+exIw1RglJLKT2/R99k85JWL0wd5gs+Vc21V+4CUv7ndlLFuWr0/ADNosc3vFg/7ejY9gSF13SpgsuU4U5eCgtOgObsN69ezgNr4qDw8m/rm7wZonWHcee/yUOmusMHqofGIliUKvNFxt18O2sburImL7ymMm7h4fze37C0XXm07S1n8n9XyP8ObTRYKZp06wx8ctLqiGpLjSrFOPGOVrw6KlRHA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=veWNFt5YXRm13OgDrw/AJ6tLSeobA9C+8zUoHtjTYB8=;
 b=PMrTU16LEpmYFHX2yC/mWQZuw/dsShM4ClmOvhwBXvLfX6Wcy0O14nnaRofZuIHUkx/Ej9sEqsaYMNRiWCEfVx/+qVeGKGz+QD1bCYG1e7/VJ2STQTF0973tR4LUNQ5IthbtA6OA5/9KZOLMVl84hV+XfODA0lLMtPXyk2lPGpvjQmZnDqDqerhvAou0t6CYV4ogybR3t2D/hSf+F9ziocqWchrwz8OMQX5M6h/P98it9Ylx7jH/cjVtOyscpi5jZL2G6JgVwI01bjPWX1x6sIjN1BSEqEmjpsPNranwKnyU0BqhE/3C6zSVMj2aswbbyGeua+QrGB+X586NrZ7BeQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass
 header.d=arm.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com;
 s=selector2-armh-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=veWNFt5YXRm13OgDrw/AJ6tLSeobA9C+8zUoHtjTYB8=;
 b=nu2wkqUrsdMWYaoaRlLW60yUC4x42u0pV8pSuRjBs8rPvj3l4QFZl0oeRDa9WwQOX7hfGuHjEaR6zwzoI4xJLlwnh8ZON+5YeG+RsGpolqkM0NnEhx/fY3kbX7kKsamx8nPUHYDwYO84wN1MnjB3+6wOGVwSzV9h/dPm4fDlKo0=
From: Jianyong Wu <Jianyong.Wu@arm.com>
To: Julien Grall <julien@xen.org>, "minios-devel@lists.xenproject.org"
	<minios-devel@lists.xenproject.org>, "sharan.santhanam@neclab.eu"
	<sharan.santhanam@neclab.eu>, "simon.kuenzer@neclab.eu"
	<simon.kuenzer@neclab.eu>
CC: Justin He <Justin.He@arm.com>
Subject: RE: [PATCH] arm/entry: set x0 before cache maintenance.
Thread-Topic: [PATCH] arm/entry: set x0 before cache maintenance.
Thread-Index: AQHW49uzRHrqnSIcfk6pAPiz35T026o+w3YAgAR4HHCAAHrEgIAAllYw
Date: Tue, 2 Feb 2021 02:51:05 +0000
Message-ID:
 <VE1PR08MB476699D6838011FD29F759C6F4B59@VE1PR08MB4766.eurprd08.prod.outlook.com>
References: <20210106032542.33036-1-jianyong.wu@arm.com>
 <fe217665-7d6d-5a40-ad6c-7c5cd22e4898@xen.org>
 <VE1PR08MB4766EC6839723DFD70E615EEF4B69@VE1PR08MB4766.eurprd08.prod.outlook.com>
 <9737f19e-40d0-1c3a-140d-05dd53a7c997@xen.org>
In-Reply-To: <9737f19e-40d0-1c3a-140d-05dd53a7c997@xen.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ts-tracking-id: DDE0DFBECF060448A85701FB5D6E45BC.0
x-checkrecipientchecked: true
Authentication-Results-Original: xen.org; dkim=none (message not signed)
 header.d=none;xen.org; dmarc=none action=none header.from=arm.com;
x-originating-ip: [203.126.0.113]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-HT: Tenant
X-MS-Office365-Filtering-Correlation-Id: d0e2a1d0-8922-444c-fb33-08d8c7256794
x-ms-traffictypediagnostic: VE1PR08MB5709:|DBBPR08MB5979:
x-ms-exchange-transport-forked: True
X-Microsoft-Antispam-PRVS:
	<DBBPR08MB5979B6676DDAEDB3DAAA2B6FF4B59@DBBPR08MB5979.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
nodisclaimer: true
x-ms-oob-tlc-oobclassifiers: OLM:9508;OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original:
 /Vya8RZmhQz0w+jXRzHgB2GKzHmX1a5jRvImEpbwLbIIWUBLI75xrvv+k0893/DGcghQwot288+F9eF1m02nokKuD7QJjxzauFtw3Dgu4wnHg5tCLr1n9ac6k0T9Oj0jXtCZzyqywjPlGoKkeqivst29gMpjd7Owp8fj2V7eOSNjzcZrRjkXql6P2Cs+9pSJ2MhCVRLJa2GqSTV1aI1B9VkFK4RgPJgduAlQzKvyr6Dw554wIvlvF0uBYqpnqD292LCfrv6scWj+kCv1uXuy2edto0xeRLuDzVvYzf3YZVGz1nxjZfkg46e5885f2EisyMw2Ur8p4juUKoUQnJw19Sin5//cAO7pDxXork394tgH1eUyRl7tAHaIkt/iB+I7at+ZuYtY3yUio8WvUW/DhP6ru/8h2ASB0EnVJuAzg4nqPenslv8RQFgFhbornWQVfz0A+zMRU+oKk0oD8IUiOCoTaaFw9HIsWNc1GZyn1XYnHYgM+BAVCYfeO0fdFkb4V8HjWW1Xr95j28DOyWjmQA==
X-Forefront-Antispam-Report-Untrusted:
 CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VE1PR08MB4766.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(346002)(39850400004)(366004)(376002)(136003)(396003)(26005)(186003)(55016002)(9686003)(52536014)(316002)(2906002)(6506007)(33656002)(83380400001)(110136005)(4326008)(71200400001)(66446008)(76116006)(66476007)(66556008)(5660300002)(8936002)(64756008)(66946007)(478600001)(7696005)(53546011)(8676002)(86362001);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata:
 =?utf-8?B?U1VTd1ZOQi9DSjd6RVdRTVM2MHVXMlFabEJOdE9DbHNiVW1yMzNlczJITVIr?=
 =?utf-8?B?M2Q0cXVFbW5HRzBxaXdaTGJLVE5rbnp5djRMWDhIaWY3bWhZYytWTE9ORGJG?=
 =?utf-8?B?VVFBMUI3cmdoMzZiK1VSTHRIdFFnNkl0ekdrL21BSERGb3JMc011OHBDcHJ1?=
 =?utf-8?B?VmJMSVExaHhLV0d6VVNuRDlvaEYwWEVaaENNcEpHYy9OQ2NseXBnZms0U3Bo?=
 =?utf-8?B?WG5iaURTbVNnVkNzRTluYmlEK3BIQ2JqbXRZTVdVRy9ZaEtqSzFDNHVNZWx4?=
 =?utf-8?B?N21hSXhNQ0p5SEZyRW1iV09hMVR3R0xhM0FsMDZRMXNUeE1Wb2Y5ZTJLTTdR?=
 =?utf-8?B?a1Q3akZRYjI4TzBDK3JQaUdhR0M2T09WaE1IK1EyVkpGby9XakxjNlM2K3F0?=
 =?utf-8?B?WW9sUk5sYWtZTjNSd0dGeVkrVkdmUE5Bc1pQcUJBT1JjSXNkbkpSajFLRy9h?=
 =?utf-8?B?VE8yczEyYWV3eEV1K2twVk51OE92NGc2Y1g1TVpDWFZkanpYeGt4bkxNZ1pC?=
 =?utf-8?B?TGJzVndaWmxGVU1qNTd2VlFPSXpuY3JNR0NLNENkaGFaSU56ampTR0ZPWlg0?=
 =?utf-8?B?a3FSUUV4NXp5TlV1SlpFelRKM0pySTVPbGtaWWordmEvVWlocE9yQ2lzV1hl?=
 =?utf-8?B?eHlvUmUzeEI5dmEwVjFKbHNIUzJxaGphbG5xcUFIKy9IVzVHMTNvMjRuaERt?=
 =?utf-8?B?YUxtaTlDV25uZ0RHYnRpRnFVeEYxUGdzSHFBQWZHTk9oeUVYRCtITWgxNHgz?=
 =?utf-8?B?NFU2dm8xR0FXKy90bkJROXVqSDhxaVJYbWh2T1N3RWFtWFNrZDV5NnVFYlI0?=
 =?utf-8?B?RUUwck44aHh0VmRvZ2hNZUMzbGNHWDJsdXhyNDloNWpyNXJBVk5LSytramhh?=
 =?utf-8?B?cjQvb0g4bFFoYmZaMEUzVjRiTjdWTzZYVG1RVG1hbnZmczJtTm5sNjJZSTRs?=
 =?utf-8?B?TWcvdmVMMjJlamJhR0s3ZDFvWC9WU25seEs4UG1uOFovbERpVDYvUVp3STFT?=
 =?utf-8?B?Nkxlbm1ZWDFzVXFDcnhvNlh2SXpCYU9RZ0NWZWJGZXBVT2RCN1FrNUV3MXlX?=
 =?utf-8?B?TTlHM1NNM2VkOGdMcnNzYVg2YVhmVHNxamtucWJvb0NkZGtDenE5R2J5Qnhh?=
 =?utf-8?B?QnN2MWFwVnIwZXVXSGZWNmZka2N5SEg0WWhMdiszRThFVjBDWC9obVlqMGlZ?=
 =?utf-8?B?M1V2TkszTGN1aldXc1pXT1ZRYWpxTStpU3JTVDlpdnZIc0hNc3doeWpVbVYr?=
 =?utf-8?B?ZXU0Z216dkpsNFBhdU5PMjJhWDEyK0NpVVZSZWp2UmkxS1NNa1Y2MTArL0NQ?=
 =?utf-8?B?eFRDaDVkdGJvNVYrK2NobXJMZ1lJVEdEQVZHMHlLVVdHWDczcVZBb3JBU1l5?=
 =?utf-8?B?SkN1elRpTFllUGxOWjJwOUtyaTNpcGVCaFhTaGkrM2RpeFZTeElDZjFXNjBL?=
 =?utf-8?Q?AJr5ssGC?=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5709
Original-Authentication-Results: xen.org; dkim=none (message not signed)
 header.d=none;xen.org; dmarc=none action=none header.from=arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped:
 VE1EUR03FT055.eop-EUR03.prod.protection.outlook.com
X-MS-Office365-Filtering-Correlation-Id-Prvs:
	5e15293c-ef2c-4293-1e2c-08d8c725630c
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info:
	dMHDKXIcxz2tpi/uZrpgKBYLAX4t6Qmx3hSkPTnwq2/rfT3KToJu23yaKeBiDi2MiVWxVuJq5wNQ8P777V3hjGlE3YQJjo9QOojRep3xv/aOdZRpyb3DqhB+Nw4KP9O40nH5RuGTprm6fogeiYAEHZdOYrGppjo3kpcrRw9gKrT7iKCE0acG7OC1qbc9R0fvdIA1cWaJlqCSh6ygd0a8bgxTExyHA+1GKnI68Y6SHcJc4le/pcAcZY45FkLWMOSZNPW4O3VmMirbCiMcr6tGIgLSuHTC3Ha7Nn0bhb+S7G4U0JVpJiTM7KySVpNEFZSLxNU1Q0TrI3lVibYDRaC7uEnRuikFluJQaZ8MXM5yKtWjEV1b7T1DUnqgAU68yVQqXGQQdiK06wnJ4qXq5QTsxHcQozTwPSrgOA6+NPiyExyks2G37KO1Xxx0YXIeWLzbNI/TJlRQ6pi1NQwnVGjGq/DY+Wt2S/8w0m8+kdnwwGyU2JvZ7UVwGvqn1QXZY78rCQIugeeKYVQFTpn/wYri341vqsrY1FDde8aXeKrI8k8dww6W2hQonzYe1QeJjRezRkMKW9mp9Y/7Y1A60hhp/gym2rbX9+pIPjNeWRm0APx4F70bn3VYgs+9ReF+gqrI5tKY8amEs0u6JdZVZ/BVaqaMrshcpU9YbbczOIs97zI=
X-Forefront-Antispam-Report:
	CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(346002)(39850400004)(396003)(376002)(136003)(36840700001)(46966006)(186003)(82310400003)(336012)(7696005)(6506007)(86362001)(8936002)(26005)(83380400001)(8676002)(47076005)(70586007)(52536014)(5660300002)(53546011)(2906002)(70206006)(82740400003)(478600001)(4326008)(81166007)(316002)(356005)(33656002)(9686003)(55016002)(36860700001)(110136005);DIR:OUT;SFP:1101;
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2021 02:51:13.6560
 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: d0e2a1d0-8922-444c-fb33-08d8c7256794
X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com]
X-MS-Exchange-CrossTenant-AuthSource:
	VE1EUR03FT055.eop-EUR03.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB5979

SGkgSnVsaWVuLA0KDQo+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206IEp1bGll
biBHcmFsbCA8anVsaWVuQHhlbi5vcmc+DQo+IFNlbnQ6IFR1ZXNkYXksIEZlYnJ1YXJ5IDIsIDIw
MjEgMToyNCBBTQ0KPiBUbzogSmlhbnlvbmcgV3UgPEppYW55b25nLld1QGFybS5jb20+OyBtaW5p
b3MtDQo+IGRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnOyBzaGFyYW4uc2FudGhhbmFtQG5lY2xh
Yi5ldTsNCj4gc2ltb24ua3VlbnplckBuZWNsYWIuZXUNCj4gQ2M6IEp1c3RpbiBIZSA8SnVzdGlu
LkhlQGFybS5jb20+DQo+IFN1YmplY3Q6IFJlOiBbUEFUQ0hdIGFybS9lbnRyeTogc2V0IHgwIGJl
Zm9yZSBjYWNoZSBtYWludGVuYW5jZS4NCj4NCj4NCj4NCj4gT24gMDEvMDIvMjAyMSAxNTowOSwg
SmlhbnlvbmcgV3Ugd3JvdGU6DQo+ID4gSGkgSnVsaWVuLA0KPg0KPiBIaSBKaWFueW9uZywNCj4N
Cj4gPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiA+PiBGcm9tOiBKdWxpZW4gR3JhbGwg
PGp1bGllbkB4ZW4ub3JnPg0KPiA+PiBTZW50OiBGcmlkYXksIEphbnVhcnkgMjksIDIwMjEgOTo1
MCBQTQ0KPiA+PiBUbzogSmlhbnlvbmcgV3UgPEppYW55b25nLld1QGFybS5jb20+OyBtaW5pb3Mt
DQo+ID4+IGRldmVsQGxpc3RzLnhlbnByb2plY3Qub3JnOyBzaGFyYW4uc2FudGhhbmFtQG5lY2xh
Yi5ldTsNCj4gPj4gc2ltb24ua3VlbnplckBuZWNsYWIuZXUNCj4gPj4gQ2M6IEp1c3RpbiBIZSA8
SnVzdGluLkhlQGFybS5jb20+DQo+ID4+IFN1YmplY3Q6IFJlOiBbUEFUQ0hdIGFybS9lbnRyeTog
c2V0IHgwIGJlZm9yZSBjYWNoZSBtYWludGVuYW5jZS4NCj4gPj4NCj4gPj4gSGksDQo+ID4+DQo+
ID4+IE9uIDA2LzAxLzIwMjEgMDM6MjUsIEppYW55b25nIFd1IHdyb3RlOg0KPiA+Pj4gVGhlcmUg
aXMgYSBsb25nIHN0YW5kaW5nIGlzc3VlIGluIGVudHJ5IGNvZGUgb2YgYXJtIHRoYXQgeDAgaXMg
bm90DQo+ID4+PiBzZXQgYmVmb3JlIHVzaW5nIGl0IGluIGNsZWFuX2FuZF9pbnZhbGlkYXRlX2Rj
YWNoZV9yYW5nZS4gVGhpcyBlcnJvcg0KPiA+Pj4gY2FuIGJlIGNhdWdodCBieSBrdm0gYW5kIHJl
c3VsdCBpbiBjb3JlIGR1bXAuDQo+ID4+PiBIZXJlLCB4MCBpcyBzZXQgdG8gdGhlIGJhc2UgYWRk
cmVzcyBvZiBkdGIgYmVmb3JlIGNhY2hlIG1haW50YWluLg0KPiA+Pj4gU2lnbmVkLW9mZi1ieTog
SmlhbnlvbmcgV3UgPGppYW55b25nLnd1QGFybS5jb20+DQo+ID4+PiAtLS0NCj4gPj4+ICAgIHBs
YXQva3ZtL2FybS9lbnRyeTY0LlMgfCA2ICsrKysrKw0KPiA+Pj4gICAgMSBmaWxlIGNoYW5nZWQs
IDYgaW5zZXJ0aW9ucygrKQ0KPiA+Pj4NCj4gPj4+IGRpZmYgLS1naXQgYS9wbGF0L2t2bS9hcm0v
ZW50cnk2NC5TIGIvcGxhdC9rdm0vYXJtL2VudHJ5NjQuUyBpbmRleA0KPiA+Pj4gYzRkZTMzNC4u
MDUyNmFlOCAxMDA2NDQNCj4gPj4+IC0tLSBhL3BsYXQva3ZtL2FybS9lbnRyeTY0LlMNCj4gPj4+
ICsrKyBiL3BsYXQva3ZtL2FybS9lbnRyeTY0LlMNCj4gPj4+IEBAIC05Miw2ICs5MiwxMiBAQCBF
TlRSWShfbGlia3ZtcGxhdF9lbnRyeSkNCj4gPj4+ICAgIGFkZCB4MjcsIHgyNiwgeDE3DQo+ID4+
PiAgICBhZGQgeDI3LCB4MjcsICNfX1NUQUNLX1NJWkUNCj4gPj4+ICAgIHN1YiB4MSwgeDI3LCB4
MjUNCj4gPj4+ICsNCj4gPj4+ICsvKg0KPiA+Pj4gKyAqIHNldCB4MCB0byB0aGUgbG9jYXRpb24g
c3RvcmVzIGR0YiBhcyB0aGUgYmFzZSBhZGRyZXNzIG9mIHRoZQ0KPiA+Pj4gKyAqIG1lbW9yeSBy
YW5nZSB0byBiZSBjYWNoZSBtYWludGFpbmVkICAqLw0KPiA+Pg0KPiA+PiBUaGVyZSBpcyBhbHJl
YWR5IGEgZmV3IGxpbmVzIGFib3ZlIGV4cGxhaW5pbmcgd2hhdCB0aGUgY2xlYW4gaXMgbWVhbnQN
Cj4gPj4gdG8gZG8uIEkgdGhpbmsgaXQgd291bGQgYmUgYmVzdCB0byBtb2RpZnkgdGhpcyBjb21t
ZW50IChpZiB5b3UgbmVlZA0KPiA+PiB0bykgcmF0aGVyIHRoYW4gYWRkaW5nIGEgbmV3IGNvbW1l
bnQuDQo+ID4+DQo+ID4gT2ssIEkgY2FuIG1vdmUgdGhpcyBjb21tZW50IHVwLg0KPiA+DQo+ID4+
IEl0IHdvdWxkIGFsc28gbWFrZSBzZW5zZSB0byBpbnRyb2R1Y2UgYSBuZXcgc3ltYm9sIChtYXli
ZQ0KPiA+PiBzdGFydF9iaW5hcnkpIHRvIGF2b2lkIHJlbHlpbmcgb24gX2R0YiB0byBhbHdheXMg
YmUgZmlyc3QuDQo+ID4+DQo+ID4gU291bmRzIGdvb2QsIGJ1dCBJJ20gbm90IHN1cmUgaG93IHRv
IGRvIHRoYXQuIEFzIF9kdGIgaXMgYXNzaWduZWQgaW4gbGluaw0KPiBzY3JpcHQsIHdoZXJlIHNo
b3VsZCB3ZSBhc3NpZ25lZCB0aGUgbmV3IHN5bWJvbD8gSW4gdGhlIGVudHJ5LlMgb3IgaW4gdGhl
DQo+IGxpbmsgc2NyaXB0Pw0KPg0KPiBJIG1lYW50IGludHJvZHVjaW5nIGEgbmV3IHN5bWJvbCBp
biB0aGUgbGluayBzY3JpcHQuDQo+DQpPaywgSSB3aWxsIHNlbmQgYW5vdGhlciBwYXRjaCB0byBm
aXggaXQuDQoNCj4gPg0KPiA+Pj4gK2xkciB4MCwgPV9kdGINCj4gPj4NCj4gPj4gVW5yZWxhdGVk
IHRvIHRoaXMgcGF0Y2gsIEkgYW0gYSBiaXQgY29uZnVzZWQgd2l0aCB0aGUgY29kZS4gVGhlDQo+
ID4+IGNvbW1lbnQgb24gdG9wIG9mIF9fbGlia3ZtcGxhdF9lbnRyeSBzdWdnZXN0cyB0aGF0IHRo
ZSBEVEIgaW4geDAsIHNvDQo+ID4+IHRoaXMgaW1wbGllcyB0aGUgRFRCIGNhbiBiZSBkeW5hbWlj
Lg0KPiA+Pg0KPiA+DQo+ID4gSSBkb24ndCB0aGluayB0aGUgZHRiIGFkZHJlc3MgY2FuIGJlIGR5
bmFtaWMuIFRoZSAgIF9fbGlia3ZtcGxhdF9lbnRyeSBpcyBhDQo+ICJDIiBmdW5jdGlvbiBhbmQg
dGhlICJfZHRiIiB3aWxsIGJlIGl0cyBwYXJhbWV0ZXIuDQo+ID4gTWF5YmUgd2UgY2FuIHVzZSAi
Y29uc3QiIHRvIGJvbmQgdGhlIHBhcmFtZXRlciBvZiBfX2xpYmt2bXBsYXRfZW50cnkuDQo+IERv
ZXMgdGhhdCBkbyB5b3VyIHRyaWNrPw0KPg0KPiBJIGNvdWxkbid0IGZpbmQgdGhlIGNhbGxlciB0
byBfbGlia3ZtcGxhdF9lbnRyeS4gV291bGQgeW91IG1pbmQgdG8gZ2l2ZSBhDQo+IHBvaW50ZXIg
dG8gdGhlIGNvZGUgY2FsbGluZyBpdD8NCj4NCg0KU29ycnkgdG8gaGF2ZSBtaXN0YWtlbiBfbGli
a3ZtcGxhdF9lbnRyeSB0byBfbGlia3ZtcGxhdF9zdGFydC4gVGhlIF9saWJrdm1wbGF0X3N0YXJ0
IGlzIGEgIkMiIGZ1bmN0aW9uLCBhbmQgX2xpYmt2bXBsYXRfZW50cnkgaXMgZW50cnkgY29kZSB3
aXRoIG5vIGNhbGxlci4NCg0KPiA+DQo+ID4+IEhvd2V2ZXIsIHRoaXMgbGluZSB3aWxsIGxvYWQg
dGhlIERUQiBmcm9tIHRoZSBpbWFnZS4gQ2FuIHlvdSBjbGFyaWZ5DQo+ID4+IHRoZSBleHBlY3Rl
ZCBiZWhhdmlvcj8NCj4gPg0KPiA+IFRoaXMgbG9hZCBvcHMgb25seSBwYXNzIHRoZSBkdGIgYWRk
cmVzcyB0byB0aGUgX19saWJrdm1wbGF0X2VudHJ5LiAgQW5kIEknbQ0KPiBub3Qgc3VyZSB3aHkg
aXQncyBub3QgY2xlYXIgYWJvdXQgdGhhdC4gQ2FuIHlvdSBnaXZlIG1vcmUgaW5mbz8NCj4NCj4g
T24gYSBMaW51eCBzZXR1cCwgdGhlIGRldmljZS10cmVlIGlzIG1vc3Qgb2YgdGhlIHRpbWUgbm90
IGVtYmVkZGVkIGluIHRoZQ0KPiBrZXJuZWwuIEluc3RlYWQsIGl0IGlzIHByb3ZpZGVkIGJ5IHRo
ZSBmaXJtd2FyZSAob3IgcG9zc2libHkgdGhlIHRvb2xzdGFjayBpbiBhDQo+IHZpcnR1YWxpemVk
IGVudmlyb25tZW50KS4NCj4NCj4gSW4gdGhvc2Ugc2V0dXAsIHRoZSBkZXZpY2UgdHJlZSBwaHlz
aWNhbCBhZGRyZXNzIHdpbGwgYmUgcHJvdmlkZWQgaW4geDAuDQo+DQo+IF9saWJrdm1wbGF0X2Vu
dHJ5IGhhcyB0aGUgZm9sbG93aW5nIGNvbW1lbnQgb24gdG9wOg0KPg0KPiAvKg0KPiAgICogVGhl
IHJlZ2lzdGVycyB1c2VkIGJ5IF9saWJrdm1wbGF0X3N0YXJ0Og0KPiAgICogeDAgLSBGRFQgcG9p
bnRlcg0KPiAgICovDQo+DQo+IFNvIEkgdGhvdWdodCB5b3Ugd2VyZSBmb2xsb3dpbmcgdGhlIHNh
bWUgYmVoYXZpb3IgYXMgTGludXguIEJ1dCBmcm9tIHdoYXQNCj4geW91IHdyb3RlLCB0aGUgRFRC
IHdpbGwgaW5zdGVhZCBiZSBlbWJlZGVkIGluIFVuaWtyYWZ0LiBJcyB0aGF0IGNvcnJlY3Q/DQo+
DQoNCkluIHVuaWtyYWZ0LCBEVEIgaXMgcHJvdmlkZWQgYnkgaHlwZXJ2aXNvciBsaWtlIHFlbXUu
IFFlbXUvdmlydCBwdXRzIHRoZSBEVEIgYXQgMUcgb2YgcGh5c2ljYWwgYWRkcmVzcyBpbiBndWVz
dC4NClRoZSAiX2R0YiIgaXMgaW5pdGlhbGl6ZWQgaW4gbGluayBzY3JpcHQgYXMgMUcuIEluIHRo
ZSBfbGlia3ZtcGxhdF9lbnRyeSwNCndlIHRyZWF0IF9kdGIgYXMgYm90aCB0aGUgYmVnaW5uaW5n
IG9mIHRoZSBub3JtYWwgbWVtb3J5IGluIHVuaWtyYWZ0IGFuZCB0aGUgc3RhcnQgYWRkcmVzcyB3
aGVyZSBzdG9yZXMgRFRCLg0KTWF5YmUgdGhhdCBjb25mdXNlZCB5b3UuIFNvIEkgY2FuIG9mZmVy
IGFub3RoZXIgc3ltYm9sIHRvIHJlcHJlc2VudHMgdGhlIGJlZ2lubmluZyBvZiB0aGUgbm9ybWFs
IG1lbW9yeSB0byBkaXN0aW5ndWlzaCB3aXRoIF9kdGIuDQpUaGVuIHdlIHdpbGwgb25seSB1c2Ug
dGhlICJfZHRiIiBhcyB0aGUgcGFyYW1ldGVyIG9mIF9saWJrdm1wbGF0X3N0YXJ0Lg0KDQpJZiB0
aGlzIGNhbiBkbyB5b3VyIHRyaWNrLCBJIHdpbGwgc2VuZCBhbm90aGVyIHBhdGNoIHRvIGZpeCBp
dC4NCg0KVGhhbmtzDQpKaWFueW9uZw0KDQo+IENoZWVycywNCj4NCj4gLS0NCj4gSnVsaWVuIEdy
YWxsDQpJTVBPUlRBTlQgTk9USUNFOiBUaGUgY29udGVudHMgb2YgdGhpcyBlbWFpbCBhbmQgYW55
IGF0dGFjaG1lbnRzIGFyZSBjb25maWRlbnRpYWwgYW5kIG1heSBhbHNvIGJlIHByaXZpbGVnZWQu
IElmIHlvdSBhcmUgbm90IHRoZSBpbnRlbmRlZCByZWNpcGllbnQsIHBsZWFzZSBub3RpZnkgdGhl
IHNlbmRlciBpbW1lZGlhdGVseSBhbmQgZG8gbm90IGRpc2Nsb3NlIHRoZSBjb250ZW50cyB0byBh
bnkgb3RoZXIgcGVyc29uLCB1c2UgaXQgZm9yIGFueSBwdXJwb3NlLCBvciBzdG9yZSBvciBjb3B5
IHRoZSBpbmZvcm1hdGlvbiBpbiBhbnkgbWVkaXVtLiBUaGFuayB5b3UuDQo=


From minios-devel-bounces@lists.xenproject.org Thu Feb 04 08:41:50 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 08:41:50 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81178.149488 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7aCx-0001Ua-Oo; Thu, 04 Feb 2021 08:41:47 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81178.149488; Thu, 04 Feb 2021 08:41:47 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7aCx-0001UT-Lr; Thu, 04 Feb 2021 08:41:47 +0000
Received: by outflank-mailman (input) for mailman id 81178;
 Thu, 04 Feb 2021 08:41:46 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=QAOo=HG=neclab.eu=sharan.santhanam@srs-us1.protection.inumbo.net>)
 id 1l7aCw-0001UN-TS
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 08:41:46 +0000
Received: from mailer2.neclab.eu (unknown [195.37.70.41])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id d467557e-c7f7-4fbf-8c02-1fb4c95a4a52;
 Thu, 04 Feb 2021 08:41:44 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer2.neclab.eu (Postfix) with ESMTP id 5D0C0F24B4;
 Thu,  4 Feb 2021 09:41:43 +0100 (CET)
Received: from mailer2.neclab.eu ([127.0.0.1])
 by localhost (atlas-b.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id v6ZERSHuoEFc; Thu,  4 Feb 2021 09:41:43 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer2.neclab.eu (Postfix) with ESMTPS id 1EE0BF24B3;
 Thu,  4 Feb 2021 09:41:37 +0100 (CET)
Received: from [10.7.1.9] (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 4 Feb 2021
 09:41:35 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: d467557e-c7f7-4fbf-8c02-1fb4c95a4a52
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-b.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
Subject: Re: [UNIKRAFT PATCH 1/1] Add missing symbols to exportsyms.uk
To: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>,
	<minios-devel@lists.xen.org>
CC: <felipehuici@gmail.com>
References: <20210131105233.35176-1-vlad_andrei.badoiu@upb.ro>
From: Sharan Santhanam <sharan.santhanam@neclab.eu>
Message-ID: <549c18af-7b8e-d3eb-3419-ea8aa64f1562@neclab.eu>
Date: Thu, 4 Feb 2021 14:11:33 +0530
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <20210131105233.35176-1-vlad_andrei.badoiu@upb.ro>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: oberon.office.hd (192.168.24.90) To puck.office.hd
 (192.168.24.91)

Reviewed-by: Sharan Santhanam <sharan.santhanam@neclab.eu>

On 1/31/21 4:22 PM, Vlad-Andrei Badoiu wrote:
> Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
> ---
>   lib/posix-user/exportsyms.uk | 23 +++++++++++++++++++++++
>   1 file changed, 23 insertions(+)
>
> diff --git a/lib/posix-user/exportsyms.uk b/lib/posix-user/exportsyms.uk
> index 31caec2..91302c3 100644
> --- a/lib/posix-user/exportsyms.uk
> +++ b/lib/posix-user/exportsyms.uk
> @@ -18,3 +18,26 @@ uk_syscall_r_getppid
>   getpgid
>   uk_syscall_e_getpgid
>   uk_syscall_r_getpgid
> +seteuid
> +getresuid
> +setresuid
> +setreuid
> +getlogin
> +setpwent
> +endpwent
> +getpwnam_r
> +getpwuid_r
> +getpwent
> +getgid
> +setgid
> +getegid
> +setegid
> +getresgid
> +setresgid
> +setregid
> +getgroups
> +setgroups
> +getgrnam_r
> +setgrent
> +endgrent
> +getgrent


From minios-devel-bounces@lists.xenproject.org Thu Feb 04 16:57:22 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 16:57:22 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81378.150337 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7hwW-0000KC-Dx; Thu, 04 Feb 2021 16:57:20 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81378.150337; Thu, 04 Feb 2021 16:57:20 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7hwW-0000Jk-8I; Thu, 04 Feb 2021 16:57:20 +0000
Received: by outflank-mailman (input) for mailman id 81378;
 Thu, 04 Feb 2021 16:57:19 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=D+MW=HG=upb.ro=vlad_andrei.badoiu@srs-us1.protection.inumbo.net>)
 id 1l7hwU-0000JU-Vr
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 16:57:19 +0000
Received: from mx.upb.ro (unknown [141.85.13.230])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 24b65a69-d766-42ff-8090-c14c7c6341f6;
 Thu, 04 Feb 2021 16:57:15 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id C65E0B56017A;
 Thu,  4 Feb 2021 18:57:13 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id huJsXkoAyE6v; Thu,  4 Feb 2021 18:57:11 +0200 (EET)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id B0760B560174;
 Thu,  4 Feb 2021 18:57:11 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id UFNPy3mYWU7q; Thu,  4 Feb 2021 18:57:11 +0200 (EET)
Received: from localhost.localdomain (unknown [86.121.175.249])
 by mx.upb.ro (Postfix) with ESMTPSA id 91447B56006B;
 Thu,  4 Feb 2021 18:57:11 +0200 (EET)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 24b65a69-d766-42ff-8090-c14c7c6341f6
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.upb.ro B0760B560174
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upb.ro;
	s=96342B8A-77E4-11E5-BA93-D93D0963A2DF; t=1612457831;
	bh=16NmGFfOfm4zYLK/kSl0fhrXqA70xq+QyUVLCksyu8Y=;
	h=From:To:Date:Message-Id:MIME-Version;
	b=iMFuaWJq0BF0ZpxUmorzGT0H/yLmWs3PsRzsB3fWky5eaQ2JPBa8Bjtz9n15r9l5V
	 lPODQrPn4GtEijaax4rSRpVgBrDQxL8bnstxCs6SSOiHmPi5VSfmMbMrAJF4muGTax
	 dlgmMFWEFsNyiODcPjXNmPUz0d2Al5KuOneGdp6M=
X-Virus-Scanned: amavisd-new at upb.ro
From: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
To: minios-devel@lists.xen.org
Cc: sharan.santhanam@neclab.eu,
	Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
Subject: [UNIKRAFT PATCH v5 0/3] Add clang support
Date: Thu,  4 Feb 2021 18:57:04 +0200
Message-Id: <20210204165707.94821-1-vlad_andrei.badoiu@upb.ro>
X-Mailer: git-send-email 2.27.0
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

We add support for clang on Unikraft. This is an
adapted series of the previous series of patches
by Alice Suiu.

Changes since v1:
- Add missing check for lto
- Fixed typo in have_gcc

Changes since v2:
- Removed the filter out
- Added a more flexible approach to select the COMPILER,
  now we can use .config, environment variable, and
  command line
- Rebased on staging

Changes since v3:
- Fixed several style issues

Changes since v4:
- Fixed problem when using cross compiling
- Fixed gcc_version_ge

Vlad-Andrei Badoiu (3):
  build: Option to configure the compiler
  support/build: Add build functions for clang and gcc check
  build: Add support for clang

 Makefile                     | 14 ++++++++++++--
 Makefile.uk                  | 15 +++++++++++----
 arch/x86/x86_64/Makefile.uk  |  9 ++++++---
 support/build/Makefile.rules | 12 +++++++++++-
 4 files changed, 40 insertions(+), 10 deletions(-)

--=20
2.27.0



From minios-devel-bounces@lists.xenproject.org Thu Feb 04 16:57:22 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 16:57:22 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81377.150331 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7hwW-0000Jg-9t; Thu, 04 Feb 2021 16:57:20 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81377.150331; Thu, 04 Feb 2021 16:57:20 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7hwW-0000JZ-6t; Thu, 04 Feb 2021 16:57:20 +0000
Received: by outflank-mailman (input) for mailman id 81377;
 Thu, 04 Feb 2021 16:57:18 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=D+MW=HG=upb.ro=vlad_andrei.badoiu@srs-us1.protection.inumbo.net>)
 id 1l7hwU-0000JP-BD
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 16:57:18 +0000
Received: from mx.upb.ro (unknown [141.85.13.210])
 by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id 0e9fa157-df0e-44c2-9266-c05ea53ad93a;
 Thu, 04 Feb 2021 16:57:15 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id 617EAB560176;
 Thu,  4 Feb 2021 18:57:14 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id sOdiGLfHVA6H; Thu,  4 Feb 2021 18:57:12 +0200 (EET)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id 066F9B560088;
 Thu,  4 Feb 2021 18:57:12 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id v6viG_CaYc8q; Thu,  4 Feb 2021 18:57:11 +0200 (EET)
Received: from localhost.localdomain (unknown [86.121.175.249])
 by mx.upb.ro (Postfix) with ESMTPSA id D39F8B56006B;
 Thu,  4 Feb 2021 18:57:11 +0200 (EET)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 0e9fa157-df0e-44c2-9266-c05ea53ad93a
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.upb.ro 066F9B560088
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upb.ro;
	s=96342B8A-77E4-11E5-BA93-D93D0963A2DF; t=1612457832;
	bh=gXX0bgkbsj+25wpuVxUS193sUttbNiDbW8CkS2Cgkts=;
	h=From:To:Date:Message-Id:MIME-Version;
	b=YwivruQ0WB8ozB9phaW44LoeykWZ8yzrtXYsh2Ir8rm4OUT8DIle086IkEXoGZkhu
	 WuI84LqYmSdxBCK4WNgLmQ3CG6gQZUcPCu4gXOXDUC4ytizVQLAzas+jiNjqHvSG1L
	 0281Iwl7WbIl2TjfV1vcpsycFCNpCuoLx7nyB53w=
X-Virus-Scanned: amavisd-new at upb.ro
From: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
To: minios-devel@lists.xen.org
Cc: sharan.santhanam@neclab.eu,
	Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>,
	Alice Suiu <alicesuiu17@gmail.com>,
	Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Subject: [UNIKRAFT PATCH v5 3/3] build: Add support for clang
Date: Thu,  4 Feb 2021 18:57:07 +0200
Message-Id: <20210204165707.94821-4-vlad_andrei.badoiu@upb.ro>
X-Mailer: git-send-email 2.27.0
In-Reply-To: <20210204165707.94821-1-vlad_andrei.badoiu@upb.ro>
References: <20210204165707.94821-1-vlad_andrei.badoiu@upb.ro>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

We condition the gcc specific flags via have_gcc and the
clang specific flags with have_clang.

Signed-off-by: Alice Suiu <alicesuiu17@gmail.com>
Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
Reviewed-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
---
 Makefile                    |  2 ++
 Makefile.uk                 | 15 +++++++++++----
 arch/x86/x86_64/Makefile.uk |  9 ++++++---
 3 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile
index 699f12e..b396b0b 100644
--- a/Makefile
+++ b/Makefile
@@ -643,10 +643,12 @@ $(error You did not select a library that handles b=
ootstrapping! (e.g., ukboot))
 endif
=20
 ifeq ($(CONFIG_OPTIMIZE_LTO), y)
+ifeq ($(call have_gcc),y)
 ifneq ($(call gcc_version_ge,6,1),y)
 $(error Your gcc version does not support incremental link time optimisa=
tion)
 endif
 endif
+endif
=20
 # Generate build rules
 $(eval $(call verbose_include,$(CONFIG_UK_BASE)/support/build/Makefile.b=
uild))
diff --git a/Makefile.uk b/Makefile.uk
index e505c04..9f0da22 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -4,9 +4,11 @@
 #
 ########################################################################=
########
=20
-COMPFLAGS    +=3D -nostdinc -nostdlib
+COMPFLAGS    +=3D -nostdlib
 COMPFLAGS    +=3D -U __linux__ -U __FreeBSD__ -U __sun__
-COMPFLAGS    +=3D -fno-omit-frame-pointer -fno-tree-sra -fno-split-stack
+COMPFLAGS    +=3D -fno-omit-frame-pointer
+COMPFLAGS-$(call have_gcc)	+=3D -fno-tree-sra -fno-split-stack -nostdinc
+
 ifneq ($(HAVE_STACKPROTECTOR),y)
 COMPFLAGS    +=3D -fno-stack-protector
 endif
@@ -19,12 +21,14 @@ CINCLUDES    +=3D -I$(CONFIG_UK_BASE)/include
 CXXINCLUDES  +=3D -I$(CONFIG_UK_BASE)/include
 GOCINCLUDES  +=3D -I$(CONFIG_UK_BASE)/include
=20
-LIBLDFLAGS  +=3D -nostdinc -nostdlib -Wl,-r -Wl,-d -Wl,--build-id=3Dnone=
 -no-pie
+LIBLDFLAGS  +=3D -nostdlib -Wl,-r -Wl,-d -Wl,--build-id=3Dnone -no-pie
+LIBLDFLAGS-$(call have_gcc)	+=3D -nostdinc
=20
 # Set the text and data sections to be readable and writable. Also,
 # do not page-align the data segment. If the output format supports
 # Unix style magic numbers, mark the output as OMAGIC.
-LDFLAGS     +=3D -nostdinc -nostdlib -Wl,--omagic -Wl,--build-id=3Dnone
+LDFLAGS	+=3D -nostdlib -Wl,--omagic -Wl,--build-id=3Dnone
+LDFLAGS-$(call have_gcc)	+=3D -nostdinc
=20
 COMPFLAGS-$(CONFIG_OPTIMIZE_NONE)         +=3D -O0 -fno-optimize-sibling=
-calls -fno-tree-vectorize
 COMPFLAGS-$(CONFIG_OPTIMIZE_SIZE)         +=3D -Os
@@ -56,3 +60,6 @@ M4FLAGS      +=3D -DUK_VERSION=3D$(UK_VERSION).$(UK_SUB=
VERSION)
 # "--enable-default-pie" by default.
 COMPFLAGS-$(call gcc_version_ge,6,1)	+=3D -fno-PIC
 LDFLAGS-$(call gcc_version_ge,6,1)	+=3D -no-pie
+
+COMPFLAGS-$(call have_clang)	+=3D -fno-builtin -fno-PIC
+LDFLAGS-$(call have_clang)	+=3D -no-pie
diff --git a/arch/x86/x86_64/Makefile.uk b/arch/x86/x86_64/Makefile.uk
index 24919fb..c4d5109 100644
--- a/arch/x86/x86_64/Makefile.uk
+++ b/arch/x86/x86_64/Makefile.uk
@@ -1,7 +1,9 @@
 ARCHFLAGS     +=3D -D__X86_64__
-ARCHFLAGS     +=3D -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchron=
ous-unwind-tables
+ARCHFLAGS     +=3D -m64 -mno-red-zone -fno-asynchronous-unwind-tables
+ARCHFLAGS-$(call have_gcc)	+=3D -fno-reorder-blocks
 ISR_ARCHFLAGS +=3D -D__X86_64__
-ISR_ARCHFLAGS +=3D -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchron=
ous-unwind-tables
+ISR_ARCHFLAGS +=3D -m64 -mno-red-zone -fno-asynchronous-unwind-tables
+ISR_ARCHFLAGS-$(call have_gcc)	+=3D -fno-reorder-blocks
=20
 CINCLUDES   +=3D -I$(CONFIG_UK_BASE)/arch/x86/x86_64/include
 ASINCLUDES  +=3D -I$(CONFIG_UK_BASE)/arch/x86/x86_64/include
@@ -9,7 +11,8 @@ CXXINCLUDES +=3D -I$(CONFIG_UK_BASE)/arch/x86/x86_64/inc=
lude
=20
 # compiler flags to prevent use of extended (FP, SSE, AVX) registers.
 # This is for files that contain trap/exception/interrupt handlers
-ISR_ARCHFLAGS +=3D -mno-80387 -mno-fp-ret-in-387 -mno-mmx -mno-sse -mno-=
avx
+ISR_ARCHFLAGS +=3D -mno-80387 -mno-mmx -mno-sse -mno-avx
+ISR_ARCHFLAGS-$(call have_gcc)	+=3D -mno-fp-ret-in-387
 ISR_ARCHFLAGS-$(call gcc_version_ge,7,1) +=3D -mgeneral-regs-only
=20
 ARCHFLAGS-$(CONFIG_MARCH_X86_64_GENERIC)        +=3D -mtune=3Dgeneric
--=20
2.27.0



From minios-devel-bounces@lists.xenproject.org Thu Feb 04 16:57:24 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 16:57:24 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81379.150339 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7hwa-0000LF-Ce; Thu, 04 Feb 2021 16:57:24 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81379.150339; Thu, 04 Feb 2021 16:57:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7hwa-0000L8-9o; Thu, 04 Feb 2021 16:57:24 +0000
Received: by outflank-mailman (input) for mailman id 81379;
 Thu, 04 Feb 2021 16:57:23 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=D+MW=HG=upb.ro=vlad_andrei.badoiu@srs-us1.protection.inumbo.net>)
 id 1l7hwZ-0000JU-Pr
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 16:57:23 +0000
Received: from mx.upb.ro (unknown [141.85.13.200])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 7034bbc4-043c-4184-9675-19bdd03a5948;
 Thu, 04 Feb 2021 16:57:15 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id BC69AB56006B;
 Thu,  4 Feb 2021 18:57:13 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id DcZN5W935S-H; Thu,  4 Feb 2021 18:57:11 +0200 (EET)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id C8994B560177;
 Thu,  4 Feb 2021 18:57:11 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id wVx5hrLFQoHV; Thu,  4 Feb 2021 18:57:11 +0200 (EET)
Received: from localhost.localdomain (unknown [86.121.175.249])
 by mx.upb.ro (Postfix) with ESMTPSA id A22BBB560088;
 Thu,  4 Feb 2021 18:57:11 +0200 (EET)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 7034bbc4-043c-4184-9675-19bdd03a5948
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.upb.ro C8994B560177
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upb.ro;
	s=96342B8A-77E4-11E5-BA93-D93D0963A2DF; t=1612457831;
	bh=6kBVSU9g0TPywVQuMKSt6TueZQRJI+psA5geRk/zypM=;
	h=From:To:Date:Message-Id:MIME-Version;
	b=LL9xhnSqF+5aoFj/RSLPjNqiqghJ65BrNHbS8eT4hLwCsdHE6HC69E5xV3KP2Zmbw
	 X4vL+EskVQJG0gRDe9XWKjk/o50qxgUbD95uZDv7aT9w15tDcooQBap4CJ4aHhpMTl
	 RMDfQeodb7BtVzoHv3AwCSeTGxHruIO0cWHICkBA=
X-Virus-Scanned: amavisd-new at upb.ro
From: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
To: minios-devel@lists.xen.org
Cc: sharan.santhanam@neclab.eu,
	Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>,
	Alice Suiu <alicesuiu17@gmail.com>,
	Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Subject: [UNIKRAFT PATCH v5 1/3] build: Option to configure the compiler
Date: Thu,  4 Feb 2021 18:57:05 +0200
Message-Id: <20210204165707.94821-2-vlad_andrei.badoiu@upb.ro>
X-Mailer: git-send-email 2.27.0
In-Reply-To: <20210204165707.94821-1-vlad_andrei.badoiu@upb.ro>
References: <20210204165707.94821-1-vlad_andrei.badoiu@upb.ro>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

By default, the compiler is GCC. Use COMPILER to set the compiler. For
example, COMPILER=3Dclang.

Signed-off-by: Alice Suiu <alicesuiu17@gmail.com>
Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
Reviewed-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
---
 Makefile | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index d316291..699f12e 100644
--- a/Makefile
+++ b/Makefile
@@ -513,6 +513,7 @@ ifeq ($(sub_make_exec), 1)
 ifeq ($(UK_HAVE_DOT_CONFIG),y)
 # Hide troublesome environment variables from sub processes
 unexport CONFIG_CROSS_COMPILE
+unexport CONFIG_COMPILER
 #unexport CC
 #unexport LD
 #unexport AR
@@ -545,11 +546,18 @@ ifneq ("$(origin CROSS_COMPILE)","undefined")
 CONFIG_CROSS_COMPILE :=3D $(CROSS_COMPILE:"%"=3D%)
 endif
=20
+ifneq ("$(origin COMPILER)","undefined")
+	CONFIG_COMPILER :=3D $(COMPILER:"%"=3D%)
+else
+	CONFIG_COMPILER :=3D gcc
+endif
+
+
 $(eval $(call verbose_include,$(CONFIG_UK_BASE)/arch/$(UK_FAMILY)/Compil=
er.uk))
=20
 # Make variables (CC, etc...)
-LD		:=3D $(CONFIG_CROSS_COMPILE)gcc
-CC		:=3D $(CONFIG_CROSS_COMPILE)gcc
+LD		:=3D $(CONFIG_CROSS_COMPILE)$(CONFIG_COMPILER)
+CC		:=3D $(CONFIG_CROSS_COMPILE)$(CONFIG_COMPILER)
 CPP		:=3D $(CC)
 CXX		:=3D $(CPP)
 GOC		:=3D $(CONFIG_CROSS_COMPILE)gccgo-7
--=20
2.27.0



From minios-devel-bounces@lists.xenproject.org Thu Feb 04 16:57:29 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 16:57:29 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81380.150344 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7hwf-0000Mn-EY; Thu, 04 Feb 2021 16:57:29 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81380.150344; Thu, 04 Feb 2021 16:57:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7hwf-0000Mg-BQ; Thu, 04 Feb 2021 16:57:29 +0000
Received: by outflank-mailman (input) for mailman id 81380;
 Thu, 04 Feb 2021 16:57:28 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=D+MW=HG=upb.ro=vlad_andrei.badoiu@srs-us1.protection.inumbo.net>)
 id 1l7hwe-0000JU-Q9
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 16:57:28 +0000
Received: from mx.upb.ro (unknown [141.85.13.210])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id c3c9060c-e3cc-47e5-9a0f-d138e7382502;
 Thu, 04 Feb 2021 16:57:16 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id E9B5FB560174;
 Thu,  4 Feb 2021 18:57:13 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id 1JF2TsDZAgNr; Thu,  4 Feb 2021 18:57:12 +0200 (EET)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id E2759B560179;
 Thu,  4 Feb 2021 18:57:11 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id ulIqUJidkKT1; Thu,  4 Feb 2021 18:57:11 +0200 (EET)
Received: from localhost.localdomain (unknown [86.121.175.249])
 by mx.upb.ro (Postfix) with ESMTPSA id BADD6B560176;
 Thu,  4 Feb 2021 18:57:11 +0200 (EET)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: c3c9060c-e3cc-47e5-9a0f-d138e7382502
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.upb.ro E2759B560179
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upb.ro;
	s=96342B8A-77E4-11E5-BA93-D93D0963A2DF; t=1612457831;
	bh=WjC+bY+rKfYpUiYpp70hlQ5oPGxKiq7H3FRvEESGbGA=;
	h=From:To:Date:Message-Id:MIME-Version;
	b=gyiUPABdMwuWyZHdcsZD7UjOAq+0zrYUhcxIdw4WWeYTqyZ0jCF4EoNJH5WH1HyWD
	 m+jcS48uY69Tdi2O2Xz7DoEhsP8ksGlMijFtdItguPPVhc0W1LYqYDE7YmyS7K9yif
	 XP/tZmfYH4zyxHcAymjUJXLgAacbwuCu+AcUZ5BQ=
X-Virus-Scanned: amavisd-new at upb.ro
From: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
To: minios-devel@lists.xen.org
Cc: sharan.santhanam@neclab.eu,
	Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>,
	Alice Suiu <alicesuiu17@gmail.com>,
	Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Subject: [UNIKRAFT PATCH v5 2/3] support/build: Add build functions for clang and gcc check
Date: Thu,  4 Feb 2021 18:57:06 +0200
Message-Id: <20210204165707.94821-3-vlad_andrei.badoiu@upb.ro>
X-Mailer: git-send-email 2.27.0
In-Reply-To: <20210204165707.94821-1-vlad_andrei.badoiu@upb.ro>
References: <20210204165707.94821-1-vlad_andrei.badoiu@upb.ro>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

We add have_gcc and have_clang. We modify gcc_version_ge to
use have_gcc.

Signed-off-by: Alice Suiu <alicesuiu17@gmail.com>
Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
Reviewed-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
---
 support/build/Makefile.rules | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/support/build/Makefile.rules b/support/build/Makefile.rules
index 2a8a294..80d874e 100644
--- a/support/build/Makefile.rules
+++ b/support/build/Makefile.rules
@@ -29,10 +29,20 @@ lc =3D $(subst A,a,$(subst B,b,$(subst C,c,$(subst D,=
d,$(subst E,e,$(subst F,f,$(s
 # upper case
 uc =3D $(subst a,A,$(subst b,B,$(subst c,C,$(subst d,D,$(subst e,E,$(sub=
st f,F,$(subst g,G,$(subst h,H,$(subst i,I,$(subst j,J,$(subst k,K,$(subs=
t l,L,$(subst m,M,$(subst n,N,$(subst o,O,$(subst p,P,$(subst q,Q,$(subst=
 r,R,$(subst s,S,$(subst t,T,$(subst u,U,$(subst v,V,$(subst w,W,$(subst =
x,X,$(subst y,Y,$(subst z,Z,$(1)))))))))))))))))))))))))))
=20
+# test if GCC is set as a compiler
+define have_gcc =3D
+$(if $(filter %gcc,$(CC)),y,n)
+endef
+
+# test if CLANG is set as a compiler
+define have_clang =3D
+$(if $(filter %clang,$(CC)),y,n)
+endef
+
 # test whether GCC version is greater than or equal to the minimum requi=
rement
 # gcc_version_ge $gcc_major,$gcc_minor
 define gcc_version_ge =3D
-$(shell if [ $(CC_VER_MAJOR) -gt $(1) ] || ([ $(CC_VER_MAJOR) -eq $(1) ]=
 && [ $(CC_VER_MINOR) -ge $(2) ]) ; then echo y ; fi)
+$(shell if [ $(call have_gcc) =3D y ] ; then if [ $(CC_VER_MAJOR) -gt $(=
1) ] || ([ $(CC_VER_MAJOR) -eq $(1) ] && [ $(CC_VER_MINOR) -ge $(2) ]) ; =
then echo y ; fi ; fi)
 endef
=20
 # print error and stop build when GCC version doesn't meet the minimum r=
equirement
--=20
2.27.0



From minios-devel-bounces@lists.xenproject.org Thu Feb 04 17:54:11 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 17:54:11 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81391.150378 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7ipT-0006la-1P; Thu, 04 Feb 2021 17:54:07 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81391.150378; Thu, 04 Feb 2021 17:54:07 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7ipS-0006lT-Um; Thu, 04 Feb 2021 17:54:06 +0000
Received: by outflank-mailman (input) for mailman id 81391;
 Thu, 04 Feb 2021 17:54:05 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=QAOo=HG=neclab.eu=sharan.santhanam@srs-us1.protection.inumbo.net>)
 id 1l7ipR-0006lO-MZ
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 17:54:05 +0000
Received: from mailer1.neclab.eu (unknown [195.37.70.40])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 78f052a0-e5cc-4168-b180-f37eda726103;
 Thu, 04 Feb 2021 17:54:04 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer1.neclab.eu (Postfix) with ESMTP id 1C52A101361;
 Thu,  4 Feb 2021 18:54:03 +0100 (CET)
Received: from mailer1.neclab.eu ([127.0.0.1])
 by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id kEEpTizon9kY; Thu,  4 Feb 2021 18:54:03 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer1.neclab.eu (Postfix) with ESMTPS id EEC6DFFEE2
 for <minios-devel@lists.xen.org>; Thu,  4 Feb 2021 18:54:02 +0100 (CET)
Received: from N-1309.office.hd (192.168.24.96) by puck.office.hd
 (192.168.24.91) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 4 Feb 2021
 18:54:01 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 78f052a0-e5cc-4168-b180-f37eda726103
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-a.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Sharan Santhanam <sharan.santhanam@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Sharan Santhanam <sharan.santhanam@neclab.eu>
Subject: [UNIKRAFT PATCH] build: Support gcc-10 compilation on Unikraft
Date: Thu, 4 Feb 2021 23:23:49 +0530
Message-ID: <1612461229-19169-1-git-send-email-sharan.santhanam@neclab.eu>
X-Mailer: git-send-email 2.7.4
MIME-Version: 1.0
Content-Type: text/plain
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: puck.office.hd (192.168.24.91) To puck.office.hd
 (192.168.24.91)

When compiling Unikraft with gcc-10, the compiler replace the memset
function with a recursive builtin memset call, which result in a
infinite recursive call to the memset causing exhaustion of the stack
memory eventually leading to crash. To fix this the gcc provides
compiler flags -ffreestanding and -fhosted.

Signed-off-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
---
 Makefile.uk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.uk b/Makefile.uk
index 4f1c764..e2d75a6 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -56,3 +56,6 @@ M4FLAGS      += -DUK_VERSION=$(UK_VERSION).$(UK_SUBVERSION)
 COMPFLAGS-$(call gcc_version_ge,6,1)	+= -no-pie
 LIBLDFLAGS-$(call gcc_version_ge,6,1)	+= -no-pie
 LDFLAGS-$(call gcc_version_ge,6,1)	+= -no-pie
+ifeq ($(call gcc_version_ge,10,0),y)
+COMPFLAGS-y += -fhosted -ffreestanding -fno-tree-loop-distribute-patterns
+endif
-- 
2.7.4



From minios-devel-bounces@lists.xenproject.org Thu Feb 04 18:12:35 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 18:12:35 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81395.150393 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7j7J-0000Y9-Ex; Thu, 04 Feb 2021 18:12:33 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81395.150393; Thu, 04 Feb 2021 18:12:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7j7J-0000Y2-CA; Thu, 04 Feb 2021 18:12:33 +0000
Received: by outflank-mailman (input) for mailman id 81395;
 Thu, 04 Feb 2021 18:12:32 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=QAOo=HG=neclab.eu=sharan.santhanam@srs-us1.protection.inumbo.net>)
 id 1l7j7I-0000Xw-8M
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 18:12:32 +0000
Received: from mailer1.neclab.eu (unknown [195.37.70.40])
 by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id 257720b2-fb87-4291-91f2-7dc6261655b7;
 Thu, 04 Feb 2021 18:12:30 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer1.neclab.eu (Postfix) with ESMTP id 18C81101361;
 Thu,  4 Feb 2021 19:12:29 +0100 (CET)
Received: from mailer1.neclab.eu ([127.0.0.1])
 by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id SxihUP65yJTM; Thu,  4 Feb 2021 19:12:28 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer1.neclab.eu (Postfix) with ESMTPS id DF6FFFFEE2
 for <minios-devel@lists.xen.org>; Thu,  4 Feb 2021 19:12:28 +0100 (CET)
Received: from N-1309.office.hd (192.168.24.96) by puck.office.hd
 (192.168.24.91) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 4 Feb 2021
 19:12:27 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 257720b2-fb87-4291-91f2-7dc6261655b7
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-a.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Sharan Santhanam <sharan.santhanam@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Sharan Santhanam <sharan.santhanam@neclab.eu>
Subject: [UNIKRAFT PATCH v2 0/2] Support gcc-10 on Unikraft
Date: Thu, 4 Feb 2021 23:42:14 +0530
Message-ID: <1612462336-20386-1-git-send-email-sharan.santhanam@neclab.eu>
X-Mailer: git-send-email 2.7.4
MIME-Version: 1.0
Content-Type: text/plain
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: oberon.office.hd (192.168.24.90) To puck.office.hd
 (192.168.24.91)

These patch add support for gcc-10 on Unikraft.

Change since V1
- Rebased on latest staging
- Patch to support lto

Sharan Santhanam (2):
  build: Support gcc-10 compilation on Unikraft
  build/lto: Support LTO on gcc-10

 Makefile.uk | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.7.4



From minios-devel-bounces@lists.xenproject.org Thu Feb 04 18:12:38 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 18:12:38 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81396.150397 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7j7O-0000Yq-HI; Thu, 04 Feb 2021 18:12:38 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81396.150397; Thu, 04 Feb 2021 18:12:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7j7O-0000Ym-Dt; Thu, 04 Feb 2021 18:12:38 +0000
Received: by outflank-mailman (input) for mailman id 81396;
 Thu, 04 Feb 2021 18:12:37 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=QAOo=HG=neclab.eu=sharan.santhanam@srs-us1.protection.inumbo.net>)
 id 1l7j7N-0000Xw-0U
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 18:12:37 +0000
Received: from mailer2.neclab.eu (unknown [195.37.70.41])
 by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id 692e534a-bcec-4bfa-834f-140115d91db0;
 Thu, 04 Feb 2021 18:12:34 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer2.neclab.eu (Postfix) with ESMTP id 59B45F22AB;
 Thu,  4 Feb 2021 19:12:33 +0100 (CET)
Received: from mailer2.neclab.eu ([127.0.0.1])
 by localhost (atlas-b.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id bhA7Up5I7vxT; Thu,  4 Feb 2021 19:12:33 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer2.neclab.eu (Postfix) with ESMTPS id 252D5F21ED
 for <minios-devel@lists.xen.org>; Thu,  4 Feb 2021 19:12:31 +0100 (CET)
Received: from N-1309.office.hd (192.168.24.96) by puck.office.hd
 (192.168.24.91) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 4 Feb 2021
 19:12:29 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 692e534a-bcec-4bfa-834f-140115d91db0
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-b.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Sharan Santhanam <sharan.santhanam@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Sharan Santhanam <sharan.santhanam@neclab.eu>
Subject: [UNIKRAFT PATCH v2 1/2] build: Support gcc-10 compilation on Unikraft
Date: Thu, 4 Feb 2021 23:42:15 +0530
Message-ID: <1612462336-20386-2-git-send-email-sharan.santhanam@neclab.eu>
X-Mailer: git-send-email 2.7.4
In-Reply-To: <1612462336-20386-1-git-send-email-sharan.santhanam@neclab.eu>
References: <1612462336-20386-1-git-send-email-sharan.santhanam@neclab.eu>
MIME-Version: 1.0
Content-Type: text/plain
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: oberon.office.hd (192.168.24.90) To puck.office.hd
 (192.168.24.91)

When compiling Unikraft with gcc-10, the compiler replace the memset
function with a recursive builtin memset call, which result in a
infinite recursive call to the memset causing exhaustion of the stack
memory eventually leading to crash. To fix this the gcc provides
compiler flags -ffreestanding and -fhosted.

Signed-off-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
---
 Makefile.uk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.uk b/Makefile.uk
index e505c04..c3bb361 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -56,3 +56,6 @@ M4FLAGS      += -DUK_VERSION=$(UK_VERSION).$(UK_SUBVERSION)
 # "--enable-default-pie" by default.
 COMPFLAGS-$(call gcc_version_ge,6,1)	+= -fno-PIC
 LDFLAGS-$(call gcc_version_ge,6,1)	+= -no-pie
+ifeq ($(call gcc_version_ge,10,0),y)
+COMPFLAGS-y += -fhosted -ffreestanding -fno-tree-loop-distribute-patterns
+endif
-- 
2.7.4



From minios-devel-bounces@lists.xenproject.org Thu Feb 04 18:12:43 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 18:12:43 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81397.150402 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7j7T-0000a0-JO; Thu, 04 Feb 2021 18:12:43 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81397.150402; Thu, 04 Feb 2021 18:12:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7j7T-0000Zt-Gf; Thu, 04 Feb 2021 18:12:43 +0000
Received: by outflank-mailman (input) for mailman id 81397;
 Thu, 04 Feb 2021 18:12:42 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=QAOo=HG=neclab.eu=sharan.santhanam@srs-us1.protection.inumbo.net>)
 id 1l7j7S-0000Xw-0h
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 18:12:42 +0000
Received: from mailer2.neclab.eu (unknown [195.37.70.41])
 by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id 51224d72-0906-4e98-92da-b7cc0057a537;
 Thu, 04 Feb 2021 18:12:36 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer2.neclab.eu (Postfix) with ESMTP id 54260F2388;
 Thu,  4 Feb 2021 19:12:35 +0100 (CET)
Received: from mailer2.neclab.eu ([127.0.0.1])
 by localhost (atlas-b.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id hsynmOy6EgoQ; Thu,  4 Feb 2021 19:12:35 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer2.neclab.eu (Postfix) with ESMTPS id 2D211F21ED
 for <minios-devel@lists.xen.org>; Thu,  4 Feb 2021 19:12:33 +0100 (CET)
Received: from N-1309.office.hd (192.168.24.96) by puck.office.hd
 (192.168.24.91) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 4 Feb 2021
 19:12:31 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 51224d72-0906-4e98-92da-b7cc0057a537
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-b.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Sharan Santhanam <sharan.santhanam@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Sharan Santhanam <sharan.santhanam@neclab.eu>
Subject: [UNIKRAFT PATCH v2 2/2] build/lto: Support LTO on gcc-10
Date: Thu, 4 Feb 2021 23:42:16 +0530
Message-ID: <1612462336-20386-3-git-send-email-sharan.santhanam@neclab.eu>
X-Mailer: git-send-email 2.7.4
In-Reply-To: <1612462336-20386-1-git-send-email-sharan.santhanam@neclab.eu>
References: <1612462336-20386-1-git-send-email-sharan.santhanam@neclab.eu>
MIME-Version: 1.0
Content-Type: text/plain
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: oberon.office.hd (192.168.24.90) To puck.office.hd
 (192.168.24.91)

To support LTO with incremental builds, we need to add the
`-flinker-output=nolto-rel` linker flag.

Signed-off-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
---
 Makefile.uk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.uk b/Makefile.uk
index c3bb361..a88d512 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -58,4 +58,6 @@ COMPFLAGS-$(call gcc_version_ge,6,1)	+= -fno-PIC
 LDFLAGS-$(call gcc_version_ge,6,1)	+= -no-pie
 ifeq ($(call gcc_version_ge,10,0),y)
 COMPFLAGS-y += -fhosted -ffreestanding -fno-tree-loop-distribute-patterns
+LIBLDFLAGS-$(CONFIG_OPTIMIZE_LTO) += -flinker-output=nolto-rel
+LDFLAGS-$(CONFIG_OPTIMIZE_LTO) += -flinker-output=nolto-rel
 endif
-- 
2.7.4



From minios-devel-bounces@lists.xenproject.org Thu Feb 04 18:22:35 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 18:22:35 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81400.150418 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7jGz-0001hv-JI; Thu, 04 Feb 2021 18:22:33 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81400.150418; Thu, 04 Feb 2021 18:22:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7jGz-0001ho-GL; Thu, 04 Feb 2021 18:22:33 +0000
Received: by outflank-mailman (input) for mailman id 81400;
 Thu, 04 Feb 2021 18:22:31 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=D+MW=HG=upb.ro=vlad_andrei.badoiu@srs-us1.protection.inumbo.net>)
 id 1l7jGx-0001hT-OX
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 18:22:31 +0000
Received: from mx.upb.ro (unknown [141.85.13.200])
 by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id 224547cc-a4b8-444e-a533-aef7effdc5b6;
 Thu, 04 Feb 2021 18:22:26 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id BA543B56006B;
 Thu,  4 Feb 2021 20:22:17 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id KLSUvQwXstlR; Thu,  4 Feb 2021 20:22:06 +0200 (EET)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id 5EB90B560174;
 Thu,  4 Feb 2021 20:22:06 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id 3RRQNEUNF1Gu; Thu,  4 Feb 2021 20:22:06 +0200 (EET)
Received: from mx.upb.ro (mx.upb.ro [141.85.13.5])
 by mx.upb.ro (Postfix) with ESMTP id 441ABB56006B;
 Thu,  4 Feb 2021 20:22:06 +0200 (EET)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 224547cc-a4b8-444e-a533-aef7effdc5b6
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.upb.ro 5EB90B560174
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upb.ro;
	s=96342B8A-77E4-11E5-BA93-D93D0963A2DF; t=1612462926;
	bh=6S05ThJvv9j79PsbC5KTLKCYUnHVTE3V5eMxrDYx5AU=;
	h=Date:From:To:Message-ID:MIME-Version;
	b=S6U7oHnSX3XfJjtOduTJpnyBHc7XFReEY0qEuTo24lU/0KWHaI1CYlwIuKOEWw1XJ
	 RoN0tXjCRnJnoN+awqm41JiG+Mc4EoCsQ4Kk/6B52nKIql5lHGEcHRLglTP+GoBlX/
	 My40CfLK2vMvIRufrQ06QhglzvAthaMa7CXbB5qE=
X-Virus-Scanned: amavisd-new at upb.ro
Date: Thu, 4 Feb 2021 20:22:06 +0200 (EET)
From: Vlad-Andrei =?utf-8?Q?B=C4=82DOIU?= <vlad_andrei.badoiu@upb.ro>
To: Sharan Santhanam <sharan.santhanam@neclab.eu>
Cc: minios-devel <minios-devel@lists.xen.org>
Message-ID: <634270450.6120052.1612462926231.JavaMail.zimbra@upb.ro>
In-Reply-To: <1612462336-20386-2-git-send-email-sharan.santhanam@neclab.eu>
References: <1612462336-20386-1-git-send-email-sharan.santhanam@neclab.eu> <1612462336-20386-2-git-send-email-sharan.santhanam@neclab.eu>
Subject: Re: [UNIKRAFT PATCH v2 1/2] build: Support gcc-10 compilation on
 Unikraft
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Mailer: Zimbra 8.8.15_GA_3991 (ZimbraWebClient - FF84 (Linux)/8.8.15_GA_3980)
Thread-Topic: build: Support gcc-10 compilation on Unikraft
Thread-Index: MH8FXQOUlQHFmxBFrqdhWcQjPyBEVw==

Hi Sharan,

Thanks for the patch. This works on my end and solves the crash under GCC 10.2. I've added several references for this patch[1][2].

Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888
[2] https://libc-alpha.sourceware.narkive.com/VbyHlBDB/gcc-4-8-and-ftree-loop-distribute-patterns

----- Original Message -----
From: "Sharan Santhanam" <sharan.santhanam@neclab.eu>
To: "minios-devel" <minios-devel@lists.xen.org>
Cc: "Sharan Santhanam" <sharan.santhanam@neclab.eu>
Sent: Thursday, February 4, 2021 8:12:15 PM
Subject: [UNIKRAFT PATCH v2 1/2] build: Support gcc-10 compilation on Unikraft

When compiling Unikraft with gcc-10, the compiler replace the memset
function with a recursive builtin memset call, which result in a
infinite recursive call to the memset causing exhaustion of the stack
memory eventually leading to crash. To fix this the gcc provides
compiler flags -ffreestanding and -fhosted.

Signed-off-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
---
 Makefile.uk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.uk b/Makefile.uk
index e505c04..c3bb361 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -56,3 +56,6 @@ M4FLAGS      += -DUK_VERSION=$(UK_VERSION).$(UK_SUBVERSION)
 # "--enable-default-pie" by default.
 COMPFLAGS-$(call gcc_version_ge,6,1)	+= -fno-PIC
 LDFLAGS-$(call gcc_version_ge,6,1)	+= -no-pie
+ifeq ($(call gcc_version_ge,10,0),y)
+COMPFLAGS-y += -fhosted -ffreestanding -fno-tree-loop-distribute-patterns
+endif
-- 
2.7.4


From minios-devel-bounces@lists.xenproject.org Thu Feb 04 18:22:47 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 18:22:47 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81401.150421 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7jHD-0001jt-LH; Thu, 04 Feb 2021 18:22:47 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81401.150421; Thu, 04 Feb 2021 18:22:47 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7jHD-0001jm-IU; Thu, 04 Feb 2021 18:22:47 +0000
Received: by outflank-mailman (input) for mailman id 81401;
 Thu, 04 Feb 2021 18:22:45 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=D+MW=HG=upb.ro=vlad_andrei.badoiu@srs-us1.protection.inumbo.net>)
 id 1l7jHB-0001jX-Gb
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 18:22:45 +0000
Received: from mx.upb.ro (unknown [141.85.13.200])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id f54842ea-0403-4db2-a076-843f7c5f4b69;
 Thu, 04 Feb 2021 18:22:40 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id 59DE6B56006B;
 Thu,  4 Feb 2021 20:22:39 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id DJjeaGvSZO42; Thu,  4 Feb 2021 20:22:32 +0200 (EET)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id AB36EB560072;
 Thu,  4 Feb 2021 20:22:32 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id DlEAMjImqcae; Thu,  4 Feb 2021 20:22:32 +0200 (EET)
Received: from mx.upb.ro (mx.upb.ro [141.85.13.5])
 by mx.upb.ro (Postfix) with ESMTP id 92F1EB56006B;
 Thu,  4 Feb 2021 20:22:32 +0200 (EET)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: f54842ea-0403-4db2-a076-843f7c5f4b69
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.upb.ro AB36EB560072
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upb.ro;
	s=96342B8A-77E4-11E5-BA93-D93D0963A2DF; t=1612462952;
	bh=Ha6wVhYiLOwiXTWTqmeXPJoiy/i9uriKh8DtvGKVmkk=;
	h=Date:From:To:Message-ID:MIME-Version;
	b=lBkBdUjPe74rWTAXCc2TZWWI1KJ9NPdtOk6jsqhyCEUlPa9o+m8YRRMphBToDctCR
	 k1eSJEIC7Cwg51ghlSJzNk2yVvoMSAphhIe/e3dVJjlhwxTOLL1vgHu/9F5k7TvyD4
	 U8rEys6vNnBkkTvV4PoGkxikx/GzYNcw68HMfW5I=
X-Virus-Scanned: amavisd-new at upb.ro
Date: Thu, 4 Feb 2021 20:22:32 +0200 (EET)
From: Vlad-Andrei =?utf-8?Q?B=C4=82DOIU?= <vlad_andrei.badoiu@upb.ro>
To: Sharan Santhanam <sharan.santhanam@neclab.eu>
Cc: minios-devel <minios-devel@lists.xen.org>
Message-ID: <795252709.6120074.1612462952557.JavaMail.zimbra@upb.ro>
In-Reply-To: <1612462336-20386-3-git-send-email-sharan.santhanam@neclab.eu>
References: <1612462336-20386-1-git-send-email-sharan.santhanam@neclab.eu> <1612462336-20386-3-git-send-email-sharan.santhanam@neclab.eu>
Subject: Re: [UNIKRAFT PATCH v2 2/2] build/lto: Support LTO on gcc-10
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Mailer: Zimbra 8.8.15_GA_3991 (ZimbraWebClient - FF84 (Linux)/8.8.15_GA_3980)
Thread-Topic: build/lto: Support LTO on gcc-10
Thread-Index: 6Z+f/2Tv/1FFSK0tI7tix7YU5AXRTQ==

Hi Sharan,

Thank you, works great!

Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>

----- Original Message -----
From: "Sharan Santhanam" <sharan.santhanam@neclab.eu>
To: "minios-devel" <minios-devel@lists.xen.org>
Cc: "Sharan Santhanam" <sharan.santhanam@neclab.eu>
Sent: Thursday, February 4, 2021 8:12:16 PM
Subject: [UNIKRAFT PATCH v2 2/2] build/lto: Support LTO on gcc-10

To support LTO with incremental builds, we need to add the
`-flinker-output=nolto-rel` linker flag.

Signed-off-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
---
 Makefile.uk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile.uk b/Makefile.uk
index c3bb361..a88d512 100644
--- a/Makefile.uk
+++ b/Makefile.uk
@@ -58,4 +58,6 @@ COMPFLAGS-$(call gcc_version_ge,6,1)	+= -fno-PIC
 LDFLAGS-$(call gcc_version_ge,6,1)	+= -no-pie
 ifeq ($(call gcc_version_ge,10,0),y)
 COMPFLAGS-y += -fhosted -ffreestanding -fno-tree-loop-distribute-patterns
+LIBLDFLAGS-$(CONFIG_OPTIMIZE_LTO) += -flinker-output=nolto-rel
+LDFLAGS-$(CONFIG_OPTIMIZE_LTO) += -flinker-output=nolto-rel
 endif
-- 
2.7.4


From minios-devel-bounces@lists.xenproject.org Thu Feb 04 20:09:30 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 20:09:30 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81420.150483 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7kwR-0004R3-JT; Thu, 04 Feb 2021 20:09:27 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81420.150483; Thu, 04 Feb 2021 20:09:27 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7kwR-0004Qw-GZ; Thu, 04 Feb 2021 20:09:27 +0000
Received: by outflank-mailman (input) for mailman id 81420;
 Thu, 04 Feb 2021 20:09:26 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=QAOo=HG=neclab.eu=sharan.santhanam@srs-us1.protection.inumbo.net>)
 id 1l7kwQ-0004Qr-TZ
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 20:09:26 +0000
Received: from mailer1.neclab.eu (unknown [195.37.70.40])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 93a91ab2-9825-4225-8224-a796cac88fc5;
 Thu, 04 Feb 2021 20:09:25 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer1.neclab.eu (Postfix) with ESMTP id 13C80103961;
 Thu,  4 Feb 2021 21:09:24 +0100 (CET)
Received: from mailer1.neclab.eu ([127.0.0.1])
 by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 2tDqnmGup3ia; Thu,  4 Feb 2021 21:09:23 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer1.neclab.eu (Postfix) with ESMTPS id DD03A1003F1
 for <minios-devel@lists.xen.org>; Thu,  4 Feb 2021 21:09:23 +0100 (CET)
Received: from N-1309.office.hd (192.168.24.96) by puck.office.hd
 (192.168.24.91) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 4 Feb 2021
 21:09:22 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 93a91ab2-9825-4225-8224-a796cac88fc5
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-a.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Sharan Santhanam <sharan.santhanam@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Sharan Santhanam <sharan.santhanam@neclab.eu>
Subject: [UNIKRAFT PATCH] lib/nolibc: Fix warning on string.h
Date: Fri, 5 Feb 2021 01:39:10 +0530
Message-ID: <1612469350-30259-1-git-send-email-sharan.santhanam@neclab.eu>
X-Mailer: git-send-email 2.7.4
MIME-Version: 1.0
Content-Type: text/plain
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: titania.office.hd (192.168.24.89) To puck.office.hd
 (192.168.24.91)

`strsignal` function can be defined libuksignal library

Signed-off-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
---
 lib/nolibc/include/string.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/nolibc/include/string.h b/lib/nolibc/include/string.h
index 090de75..2644aea 100644
--- a/lib/nolibc/include/string.h
+++ b/lib/nolibc/include/string.h
@@ -72,9 +72,7 @@ char *strdup(const char *str);
 char *strerror_r(int errnum, char *buf, size_t buflen);
 char *strerror(int errnum);
 
-#if CONFIG_LIBUKSIGNAL
 char *strsignal(int sig);
-#endif /* CONFIG_LIBUKSIGNAL */
 
 
 #ifdef __cplusplus
-- 
2.7.4



From minios-devel-bounces@lists.xenproject.org Thu Feb 04 20:57:01 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 20:57:01 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81426.150513 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7lgR-00015c-HA; Thu, 04 Feb 2021 20:56:59 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81426.150513; Thu, 04 Feb 2021 20:56:59 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7lgR-00015V-EI; Thu, 04 Feb 2021 20:56:59 +0000
Received: by outflank-mailman (input) for mailman id 81426;
 Thu, 04 Feb 2021 20:56:57 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=D+MW=HG=upb.ro=vlad_andrei.badoiu@srs-us1.protection.inumbo.net>)
 id 1l7lgP-00015O-ED
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 20:56:57 +0000
Received: from mx.upb.ro (unknown [141.85.13.210])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 1cb83afd-8782-4ea8-9344-26ff422fc58f;
 Thu, 04 Feb 2021 20:56:54 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id E379EB56017A;
 Thu,  4 Feb 2021 22:56:52 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id SliRPutQS5FM; Thu,  4 Feb 2021 22:56:50 +0200 (EET)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id D9E76B560181;
 Thu,  4 Feb 2021 22:56:50 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id fzsm-udg7ht6; Thu,  4 Feb 2021 22:56:50 +0200 (EET)
Received: from mx.upb.ro (mx.upb.ro [141.85.13.5])
 by mx.upb.ro (Postfix) with ESMTP id BAA13B56017A;
 Thu,  4 Feb 2021 22:56:50 +0200 (EET)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 1cb83afd-8782-4ea8-9344-26ff422fc58f
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.upb.ro D9E76B560181
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upb.ro;
	s=96342B8A-77E4-11E5-BA93-D93D0963A2DF; t=1612472210;
	bh=retj0hwWgH+dJ6Zr2a5gD3eu9qivzTq9mAEl51UufeQ=;
	h=Date:From:To:Message-ID:MIME-Version;
	b=OxAhIaUxiGwNUTB/WUCH54NwxnefEEvqLezJsGLHTqdP5FCWfvZ+Kjdw9xQ715jm5
	 l5FESAbZHgSP0ckJsCUKxXgUIgqgK12IpraYgkMEoUzENNdP7xuf+V5ImrfU2+Qgsd
	 Tui3kZskSF0fuqQJG0dc+swqOqfT+w7qZ3YVLf/s=
X-Virus-Scanned: amavisd-new at upb.ro
Date: Thu, 4 Feb 2021 22:56:50 +0200 (EET)
From: Vlad-Andrei =?utf-8?Q?B=C4=82DOIU?= <vlad_andrei.badoiu@upb.ro>
To: Sharan Santhanam <sharan.santhanam@neclab.eu>
Cc: minios-devel <minios-devel@lists.xen.org>
Message-ID: <1982824024.6138394.1612472210720.JavaMail.zimbra@upb.ro>
In-Reply-To: <1612469350-30259-1-git-send-email-sharan.santhanam@neclab.eu>
References: <1612469350-30259-1-git-send-email-sharan.santhanam@neclab.eu>
Subject: Re: [UNIKRAFT PATCH] lib/nolibc: Fix warning on string.h
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Mailer: Zimbra 8.8.15_GA_3991 (ZimbraWebClient - FF84 (Linux)/8.8.15_GA_3980)
Thread-Topic: lib/nolibc: Fix warning on string.h
Thread-Index: 8Z6+5zu3z0JDpCTJwB4fVBNqC7MNcg==

Hi Sharan,

The patch works all right, the warning is no longer there. 
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>

----- Original Message -----
From: "Sharan Santhanam" <sharan.santhanam@neclab.eu>
To: "minios-devel" <minios-devel@lists.xen.org>
Cc: "Sharan Santhanam" <sharan.santhanam@neclab.eu>
Sent: Thursday, February 4, 2021 10:09:10 PM
Subject: [UNIKRAFT PATCH] lib/nolibc: Fix warning on string.h

`strsignal` function can be defined libuksignal library

Signed-off-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
---
 lib/nolibc/include/string.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/nolibc/include/string.h b/lib/nolibc/include/string.h
index 090de75..2644aea 100644
--- a/lib/nolibc/include/string.h
+++ b/lib/nolibc/include/string.h
@@ -72,9 +72,7 @@ char *strdup(const char *str);
 char *strerror_r(int errnum, char *buf, size_t buflen);
 char *strerror(int errnum);
 
-#if CONFIG_LIBUKSIGNAL
 char *strsignal(int sig);
-#endif /* CONFIG_LIBUKSIGNAL */
 
 
 #ifdef __cplusplus
-- 
2.7.4


From minios-devel-bounces@lists.xenproject.org Thu Feb 04 21:01:30 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 21:01:30 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81430.150521 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7lkn-000286-Us; Thu, 04 Feb 2021 21:01:29 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81430.150521; Thu, 04 Feb 2021 21:01:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7lkn-00027z-Rp; Thu, 04 Feb 2021 21:01:29 +0000
Received: by outflank-mailman (input) for mailman id 81430;
 Thu, 04 Feb 2021 21:01:28 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=D+MW=HG=upb.ro=vlad_andrei.badoiu@srs-us1.protection.inumbo.net>)
 id 1l7lkm-00027b-9q
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 21:01:28 +0000
Received: from mx.upb.ro (unknown [141.85.13.210])
 by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id a45eec84-e093-416d-bc8a-d2e4f9134a5a;
 Thu, 04 Feb 2021 21:01:26 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id C7C92B560179;
 Thu,  4 Feb 2021 23:01:25 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id 7C-N15A_GG-r; Thu,  4 Feb 2021 23:01:23 +0200 (EET)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id CA1B7B56017A;
 Thu,  4 Feb 2021 23:01:23 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id yjaFGc2Kc2bL; Thu,  4 Feb 2021 23:01:23 +0200 (EET)
Received: from localhost.localdomain (unknown [86.121.175.249])
 by mx.upb.ro (Postfix) with ESMTPSA id A6C1FB560179;
 Thu,  4 Feb 2021 23:01:23 +0200 (EET)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: a45eec84-e093-416d-bc8a-d2e4f9134a5a
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.upb.ro CA1B7B56017A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upb.ro;
	s=96342B8A-77E4-11E5-BA93-D93D0963A2DF; t=1612472483;
	bh=ILEZ6UdbvQQr7M8/ofgMe408A4itSEETUXtZXMd0YUA=;
	h=From:To:Date:Message-Id:MIME-Version;
	b=YtltHqHcend/I59ehkoVYOk2a1IVYgFc61g/mk+qPwTNR0U3TXEWLo3EaZfaahBeR
	 3djm4uzLxzk/7cmqch3AvDUnpm1p/UZIr1zz2Ch/ALGSTOUuY0jXqRHyZwJzd7Aqki
	 kLttRSZOQaDYxXx2s23lEt/RvkZP/bLBiFmDcEkI=
X-Virus-Scanned: amavisd-new at upb.ro
From: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
To: minios-devel@lists.xen.org
Cc: sharan.santhanam@neclab.eu,
	Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
Subject: [UNIKRAFT PATCH 1/1] support/build: Remove newline from echo
Date: Thu,  4 Feb 2021 23:01:19 +0200
Message-Id: <20210204210119.153706-1-vlad_andrei.badoiu@upb.ro>
X-Mailer: git-send-email 2.27.0
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
---
 support/build/Makefile.rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/support/build/Makefile.rules b/support/build/Makefile.rules
index 80d874e..50e61fe 100644
--- a/support/build/Makefile.rules
+++ b/support/build/Makefile.rules
@@ -42,7 +42,7 @@ endef
 # test whether GCC version is greater than or equal to the minimum requi=
rement
 # gcc_version_ge $gcc_major,$gcc_minor
 define gcc_version_ge =3D
-$(shell if [ $(call have_gcc) =3D y ] ; then if [ $(CC_VER_MAJOR) -gt $(=
1) ] || ([ $(CC_VER_MAJOR) -eq $(1) ] && [ $(CC_VER_MINOR) -ge $(2) ]) ; =
then echo y ; fi ; fi)
+$(shell if [ $(call have_gcc) =3D y ] ; then if [ $(CC_VER_MAJOR) -gt $(=
1) ] || ([ $(CC_VER_MAJOR) -eq $(1) ] && [ $(CC_VER_MINOR) -ge $(2) ]) ; =
then echo -n y ; fi ; fi)
 endef
=20
 # print error and stop build when GCC version doesn't meet the minimum r=
equirement
--=20
2.27.0



From minios-devel-bounces@lists.xenproject.org Thu Feb 04 21:06:54 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 21:06:54 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81431.150524 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7lq1-0002Cs-D3; Thu, 04 Feb 2021 21:06:53 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81431.150524; Thu, 04 Feb 2021 21:06:53 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7lq1-0002Cl-A4; Thu, 04 Feb 2021 21:06:53 +0000
Received: by outflank-mailman (input) for mailman id 81431;
 Thu, 04 Feb 2021 21:06:51 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=D+MW=HG=upb.ro=vlad_andrei.badoiu@srs-us1.protection.inumbo.net>)
 id 1l7lpz-0002Cg-KQ
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 21:06:51 +0000
Received: from mx.upb.ro (unknown [141.85.13.210])
 by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id 53a858c7-99aa-48f1-8de1-18013b9da3d0;
 Thu, 04 Feb 2021 21:06:50 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id AC2B2B560179;
 Thu,  4 Feb 2021 23:06:49 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id 8s8OFPYjzIjw; Thu,  4 Feb 2021 23:06:47 +0200 (EET)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id C8A24B560181;
 Thu,  4 Feb 2021 23:06:47 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id dL_M4IWVJLgO; Thu,  4 Feb 2021 23:06:47 +0200 (EET)
Received: from localhost.localdomain (unknown [86.121.175.249])
 by mx.upb.ro (Postfix) with ESMTPSA id A7BD9B560179;
 Thu,  4 Feb 2021 23:06:47 +0200 (EET)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 53a858c7-99aa-48f1-8de1-18013b9da3d0
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.upb.ro C8A24B560181
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upb.ro;
	s=96342B8A-77E4-11E5-BA93-D93D0963A2DF; t=1612472807;
	bh=gmjGDHp0UNK7ZXp+9uGh5yICRAo3aOM0rlTKwNwpx4I=;
	h=From:To:Date:Message-Id:MIME-Version;
	b=XUwoGOi1NmULQM2wghcCFeKHG5f8gnYtffAPa9XuxxL0y7nQhz2FRZUOiixbPQzDe
	 wBaK1AlV6oBXeU3qromwH8hT05QW/dzmdAyxCJHTRc0MlxMbWOVHMPunW5tHdvlD0/
	 HV5jJt73sSJYq3q3JvHzLHAHW6kzICVlBAc41TCI=
X-Virus-Scanned: amavisd-new at upb.ro
From: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
To: minios-devel@lists.xen.org
Cc: sharan.santhanam@neclab.eu,
	Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
Subject: [UNIKRAFT PATCH 1/1] lib/uksp: Include limits.h
Date: Thu,  4 Feb 2021 23:06:44 +0200
Message-Id: <20210204210644.158560-1-vlad_andrei.badoiu@upb.ro>
X-Mailer: git-send-email 2.27.0
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

We remove the uk/thread.h import that we previously used
for the STACK_MASK_TOP symbol. This symbol is now available
by importing uk/arch/limits.h.

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
---
 lib/uksp/ssp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/uksp/ssp.c b/lib/uksp/ssp.c
index 8a847f5..d7b8ac1 100644
--- a/lib/uksp/ssp.c
+++ b/lib/uksp/ssp.c
@@ -30,10 +30,10 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
=20
+#include <uk/arch/limits.h>
 #include <uk/assert.h>
 #include <uk/config.h>
 #include <uk/ctors.h>
-#include <uk/thread.h>
=20
 #ifdef CONFIG_LIBUKSP_VALUE_USECONSTANT
 const unsigned long __stack_chk_guard =3D CONFIG_LIBUKSP_VALUE_CONSTANT;
--=20
2.27.0



From minios-devel-bounces@lists.xenproject.org Thu Feb 04 21:12:34 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 21:12:34 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81435.150543 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7lvV-0003J8-4G; Thu, 04 Feb 2021 21:12:33 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81435.150543; Thu, 04 Feb 2021 21:12:33 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7lvV-0003J1-1K; Thu, 04 Feb 2021 21:12:33 +0000
Received: by outflank-mailman (input) for mailman id 81435;
 Thu, 04 Feb 2021 21:12:31 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=D+MW=HG=upb.ro=vlad_andrei.badoiu@srs-us1.protection.inumbo.net>)
 id 1l7lvS-0003Iw-Vd
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 21:12:31 +0000
Received: from mx.upb.ro (unknown [141.85.13.5])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id da4d8d8d-9943-4fab-a40f-40221f0122d4;
 Thu, 04 Feb 2021 21:12:27 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id A0191B560179;
 Thu,  4 Feb 2021 23:12:26 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id CfFcyI02elkX; Thu,  4 Feb 2021 23:12:24 +0200 (EET)
Received: from localhost (localhost [127.0.0.1])
 by mx.upb.ro (Postfix) with ESMTP id 8CA7EB56017A;
 Thu,  4 Feb 2021 23:12:24 +0200 (EET)
Received: from mx.upb.ro ([127.0.0.1])
 by localhost (mx.upb.ro [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id WnNlAPuC4mmz; Thu,  4 Feb 2021 23:12:24 +0200 (EET)
Received: from localhost.localdomain (unknown [86.121.175.249])
 by mx.upb.ro (Postfix) with ESMTPSA id 6B1D5B560179;
 Thu,  4 Feb 2021 23:12:24 +0200 (EET)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: da4d8d8d-9943-4fab-a40f-40221f0122d4
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.upb.ro 8CA7EB56017A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=upb.ro;
	s=96342B8A-77E4-11E5-BA93-D93D0963A2DF; t=1612473144;
	bh=NPKR//nDf54pbJCj8h69PdZ8RUw5fr3T8k6jvr04uyA=;
	h=From:To:Date:Message-Id:MIME-Version;
	b=K8ZDbE0mpDhRIKOSpYWilOLW77VtTsdy0HLlwW0wLEDxMqHPNkrP532JAnYaWtq8X
	 qImFiPjNHXw8XCbZ5q+VeyVF9+joxlF1zrFl1kYad7O9U2Tq62T4fEbWJG0Matmgcf
	 f/a9c8mk5PEeMTerpSpuwoh719S7Gg3mF9rOCmpE=
X-Virus-Scanned: amavisd-new at upb.ro
From: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
To: minios-devel@lists.xen.org
Cc: sharan.santhanam@neclab.eu,
	Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>,
	Sergiu Moga <serjueovp@gmail.com>
Subject: [UNIKRAFT PATCH v2 1/1] lib/posix-libdl: Add dlvsym stub
Date: Thu,  4 Feb 2021 23:12:21 +0200
Message-Id: <20210204211221.163057-1-vlad_andrei.badoiu@upb.ro>
X-Mailer: git-send-email 2.27.0
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
Reviewed-by: Sergiu Moga <serjueovp@gmail.com>
---
 lib/posix-libdl/exportsyms.uk   | 3 ++-
 lib/posix-libdl/include/dlfcn.h | 1 +
 lib/posix-libdl/stubs.c         | 6 ++++++
 3 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/lib/posix-libdl/exportsyms.uk b/lib/posix-libdl/exportsyms.u=
k
index 77c7a54..d570a57 100644
--- a/lib/posix-libdl/exportsyms.uk
+++ b/lib/posix-libdl/exportsyms.uk
@@ -3,4 +3,5 @@ dlclose
 dlsym
 dlerror
 dladdr
-dlinfo
\ No newline at end of file
+dlinfo
+dlvsym
diff --git a/lib/posix-libdl/include/dlfcn.h b/lib/posix-libdl/include/dl=
fcn.h
index 706245a..6cb6cf5 100644
--- a/lib/posix-libdl/include/dlfcn.h
+++ b/lib/posix-libdl/include/dlfcn.h
@@ -58,6 +58,7 @@ typedef struct {
 } Dl_info;
 int dladdr(const void *, Dl_info *);
 int dlinfo(void *, int, void *);
+void *dlvsym(void *handle, const char *symbol, const char *version);
=20
 #ifdef __cplusplus
 }
diff --git a/lib/posix-libdl/stubs.c b/lib/posix-libdl/stubs.c
index dbfac7d..4d1ea3e 100644
--- a/lib/posix-libdl/stubs.c
+++ b/lib/posix-libdl/stubs.c
@@ -67,3 +67,9 @@ int dlinfo(void *handle __unused, int request __unused,=
 void *info __unused)
 {
 	return 0;
 }
+
+void *dlvsym(void *handle __unused, const char *symbol __unused,
+		const char *version __unused)
+{
+	return 0;
+}
--=20
2.27.0



From minios-devel-bounces@lists.xenproject.org Thu Feb 04 21:17:33 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 21:17:33 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81436.150547 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7m0K-0003O4-IF; Thu, 04 Feb 2021 21:17:32 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81436.150547; Thu, 04 Feb 2021 21:17:32 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7m0K-0003O0-FK; Thu, 04 Feb 2021 21:17:32 +0000
Received: by outflank-mailman (input) for mailman id 81436;
 Thu, 04 Feb 2021 21:17:32 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=QAOo=HG=neclab.eu=sharan.santhanam@srs-us1.protection.inumbo.net>)
 id 1l7m0J-0003Nv-VY
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 21:17:32 +0000
Received: from mailer2.neclab.eu (unknown [195.37.70.41])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 87f5df43-fa96-41cd-82fc-4d12ce23ca72;
 Thu, 04 Feb 2021 21:17:30 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer2.neclab.eu (Postfix) with ESMTP id 63890F24CE;
 Thu,  4 Feb 2021 22:17:29 +0100 (CET)
Received: from mailer2.neclab.eu ([127.0.0.1])
 by localhost (atlas-b.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id YFvxMFWxuTiM; Thu,  4 Feb 2021 22:17:29 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer2.neclab.eu (Postfix) with ESMTPS id 3AA92F2389;
 Thu,  4 Feb 2021 22:17:25 +0100 (CET)
Received: from [10.7.1.9] (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 4 Feb 2021
 22:17:23 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 87f5df43-fa96-41cd-82fc-4d12ce23ca72
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-b.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
Subject: Re: [UNIKRAFT PATCH 1/1] support/build: Remove newline from echo
To: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>,
	<minios-devel@lists.xen.org>
References: <20210204210119.153706-1-vlad_andrei.badoiu@upb.ro>
From: Sharan Santhanam <sharan.santhanam@neclab.eu>
Message-ID: <33ce1652-7104-71bc-2677-3dc2a9b5fa3c@neclab.eu>
Date: Fri, 5 Feb 2021 02:47:19 +0530
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <20210204210119.153706-1-vlad_andrei.badoiu@upb.ro>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: oberon.office.hd (192.168.24.90) To puck.office.hd
 (192.168.24.91)

Reviewed-by: Sharan Santhanam <sharan.santhanam@neclab.eu>

On 2/5/21 2:31 AM, Vlad-Andrei Badoiu wrote:
> Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
> ---
>   support/build/Makefile.rules | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/support/build/Makefile.rules b/support/build/Makefile.rules
> index 80d874e..50e61fe 100644
> --- a/support/build/Makefile.rules
> +++ b/support/build/Makefile.rules
> @@ -42,7 +42,7 @@ endef
>   # test whether GCC version is greater than or equal to the minimum requirement
>   # gcc_version_ge $gcc_major,$gcc_minor
>   define gcc_version_ge =
> -$(shell if [ $(call have_gcc) = y ] ; then if [ $(CC_VER_MAJOR) -gt $(1) ] || ([ $(CC_VER_MAJOR) -eq $(1) ] && [ $(CC_VER_MINOR) -ge $(2) ]) ; then echo y ; fi ; fi)
> +$(shell if [ $(call have_gcc) = y ] ; then if [ $(CC_VER_MAJOR) -gt $(1) ] || ([ $(CC_VER_MAJOR) -eq $(1) ] && [ $(CC_VER_MINOR) -ge $(2) ]) ; then echo -n y ; fi ; fi)
>   endef
>   
>   # print error and stop build when GCC version doesn't meet the minimum requirement


From minios-devel-bounces@lists.xenproject.org Thu Feb 04 21:33:55 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Thu, 04 Feb 2021 21:33:55 +0000
Received: from list by lists.xenproject.org with outflank-mailman.81445.150592 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7mGB-0005gV-KC; Thu, 04 Feb 2021 21:33:55 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 81445.150592; Thu, 04 Feb 2021 21:33:55 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l7mGB-0005gO-H9; Thu, 04 Feb 2021 21:33:55 +0000
Received: by outflank-mailman (input) for mailman id 81445;
 Thu, 04 Feb 2021 21:33:53 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=QAOo=HG=neclab.eu=sharan.santhanam@srs-us1.protection.inumbo.net>)
 id 1l7mG9-0005gH-S9
 for minios-devel@lists.xen.org; Thu, 04 Feb 2021 21:33:53 +0000
Received: from mailer1.neclab.eu (unknown [195.37.70.40])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 5ae34587-ad99-4d54-b9ac-05c3edaf7f38;
 Thu, 04 Feb 2021 21:33:52 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer1.neclab.eu (Postfix) with ESMTP id 43CD6103961;
 Thu,  4 Feb 2021 22:33:51 +0100 (CET)
Received: from mailer1.neclab.eu ([127.0.0.1])
 by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id HClAODcurSy4; Thu,  4 Feb 2021 22:33:51 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer1.neclab.eu (Postfix) with ESMTPS id 1F11B101361;
 Thu,  4 Feb 2021 22:33:51 +0100 (CET)
Received: from [10.7.1.9] (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Thu, 4 Feb 2021
 22:33:49 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 5ae34587-ad99-4d54-b9ac-05c3edaf7f38
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-a.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
Subject: Re: [UNIKRAFT PATCH 1/1] lib/uksp: Include limits.h
To: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>,
	<minios-devel@lists.xen.org>
References: <20210204210644.158560-1-vlad_andrei.badoiu@upb.ro>
From: Sharan Santhanam <sharan.santhanam@neclab.eu>
Message-ID: <1f89f1e8-f6ed-9287-c4cd-c0cfc661f47c@neclab.eu>
Date: Fri, 5 Feb 2021 03:03:44 +0530
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <20210204210644.158560-1-vlad_andrei.badoiu@upb.ro>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: puck.office.hd (192.168.24.91) To puck.office.hd
 (192.168.24.91)

Hello Vlad,

I have a minor comment and I can fix while upstreaming.

Reviewed-by: Sharan Santhanam <sharan.santhanam@neclab.eu>


Thanks & REgards

Sharan



On 2/5/21 2:36 AM, Vlad-Andrei Badoiu wrote:
> We remove the uk/thread.h import that we previously used
> for the STACK_MASK_TOP symbol. This symbol is now available
> by importing uk/arch/limits.h.
>
> Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>
> ---
>   lib/uksp/ssp.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/uksp/ssp.c b/lib/uksp/ssp.c
> index 8a847f5..d7b8ac1 100644
> --- a/lib/uksp/ssp.c
> +++ b/lib/uksp/ssp.c
> @@ -30,10 +30,10 @@
>    * POSSIBILITY OF SUCH DAMAGE.
>    */
>   
> +#include <uk/arch/limits.h>
>   #include <uk/assert.h>
>   #include <uk/config.h>
>   #include <uk/ctors.h>
> -#include <uk/thread.h>
We need to include <uk/arch/lcpu.h>
>   
>   #ifdef CONFIG_LIBUKSP_VALUE_USECONSTANT
>   const unsigned long __stack_chk_guard = CONFIG_LIBUKSP_VALUE_CONSTANT;


From minios-devel-bounces@lists.xenproject.org Sat Feb 06 07:58:41 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 06 Feb 2021 07:58:41 +0000
Received: from list by lists.xenproject.org with outflank-mailman.82067.151675 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l8IUH-0004AW-Iz; Sat, 06 Feb 2021 07:58:37 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 82067.151675; Sat, 06 Feb 2021 07:58:37 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l8IUH-0004AP-Fq; Sat, 06 Feb 2021 07:58:37 +0000
Received: by outflank-mailman (input) for mailman id 82067;
 Sat, 06 Feb 2021 07:58:35 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=jFVF=HI=neclab.eu=felipe.huici@srs-us1.protection.inumbo.net>)
 id 1l8IUF-0004AK-NF
 for minios-devel@lists.xen.org; Sat, 06 Feb 2021 07:58:35 +0000
Received: from mailer2.neclab.eu (unknown [195.37.70.41])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id f0a41ec1-440d-44ab-8bdb-0cde1b826eb5;
 Sat, 06 Feb 2021 07:58:32 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer2.neclab.eu (Postfix) with ESMTP id A9486F2519;
 Sat,  6 Feb 2021 08:58:31 +0100 (CET)
Received: from mailer2.neclab.eu ([127.0.0.1])
 by localhost (atlas-b.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 0gcJDJBNMaNk; Sat,  6 Feb 2021 08:58:31 +0100 (CET)
Received: from Oberon.office.hd (Oberon.office.hd [192.168.24.90])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer2.neclab.eu (Postfix) with ESMTPS id 65BABF2517
 for <minios-devel@lists.xen.org>; Sat,  6 Feb 2021 08:58:29 +0100 (CET)
Received: from oberon.office.hd (192.168.24.90) by Oberon.office.hd
 (192.168.24.90) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Sat, 6 Feb 2021
 08:58:29 +0100
Received: from oberon.office.hd ([192.168.126.11]) by Oberon.office.hd
 ([192.168.126.11]) with mapi id 15.01.2106.006; Sat, 6 Feb 2021 08:58:29
 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: f0a41ec1-440d-44ab-8bdb-0cde1b826eb5
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-b.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Felipe Huici <Felipe.Huici@neclab.eu>
To: "minios-devel@lists.xen.org" <minios-devel@lists.xen.org>
Subject: Unikraft New Release: 0.5 Tethys
Thread-Topic: Unikraft New Release: 0.5 Tethys
Thread-Index: AQHW/F3aBPdrf8SSK0aRmewqdUi/RQ==
Date: Sat, 6 Feb 2021 07:58:28 +0000
Message-ID: <FEFC1552-66AF-4D8A-AA8D-F83850B2BD66@neclab.eu>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.45.21011103
x-originating-ip: [192.168.24.96]
Content-Type: multipart/signed; protocol="application/pkcs7-signature";
	micalg=sha256; boundary="B_3695446708_1932014499"
MIME-Version: 1.0

--B_3695446708_1932014499
Content-type: text/plain;
	charset="UTF-8"
Content-transfer-encoding: quoted-printable

Hi all,

We are proud to announce the latest version of Unikraft, 0.5 Tethys. In thi=
s release, we introduce many new improvements, including critical bug fixes,=
 improved stability and new features:

* Support for multiple, concurrent  memory allocators
* Support for non-executable pages on x86;
* Support for IEEE 802.1q and IEEE 802.1ad tagged frames;
* Access to the TSC-clock for accurate boot and system time;
* Memory stack-protection;
* Recursive PCI-bus enumeration;
* Better error reporting;
* Support for arm64 fp;
* Automatic libc-style system call stubs;
* Improved console I/O;
* virtio block driver;
* signals support
* ANSI-colored output;
=E2=80=A6and much more!

We have also been hard at work increasing the number of available applicati=
ons and libraries supported by Unikraft, including:

* tflite - ML for Mobile and Edge Devices
* dnnl - Intel's Deep Neural Network Library
* nnpack - an acceleration package for neural network computations
* tlsf - Memory allocator real time embedded systems
* allocbuddy - Binary buddy memory allocator
* tinyalloc - A tiny allocator designed for tiny embedded systems
* mimalloc - A general purpose allocator with excellent performance charact=
eristics
* nettle - A low-level cryptographic library
* gemmlowp - Low-precision matrix multiplication
* liblzma - A compression library with an API similar to that of zlib
* protobuf - Google=E2=80=99s language-neutral, platform-neutral, extensible mech=
anism for serializing structured data.
* zydis - Fast and lightweight x86/x86-64 disassembler library
* farmhash - FarmHash provides hash functions for strings and other data
* flatbuffers - FlatBuffers is an efficient cross platform serialization li=
brary

As always, we would like to express our gratitude to all contributors and r=
eviewers:

Developers with the most changed lines
Vlad-Andrei B=C4=82DOIU (78692)     +33488/-51 (48.2%)
Simon Kuenzer                  +17418/-1175 (25.4%)
cristian-vijelie               +3312/-0 (4.8%)
Alexander Jung                 +3119/-630 (4.6%)
Hugo Lefeuvre                  +2366/-160 (3.5%)
Bernard Rizzo                  +1698/-100 (2.4%)
ARGINT DRAGOS IULIAN           +1545/-3 (2.2%)
Roxana Nicolescu               +1253/-26 (1.8%)
Cristian Banu                  +620/-727 (1.5%)
George Muraru                  +946/-19 (1.4%)
Felipe Huici                   +900/-15 (1.3%)
Laurentiu Barbulescu           +726/-0 (1.0%)
Sharan Santhanam               +413/-104 (0.6%)
Constantin Raducanu            +276/-168 (0.4%)
Jia He                         +161/-19 (0.2%)
Vlad-Andrei Badoiu             +144/-29 (0.2%)
Sergiu Moga                    +73/-18 (0.1%)
Costin Lupu                    +61/-25 (0.1%)
Jianyong Wu                    +60/-25 (0.1%)
gaulthier gain                 +55/-6 (0.1%)
Razvan Deaconescu              +23/-25 (0.1%)
Radu Nicolau                   +18/-6 (0.0%)
Felix Moebius                  +9/-2 (0.0%)
Cyril Soldani                  +8/-2 (0.0%)
Stefan Teodorescu              +2/-0 (0.0%)
dragosargint                   +2/-1 (0.0%)

Top lines changed by employer
University Politehnica of Bucharest +42489/-1098 (61.8%)
NEC                                 +20395/-1463 (29.7%)
Lancaster University                +3008/-604 (4.4%)
University of Li=C3=A8ge                 +1761/-108 (2.5%)
University of Manchester            +813/-17 (1.2%)
ARM                                 +221/-44 (0.3%)
felix.moebius@posteo.de             +9/-2 (0.0%)

Developers with the most reviews (total 357)
Felipe Huici                     81 (22.7%)
Sharan Santhanam                 38 (10.6%)
Simon Kuenzer                    31 (8.7%)
Daniel Dinca                     28 (7.8%)
Costin Lupu                      27 (7.6%)
Razvan Deaconescu                26 (7.3%)
Alexander Jung                   25 (7.0%)
Jia He                           14 (3.9%)
Hugo Lefeuvre                    13 (3.6%)
Laurentiu Barbulescu             12 (3.4%)
gaulthier gain                   11 (3.1%)
Cezar Craciunoiu                  8 (2.2%)
Vlad-Andrei Badoiu                7 (2.0%)
Gabriel Mocanu                    7 (2.0%)
Sergiu Moga                       5 (1.4%)
Liza Babu                         5 (1.4%)
George Muraru                     4 (1.1%)
Alice Suiu                        4 (1.1%)
ARGINT DRAGOS IULIAN              3 (0.8%)
Gaulthier Gain                    3 (0.8%)
Vlad-Andrei B=C4=82DOIU                1 (0.3%)
Radu Nicolau                      1 (0.3%)
Razvan Virtan                     1 (0.3%)
Marius-Cristian Baciu             1 (0.3%)
Julien Grall                      1 (0.3%)

Thanks,

-- Felipe

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Dr. Felipe Huici
Chief Researcher, Systems and Machine Learning Group
NEC Laboratories Europe GmbH
Kurfuerstenanlage 36, D-69115 Heidelberg
Tel.  +49
(0)6221 4342-241
Fax:  +49
(0)6221 4342-155
=20
e-mail:
felipe.huici@neclab.eu
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Registered at Amtsgericht Mannheim, Germany, HRB728558

--B_3695446708_1932014499
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIIW5AYJKoZIhvcNAQcCoIIW1TCCFtECAQExDzANBglghkgBZQMEAgEFADALBgkqhkiG9w0B
BwGgghRzMIIF4jCCBMqgAwIBAgIMIx0hEMo0r/LChHc0MA0GCSqGSIb3DQEBCwUAMIGNMQsw
CQYDVQQGEwJERTFFMEMGA1UECgw8VmVyZWluIHp1ciBGb2VyZGVydW5nIGVpbmVzIERldXRz
Y2hlbiBGb3JzY2h1bmdzbmV0emVzIGUuIFYuMRAwDgYDVQQLDAdERk4tUEtJMSUwIwYDVQQD
DBxERk4tVmVyZWluIEdsb2JhbCBJc3N1aW5nIENBMB4XDTIwMDcwMjA5MDYwOVoXDTIzMDcw
MjA5MDYwOVowfTELMAkGA1UEBhMCREUxGzAZBgNVBAgMEkJhZGVuLVd1ZXJ0dGVtYmVyZzET
MBEGA1UEBwwKSGVpZGVsYmVyZzElMCMGA1UECgwcTkVDIExhYm9yYXRvcmllcyBFdXJvcGUg
R21iSDEVMBMGA1UEAwwMRmVsaXBlIEh1aWNpMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB
CgKCAQEAmRdaIRFT/D43BINrfcRjIyCfNSSYNUaHoG2sIntLB8ZktzwXhvGDfC95jSkbg446
jemm935Va3/YrJ6E92RomM5huwbvEsoBy+sznU7sqUf0k98mGfOG1e05RQ3WgMosZtasMs3n
hwFTifVdu/SgP4pfjWCfsQaw20P0+YLtjGklz8CDmT/4sAew64U1O8KDiTqxw5a0Z8Hdalqv
vT+QDfRg58PYa0rkk28EXK39opAgIrPtRVXh0TU1zPitjcVxJyXQ6Dd3QiGmJgPQzQEIBpl6
+azYUaFoXOKjpv4UkICXioglS6k5wypBLRDNoXZABWrVleKNxnQQqykT2/UgqwIDAQABo4IC
TzCCAkswPgYDVR0gBDcwNTAPBg0rBgEEAYGtIYIsAQEEMBAGDisGAQQBga0hgiwBAQQHMBAG
DisGAQQBga0hgiwCAQQHMAkGA1UdEwQCMAAwDgYDVR0PAQH/BAQDAgXgMB0GA1UdJQQWMBQG
CCsGAQUFBwMCBggrBgEFBQcDBDAdBgNVHQ4EFgQUFIhDzpq1bjQ9lWDKYWmdLws70skwHwYD
VR0jBBgwFoAUazqYi/nyU4na4K2yMh4JH+iqO3QwIQYDVR0RBBowGIEWRmVsaXBlLkh1aWNp
QG5lY2xhYi5ldTCBjQYDVR0fBIGFMIGCMD+gPaA7hjlodHRwOi8vY2RwMS5wY2EuZGZuLmRl
L2Rmbi1jYS1nbG9iYWwtZzIvcHViL2NybC9jYWNybC5jcmwwP6A9oDuGOWh0dHA6Ly9jZHAy
LnBjYS5kZm4uZGUvZGZuLWNhLWdsb2JhbC1nMi9wdWIvY3JsL2NhY3JsLmNybDCB2wYIKwYB
BQUHAQEEgc4wgcswMwYIKwYBBQUHMAGGJ2h0dHA6Ly9vY3NwLnBjYS5kZm4uZGUvT0NTUC1T
ZXJ2ZXIvT0NTUDBJBggrBgEFBQcwAoY9aHR0cDovL2NkcDEucGNhLmRmbi5kZS9kZm4tY2Et
Z2xvYmFsLWcyL3B1Yi9jYWNlcnQvY2FjZXJ0LmNydDBJBggrBgEFBQcwAoY9aHR0cDovL2Nk
cDIucGNhLmRmbi5kZS9kZm4tY2EtZ2xvYmFsLWcyL3B1Yi9jYWNlcnQvY2FjZXJ0LmNydDAN
BgkqhkiG9w0BAQsFAAOCAQEAKz0Z39gktCqk+suoj0tANiiDoPj7dmbwTmXH0RGX7k4/fcdW
Nfk6QenjEIt0QMgbhvo6Ig31b5Xzb/hzkrEC8vlvxvD0RmD9/b2IxzvA29/PPj/iMRqPsphr
C/6jtGu8HHqJHKzoghsx2VOh959blC3SG44aIV8utn0AckPQgKVlrcojYtnpFtXrLogbpljo
8xn+/4mksCl1tFBBV/pitV58FFfG6fVs0q/OHfnsP8Yd6S1rayT/yv08NfaY6es4yx5kk8e9
jrxJWx+cpGu295MHGI/zBNwCawmQ/UgzAjraGgQp/6/yfXQ/GRJKA5fLkxcsE4wXGCNH3sh6
G7EF5jCCBawwggSUoAMCAQICBxtjutAeLD0wDQYJKoZIhvcNAQELBQAwgZUxCzAJBgNVBAYT
AkRFMUUwQwYDVQQKEzxWZXJlaW4genVyIEZvZXJkZXJ1bmcgZWluZXMgRGV1dHNjaGVuIEZv
cnNjaHVuZ3NuZXR6ZXMgZS4gVi4xEDAOBgNVBAsTB0RGTi1QS0kxLTArBgNVBAMTJERGTi1W
ZXJlaW4gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMjAeFw0xNjA1MjQxMTM4NDBaFw0zMTAy
MjIyMzU5NTlaMIGNMQswCQYDVQQGEwJERTFFMEMGA1UECgw8VmVyZWluIHp1ciBGb2VyZGVy
dW5nIGVpbmVzIERldXRzY2hlbiBGb3JzY2h1bmdzbmV0emVzIGUuIFYuMRAwDgYDVQQLDAdE
Rk4tUEtJMSUwIwYDVQQDDBxERk4tVmVyZWluIEdsb2JhbCBJc3N1aW5nIENBMIIBIjANBgkq
hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnTt5HEfeH4bLxmnXEJ4519miMNtyHAV/KV9LaPGt
GdZM4WsbsQt/oavge4uL2C3Obog6EO5X5R5/BFE267pwbWOgvpYuQOHRg0xmPRxkaeWbpK1y
rmg5UYd5zBfTri9dY3FLOXrrQqeXkGkFv5D/pEBwvQPnv54YiB+fmYhNDkeNSF9lmRDS2SpJ
7cG5LR2fEssV0z9/HlQvOq6TV6d+eMrVSuIa5e1BfVNfyLMq9YowrO0XBSQ/tqALB/1NGpoD
UqA2nN4kh2Xk5/rHlnMkFM3Q6BtonhhZrnZ+99EKeDyHS7A3z1PKOjgQ88tHbYxkPTxaRUq6
yoB8uPPnp0xMzQIDAQABo4ICBTCCAgEwEgYDVR0TAQH/BAgwBgEB/wIBATAOBgNVHQ8BAf8E
BAMCAQYwKQYDVR0gBCIwIDANBgsrBgEEAYGtIYIsHjAPBg0rBgEEAYGtIYIsAQEEMB0GA1Ud
DgQWBBRrOpiL+fJTidrgrbIyHgkf6Ko7dDAfBgNVHSMEGDAWgBST49gyJtrV8UqlkUrg6kvi
ogzP4TCBjwYDVR0fBIGHMIGEMECgPqA8hjpodHRwOi8vY2RwMS5wY2EuZGZuLmRlL2dsb2Jh
bC1yb290LWcyLWNhL3B1Yi9jcmwvY2FjcmwuY3JsMECgPqA8hjpodHRwOi8vY2RwMi5wY2Eu
ZGZuLmRlL2dsb2JhbC1yb290LWcyLWNhL3B1Yi9jcmwvY2FjcmwuY3JsMIHdBggrBgEFBQcB
AQSB0DCBzTAzBggrBgEFBQcwAYYnaHR0cDovL29jc3AucGNhLmRmbi5kZS9PQ1NQLVNlcnZl
ci9PQ1NQMEoGCCsGAQUFBzAChj5odHRwOi8vY2RwMS5wY2EuZGZuLmRlL2dsb2JhbC1yb290
LWcyLWNhL3B1Yi9jYWNlcnQvY2FjZXJ0LmNydDBKBggrBgEFBQcwAoY+aHR0cDovL2NkcDIu
cGNhLmRmbi5kZS9nbG9iYWwtcm9vdC1nMi1jYS9wdWIvY2FjZXJ0L2NhY2VydC5jcnQwDQYJ
KoZIhvcNAQELBQADggEBAIF4RaROpH8OVfAJsWo+eMxoNakc85WeP/P432s4d4ksjbWtPsfy
lM2gBq66zKixrTMItiSGYjZMeG5Q8NVuYI1PUjFDl0Z18GLkbmZRwUIxZ1DlSec5HsufyoZI
3ggU/xVLK2aboDifAM79p+vRf1ctyExf3BARlz6WBAJchKgpOWyU/BCSBnue7thGtBu1Aww4
2dywqT9xBguyAwczwo1IYyUlPHp7V273igU477igri/02wfVW4QYwam4S85skBqC5Lk9+nfx
0h8zAr9T53b53CYlQW8vphv6pBOQ+nx+2QtgXey/ykGgYfsRSSnYqC11FdhKGOoW71U0IhoT
jQYwggUSMIID+qADAgECAgkA4wvV+K8l2YEwDQYJKoZIhvcNAQELBQAwgYIxCzAJBgNVBAYT
AkRFMSswKQYDVQQKDCJULVN5c3RlbXMgRW50ZXJwcmlzZSBTZXJ2aWNlcyBHbWJIMR8wHQYD
VQQLDBZULVN5c3RlbXMgVHJ1c3QgQ2VudGVyMSUwIwYDVQQDDBxULVRlbGVTZWMgR2xvYmFs
Um9vdCBDbGFzcyAyMB4XDTE2MDIyMjEzMzgyMloXDTMxMDIyMjIzNTk1OVowgZUxCzAJBgNV
BAYTAkRFMUUwQwYDVQQKEzxWZXJlaW4genVyIEZvZXJkZXJ1bmcgZWluZXMgRGV1dHNjaGVu
IEZvcnNjaHVuZ3NuZXR6ZXMgZS4gVi4xEDAOBgNVBAsTB0RGTi1QS0kxLTArBgNVBAMTJERG
Ti1WZXJlaW4gQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkgMjCCASIwDQYJKoZIhvcNAQEBBQAD
ggEPADCCAQoCggEBAMtg1/9moUHN0vqHl4pzq5lN6mc5WqFggEcVToyVsuXPztNXS43O+FZs
FVV2B+pG/cgDRWM+cNSrVICxI5y+NyipCf8FXRgPxJiZN7Mg9mZ4F4fCnQ7MSjLnFp2uDo0p
eQcAIFTcFV9Kltd4tjTTwXS1nem/wHdN6r1ZB+BaL2w8pQDcNb1lDY9/Mm3yWmpLYgHurDg0
WUU2SQXaeMpqbVvAgWsRzNI8qIv4cRrKO+KA3Ra0Z3qLNupOkSk9s1FcragMvp0049ENF4N1
xDkesJQLEvHVaY4l9Lg9K7/AjsMeO6W/VRCrKq4Xl14zzsjz9AkH4wKGMUZrAcUQDBHHWekC
AwEAAaOCAXQwggFwMA4GA1UdDwEB/wQEAwIBBjAdBgNVHQ4EFgQUk+PYMiba1fFKpZFK4OpL
4qIMz+EwHwYDVR0jBBgwFoAUv1kgNgB5oKAia4zV8mHSuCzLgkowEgYDVR0TAQH/BAgwBgEB
/wIBAjAzBgNVHSAELDAqMA8GDSsGAQQBga0hgiwBAQQwDQYLKwYBBAGBrSGCLB4wCAYGZ4EM
AQICMEwGA1UdHwRFMEMwQaA/oD2GO2h0dHA6Ly9wa2kwMzM2LnRlbGVzZWMuZGUvcmwvVGVs
ZVNlY19HbG9iYWxSb290X0NsYXNzXzIuY3JsMIGGBggrBgEFBQcBAQR6MHgwLAYIKwYBBQUH
MAGGIGh0dHA6Ly9vY3NwMDMzNi50ZWxlc2VjLmRlL29jc3ByMEgGCCsGAQUFBzAChjxodHRw
Oi8vcGtpMDMzNi50ZWxlc2VjLmRlL2NydC9UZWxlU2VjX0dsb2JhbFJvb3RfQ2xhc3NfMi5j
ZXIwDQYJKoZIhvcNAQELBQADggEBAIcL/z4Cm2XIVi3WO5qYi3FP2ropqiH5Ri71sqQPrhE4
eTizDnS6dl2e6BiClmLbTDPo3flq3zK9LExHYFV/53RrtCyD2HlrtrdNUAtmB7Xts5et6u5/
MOaZ/SLick0+hFvu+c+Z6n/XUjkurJgARH5pO7917tALOxrN5fcPImxHhPalR6D90Bo0fa3S
PXez7vTXTf/D6OWST1k+kEcQSrCFWMBvf/iu7QhCnh7U3xQuTY+8npTD5+32GPg8SecmqKc2
2CzeIs2LgtjZeOJVEqM7h0S2EQvVDFKvaYwPBt/QolOLV5h7z/0HJPT8vcP9SpIClxvyt7bP
ZYoaorVyGTkwggPDMIICq6ADAgECAgEBMA0GCSqGSIb3DQEBCwUAMIGCMQswCQYDVQQGEwJE
RTErMCkGA1UECgwiVC1TeXN0ZW1zIEVudGVycHJpc2UgU2VydmljZXMgR21iSDEfMB0GA1UE
CwwWVC1TeXN0ZW1zIFRydXN0IENlbnRlcjElMCMGA1UEAwwcVC1UZWxlU2VjIEdsb2JhbFJv
b3QgQ2xhc3MgMjAeFw0wODEwMDExMDQwMTRaFw0zMzEwMDEyMzU5NTlaMIGCMQswCQYDVQQG
EwJERTErMCkGA1UECgwiVC1TeXN0ZW1zIEVudGVycHJpc2UgU2VydmljZXMgR21iSDEfMB0G
A1UECwwWVC1TeXN0ZW1zIFRydXN0IENlbnRlcjElMCMGA1UEAwwcVC1UZWxlU2VjIEdsb2Jh
bFJvb3QgQ2xhc3MgMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKpf2htf6HOR
5dpc9KLmR+XzaFVgBR0CpLObWfMeiq80rfwNwtlIGe5pj8kg/CGqBxntsFysZcdf7QJ8e3wt
G9a6uYDCGIIWhPpmsAjGVCOB5M25ST/2T243SCg4D8W+52hw/TmXTdLHmJFQqsREsyN9OUfp
UmLWEpNetzGWQgX7dqceo/XC/Ol6xWypcU/qy3i8YK/H3vTZy75+M6VulIPwNPohq+qOcqA/
pN4wW++GTWqVW0NEqBAVHOUBV8WY8eYGKJGqIMW3UyZRQ7ILEZVY4cAPdtnAjXyB83Jwnm/+
Go7ZXzXGsm80fL5IT+JaOdfYnXien4Y+A14Zi0Si1ccCAwEAAaNCMEAwDwYDVR0TAQH/BAUw
AwEB/zAOBgNVHQ8BAf8EBAMCAQYwHQYDVR0OBBYEFL9ZIDYAeaCgImuM1fJh0rgsy4JKMA0G
CSqGSIb3DQEBCwUAA4IBAQAxA6JhCx906HI2xm35TZ76IqjhgVbPzbuf6quRGTivqnwVTfO2
o42l9I72RKmn6CGVrT4AYhaI8AK6/GEj5jObMHprNmJ7rQQjhFhl4tsriuclUzdiU1+82gFi
KaKmJ3HmOiJ+wW8dlXAgSgc03+r/FYDlutd62Ft1fAV6KUd+QKgxE3fNQDu0UUd6LhHjRxHe
nWbQi9VUZvqDVep8wimJG+lvs87iBYTJLz54hWJuyV/BeGN0WMBIGAyZOeukzBq1eVqNFZzY
FA32egdXxyKDBS08myUmPRizqUN8yMirZI8Oo7+cG50w29rQGS6qPPH7M4B25M2tGU8FJ44T
oW7CMYICNTCCAjECAQEwgZ4wgY0xCzAJBgNVBAYTAkRFMUUwQwYDVQQKDDxWZXJlaW4genVy
IEZvZXJkZXJ1bmcgZWluZXMgRGV1dHNjaGVuIEZvcnNjaHVuZ3NuZXR6ZXMgZS4gVi4xEDAO
BgNVBAsMB0RGTi1QS0kxJTAjBgNVBAMMHERGTi1WZXJlaW4gR2xvYmFsIElzc3VpbmcgQ0EC
DCMdIRDKNK/ywoR3NDANBglghkgBZQMEAgEFAKBpMC8GCSqGSIb3DQEJBDEiBCAuZ8SP+ui0
EDAT8qZrEFYsKXbQ0pXP4GuQmF7pWBwcpjAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwG
CSqGSIb3DQEJBTEPFw0yMTAyMDYwNzU4MjhaMA0GCSqGSIb3DQEBAQUABIIBACGhTJ40F3Pq
rQ8E+SXNwxBrZtD/WTdEHVS93AEzm9WAe21GpGFxDiguDaEZVRPgRLf8/QiiEHW3n2Pr/dWe
390Kg8lP9rb55p39zJsw4c7J7XG9sjK2bEPKT5KrqVqhXxqIU21QtcDWWA40SvGjM8mYqbId
OkFM8YnycVHTdwzVxm5AJQH9d9yMWz4fc74FAY0RSh4aP8rYGUAVnZv0xlE8aXimh7ajimFW
Eio3bzKxfPRLv1K7bxEnPujlx1K+1KWLKcLEqGzefZHcCTQPt6UeB9R6k2oRAzaHH8a/AJSq
hytiROX9X2Ztpk1IVIsUmDdxOwZABeL3msOhvHb+TpA=

--B_3695446708_1932014499--


From minios-devel-bounces@lists.xenproject.org Sat Feb 06 08:59:47 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sat, 06 Feb 2021 08:59:47 +0000
Received: from list by lists.xenproject.org with outflank-mailman.82094.151731 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l8JRP-0002pN-45; Sat, 06 Feb 2021 08:59:43 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 82094.151731; Sat, 06 Feb 2021 08:59:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1l8JRO-0002pH-W4; Sat, 06 Feb 2021 08:59:42 +0000
Received: by outflank-mailman (input) for mailman id 82094;
 Sat, 06 Feb 2021 08:59:40 +0000
Received: from mail.xenproject.org ([104.130.215.37])
 by lists.xenproject.org with esmtp (Exim 4.92)
 (envelope-from <julien@xen.org>) id 1l8JRM-0002p7-PR
 for minios-devel@lists.xenproject.org; Sat, 06 Feb 2021 08:59:40 +0000
Received: from xenbits.xenproject.org ([104.239.192.120])
 by mail.xenproject.org with esmtp (Exim 4.92)
 (envelope-from <julien@xen.org>)
 id 1l8JRM-0004sJ-1v; Sat, 06 Feb 2021 08:59:40 +0000
Received: from [54.239.6.185] (helo=a483e7b01a66.ant.amazon.com)
 by xenbits.xenproject.org with esmtpsa
 (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92)
 (envelope-from <julien@xen.org>)
 id 1l8JRL-0001Bs-Pe; Sat, 06 Feb 2021 08:59:39 +0000
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org;
	s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:
	MIME-Version:Date:Message-ID:From:References:Cc:To:Subject;
	bh=+iYFtYicw/zl13RfJKLE9+o6tVlhYyNzst91Bx8R63U=; b=ePHzm8E6Mwt9aIu8pl1ckGLtL2
	99jgjFwik6WBgidBRwK1/yiAXds52JejTP5qOHROPplrD+CbkX9nAt48RwmZBD1iEaF/181wtW2qz
	qcY6d93T3ag5VNp7khiv1SRtebZRL6GEs+RctCubJWsQKkkm7dJwyx37RZCMy09dmeDM=;
Subject: Re: [PATCH] arm/entry: set x0 before cache maintenance.
To: Jianyong Wu <Jianyong.Wu@arm.com>,
 "minios-devel@lists.xenproject.org" <minios-devel@lists.xenproject.org>,
 "sharan.santhanam@neclab.eu" <sharan.santhanam@neclab.eu>,
 "simon.kuenzer@neclab.eu" <simon.kuenzer@neclab.eu>
Cc: Justin He <Justin.He@arm.com>
References: <20210106032542.33036-1-jianyong.wu@arm.com>
 <fe217665-7d6d-5a40-ad6c-7c5cd22e4898@xen.org>
 <VE1PR08MB4766EC6839723DFD70E615EEF4B69@VE1PR08MB4766.eurprd08.prod.outlook.com>
 <9737f19e-40d0-1c3a-140d-05dd53a7c997@xen.org>
 <VE1PR08MB476699D6838011FD29F759C6F4B59@VE1PR08MB4766.eurprd08.prod.outlook.com>
From: Julien Grall <julien@xen.org>
Message-ID: <da0cbec7-30dd-ad0d-b50a-fbb65f6149af@xen.org>
Date: Sat, 6 Feb 2021 08:59:38 +0000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0)
 Gecko/20100101 Thunderbird/78.7.0
MIME-Version: 1.0
In-Reply-To: <VE1PR08MB476699D6838011FD29F759C6F4B59@VE1PR08MB4766.eurprd08.prod.outlook.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-GB
Content-Transfer-Encoding: 7bit

On 02/02/2021 02:51, Jianyong Wu wrote:
> Hi Julien,

Hi,


>> -----Original Message-----
>>>> Unrelated to this patch, I am a bit confused with the code. The
>>>> comment on top of __libkvmplat_entry suggests that the DTB in x0, so
>>>> this implies the DTB can be dynamic.
>>>>
>>>
>>> I don't think the dtb address can be dynamic. The   __libkvmplat_entry is a
>> "C" function and the "_dtb" will be its parameter.
>>> Maybe we can use "const" to bond the parameter of __libkvmplat_entry.
>> Does that do your trick?
>>
>> I couldn't find the caller to _libkvmplat_entry. Would you mind to give a
>> pointer to the code calling it?
>>
> 
> Sorry to have mistaken _libkvmplat_entry to _libkvmplat_start. The _libkvmplat_start is a "C" function, and _libkvmplat_entry is entry code with no caller.
> 
>>>
>>>> However, this line will load the DTB from the image. Can you clarify
>>>> the expected behavior?
>>>
>>> This load ops only pass the dtb address to the __libkvmplat_entry.  And I'm
>> not sure why it's not clear about that. Can you give more info?
>>
>> On a Linux setup, the device-tree is most of the time not embedded in the
>> kernel. Instead, it is provided by the firmware (or possibly the toolstack in a
>> virtualized environment).
>>
>> In those setup, the device tree physical address will be provided in x0.
>>
>> _libkvmplat_entry has the following comment on top:
>>
>> /*
>>    * The registers used by _libkvmplat_start:
>>    * x0 - FDT pointer
>>    */
>>
>> So I thought you were following the same behavior as Linux. But from what
>> you wrote, the DTB will instead be embeded in Unikraft. Is that correct?
>>
> 
> In unikraft, DTB is provided by hypervisor like qemu. Qemu/virt puts the DTB at 1G of physical address in guest.
> The "_dtb" is initialized in link script as 1G. In the _libkvmplat_entry,
> we treat _dtb as both the beginning of the normal memory in unikraft and the start address where stores DTB.
> Maybe that confused you. 

Ah! So the DTB will always be loaded at the same place in your case. Now 
it makes sense, thanks for the explanation!

> So I can offer another symbol to represents the beginning of the normal memory to distinguish with _dtb.
> Then we will only use the "_dtb" as the parameter of _libkvmplat_start.

This would be great.

Cheers,

-- 
Julien Grall


From minios-devel-bounces@lists.xenproject.org Mon Feb 15 11:19:27 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 15 Feb 2021 11:19:27 +0000
Received: from list by lists.xenproject.org with outflank-mailman.85179.159703 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbuW-0005Zu-TY; Mon, 15 Feb 2021 11:19:24 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 85179.159703; Mon, 15 Feb 2021 11:19:24 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbuW-0005Zn-QS; Mon, 15 Feb 2021 11:19:24 +0000
Received: by outflank-mailman (input) for mailman id 85179;
 Mon, 15 Feb 2021 11:19:23 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=M9Bq=HR=neclab.eu=simon.kuenzer@srs-us1.protection.inumbo.net>)
 id 1lBbuV-0005Za-6P
 for minios-devel@lists.xen.org; Mon, 15 Feb 2021 11:19:23 +0000
Received: from mailer2.neclab.eu (unknown [195.37.70.41])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id d79e49f1-8e4f-4b28-b2c0-2aaeddade61e;
 Mon, 15 Feb 2021 11:19:20 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer2.neclab.eu (Postfix) with ESMTP id 75573F2576;
 Mon, 15 Feb 2021 12:19:19 +0100 (CET)
Received: from mailer2.neclab.eu ([127.0.0.1])
 by localhost (atlas-b.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id T5NvONYiM4NM; Mon, 15 Feb 2021 12:19:19 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer2.neclab.eu (Postfix) with ESMTPS id 349C5F2574;
 Mon, 15 Feb 2021 12:19:05 +0100 (CET)
Received: from localhost (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 15 Feb
 2021 12:19:04 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: d79e49f1-8e4f-4b28-b2c0-2aaeddade61e
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-b.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Simon Kuenzer <simon.kuenzer@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Costin Lupu <costin.lupu@cs.pub.ro>, Sharan Santhanam
	<sharan.santhanam@neclab.eu>, Felipe Huici <felipe.huici@neclab.eu>,
	<nicolescu.roxana1996@gmail.com>, <lascu.bogdan96@gmail.com>,
	<razvan.deaconescu@cs.pub.ro>, <vlad_andrei.badoiu@upb.ro>,
	<cristb@gmail.com>, Simon Kuenzer <simon.kuenzer@neclab.eu>
Subject: [UNIKRAFT PATCH 0/8] Correct license headers
Date: Mon, 15 Feb 2021 12:18:54 +0100
Message-ID: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
X-Mailer: git-send-email 2.20.1
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: puck.office.hd (192.168.24.91) To puck.office.hd
 (192.168.24.91)

This patch series removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from our BSD license headers that got introduced by mistake
and is not part of the BSD 3-clause license.

The commits in this series are divided by author and
affiliation (for Arm and NEC). I kindly ask for a
`Signed-off-by` tag from the original author to the
corresponding commit so that we can correct the license
header. In the case of NEC and Arm, a tag from a
represantative should be (hopefully) okay.

The patches will be upstreamed individually as soon
as the approval is given with a tag.

Thanks,

Simon

Simon Kuenzer (8):
  Correct license headers introduced by NEC Laboratories Europe GmbH
  Correct license headers introduced by Arm Ltd.
  Correct license headers introduced by UPB
  Correct license headers introduced by UPB
  Correct license headers introduced by UPB
  Correct license headers introduced by UPB
  Correct license headers introduced by UPB
  Correct license headers introduced by UPB

 arch/arm/arm/include/uk/asm/intsizes.h          | 2 --
 arch/arm/arm/include/uk/asm/tls.h               | 2 --
 arch/arm/arm64/include/uk/asm/intsizes.h        | 2 --
 arch/arm/arm64/include/uk/asm/tls.h             | 2 --
 arch/x86/x86_64/include/uk/asm/intsizes.h       | 2 --
 arch/x86/x86_64/include/uk/asm/tls.h            | 2 --
 include/uk/arch/lcpu.h                          | 2 --
 include/uk/arch/limits.h                        | 2 --
 include/uk/arch/time.h                          | 2 --
 include/uk/arch/tls.h                           | 2 --
 include/uk/arch/types.h                         | 2 --
 include/uk/asm.h                                | 2 --
 include/uk/config.h                             | 2 --
 include/uk/ctors.h                              | 2 --
 include/uk/errptr.h                             | 2 --
 include/uk/essentials.h                         | 2 --
 include/uk/init.h                               | 2 --
 include/uk/page.h                               | 2 --
 include/uk/plat/bootstrap.h                     | 2 --
 include/uk/plat/config.h                        | 2 --
 include/uk/plat/io.h                            | 2 --
 include/uk/plat/irq.h                           | 2 --
 include/uk/plat/lcpu.h                          | 2 --
 include/uk/plat/memory.h                        | 2 --
 include/uk/plat/syscall.h                       | 2 --
 include/uk/plat/thread.h                        | 2 --
 include/uk/plat/time.h                          | 2 --
 include/uk/prio.h                               | 2 --
 lib/9pfs/9pfs.h                                 | 2 --
 lib/9pfs/9pfs_vfsops.c                          | 2 --
 lib/9pfs/9pfs_vnops.c                           | 2 --
 lib/fdt/uk_fdt.c                                | 2 --
 lib/nolibc/errno.c                              | 2 --
 lib/nolibc/include/assert.h                     | 2 --
 lib/nolibc/include/errno.h                      | 2 --
 lib/nolibc/include/inttypes.h                   | 2 --
 lib/nolibc/include/limits.h                     | 2 --
 lib/nolibc/include/nolibc-internal/shareddefs.h | 2 --
 lib/nolibc/include/pwd.h                        | 2 --
 lib/nolibc/include/stdarg.h                     | 2 --
 lib/nolibc/include/stddef.h                     | 2 --
 lib/nolibc/include/stdint.h                     | 2 --
 lib/nolibc/include/stdio.h                      | 2 --
 lib/nolibc/include/string.h                     | 2 --
 lib/nolibc/include/sys/mount.h                  | 2 --
 lib/nolibc/include/sys/types.h                  | 2 --
 lib/nolibc/include/sys/uio.h                    | 2 --
 lib/nolibc/include/unistd.h                     | 2 --
 lib/nolibc/malloc.c                             | 2 --
 lib/nolibc/string.c                             | 2 --
 lib/posix-libdl/stubs.c                         | 2 --
 lib/posix-process/include/uk/process.h          | 2 --
 lib/posix-process/process.c                     | 2 --
 lib/posix-sysinfo/include/sys/utsname.h         | 2 --
 lib/posix-sysinfo/sysinfo.c                     | 2 --
 lib/posix-user/include/uk/user.h                | 2 --
 lib/posix-user/user.c                           | 2 --
 lib/syscall_shim/include/uk/syscall.h           | 2 --
 lib/uk9p/9p.c                                   | 2 --
 lib/uk9p/9pdev.c                                | 2 --
 lib/uk9p/9pdev_trans.c                          | 2 --
 lib/uk9p/9pfid.c                                | 2 --
 lib/uk9p/9preq.c                                | 2 --
 lib/uk9p/include/uk/9p.h                        | 2 --
 lib/uk9p/include/uk/9p_core.h                   | 2 --
 lib/uk9p/include/uk/9pdev.h                     | 2 --
 lib/uk9p/include/uk/9pdev_core.h                | 2 --
 lib/uk9p/include/uk/9pdev_trans.h               | 2 --
 lib/uk9p/include/uk/9pfid.h                     | 2 --
 lib/uk9p/include/uk/9preq.h                     | 2 --
 lib/ukalloc/include/uk/alloc.h                  | 2 --
 lib/ukalloc/include/uk/alloc_impl.h             | 2 --
 lib/ukallocbbuddy/include/uk/allocbbuddy.h      | 2 --
 lib/ukargparse/argparse.c                       | 2 --
 lib/ukargparse/include/uk/argparse.h            | 2 --
 lib/ukblkdev/blkdev.c                           | 2 --
 lib/ukblkdev/include/uk/blkdev.h                | 2 --
 lib/ukblkdev/include/uk/blkdev_core.h           | 2 --
 lib/ukblkdev/include/uk/blkdev_driver.h         | 2 --
 lib/ukblkdev/include/uk/blkreq.h                | 2 --
 lib/ukboot/boot.c                               | 2 --
 lib/ukbus/bus.c                                 | 2 --
 lib/ukbus/include/uk/bus.h                      | 2 --
 lib/ukdebug/hexdump.c                           | 2 --
 lib/ukdebug/include/uk/assert.h                 | 2 --
 lib/ukdebug/include/uk/hexdump.h                | 2 --
 lib/ukdebug/include/uk/print.h                  | 2 --
 lib/ukdebug/include/uk/trace.h                  | 2 --
 lib/ukdebug/snprintf.h                          | 2 --
 lib/ukdebug/trace.c                             | 2 --
 lib/uklibparam/include/uk/libparam.h            | 2 --
 lib/uklibparam/param.c                          | 2 --
 lib/uklock/include/uk/mutex.h                   | 2 --
 lib/ukmmap/mmap.c                               | 2 --
 lib/ukmpi/include/uk/mbox.h                     | 2 --
 lib/uknetdev/include/uk/netbuf.h                | 2 --
 lib/uknetdev/include/uk/netdev.h                | 2 --
 lib/uknetdev/include/uk/netdev_core.h           | 2 --
 lib/uknetdev/include/uk/netdev_driver.h         | 2 --
 lib/uknetdev/netbuf.c                           | 2 --
 lib/uknetdev/netdev.c                           | 2 --
 lib/uksched/include/uk/sched.h                  | 2 --
 lib/uksched/include/uk/thread_attr.h            | 2 --
 lib/uksched/sched.c                             | 2 --
 lib/uksched/thread_attr.c                       | 2 --
 lib/ukschedcoop/include/uk/schedcoop.h          | 2 --
 lib/ukswrand/chacha.c                           | 2 --
 lib/ukswrand/dev.c                              | 2 --
 lib/ukswrand/getrandom.c                        | 2 --
 lib/ukswrand/include/sys/random.h               | 2 --
 lib/ukswrand/include/uk/swrand.h                | 2 --
 lib/ukswrand/mwc.c                              | 2 --
 lib/ukswrand/swrand.c                           | 2 --
 lib/uktime/include/uk/time_types.h              | 2 --
 lib/uktime/time.c                               | 2 --
 lib/vfscore/fd.c                                | 2 --
 lib/vfscore/file.c                              | 2 --
 lib/vfscore/fops.c                              | 2 --
 lib/vfscore/include/vfscore/dentry.h            | 2 --
 lib/vfscore/include/vfscore/file.h              | 2 --
 lib/vfscore/include/vfscore/prex.h              | 2 --
 lib/vfscore/pipe.c                              | 2 --
 lib/vfscore/rootfs.c                            | 2 --
 lib/vfscore/stdio.c                             | 2 --
 plat/common/arm/cache64.S                       | 2 --
 plat/common/arm/cpu_native.c                    | 2 --
 plat/common/arm/generic_timer.c                 | 2 --
 plat/common/arm/psci_arm64.S                    | 2 --
 plat/common/arm/thread_start64.S                | 2 --
 plat/common/arm/time.c                          | 2 --
 plat/common/include/arm/arm/cpu.h               | 2 --
 plat/common/include/arm/arm/time.h              | 2 --
 plat/common/include/arm/arm64/cpu.h             | 2 --
 plat/common/include/arm/arm64/cpu_defs.h        | 2 --
 plat/common/include/arm/arm64/irq.h             | 2 --
 plat/common/include/arm/arm64/time.h            | 2 --
 plat/common/include/arm/arm64/tls.h             | 2 --
 plat/common/include/arm/cpu.h                   | 2 --
 plat/common/include/arm/cpu_defs.h              | 2 --
 plat/common/include/arm/irq.h                   | 2 --
 plat/common/include/pci/pci_bus.h               | 2 --
 plat/common/include/uk/plat/common/_time.h      | 2 --
 plat/common/include/uk/plat/common/cpu.h        | 2 --
 plat/common/include/uk/plat/common/irq.h        | 2 --
 plat/common/include/uk/plat/common/memory.h     | 2 --
 plat/common/include/uk/plat/common/sections.h   | 2 --
 plat/common/include/uk/plat/common/sw_ctx.h     | 2 --
 plat/common/include/uk/plat/common/tls.h        | 2 --
 plat/common/include/uk/plat/common/trace.h      | 2 --
 plat/common/include/x86/cpu_defs.h              | 2 --
 plat/common/include/x86/desc.h                  | 2 --
 plat/common/include/x86/tls.h                   | 2 --
 plat/common/include/x86/traps.h                 | 2 --
 plat/common/lcpu.c                              | 2 --
 plat/common/memory.c                            | 2 --
 plat/common/pci_bus.c                           | 2 --
 plat/common/sw_ctx.c                            | 2 --
 plat/common/thread.c                            | 2 --
 plat/common/x86/cpu_features.c                  | 2 --
 plat/common/x86/cpu_native.c                    | 2 --
 plat/common/x86/syscall.S                       | 2 --
 plat/common/x86/trace.c                         | 2 --
 plat/common/x86/traps.c                         | 2 --
 plat/drivers/gic/gic-v2.c                       | 2 --
 plat/drivers/include/gic/gic-v2.h               | 2 --
 plat/drivers/include/ofw/fdt.h                  | 2 --
 plat/drivers/include/ofw/gic_fdt.h              | 2 --
 plat/drivers/include/virtio/virtio_9p.h         | 2 --
 plat/drivers/include/virtio/virtio_bus.h        | 2 --
 plat/drivers/include/virtio/virtio_config.h     | 2 --
 plat/drivers/include/virtio/virtqueue.h         | 2 --
 plat/drivers/ofw/fdt.c                          | 2 --
 plat/drivers/ofw/gic_fdt.c                      | 2 --
 plat/drivers/virtio/virtio_9p.c                 | 2 --
 plat/drivers/virtio/virtio_bus.c                | 2 --
 plat/drivers/virtio/virtio_pci.c                | 2 --
 plat/drivers/virtio/virtio_ring.c               | 2 --
 plat/kvm/arm/entry64.S                          | 2 --
 plat/kvm/arm/intctrl.c                          | 2 --
 plat/kvm/arm/lcpu.c                             | 2 --
 plat/kvm/arm/link64.lds.S                       | 2 --
 plat/kvm/arm/memory.c                           | 2 --
 plat/kvm/include/kvm-arm/arm64/mm.h             | 2 --
 plat/kvm/include/kvm-arm/mm.h                   | 2 --
 plat/kvm/include/kvm/config.h                   | 2 --
 plat/kvm/include/kvm/intctrl.h                  | 2 --
 plat/kvm/include/kvm/irq.h                      | 2 --
 plat/kvm/include/kvm/tscclock.h                 | 2 --
 plat/kvm/io.c                                   | 2 --
 plat/kvm/x86/lcpu.c                             | 2 --
 plat/kvm/x86/memory.c                           | 2 --
 plat/kvm/x86/time.c                             | 2 --
 plat/linuxu/arm/entry32.S                       | 2 --
 plat/linuxu/console.c                           | 2 --
 plat/linuxu/include/linuxu/console.h            | 2 --
 plat/linuxu/include/linuxu/ioctl.h              | 2 --
 plat/linuxu/include/linuxu/setup.h              | 2 --
 plat/linuxu/include/linuxu/signal.h             | 2 --
 plat/linuxu/include/linuxu/syscall-arm_32.h     | 2 --
 plat/linuxu/include/linuxu/syscall-x86_64.h     | 2 --
 plat/linuxu/include/linuxu/syscall.h            | 2 --
 plat/linuxu/include/linuxu/time.h               | 2 --
 plat/linuxu/include/linuxu/tls.h                | 2 --
 plat/linuxu/io.c                                | 2 --
 plat/linuxu/irq.c                               | 2 --
 plat/linuxu/lcpu.c                              | 2 --
 plat/linuxu/memory.c                            | 2 --
 plat/linuxu/setup.c                             | 2 --
 plat/linuxu/shutdown.c                          | 2 --
 plat/linuxu/time.c                              | 2 --
 plat/linuxu/x86/entry64.S                       | 2 --
 plat/xen/console.c                              | 2 --
 plat/xen/drivers/9p/9pfront.c                   | 2 --
 plat/xen/drivers/9p/9pfront.h                   | 2 --
 plat/xen/drivers/9p/9pfront_xb.h                | 2 --
 plat/xen/drivers/9p/9pfront_xs.c                | 2 --
 plat/xen/drivers/blk/blkfront.c                 | 2 --
 plat/xen/drivers/blk/blkfront.h                 | 2 --
 plat/xen/drivers/blk/blkfront_xb.h              | 2 --
 plat/xen/drivers/blk/blkfront_xs.c              | 2 --
 plat/xen/emg_console.c                          | 2 --
 plat/xen/emg_console.h                          | 2 --
 plat/xen/hv_console.c                           | 2 --
 plat/xen/hv_console.h                           | 2 --
 plat/xen/include/common/console.h               | 2 --
 plat/xen/include/xen-arm/setup.h                | 2 --
 plat/xen/include/xen-arm/smp.h                  | 2 --
 plat/xen/include/xen-arm/traps.h                | 2 --
 plat/xen/include/xen-x86/setup.h                | 2 --
 plat/xen/include/xenbus/client.h                | 2 --
 plat/xen/include/xenbus/xenbus.h                | 2 --
 plat/xen/include/xenbus/xs.h                    | 2 --
 plat/xen/io.c                                   | 2 --
 plat/xen/lcpu.c                                 | 2 --
 plat/xen/memory.c                               | 2 --
 plat/xen/shutdown.c                             | 2 --
 plat/xen/x86/cpu_pv.c                           | 2 --
 plat/xen/xenbus/client.c                        | 2 --
 plat/xen/xenbus/xenbus.c                        | 2 --
 plat/xen/xenbus/xs.c                            | 2 --
 plat/xen/xenbus/xs_comms.c                      | 2 --
 plat/xen/xenbus/xs_comms.h                      | 2 --
 plat/xen/xenbus/xs_watch.c                      | 2 --
 plat/xen/xenbus/xs_watch.h                      | 2 --
 support/scripts/uk-gdb.py                       | 2 --
 support/scripts/uk_trace/parse.py               | 2 --
 support/scripts/uk_trace/trace.py               | 2 --
 247 files changed, 494 deletions(-)

-- 
2.20.1


From minios-devel-bounces@lists.xenproject.org Mon Feb 15 11:19:27 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 15 Feb 2021 11:19:27 +0000
Received: from list by lists.xenproject.org with outflank-mailman.85180.159707 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbuX-0005aH-VZ; Mon, 15 Feb 2021 11:19:25 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 85180.159707; Mon, 15 Feb 2021 11:19:25 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbuX-0005aA-S4; Mon, 15 Feb 2021 11:19:25 +0000
Received: by outflank-mailman (input) for mailman id 85180;
 Mon, 15 Feb 2021 11:19:24 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=M9Bq=HR=neclab.eu=simon.kuenzer@srs-us1.protection.inumbo.net>)
 id 1lBbuW-0005Zf-39
 for minios-devel@lists.xen.org; Mon, 15 Feb 2021 11:19:24 +0000
Received: from mailer1.neclab.eu (unknown [195.37.70.40])
 by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id b5e09ecb-3383-40f1-885a-4de32c1d10fc;
 Mon, 15 Feb 2021 11:19:20 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer1.neclab.eu (Postfix) with ESMTP id 91530103BA8;
 Mon, 15 Feb 2021 12:19:19 +0100 (CET)
Received: from mailer1.neclab.eu ([127.0.0.1])
 by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id xdA4qm04p3zf; Mon, 15 Feb 2021 12:19:19 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer1.neclab.eu (Postfix) with ESMTPS id 567A7103AA4;
 Mon, 15 Feb 2021 12:19:19 +0100 (CET)
Received: from localhost (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 15 Feb
 2021 12:19:18 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: b5e09ecb-3383-40f1-885a-4de32c1d10fc
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-a.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Simon Kuenzer <simon.kuenzer@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Costin Lupu <costin.lupu@cs.pub.ro>, Sharan Santhanam
	<sharan.santhanam@neclab.eu>, Felipe Huici <felipe.huici@neclab.eu>,
	<nicolescu.roxana1996@gmail.com>, <lascu.bogdan96@gmail.com>,
	<razvan.deaconescu@cs.pub.ro>, <vlad_andrei.badoiu@upb.ro>,
	<cristb@gmail.com>, Simon Kuenzer <simon.kuenzer@neclab.eu>
Subject: [UNIKRAFT PATCH 2/8] Correct license headers introduced by Arm Ltd.
Date: Mon, 15 Feb 2021 12:18:56 +0100
Message-ID: <20210215111902.3382-3-simon.kuenzer@neclab.eu>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
References: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: puck.office.hd (192.168.24.91) To puck.office.hd
 (192.168.24.91)

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from BSD license headers that got introduced by mistake
with the following commits:
 c06ff6e61 - plat/common: Implement assembly helper for Arm64 thread context switch
 ac8ebd49e - plat/common: Add cache maintenance support for arm64
 d411a62f8 - plat/common: Implement PSCI despatch functions for arm64
 b329b5143 - plat/common: Move global variables defined in link scripts to a header
 c1827efc4 - plat/kvm: Add Arm64 virtual timer library to provide ticks
 7a65cf0e3 - plat/common: Common arm64 CPU interrupt flag handling
 25ff8503b - plat/kvm: Add interrupt handle APIs for arm64
 70fc87133 - plat/common: Implement CPU halt function for arm64
 74ef78c41 - plat/include: Define macros for Arm64 to access registers
 65b6280b6 - plat/kvm: Add linker script for Arm64
 9c7b1e93b - uk/arch: Add necessary header files for Arm64
 24297ac1a - plat/kvm: Add Arm64 basic entry code
 37e9d07f4 - plat/include: Define address offsets of boot stack and pagetable
 1a16e1046 - plat: Implement tls stub for arm64
 b41faf876 - plat/drivers/ofw: Move gic_get_irq_from_dtb to gic_fdt.c
 8ed802d62 - plat/kvm: Implement stub of ukplat_stack_set_current_thread for arm64
 1f5ea382e - plat/common: Split arch specific codes from time.c to arm{, 64}/time.h
 2def01809 - lib/fdt: Introduce fdt_getprop_u32_by_offset helper
 278ad9eda - plat/common: Add a platform API to get IRQ from device tree
 5183a0a64 - plat/common: Implement gic-v2 library for Arm
 1fc6481a1 - plat/common: Introduce fdt_interrupt_cells helper to parse irq

On the one hand, this additional clause is redundant because
the BSD license already states that it must remain and the
copyright notice must be kept.
On the other hand, the clause freezes the file header
and prohibits future contributors from extending the
copyright notice for their contributions. This additional
clause is not part of the official BSD 3-clause.

The original author or affiliation consents to the change
with a `Signed-off-by` or `Reviewed-by` tag to this
commit.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
---
 arch/arm/arm64/include/uk/asm/intsizes.h      | 2 --
 include/uk/asm.h                              | 2 --
 lib/fdt/uk_fdt.c                              | 2 --
 plat/common/arm/cache64.S                     | 2 --
 plat/common/arm/cpu_native.c                  | 2 --
 plat/common/arm/psci_arm64.S                  | 2 --
 plat/common/arm/thread_start64.S              | 2 --
 plat/common/arm/time.c                        | 2 --
 plat/common/include/arm/arm/time.h            | 2 --
 plat/common/include/arm/arm64/cpu.h           | 2 --
 plat/common/include/arm/arm64/cpu_defs.h      | 2 --
 plat/common/include/arm/arm64/irq.h           | 2 --
 plat/common/include/arm/arm64/time.h          | 2 --
 plat/common/include/arm/arm64/tls.h           | 2 --
 plat/common/include/arm/cpu.h                 | 2 --
 plat/common/include/arm/cpu_defs.h            | 2 --
 plat/common/include/arm/irq.h                 | 2 --
 plat/common/include/uk/plat/common/irq.h      | 2 --
 plat/common/include/uk/plat/common/sections.h | 2 --
 plat/drivers/gic/gic-v2.c                     | 2 --
 plat/drivers/include/gic/gic-v2.h             | 2 --
 plat/drivers/include/ofw/fdt.h                | 2 --
 plat/drivers/include/ofw/gic_fdt.h            | 2 --
 plat/drivers/ofw/fdt.c                        | 2 --
 plat/drivers/ofw/gic_fdt.c                    | 2 --
 plat/kvm/arm/entry64.S                        | 2 --
 plat/kvm/arm/intctrl.c                        | 2 --
 plat/kvm/arm/lcpu.c                           | 2 --
 plat/kvm/arm/link64.lds.S                     | 2 --
 plat/kvm/arm/memory.c                         | 2 --
 plat/kvm/include/kvm-arm/arm64/mm.h           | 2 --
 plat/kvm/include/kvm-arm/mm.h                 | 2 --
 32 files changed, 64 deletions(-)

diff --git a/arch/arm/arm64/include/uk/asm/intsizes.h b/arch/arm/arm64/include/uk/asm/intsizes.h
index a1bff49b5..658ce8d44 100644
--- a/arch/arm/arm64/include/uk/asm/intsizes.h
+++ b/arch/arm/arm64/include/uk/asm/intsizes.h
@@ -31,8 +31,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #if ((!defined __UKARCH_TYPES_H__) && (!defined __UKARCH_LIMITS_H__))
diff --git a/include/uk/asm.h b/include/uk/asm.h
index 4be346f46..b3a424639 100644
--- a/include/uk/asm.h
+++ b/include/uk/asm.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __INLCUDE_UK_ASM_H__
 #define __INLCUDE_UK_ASM_H__
diff --git a/lib/fdt/uk_fdt.c b/lib/fdt/uk_fdt.c
index e7f30cd61..c4e9b0dd9 100644
--- a/lib/fdt/uk_fdt.c
+++ b/lib/fdt/uk_fdt.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <libfdt_env.h>
 #include <fdt.h>
diff --git a/plat/common/arm/cache64.S b/plat/common/arm/cache64.S
index fb7cdb816..46bab4af0 100644
--- a/plat/common/arm/cache64.S
+++ b/plat/common/arm/cache64.S
@@ -35,8 +35,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <uk/asm.h>
 #include <arm/cpu_defs.h>
diff --git a/plat/common/arm/cpu_native.c b/plat/common/arm/cpu_native.c
index 4f27bd286..d5e978fb3 100644
--- a/plat/common/arm/cpu_native.c
+++ b/plat/common/arm/cpu_native.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <uk/config.h>
 #include <uk/plat/common/cpu.h>
diff --git a/plat/common/arm/psci_arm64.S b/plat/common/arm/psci_arm64.S
index 52d34e5bf..ffbda8c10 100644
--- a/plat/common/arm/psci_arm64.S
+++ b/plat/common/arm/psci_arm64.S
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <uk/asm.h>
 #include <arm/cpu_defs.h>
diff --git a/plat/common/arm/thread_start64.S b/plat/common/arm/thread_start64.S
index 9a80f62a4..8e426170d 100644
--- a/plat/common/arm/thread_start64.S
+++ b/plat/common/arm/thread_start64.S
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <uk/plat/common/sw_ctx.h>
 #include <uk/arch/lcpu.h>
diff --git a/plat/common/arm/time.c b/plat/common/arm/time.c
index bbb3c72f6..f1b694fc2 100644
--- a/plat/common/arm/time.c
+++ b/plat/common/arm/time.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <stdlib.h>
 #include <libfdt.h>
diff --git a/plat/common/include/arm/arm/time.h b/plat/common/include/arm/arm/time.h
index baff7bf99..6ae2d2191 100644
--- a/plat/common/include/arm/arm/time.h
+++ b/plat/common/include/arm/arm/time.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef UK_PLAT_COMMON_ARM_TIME_H
 #define UK_PLAT_COMMON_ARM_TIME_H
diff --git a/plat/common/include/arm/arm64/cpu.h b/plat/common/include/arm/arm64/cpu.h
index fe981ebf4..e82f8fba1 100644
--- a/plat/common/include/arm/arm64/cpu.h
+++ b/plat/common/include/arm/arm64/cpu.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_COMMON_ARM64_CPU_H__
diff --git a/plat/common/include/arm/arm64/cpu_defs.h b/plat/common/include/arm/arm64/cpu_defs.h
index 675b9e65b..53be825eb 100644
--- a/plat/common/include/arm/arm64/cpu_defs.h
+++ b/plat/common/include/arm/arm64/cpu_defs.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __CPU_ARM_64_DEFS_H__
 #define __CPU_ARM_64_DEFS_H__
diff --git a/plat/common/include/arm/arm64/irq.h b/plat/common/include/arm/arm64/irq.h
index f582fc262..c46300e51 100644
--- a/plat/common/include/arm/arm64/irq.h
+++ b/plat/common/include/arm/arm64/irq.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __PLAT_CMN_ARM64_IRQ_H__
 #define __PLAT_CMN_ARM64_IRQ_H__
diff --git a/plat/common/include/arm/arm64/time.h b/plat/common/include/arm/arm64/time.h
index bc9d7fb2e..33feb32b9 100644
--- a/plat/common/include/arm/arm64/time.h
+++ b/plat/common/include/arm/arm64/time.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef UK_PLAT_COMMON_ARM64_TIME_H
 #define UK_PLAT_COMMON_ARM64_TIME_H
diff --git a/plat/common/include/arm/arm64/tls.h b/plat/common/include/arm/arm64/tls.h
index 80c0dc3c8..12b1f00e6 100644
--- a/plat/common/include/arm/arm64/tls.h
+++ b/plat/common/include/arm/arm64/tls.h
@@ -26,8 +26,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __PLAT_CMN_ARM64_TLS_H__
 #define __PLAT_CMN_ARM64_TLS_H__
diff --git a/plat/common/include/arm/cpu.h b/plat/common/include/arm/cpu.h
index 558945f3a..0a336c865 100644
--- a/plat/common/include/arm/cpu.h
+++ b/plat/common/include/arm/cpu.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_CMN_ARM_CPU_H__
diff --git a/plat/common/include/arm/cpu_defs.h b/plat/common/include/arm/cpu_defs.h
index 7502f0397..a34f6f2c3 100644
--- a/plat/common/include/arm/cpu_defs.h
+++ b/plat/common/include/arm/cpu_defs.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_CMN_ARM_CPU_DEFS_H__
diff --git a/plat/common/include/arm/irq.h b/plat/common/include/arm/irq.h
index b81fa9ef6..8c0f2677c 100644
--- a/plat/common/include/arm/irq.h
+++ b/plat/common/include/arm/irq.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_CMN_ARM_IRQ_H__
diff --git a/plat/common/include/uk/plat/common/irq.h b/plat/common/include/uk/plat/common/irq.h
index fac5022f9..bb1592050 100644
--- a/plat/common/include/uk/plat/common/irq.h
+++ b/plat/common/include/uk/plat/common/irq.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_CMN_IRQ_H__
diff --git a/plat/common/include/uk/plat/common/sections.h b/plat/common/include/uk/plat/common/sections.h
index a2677ce82..2d89b721c 100644
--- a/plat/common/include/uk/plat/common/sections.h
+++ b/plat/common/include/uk/plat/common/sections.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_CMN_SECTIONS_H__
diff --git a/plat/drivers/gic/gic-v2.c b/plat/drivers/gic/gic-v2.c
index 2428be03b..30e901f4b 100644
--- a/plat/drivers/gic/gic-v2.c
+++ b/plat/drivers/gic/gic-v2.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <string.h>
 #include <libfdt.h>
diff --git a/plat/drivers/include/gic/gic-v2.h b/plat/drivers/include/gic/gic-v2.h
index c28b7a7e9..e7b52fcc5 100644
--- a/plat/drivers/include/gic/gic-v2.h
+++ b/plat/drivers/include/gic/gic-v2.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __PLAT_DRV_ARM_GIC_H__
 #define __PLAT_DRV_ARM_GIC_H__
diff --git a/plat/drivers/include/ofw/fdt.h b/plat/drivers/include/ofw/fdt.h
index 6f80a27da..3dfed2830 100644
--- a/plat/drivers/include/ofw/fdt.h
+++ b/plat/drivers/include/ofw/fdt.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef _PLAT_DRIVER_OFW_FDT_H
 #define _PLAT_DRIVER_OFW_FDT_H
diff --git a/plat/drivers/include/ofw/gic_fdt.h b/plat/drivers/include/ofw/gic_fdt.h
index e55589249..35b0377b2 100644
--- a/plat/drivers/include/ofw/gic_fdt.h
+++ b/plat/drivers/include/ofw/gic_fdt.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_DRV_GIC_FDT_H__
diff --git a/plat/drivers/ofw/fdt.c b/plat/drivers/ofw/fdt.c
index 76f8ff3af..7057be373 100644
--- a/plat/drivers/ofw/fdt.c
+++ b/plat/drivers/ofw/fdt.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <libfdt_env.h>
 #include <fdt.h>
diff --git a/plat/drivers/ofw/gic_fdt.c b/plat/drivers/ofw/gic_fdt.c
index 4f88fdd04..c4421f3f0 100644
--- a/plat/drivers/ofw/gic_fdt.c
+++ b/plat/drivers/ofw/gic_fdt.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <libfdt_env.h>
 #include <ofw/fdt.h>
diff --git a/plat/kvm/arm/entry64.S b/plat/kvm/arm/entry64.S
index c4de334cd..104fd8b64 100644
--- a/plat/kvm/arm/entry64.S
+++ b/plat/kvm/arm/entry64.S
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <uk/arch/limits.h>
 #include <uk/asm.h>
diff --git a/plat/kvm/arm/intctrl.c b/plat/kvm/arm/intctrl.c
index f6250245e..ba445580c 100644
--- a/plat/kvm/arm/intctrl.c
+++ b/plat/kvm/arm/intctrl.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <uk/assert.h>
 #include <kvm/intctrl.h>
diff --git a/plat/kvm/arm/lcpu.c b/plat/kvm/arm/lcpu.c
index 6f15c3f9f..2d322191e 100644
--- a/plat/kvm/arm/lcpu.c
+++ b/plat/kvm/arm/lcpu.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <stdint.h>
 #include <uk/plat/lcpu.h>
diff --git a/plat/kvm/arm/link64.lds.S b/plat/kvm/arm/link64.lds.S
index 4f8fcc304..7bb014bac 100644
--- a/plat/kvm/arm/link64.lds.S
+++ b/plat/kvm/arm/link64.lds.S
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <uk/arch/limits.h>
 #include <uk/plat/common/common.lds.h>
diff --git a/plat/kvm/arm/memory.c b/plat/kvm/arm/memory.c
index c40d213ac..7330eae5d 100644
--- a/plat/kvm/arm/memory.c
+++ b/plat/kvm/arm/memory.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/essentials.h>
diff --git a/plat/kvm/include/kvm-arm/arm64/mm.h b/plat/kvm/include/kvm-arm/arm64/mm.h
index 9ec127302..801eff423 100644
--- a/plat/kvm/include/kvm-arm/arm64/mm.h
+++ b/plat/kvm/include/kvm-arm/arm64/mm.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __KVM_ARM_64_MM_H__
diff --git a/plat/kvm/include/kvm-arm/mm.h b/plat/kvm/include/kvm-arm/mm.h
index dfa73239d..5719140a7 100644
--- a/plat/kvm/include/kvm-arm/mm.h
+++ b/plat/kvm/include/kvm-arm/mm.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_KVM_MM_H__
-- 
2.20.1


From minios-devel-bounces@lists.xenproject.org Mon Feb 15 11:19:31 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 15 Feb 2021 11:19:31 +0000
Received: from list by lists.xenproject.org with outflank-mailman.85181.159711 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbud-0005bQ-2n; Mon, 15 Feb 2021 11:19:31 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 85181.159711; Mon, 15 Feb 2021 11:19:31 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbuc-0005bI-Uz; Mon, 15 Feb 2021 11:19:30 +0000
Received: by outflank-mailman (input) for mailman id 85181;
 Mon, 15 Feb 2021 11:19:29 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=M9Bq=HR=neclab.eu=simon.kuenzer@srs-us1.protection.inumbo.net>)
 id 1lBbua-0005Zf-VW
 for minios-devel@lists.xen.org; Mon, 15 Feb 2021 11:19:29 +0000
Received: from mailer1.neclab.eu (unknown [195.37.70.40])
 by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id 054eb619-dae0-4e2d-9aa0-b68d5dabfbd2;
 Mon, 15 Feb 2021 11:19:20 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer1.neclab.eu (Postfix) with ESMTP id 9DC70103F14;
 Mon, 15 Feb 2021 12:19:19 +0100 (CET)
Received: from mailer1.neclab.eu ([127.0.0.1])
 by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 28PDTE1WGzv7; Mon, 15 Feb 2021 12:19:19 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer1.neclab.eu (Postfix) with ESMTPS id 4C290103950;
 Mon, 15 Feb 2021 12:19:19 +0100 (CET)
Received: from localhost (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 15 Feb
 2021 12:19:06 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 054eb619-dae0-4e2d-9aa0-b68d5dabfbd2
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-a.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Simon Kuenzer <simon.kuenzer@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Costin Lupu <costin.lupu@cs.pub.ro>, Sharan Santhanam
	<sharan.santhanam@neclab.eu>, Felipe Huici <felipe.huici@neclab.eu>,
	<nicolescu.roxana1996@gmail.com>, <lascu.bogdan96@gmail.com>,
	<razvan.deaconescu@cs.pub.ro>, <vlad_andrei.badoiu@upb.ro>,
	<cristb@gmail.com>, Simon Kuenzer <simon.kuenzer@neclab.eu>
Subject: [UNIKRAFT PATCH 1/8] Correct license headers introduced by NEC Laboratories Europe GmbH
Date: Mon, 15 Feb 2021 12:18:55 +0100
Message-ID: <20210215111902.3382-2-simon.kuenzer@neclab.eu>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
References: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: oberon.office.hd (192.168.24.90) To puck.office.hd
 (192.168.24.91)

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from BSD license headers that got introduced by mistake
with the following commits:
 d7ab6740e - lib/ukunistd: Introduce ukunistd library
 154a9b466 - lib/ukallocbbuddy: Add binary buddy allocator implementation
 cfa2c08ae - lib/ukboot: Add Unikraft bootstrapping
 17327dfe6 - lib/ukargparse: Add argument parser
 1e1a8f5b5 - lib/ukschedcoop: Add cooperative round-robin scheduler
 c327e9713 - lib/uknetdev: Introduce Netbufs
 3c3dc48b5 - plat/xen: Add Xen (x86_64, ARM) platform code
 1fa094ed7 - plat/kvm: Introduce platform configuration struct
 a8cb90f65 - lib/ukalloc: Add abstraction library for memory allocators
 feb280521 - plat/xen: Split emergency and hypervisor console
 c722184e9 - include: Introduce <uk/prio.h>
 0bc9633a0 - plat/xen: Add console support for x86_64
 3b94c37a5 - plat/*: Add binary system call feature and API
 06cb4527f - plat/common: Add cpu.h for Arm32
 463baa06a - lib/vfscore: Automount option
 27af93b6d - lib/ukalloc: Move internal functions to new header
 1760d9ef4 - lib/nolibc: Add nolibc, a minimal subset of libc functions
 2c9108854 - plat/kvm: Add KVM (x86_64) platform code
 eacdeffea - arch: Add architecture interface
 8dba9141b - lib/nolibc: Provide assertions (assert.h)
 e6d46e521 - plat/kvm: System call trap handler (x86_64)
 8277edb38 - build: Add build and configuration framework
 3afda62dd - lib/ukdebug: Do not rely on libc for uk_pr_*()
 7c7518d28 - plat/linuxu: Add linux userspace (x86_64, ARM) platform code
 347cb7db4 - lib/ukdebug: Add printing and debug helpers
 1353814b3 - lib/uksched: Add abstraction library for schedulers
 828efb76e - plat: Add platform interface
 bd4825025 - lib/ukmmap: mmap trick for Go
 ef5245754 - plat/common: Split ARM generic timer implementation
 1717ee104 - lib/ukbus: Introduce abstraction for device buses
 71ee3e521 - plat/common: Introduce virtio standard header
 2d39b41ca - lib/ukmpi: Introduce mailboxes with libukmpi
 67e70a93b - plat/drivers: Introduce virtio PCI device
 00292f747 - include/uk: Introduce init table
 b49cc5403 - plat/drivers: Introduce the virtio bus
 ae22ad94c - plat/kvm: Add initial PCI bus driver for x86_64
 415e1ed05 - lib/ukswrand: Introduce libukswrand
 87880cde9 - plat/drivers: Reintroduce the virtio ring
 15bea914c - lib/uklibparam: Introduce the library parameter
 80928b929 - lib/uklock: Introduce semaphores and mutexes with libuklock
 340cd8ef6 - plat/common: virt to phys addr conversion
 bb7d1651e - arch: provide thread-local storage helper functions
 fcc07a3cd - lib/nolibc: move shared definitions to special include file
 4c2afee22 - plat: Add global struct to keep x86 CPU information
 11ac352a7 - plat: switch thread-local storage area on context switch
 00b652b41 - lib/vfscore: update license header for imported files
 740fc6014 - lib/ukdebug: save actual data into tracebuffer
 2bc4d9df7 - lib/ukdebug: trace.h - introduce UK_FOREACH and UK_NARGS macros
 917d23a75 - support/scripts: fetch trace data from running Unikraft
 b3fbde2b3 - lib/vfscore: implement fops for std(out|err)
 ccb39b566 - lib/syscall_shim: introduce syscalls macro layer
 146c13e04 - lib/vfscore: introduce vfscore

On the one hand, this additional clause is redundant because
the BSD license already states that it must remain and the
copyright notice must be kept.
On the other hand, the clause freezes the file header
and prohibits future contributors from extending the
copyright notice for their contributions. This additional
clause is not part of the official BSD 3-clause.

The original author or affiliation consents to the change
with a `Signed-off-by` or `Reviewed-by` tag to this
commit.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
---
 arch/arm/arm/include/uk/asm/intsizes.h          | 2 --
 arch/arm/arm/include/uk/asm/tls.h               | 2 --
 arch/arm/arm64/include/uk/asm/tls.h             | 2 --
 arch/x86/x86_64/include/uk/asm/intsizes.h       | 2 --
 arch/x86/x86_64/include/uk/asm/tls.h            | 2 --
 include/uk/arch/lcpu.h                          | 2 --
 include/uk/arch/limits.h                        | 2 --
 include/uk/arch/time.h                          | 2 --
 include/uk/arch/tls.h                           | 2 --
 include/uk/arch/types.h                         | 2 --
 include/uk/config.h                             | 2 --
 include/uk/errptr.h                             | 2 --
 include/uk/essentials.h                         | 2 --
 include/uk/init.h                               | 2 --
 include/uk/plat/bootstrap.h                     | 2 --
 include/uk/plat/config.h                        | 2 --
 include/uk/plat/io.h                            | 2 --
 include/uk/plat/lcpu.h                          | 2 --
 include/uk/plat/memory.h                        | 2 --
 include/uk/plat/syscall.h                       | 2 --
 include/uk/plat/thread.h                        | 2 --
 include/uk/plat/time.h                          | 2 --
 include/uk/prio.h                               | 2 --
 lib/nolibc/errno.c                              | 2 --
 lib/nolibc/include/assert.h                     | 2 --
 lib/nolibc/include/errno.h                      | 2 --
 lib/nolibc/include/inttypes.h                   | 2 --
 lib/nolibc/include/limits.h                     | 2 --
 lib/nolibc/include/nolibc-internal/shareddefs.h | 2 --
 lib/nolibc/include/stdarg.h                     | 2 --
 lib/nolibc/include/stddef.h                     | 2 --
 lib/nolibc/include/stdint.h                     | 2 --
 lib/nolibc/include/stdio.h                      | 2 --
 lib/nolibc/include/string.h                     | 2 --
 lib/nolibc/include/sys/mount.h                  | 2 --
 lib/nolibc/include/sys/types.h                  | 2 --
 lib/nolibc/include/sys/uio.h                    | 2 --
 lib/nolibc/include/unistd.h                     | 2 --
 lib/nolibc/malloc.c                             | 2 --
 lib/nolibc/string.c                             | 2 --
 lib/posix-user/user.c                           | 2 --
 lib/syscall_shim/include/uk/syscall.h           | 2 --
 lib/ukalloc/include/uk/alloc.h                  | 2 --
 lib/ukalloc/include/uk/alloc_impl.h             | 2 --
 lib/ukallocbbuddy/include/uk/allocbbuddy.h      | 2 --
 lib/ukargparse/argparse.c                       | 2 --
 lib/ukargparse/include/uk/argparse.h            | 2 --
 lib/ukboot/boot.c                               | 2 --
 lib/ukbus/bus.c                                 | 2 --
 lib/ukbus/include/uk/bus.h                      | 2 --
 lib/ukdebug/hexdump.c                           | 2 --
 lib/ukdebug/include/uk/assert.h                 | 2 --
 lib/ukdebug/include/uk/hexdump.h                | 2 --
 lib/ukdebug/include/uk/print.h                  | 2 --
 lib/ukdebug/include/uk/trace.h                  | 2 --
 lib/ukdebug/snprintf.h                          | 2 --
 lib/ukdebug/trace.c                             | 2 --
 lib/uklibparam/include/uk/libparam.h            | 2 --
 lib/uklibparam/param.c                          | 2 --
 lib/uklock/include/uk/mutex.h                   | 2 --
 lib/ukmmap/mmap.c                               | 2 --
 lib/ukmpi/include/uk/mbox.h                     | 2 --
 lib/uknetdev/include/uk/netbuf.h                | 2 --
 lib/uknetdev/netbuf.c                           | 2 --
 lib/uksched/include/uk/sched.h                  | 2 --
 lib/uksched/sched.c                             | 2 --
 lib/ukschedcoop/include/uk/schedcoop.h          | 2 --
 lib/ukswrand/include/uk/swrand.h                | 2 --
 lib/ukswrand/mwc.c                              | 2 --
 lib/vfscore/fd.c                                | 2 --
 lib/vfscore/file.c                              | 2 --
 lib/vfscore/fops.c                              | 2 --
 lib/vfscore/include/vfscore/dentry.h            | 2 --
 lib/vfscore/include/vfscore/file.h              | 2 --
 lib/vfscore/include/vfscore/prex.h              | 2 --
 lib/vfscore/rootfs.c                            | 2 --
 lib/vfscore/stdio.c                             | 2 --
 plat/common/arm/generic_timer.c                 | 2 --
 plat/common/include/arm/arm/cpu.h               | 2 --
 plat/common/include/pci/pci_bus.h               | 2 --
 plat/common/include/uk/plat/common/sw_ctx.h     | 2 --
 plat/common/include/uk/plat/common/tls.h        | 2 --
 plat/common/include/x86/tls.h                   | 2 --
 plat/common/pci_bus.c                           | 2 --
 plat/common/sw_ctx.c                            | 2 --
 plat/common/thread.c                            | 2 --
 plat/common/x86/cpu_features.c                  | 2 --
 plat/common/x86/syscall.S                       | 2 --
 plat/drivers/include/virtio/virtio_bus.h        | 2 --
 plat/drivers/include/virtio/virtio_config.h     | 2 --
 plat/drivers/include/virtio/virtqueue.h         | 2 --
 plat/drivers/virtio/virtio_bus.c                | 2 --
 plat/drivers/virtio/virtio_pci.c                | 2 --
 plat/drivers/virtio/virtio_ring.c               | 2 --
 plat/kvm/include/kvm/config.h                   | 2 --
 plat/kvm/io.c                                   | 2 --
 plat/kvm/x86/lcpu.c                             | 2 --
 plat/kvm/x86/time.c                             | 2 --
 plat/linuxu/arm/entry32.S                       | 2 --
 plat/linuxu/console.c                           | 2 --
 plat/linuxu/include/linuxu/console.h            | 2 --
 plat/linuxu/include/linuxu/ioctl.h              | 2 --
 plat/linuxu/include/linuxu/setup.h              | 2 --
 plat/linuxu/include/linuxu/syscall-arm_32.h     | 2 --
 plat/linuxu/include/linuxu/syscall-x86_64.h     | 2 --
 plat/linuxu/include/linuxu/syscall.h            | 2 --
 plat/linuxu/include/linuxu/tls.h                | 2 --
 plat/linuxu/io.c                                | 2 --
 plat/linuxu/lcpu.c                              | 2 --
 plat/linuxu/memory.c                            | 2 --
 plat/linuxu/setup.c                             | 2 --
 plat/linuxu/shutdown.c                          | 2 --
 plat/linuxu/time.c                              | 2 --
 plat/linuxu/x86/entry64.S                       | 2 --
 plat/xen/console.c                              | 2 --
 plat/xen/emg_console.c                          | 2 --
 plat/xen/emg_console.h                          | 2 --
 plat/xen/hv_console.c                           | 2 --
 plat/xen/hv_console.h                           | 2 --
 plat/xen/include/common/console.h               | 2 --
 plat/xen/include/xen-arm/setup.h                | 2 --
 plat/xen/include/xen-arm/smp.h                  | 2 --
 plat/xen/include/xen-arm/traps.h                | 2 --
 plat/xen/include/xen-x86/setup.h                | 2 --
 plat/xen/io.c                                   | 2 --
 plat/xen/lcpu.c                                 | 2 --
 plat/xen/memory.c                               | 2 --
 plat/xen/shutdown.c                             | 2 --
 support/scripts/uk-gdb.py                       | 2 --
 support/scripts/uk_trace/parse.py               | 2 --
 support/scripts/uk_trace/trace.py               | 2 --
 131 files changed, 262 deletions(-)

diff --git a/arch/arm/arm/include/uk/asm/intsizes.h b/arch/arm/arm/include/uk/asm/intsizes.h
index 0051c0ad1..1c4dfbca7 100644
--- a/arch/arm/arm/include/uk/asm/intsizes.h
+++ b/arch/arm/arm/include/uk/asm/intsizes.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #if ((!defined __UKARCH_TYPES_H__) && (!defined __UKARCH_LIMITS_H__))
diff --git a/arch/arm/arm/include/uk/asm/tls.h b/arch/arm/arm/include/uk/asm/tls.h
index 67d6f264f..6492863d6 100644
--- a/arch/arm/arm/include/uk/asm/tls.h
+++ b/arch/arm/arm/include/uk/asm/tls.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKARCH_TLS_H__
diff --git a/arch/arm/arm64/include/uk/asm/tls.h b/arch/arm/arm64/include/uk/asm/tls.h
index 6cc23f1c9..f092e1971 100644
--- a/arch/arm/arm64/include/uk/asm/tls.h
+++ b/arch/arm/arm64/include/uk/asm/tls.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKARCH_TLS_H__
diff --git a/arch/x86/x86_64/include/uk/asm/intsizes.h b/arch/x86/x86_64/include/uk/asm/intsizes.h
index 946ceca65..4b0eb61f9 100644
--- a/arch/x86/x86_64/include/uk/asm/intsizes.h
+++ b/arch/x86/x86_64/include/uk/asm/intsizes.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #if ((!defined __UKARCH_TYPES_H__) && (!defined __UKARCH_LIMITS_H__))
diff --git a/arch/x86/x86_64/include/uk/asm/tls.h b/arch/x86/x86_64/include/uk/asm/tls.h
index 116d8a1de..156107835 100644
--- a/arch/x86/x86_64/include/uk/asm/tls.h
+++ b/arch/x86/x86_64/include/uk/asm/tls.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKARCH_TLS_H__
diff --git a/include/uk/arch/lcpu.h b/include/uk/arch/lcpu.h
index c52162877..72a30f098 100644
--- a/include/uk/arch/lcpu.h
+++ b/include/uk/arch/lcpu.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKARCH_LCPU_H__
diff --git a/include/uk/arch/limits.h b/include/uk/arch/limits.h
index c4d4bc229..dbfc490e2 100644
--- a/include/uk/arch/limits.h
+++ b/include/uk/arch/limits.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKARCH_LIMITS_H__
diff --git a/include/uk/arch/time.h b/include/uk/arch/time.h
index ac2078874..f1726ffd2 100644
--- a/include/uk/arch/time.h
+++ b/include/uk/arch/time.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKARCH_TIME_H__
diff --git a/include/uk/arch/tls.h b/include/uk/arch/tls.h
index bfbcd5fcf..c8545baa6 100644
--- a/include/uk/arch/tls.h
+++ b/include/uk/arch/tls.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKARCH_TLS_H__
diff --git a/include/uk/arch/types.h b/include/uk/arch/types.h
index c409b9a3b..8329070aa 100644
--- a/include/uk/arch/types.h
+++ b/include/uk/arch/types.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKARCH_TYPES_H__
diff --git a/include/uk/config.h b/include/uk/config.h
index 9628b7baf..0edc9810a 100644
--- a/include/uk/config.h
+++ b/include/uk/config.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_CONFIG_H__
diff --git a/include/uk/errptr.h b/include/uk/errptr.h
index 6e8599441..857967247 100644
--- a/include/uk/errptr.h
+++ b/include/uk/errptr.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_ERRPTR_H__
diff --git a/include/uk/essentials.h b/include/uk/essentials.h
index 6bcee2e60..8f8b9d982 100644
--- a/include/uk/essentials.h
+++ b/include/uk/essentials.h
@@ -31,8 +31,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_ESSENTIALS_H__
diff --git a/include/uk/init.h b/include/uk/init.h
index ba3f3b3db..18677dc74 100644
--- a/include/uk/init.h
+++ b/include/uk/init.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef _UK_INIT_H
 #define _UK_INIT_H
diff --git a/include/uk/plat/bootstrap.h b/include/uk/plat/bootstrap.h
index 0652ccd17..6af18ca0e 100644
--- a/include/uk/plat/bootstrap.h
+++ b/include/uk/plat/bootstrap.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKPLAT_BOOTSTRAP__
diff --git a/include/uk/plat/config.h b/include/uk/plat/config.h
index 9753d7545..7886d9a85 100644
--- a/include/uk/plat/config.h
+++ b/include/uk/plat/config.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_ARCH_CONFIG_H__
diff --git a/include/uk/plat/io.h b/include/uk/plat/io.h
index 6a9218663..f6c4765fd 100644
--- a/include/uk/plat/io.h
+++ b/include/uk/plat/io.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __UKPLAT_IO_H__
 #define __UKPLAT_IO_H__
diff --git a/include/uk/plat/lcpu.h b/include/uk/plat/lcpu.h
index 77e584665..457dc6cee 100644
--- a/include/uk/plat/lcpu.h
+++ b/include/uk/plat/lcpu.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKPLAT_LCPU_H__
diff --git a/include/uk/plat/memory.h b/include/uk/plat/memory.h
index 4c4e4dc42..ac3a1896f 100644
--- a/include/uk/plat/memory.h
+++ b/include/uk/plat/memory.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKPLAT_MEMORY_H__
diff --git a/include/uk/plat/syscall.h b/include/uk/plat/syscall.h
index f62ddfe3e..c6860bdd6 100644
--- a/include/uk/plat/syscall.h
+++ b/include/uk/plat/syscall.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKPLAT_SYSCALL__
diff --git a/include/uk/plat/thread.h b/include/uk/plat/thread.h
index 4b349ea7f..980747f13 100644
--- a/include/uk/plat/thread.h
+++ b/include/uk/plat/thread.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 /*
diff --git a/include/uk/plat/time.h b/include/uk/plat/time.h
index ad3fd9545..f1dc9b94f 100644
--- a/include/uk/plat/time.h
+++ b/include/uk/plat/time.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKPLAT_TIME_H__
diff --git a/include/uk/prio.h b/include/uk/prio.h
index c49b784fb..a94e7b458 100644
--- a/include/uk/prio.h
+++ b/include/uk/prio.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __UK_PRIO_H__
 #define __UK_PRIO_H__
diff --git a/lib/nolibc/errno.c b/lib/nolibc/errno.c
index d6c2dc894..29475ad9e 100644
--- a/lib/nolibc/errno.c
+++ b/lib/nolibc/errno.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <errno.h>
diff --git a/lib/nolibc/include/assert.h b/lib/nolibc/include/assert.h
index 1e1115951..f19e8fc0c 100644
--- a/lib/nolibc/include/assert.h
+++ b/lib/nolibc/include/assert.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __ASSERT_H__
diff --git a/lib/nolibc/include/errno.h b/lib/nolibc/include/errno.h
index 29f4c8b31..c02090db1 100644
--- a/lib/nolibc/include/errno.h
+++ b/lib/nolibc/include/errno.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __ERRNO_H__
diff --git a/lib/nolibc/include/inttypes.h b/lib/nolibc/include/inttypes.h
index ba9ea81a3..03aa1c176 100644
--- a/lib/nolibc/include/inttypes.h
+++ b/lib/nolibc/include/inttypes.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __INTTYPES_H__
diff --git a/lib/nolibc/include/limits.h b/lib/nolibc/include/limits.h
index e66bbace6..8613cbbbf 100644
--- a/lib/nolibc/include/limits.h
+++ b/lib/nolibc/include/limits.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __LIMITS_H__
diff --git a/lib/nolibc/include/nolibc-internal/shareddefs.h b/lib/nolibc/include/nolibc-internal/shareddefs.h
index d386820e5..3a6e41053 100644
--- a/lib/nolibc/include/nolibc-internal/shareddefs.h
+++ b/lib/nolibc/include/nolibc-internal/shareddefs.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 /* This header does by design not have include guards, so that it can be
diff --git a/lib/nolibc/include/stdarg.h b/lib/nolibc/include/stdarg.h
index 752269853..16eb15bf2 100644
--- a/lib/nolibc/include/stdarg.h
+++ b/lib/nolibc/include/stdarg.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __STDARG_H__
diff --git a/lib/nolibc/include/stddef.h b/lib/nolibc/include/stddef.h
index 9fb27b179..5abede766 100644
--- a/lib/nolibc/include/stddef.h
+++ b/lib/nolibc/include/stddef.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __STDDEF_H__
diff --git a/lib/nolibc/include/stdint.h b/lib/nolibc/include/stdint.h
index a6a55c49d..3b516a709 100644
--- a/lib/nolibc/include/stdint.h
+++ b/lib/nolibc/include/stdint.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __STDINT_H__
diff --git a/lib/nolibc/include/stdio.h b/lib/nolibc/include/stdio.h
index f844ffa8d..6c08d2db3 100644
--- a/lib/nolibc/include/stdio.h
+++ b/lib/nolibc/include/stdio.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __STDIO_H__
diff --git a/lib/nolibc/include/string.h b/lib/nolibc/include/string.h
index 2644aea4c..b7d542091 100644
--- a/lib/nolibc/include/string.h
+++ b/lib/nolibc/include/string.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __STRING_H__
diff --git a/lib/nolibc/include/sys/mount.h b/lib/nolibc/include/sys/mount.h
index c8b1fe274..01be0f78f 100644
--- a/lib/nolibc/include/sys/mount.h
+++ b/lib/nolibc/include/sys/mount.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef _SYS_MOUNT_H
diff --git a/lib/nolibc/include/sys/types.h b/lib/nolibc/include/sys/types.h
index 4da777c8e..fc42ee310 100644
--- a/lib/nolibc/include/sys/types.h
+++ b/lib/nolibc/include/sys/types.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 
diff --git a/lib/nolibc/include/sys/uio.h b/lib/nolibc/include/sys/uio.h
index d1a4b48dd..984b98071 100644
--- a/lib/nolibc/include/sys/uio.h
+++ b/lib/nolibc/include/sys/uio.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef _SYS_UIO_H
diff --git a/lib/nolibc/include/unistd.h b/lib/nolibc/include/unistd.h
index 1a5a49253..8ee8878e9 100644
--- a/lib/nolibc/include/unistd.h
+++ b/lib/nolibc/include/unistd.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UNISTD_H__
diff --git a/lib/nolibc/malloc.c b/lib/nolibc/malloc.c
index faf880521..0a939111f 100644
--- a/lib/nolibc/malloc.c
+++ b/lib/nolibc/malloc.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stddef.h>
diff --git a/lib/nolibc/string.c b/lib/nolibc/string.c
index 327efcca9..9bcaea821 100644
--- a/lib/nolibc/string.c
+++ b/lib/nolibc/string.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /* For the parts taken from musl (marked as such below), the MIT licence
  * applies instead:
diff --git a/lib/posix-user/user.c b/lib/posix-user/user.c
index e7c60dadc..2bede9fb3 100644
--- a/lib/posix-user/user.c
+++ b/lib/posix-user/user.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <unistd.h>
diff --git a/lib/syscall_shim/include/uk/syscall.h b/lib/syscall_shim/include/uk/syscall.h
index 70eebe7da..c58bae58c 100644
--- a/lib/syscall_shim/include/uk/syscall.h
+++ b/lib/syscall_shim/include/uk/syscall.h
@@ -30,8 +30,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_SYSCALL_H__
diff --git a/lib/ukalloc/include/uk/alloc.h b/lib/ukalloc/include/uk/alloc.h
index 14579220b..a4feb3f4f 100644
--- a/lib/ukalloc/include/uk/alloc.h
+++ b/lib/ukalloc/include/uk/alloc.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_ALLOC_H__
diff --git a/lib/ukalloc/include/uk/alloc_impl.h b/lib/ukalloc/include/uk/alloc_impl.h
index b15f49e73..844eca9a2 100644
--- a/lib/ukalloc/include/uk/alloc_impl.h
+++ b/lib/ukalloc/include/uk/alloc_impl.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 /*
diff --git a/lib/ukallocbbuddy/include/uk/allocbbuddy.h b/lib/ukallocbbuddy/include/uk/allocbbuddy.h
index d7afef4c1..3d7558b80 100644
--- a/lib/ukallocbbuddy/include/uk/allocbbuddy.h
+++ b/lib/ukallocbbuddy/include/uk/allocbbuddy.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKALLOCBBUDDY_H__
diff --git a/lib/ukargparse/argparse.c b/lib/ukargparse/argparse.c
index db7ed1309..435504cf1 100644
--- a/lib/ukargparse/argparse.c
+++ b/lib/ukargparse/argparse.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/argparse.h>
diff --git a/lib/ukargparse/include/uk/argparse.h b/lib/ukargparse/include/uk/argparse.h
index 7a8420c94..a1e1a59d7 100644
--- a/lib/ukargparse/include/uk/argparse.h
+++ b/lib/ukargparse/include/uk/argparse.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_ARGPARSE__
diff --git a/lib/ukboot/boot.c b/lib/ukboot/boot.c
index 2f7ab24a0..960fdd310 100644
--- a/lib/ukboot/boot.c
+++ b/lib/ukboot/boot.c
@@ -31,8 +31,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/config.h>
diff --git a/lib/ukbus/bus.c b/lib/ukbus/bus.c
index 1d63f4dce..311890f2d 100644
--- a/lib/ukbus/bus.c
+++ b/lib/ukbus/bus.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/bus.h>
diff --git a/lib/ukbus/include/uk/bus.h b/lib/ukbus/include/uk/bus.h
index fcb684210..e192e7dda 100644
--- a/lib/ukbus/include/uk/bus.h
+++ b/lib/ukbus/include/uk/bus.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_BUS__
diff --git a/lib/ukdebug/hexdump.c b/lib/ukdebug/hexdump.c
index 0708489d9..696db6948 100644
--- a/lib/ukdebug/hexdump.c
+++ b/lib/ukdebug/hexdump.c
@@ -31,8 +31,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <string.h>
diff --git a/lib/ukdebug/include/uk/assert.h b/lib/ukdebug/include/uk/assert.h
index d81f42f9e..6732e5d47 100644
--- a/lib/ukdebug/include/uk/assert.h
+++ b/lib/ukdebug/include/uk/assert.h
@@ -31,8 +31,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKDEBUG_ASSERT_H__
diff --git a/lib/ukdebug/include/uk/hexdump.h b/lib/ukdebug/include/uk/hexdump.h
index 2e91edb2d..676ae8da7 100644
--- a/lib/ukdebug/include/uk/hexdump.h
+++ b/lib/ukdebug/include/uk/hexdump.h
@@ -31,8 +31,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKDEBUG_HEXDUMP_H__
diff --git a/lib/ukdebug/include/uk/print.h b/lib/ukdebug/include/uk/print.h
index 30e3efe4a..c3c95f411 100644
--- a/lib/ukdebug/include/uk/print.h
+++ b/lib/ukdebug/include/uk/print.h
@@ -31,8 +31,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKDEBUG_PRINT_H__
diff --git a/lib/ukdebug/include/uk/trace.h b/lib/ukdebug/include/uk/trace.h
index bc8da435a..6ca1b0663 100644
--- a/lib/ukdebug/include/uk/trace.h
+++ b/lib/ukdebug/include/uk/trace.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef _UK_TRACE_H_
diff --git a/lib/ukdebug/snprintf.h b/lib/ukdebug/snprintf.h
index fa167e687..edebb52c6 100644
--- a/lib/ukdebug/snprintf.h
+++ b/lib/ukdebug/snprintf.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UKDEBUG_INTERNAL_SNPRINTF_H__
diff --git a/lib/ukdebug/trace.c b/lib/ukdebug/trace.c
index 0a1358193..2572560c1 100644
--- a/lib/ukdebug/trace.c
+++ b/lib/ukdebug/trace.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stddef.h>
diff --git a/lib/uklibparam/include/uk/libparam.h b/lib/uklibparam/include/uk/libparam.h
index f8f8ba4b6..0bf9fc320 100644
--- a/lib/uklibparam/include/uk/libparam.h
+++ b/lib/uklibparam/include/uk/libparam.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __UK_LIBPARAM_H
 #define __UK_LIBPARAM_H
diff --git a/lib/uklibparam/param.c b/lib/uklibparam/param.c
index 948150cd4..09fe48b23 100644
--- a/lib/uklibparam/param.c
+++ b/lib/uklibparam/param.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <string.h>
 #include <stdlib.h>
diff --git a/lib/uklock/include/uk/mutex.h b/lib/uklock/include/uk/mutex.h
index d4435ebdb..050cecb72 100644
--- a/lib/uklock/include/uk/mutex.h
+++ b/lib/uklock/include/uk/mutex.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_MUTEX_H__
diff --git a/lib/ukmmap/mmap.c b/lib/ukmmap/mmap.c
index ea0173a98..34f73a888 100644
--- a/lib/ukmmap/mmap.c
+++ b/lib/ukmmap/mmap.c
@@ -30,8 +30,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <sys/mman.h>
diff --git a/lib/ukmpi/include/uk/mbox.h b/lib/ukmpi/include/uk/mbox.h
index 19b1ecc0b..bff551e08 100644
--- a/lib/ukmpi/include/uk/mbox.h
+++ b/lib/ukmpi/include/uk/mbox.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 
diff --git a/lib/uknetdev/include/uk/netbuf.h b/lib/uknetdev/include/uk/netbuf.h
index 5212614aa..f79a36218 100644
--- a/lib/uknetdev/include/uk/netbuf.h
+++ b/lib/uknetdev/include/uk/netbuf.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __UK_NETBUF__
 #define __UK_NETBUF__
diff --git a/lib/uknetdev/netbuf.c b/lib/uknetdev/netbuf.c
index d87af0530..81ad3af33 100644
--- a/lib/uknetdev/netbuf.c
+++ b/lib/uknetdev/netbuf.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <uk/netbuf.h>
 #include <uk/essentials.h>
diff --git a/lib/uksched/include/uk/sched.h b/lib/uksched/include/uk/sched.h
index 36ef76d7c..2e9368df5 100644
--- a/lib/uksched/include/uk/sched.h
+++ b/lib/uksched/include/uk/sched.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_SCHED_H__
diff --git a/lib/uksched/sched.c b/lib/uksched/sched.c
index 5a58629b8..86e6f6ee4 100644
--- a/lib/uksched/sched.c
+++ b/lib/uksched/sched.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stdlib.h>
diff --git a/lib/ukschedcoop/include/uk/schedcoop.h b/lib/ukschedcoop/include/uk/schedcoop.h
index b0b6b06bb..62bc8f6d9 100644
--- a/lib/ukschedcoop/include/uk/schedcoop.h
+++ b/lib/ukschedcoop/include/uk/schedcoop.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /*
  * Non-preemptive (cooperative) Round Robin scheduler.
diff --git a/lib/ukswrand/include/uk/swrand.h b/lib/ukswrand/include/uk/swrand.h
index 69579a1aa..1172e6cb1 100644
--- a/lib/ukswrand/include/uk/swrand.h
+++ b/lib/ukswrand/include/uk/swrand.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_SWRAND__
diff --git a/lib/ukswrand/mwc.c b/lib/ukswrand/mwc.c
index f032e950a..bfe67fc91 100644
--- a/lib/ukswrand/mwc.c
+++ b/lib/ukswrand/mwc.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <string.h>
diff --git a/lib/vfscore/fd.c b/lib/vfscore/fd.c
index 956846ffc..a5562ca18 100644
--- a/lib/vfscore/fd.c
+++ b/lib/vfscore/fd.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <string.h>
diff --git a/lib/vfscore/file.c b/lib/vfscore/file.c
index bc8b0dc85..c5c4d3f74 100644
--- a/lib/vfscore/file.c
+++ b/lib/vfscore/file.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <unistd.h>
diff --git a/lib/vfscore/fops.c b/lib/vfscore/fops.c
index 0cef2c12c..065bca0b3 100644
--- a/lib/vfscore/fops.c
+++ b/lib/vfscore/fops.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #define _GNU_SOURCE
diff --git a/lib/vfscore/include/vfscore/dentry.h b/lib/vfscore/include/vfscore/dentry.h
index 2c356530e..46444aa3d 100644
--- a/lib/vfscore/include/vfscore/dentry.h
+++ b/lib/vfscore/include/vfscore/dentry.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef _OSV_DENTRY_H
diff --git a/lib/vfscore/include/vfscore/file.h b/lib/vfscore/include/vfscore/file.h
index d630ccb8d..bf2510f13 100644
--- a/lib/vfscore/include/vfscore/file.h
+++ b/lib/vfscore/include/vfscore/file.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __VFSCORE_FILE_H__
diff --git a/lib/vfscore/include/vfscore/prex.h b/lib/vfscore/include/vfscore/prex.h
index 1ba8f9698..627d70739 100644
--- a/lib/vfscore/include/vfscore/prex.h
+++ b/lib/vfscore/include/vfscore/prex.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef _UK_PREX_H
diff --git a/lib/vfscore/rootfs.c b/lib/vfscore/rootfs.c
index 4b9512a4e..8a6e099f4 100644
--- a/lib/vfscore/rootfs.c
+++ b/lib/vfscore/rootfs.c
@@ -32,8 +32,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <errno.h>
 #include <uk/config.h>
diff --git a/lib/vfscore/stdio.c b/lib/vfscore/stdio.c
index 62a7a6074..b59a9ee3d 100644
--- a/lib/vfscore/stdio.c
+++ b/lib/vfscore/stdio.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <vfscore/file.h>
diff --git a/plat/common/arm/generic_timer.c b/plat/common/arm/generic_timer.c
index 58a9f4036..6ea8b8734 100644
--- a/plat/common/arm/generic_timer.c
+++ b/plat/common/arm/generic_timer.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <stdlib.h>
 #include <uk/assert.h>
diff --git a/plat/common/include/arm/arm/cpu.h b/plat/common/include/arm/arm/cpu.h
index c966cb41f..c9a169157 100644
--- a/plat/common/include/arm/arm/cpu.h
+++ b/plat/common/include/arm/arm/cpu.h
@@ -32,8 +32,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef _PLAT_COMMON_ARM_ARM_CPU_H_
 #define _PLAT_COMMON_ARM_ARM_CPU_H_
diff --git a/plat/common/include/pci/pci_bus.h b/plat/common/include/pci/pci_bus.h
index db406a1b1..86cab11b8 100644
--- a/plat/common/include/pci/pci_bus.h
+++ b/plat/common/include/pci/pci_bus.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /*
  * Copyright(c) 2010-2015 Intel Corporation.
diff --git a/plat/common/include/uk/plat/common/sw_ctx.h b/plat/common/include/uk/plat/common/sw_ctx.h
index 366c6a8f8..63ffb6741 100644
--- a/plat/common/include/uk/plat/common/sw_ctx.h
+++ b/plat/common/include/uk/plat/common/sw_ctx.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __PLAT_CMN_SW_CTX_H__
 #define __PLAT_CMN_SW_CTX_H__
diff --git a/plat/common/include/uk/plat/common/tls.h b/plat/common/include/uk/plat/common/tls.h
index 6fb78d249..492066eee 100644
--- a/plat/common/include/uk/plat/common/tls.h
+++ b/plat/common/include/uk/plat/common/tls.h
@@ -26,8 +26,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __PLAT_CMN_TLS_H__
 #define __PLAT_CMN_TLS_H__
diff --git a/plat/common/include/x86/tls.h b/plat/common/include/x86/tls.h
index 5811bcd70..af3bd3359 100644
--- a/plat/common/include/x86/tls.h
+++ b/plat/common/include/x86/tls.h
@@ -26,8 +26,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __PLAT_CMN_X86_TLS_H__
 #define __PLAT_CMN_X86_TLS_H__
diff --git a/plat/common/pci_bus.c b/plat/common/pci_bus.c
index 7a66e94f8..86aeee6ba 100644
--- a/plat/common/pci_bus.c
+++ b/plat/common/pci_bus.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /* Some code was derived from Solo5: */
 /*
diff --git a/plat/common/sw_ctx.c b/plat/common/sw_ctx.c
index 482e99e61..2c4fc613d 100644
--- a/plat/common/sw_ctx.c
+++ b/plat/common/sw_ctx.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stdint.h>
diff --git a/plat/common/thread.c b/plat/common/thread.c
index ccfeb2966..80074e5d2 100644
--- a/plat/common/thread.c
+++ b/plat/common/thread.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stdlib.h>
diff --git a/plat/common/x86/cpu_features.c b/plat/common/x86/cpu_features.c
index 070973971..1e44901c0 100644
--- a/plat/common/x86/cpu_features.c
+++ b/plat/common/x86/cpu_features.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <x86/cpu.h>
diff --git a/plat/common/x86/syscall.S b/plat/common/x86/syscall.S
index b367a5d73..71613b073 100644
--- a/plat/common/x86/syscall.S
+++ b/plat/common/x86/syscall.S
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/arch/lcpu.h>
diff --git a/plat/drivers/include/virtio/virtio_bus.h b/plat/drivers/include/virtio/virtio_bus.h
index b3bb83314..953a6090c 100644
--- a/plat/drivers/include/virtio/virtio_bus.h
+++ b/plat/drivers/include/virtio/virtio_bus.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_DRV_VIRTIO_H
diff --git a/plat/drivers/include/virtio/virtio_config.h b/plat/drivers/include/virtio/virtio_config.h
index 1221bbc57..99005fa8a 100644
--- a/plat/drivers/include/virtio/virtio_config.h
+++ b/plat/drivers/include/virtio/virtio_config.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_DRV_VIRTIO_CONFIG_H
diff --git a/plat/drivers/include/virtio/virtqueue.h b/plat/drivers/include/virtio/virtqueue.h
index 147982883..3055549aa 100644
--- a/plat/drivers/include/virtio/virtqueue.h
+++ b/plat/drivers/include/virtio/virtqueue.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_DRV_VIRTQUEUE_H__
diff --git a/plat/drivers/virtio/virtio_bus.c b/plat/drivers/virtio/virtio_bus.c
index 1c34487f9..f41c75435 100644
--- a/plat/drivers/virtio/virtio_bus.c
+++ b/plat/drivers/virtio/virtio_bus.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/config.h>
diff --git a/plat/drivers/virtio/virtio_pci.c b/plat/drivers/virtio/virtio_pci.c
index c0c9032f6..fe21e6a1c 100644
--- a/plat/drivers/virtio/virtio_pci.c
+++ b/plat/drivers/virtio/virtio_pci.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/config.h>
diff --git a/plat/drivers/virtio/virtio_ring.c b/plat/drivers/virtio/virtio_ring.c
index 0a5c3f3ea..1579e91c6 100644
--- a/plat/drivers/virtio/virtio_ring.c
+++ b/plat/drivers/virtio/virtio_ring.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /**
  * Inspired from the FreeBSD.
diff --git a/plat/kvm/include/kvm/config.h b/plat/kvm/include/kvm/config.h
index 37136820a..e5844b329 100644
--- a/plat/kvm/include/kvm/config.h
+++ b/plat/kvm/include/kvm/config.h
@@ -31,8 +31,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __KVM_CONFIG_H__
diff --git a/plat/kvm/io.c b/plat/kvm/io.c
index fca55fb50..14a8c01a9 100644
--- a/plat/kvm/io.c
+++ b/plat/kvm/io.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/plat/io.h>
diff --git a/plat/kvm/x86/lcpu.c b/plat/kvm/x86/lcpu.c
index 42e2faa35..ed359e5c0 100644
--- a/plat/kvm/x86/lcpu.c
+++ b/plat/kvm/x86/lcpu.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stdint.h>
diff --git a/plat/kvm/x86/time.c b/plat/kvm/x86/time.c
index 333ad9f3d..fde42653c 100644
--- a/plat/kvm/x86/time.c
+++ b/plat/kvm/x86/time.c
@@ -36,8 +36,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stdlib.h>
diff --git a/plat/linuxu/arm/entry32.S b/plat/linuxu/arm/entry32.S
index 5080ff22a..9e0e8a94a 100644
--- a/plat/linuxu/arm/entry32.S
+++ b/plat/linuxu/arm/entry32.S
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 .section .text
diff --git a/plat/linuxu/console.c b/plat/linuxu/console.c
index 6f27787b4..5d2885678 100644
--- a/plat/linuxu/console.c
+++ b/plat/linuxu/console.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <inttypes.h>
diff --git a/plat/linuxu/include/linuxu/console.h b/plat/linuxu/include/linuxu/console.h
index acae389f7..4b88d9a73 100644
--- a/plat/linuxu/include/linuxu/console.h
+++ b/plat/linuxu/include/linuxu/console.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __CONSOLE_H__
diff --git a/plat/linuxu/include/linuxu/ioctl.h b/plat/linuxu/include/linuxu/ioctl.h
index 3fc5c251d..ada62ea87 100644
--- a/plat/linuxu/include/linuxu/ioctl.h
+++ b/plat/linuxu/include/linuxu/ioctl.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __IOCTL_H__
diff --git a/plat/linuxu/include/linuxu/setup.h b/plat/linuxu/include/linuxu/setup.h
index 571d66cd1..a4f23f37e 100644
--- a/plat/linuxu/include/linuxu/setup.h
+++ b/plat/linuxu/include/linuxu/setup.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __SETUP_H__
diff --git a/plat/linuxu/include/linuxu/syscall-arm_32.h b/plat/linuxu/include/linuxu/syscall-arm_32.h
index ef9323bea..399e167e8 100644
--- a/plat/linuxu/include/linuxu/syscall-arm_32.h
+++ b/plat/linuxu/include/linuxu/syscall-arm_32.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __SYSCALL_ARM_32_H__
diff --git a/plat/linuxu/include/linuxu/syscall-x86_64.h b/plat/linuxu/include/linuxu/syscall-x86_64.h
index 553f0ba4a..3e43b3f17 100644
--- a/plat/linuxu/include/linuxu/syscall-x86_64.h
+++ b/plat/linuxu/include/linuxu/syscall-x86_64.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __SYSCALL_X86_64_H__
diff --git a/plat/linuxu/include/linuxu/syscall.h b/plat/linuxu/include/linuxu/syscall.h
index 0dca7c5c0..949c04253 100644
--- a/plat/linuxu/include/linuxu/syscall.h
+++ b/plat/linuxu/include/linuxu/syscall.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __SYSCALL_H__
diff --git a/plat/linuxu/include/linuxu/tls.h b/plat/linuxu/include/linuxu/tls.h
index 97474104b..225739e86 100644
--- a/plat/linuxu/include/linuxu/tls.h
+++ b/plat/linuxu/include/linuxu/tls.h
@@ -26,8 +26,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __PLAT_LINUXU_TLS_H__
 #define __PLAT_LINUXU_TLS_H__
diff --git a/plat/linuxu/io.c b/plat/linuxu/io.c
index 978aacb44..67ad95d55 100644
--- a/plat/linuxu/io.c
+++ b/plat/linuxu/io.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/plat/io.h>
diff --git a/plat/linuxu/lcpu.c b/plat/linuxu/lcpu.c
index b545ca8d2..fbf8c5e7a 100644
--- a/plat/linuxu/lcpu.c
+++ b/plat/linuxu/lcpu.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stdlib.h>
diff --git a/plat/linuxu/memory.c b/plat/linuxu/memory.c
index 9b5479e83..5b3df9b3a 100644
--- a/plat/linuxu/memory.c
+++ b/plat/linuxu/memory.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <errno.h>
diff --git a/plat/linuxu/setup.c b/plat/linuxu/setup.c
index 4e224a3dc..329a3e6fd 100644
--- a/plat/linuxu/setup.c
+++ b/plat/linuxu/setup.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/config.h>
diff --git a/plat/linuxu/shutdown.c b/plat/linuxu/shutdown.c
index 8eef53bb5..988fcace7 100644
--- a/plat/linuxu/shutdown.c
+++ b/plat/linuxu/shutdown.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <errno.h>
diff --git a/plat/linuxu/time.c b/plat/linuxu/time.c
index c6a5b349f..4e4dcb5f9 100644
--- a/plat/linuxu/time.c
+++ b/plat/linuxu/time.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <string.h>
diff --git a/plat/linuxu/x86/entry64.S b/plat/linuxu/x86/entry64.S
index f111a9526..e76b411e4 100644
--- a/plat/linuxu/x86/entry64.S
+++ b/plat/linuxu/x86/entry64.S
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 .section .text
diff --git a/plat/xen/console.c b/plat/xen/console.c
index 437e128cd..74ebb7941 100644
--- a/plat/xen/console.c
+++ b/plat/xen/console.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/config.h>
diff --git a/plat/xen/emg_console.c b/plat/xen/emg_console.c
index 5cd0d2464..d5868a120 100644
--- a/plat/xen/emg_console.c
+++ b/plat/xen/emg_console.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 /*
diff --git a/plat/xen/emg_console.h b/plat/xen/emg_console.h
index d98387481..0a6e395ce 100644
--- a/plat/xen/emg_console.h
+++ b/plat/xen/emg_console.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __XEN_EMG_CONSOLE_H__
diff --git a/plat/xen/hv_console.c b/plat/xen/hv_console.c
index c32a41576..7ee23a089 100644
--- a/plat/xen/hv_console.c
+++ b/plat/xen/hv_console.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 /*
diff --git a/plat/xen/hv_console.h b/plat/xen/hv_console.h
index 69be1edee..836866591 100644
--- a/plat/xen/hv_console.h
+++ b/plat/xen/hv_console.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __XEN_HV_CONSOLE_H__
diff --git a/plat/xen/include/common/console.h b/plat/xen/include/common/console.h
index 23c6b32e4..add6a63d7 100644
--- a/plat/xen/include/common/console.h
+++ b/plat/xen/include/common/console.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __CONSOLE_H__
diff --git a/plat/xen/include/xen-arm/setup.h b/plat/xen/include/xen-arm/setup.h
index 550e77e18..eb6154cd2 100644
--- a/plat/xen/include/xen-arm/setup.h
+++ b/plat/xen/include/xen-arm/setup.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __SETUP_H__
diff --git a/plat/xen/include/xen-arm/smp.h b/plat/xen/include/xen-arm/smp.h
index f825f27dd..5f15c8a44 100644
--- a/plat/xen/include/xen-arm/smp.h
+++ b/plat/xen/include/xen-arm/smp.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef PLAT_XEN_INCLUDE_XEN_ARM_SMP_H_
diff --git a/plat/xen/include/xen-arm/traps.h b/plat/xen/include/xen-arm/traps.h
index 4fd435185..993664e27 100644
--- a/plat/xen/include/xen-arm/traps.h
+++ b/plat/xen/include/xen-arm/traps.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef _TRAPS_H_
diff --git a/plat/xen/include/xen-x86/setup.h b/plat/xen/include/xen-x86/setup.h
index 7a5719014..0d9eecb07 100644
--- a/plat/xen/include/xen-x86/setup.h
+++ b/plat/xen/include/xen-x86/setup.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __SETUP_H__
diff --git a/plat/xen/io.c b/plat/xen/io.c
index 3fd1be2ba..57c87d4d9 100644
--- a/plat/xen/io.c
+++ b/plat/xen/io.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stdint.h>
diff --git a/plat/xen/lcpu.c b/plat/xen/lcpu.c
index d7158dfa9..d6b18f7a5 100644
--- a/plat/xen/lcpu.c
+++ b/plat/xen/lcpu.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stdint.h>
diff --git a/plat/xen/memory.c b/plat/xen/memory.c
index 8e7a7ddad..b390aab62 100644
--- a/plat/xen/memory.c
+++ b/plat/xen/memory.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <string.h>
diff --git a/plat/xen/shutdown.c b/plat/xen/shutdown.c
index c7bf12d74..ba6c3fad4 100644
--- a/plat/xen/shutdown.c
+++ b/plat/xen/shutdown.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <inttypes.h>
diff --git a/support/scripts/uk-gdb.py b/support/scripts/uk-gdb.py
index 14aa9aafd..db1655313 100644
--- a/support/scripts/uk-gdb.py
+++ b/support/scripts/uk-gdb.py
@@ -29,8 +29,6 @@
 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
-#
-# THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
 
 import gdb
 import pickle
diff --git a/support/scripts/uk_trace/parse.py b/support/scripts/uk_trace/parse.py
index 8142bc454..02f0efd32 100644
--- a/support/scripts/uk_trace/parse.py
+++ b/support/scripts/uk_trace/parse.py
@@ -28,8 +28,6 @@
 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
-#
-# THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
 
 import struct
 import sys
diff --git a/support/scripts/uk_trace/trace.py b/support/scripts/uk_trace/trace.py
index 5fafca632..40c560297 100755
--- a/support/scripts/uk_trace/trace.py
+++ b/support/scripts/uk_trace/trace.py
@@ -29,8 +29,6 @@
 # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
-#
-# THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
 
 import click
 import os, sys
-- 
2.20.1


From minios-devel-bounces@lists.xenproject.org Mon Feb 15 11:19:38 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 15 Feb 2021 11:19:38 +0000
Received: from list by lists.xenproject.org with outflank-mailman.85182.159714 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbuk-0005cy-5C; Mon, 15 Feb 2021 11:19:38 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 85182.159714; Mon, 15 Feb 2021 11:19:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbuk-0005cr-1s; Mon, 15 Feb 2021 11:19:38 +0000
Received: by outflank-mailman (input) for mailman id 85182;
 Mon, 15 Feb 2021 11:19:37 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=M9Bq=HR=neclab.eu=simon.kuenzer@srs-us1.protection.inumbo.net>)
 id 1lBbuj-0005cd-B2
 for minios-devel@lists.xen.org; Mon, 15 Feb 2021 11:19:37 +0000
Received: from mailer2.neclab.eu (unknown [195.37.70.41])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 3b0a4a0f-3a5c-4788-84f6-ea6e57c49824;
 Mon, 15 Feb 2021 11:19:34 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer2.neclab.eu (Postfix) with ESMTP id CAD47F2576;
 Mon, 15 Feb 2021 12:19:33 +0100 (CET)
Received: from mailer2.neclab.eu ([127.0.0.1])
 by localhost (atlas-b.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id idM9nDHKzn0D; Mon, 15 Feb 2021 12:19:33 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer2.neclab.eu (Postfix) with ESMTPS id 95529F2574;
 Mon, 15 Feb 2021 12:19:19 +0100 (CET)
Received: from localhost (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 15 Feb
 2021 12:19:19 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 3b0a4a0f-3a5c-4788-84f6-ea6e57c49824
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-b.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Simon Kuenzer <simon.kuenzer@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Costin Lupu <costin.lupu@cs.pub.ro>, Sharan Santhanam
	<sharan.santhanam@neclab.eu>, Felipe Huici <felipe.huici@neclab.eu>,
	<nicolescu.roxana1996@gmail.com>, <lascu.bogdan96@gmail.com>,
	<razvan.deaconescu@cs.pub.ro>, <vlad_andrei.badoiu@upb.ro>,
	<cristb@gmail.com>, Simon Kuenzer <simon.kuenzer@neclab.eu>
Subject: [UNIKRAFT PATCH 3/8] Correct license headers introduced by UPB
Date: Mon, 15 Feb 2021 12:18:57 +0100
Message-ID: <20210215111902.3382-4-simon.kuenzer@neclab.eu>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
References: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: oberon.office.hd (192.168.24.90) To puck.office.hd
 (192.168.24.91)

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from BSD license headers that got introduced by mistake
by Costin Lupu with the following commits:
 e09db222a - lib/posix-process: Introduce library
 790787e1a - plat/kvm: Add KVM (x86_64) timer support
 495221f5a - plat/common: Common x86 tracing functions
 6ea24ce5f - plat/common: Common x86 segment descriptors definitions
 3174af1a1 - plat/common: Common x86 traps definitions and functions
 f2478ed85 - plat/kvm: Add KVM (x86_64) interrupts support
 9f0389adf - plat/xen: Add Xenbus driver registration support
 ff0c0bf65 - plat/kvm: Fix current thread retrieval in interrupt context on x86_64
 fbbc468c9 - lib/uktime: Introduce time_types.h for type defintions
 a79078c96 - plat/xen: Add API for Xenstore messages
 300c8309c - plat: Introduce API for setting platform default allocator
 45d7afdb5 - lib/uksched: Introduce thread attributes
 9464bdc06 - plat/xen: Introduce client API for Xenbus drivers
 cf2e10677 - plat/common: Common x86 CPU definitions
 3bf7ba15a - plat/xen: Add IRQ subsystem initialization function
 26a59e3d2 - plat/xen: Add support for communication with Xenstore daemon
 cc797499a - plat/common: Common x86 CPU functions
 dde942de7 - lib/ukunistd: Add user.h for user related functions declarations
 1162bca18 - lib/posix-libdl: Add stubs
 0101002ee - plat/common: Halting functions
 5e73e025f - plat/xen: Add Xenstore watch support
 62917eb15 - plat/linuxu: Add linuxu (x86_64) interrupts support
 2c29345cd - lib/ukswrand: Add getrandom() function
 925b04e24 - plat/linuxu: Add linuxu (x86_64) timer support
 df484abae - lib/nolibc: Add time.c

On the one hand, this additional clause is redundant because
the BSD license already states that it must remain and the
copyright notice must be kept.
On the other hand, the clause freezes the file header
and prohibits future contributors from extending the
copyright notice for their contributions. This additional
clause is not part of the official BSD 3-clause.

The original author  consents to the change with a `Signed-off-by`
or `Reviewed-by` tag to this commit.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
---
 include/uk/plat/irq.h                       | 2 --
 lib/posix-libdl/stubs.c                     | 2 --
 lib/posix-process/include/uk/process.h      | 2 --
 lib/posix-process/process.c                 | 2 --
 lib/posix-user/include/uk/user.h            | 2 --
 lib/uksched/include/uk/thread_attr.h        | 2 --
 lib/uksched/thread_attr.c                   | 2 --
 lib/ukswrand/getrandom.c                    | 2 --
 lib/ukswrand/include/sys/random.h           | 2 --
 lib/uktime/include/uk/time_types.h          | 2 --
 lib/uktime/time.c                           | 2 --
 plat/common/include/uk/plat/common/_time.h  | 2 --
 plat/common/include/uk/plat/common/cpu.h    | 2 --
 plat/common/include/uk/plat/common/memory.h | 2 --
 plat/common/include/uk/plat/common/trace.h  | 2 --
 plat/common/include/x86/cpu_defs.h          | 2 --
 plat/common/include/x86/desc.h              | 2 --
 plat/common/include/x86/traps.h             | 2 --
 plat/common/lcpu.c                          | 2 --
 plat/common/memory.c                        | 2 --
 plat/common/x86/cpu_native.c                | 2 --
 plat/common/x86/trace.c                     | 2 --
 plat/common/x86/traps.c                     | 2 --
 plat/kvm/include/kvm/intctrl.h              | 2 --
 plat/kvm/include/kvm/irq.h                  | 2 --
 plat/kvm/include/kvm/tscclock.h             | 2 --
 plat/kvm/x86/memory.c                       | 2 --
 plat/linuxu/include/linuxu/signal.h         | 2 --
 plat/linuxu/include/linuxu/time.h           | 2 --
 plat/linuxu/irq.c                           | 2 --
 plat/xen/include/xenbus/client.h            | 2 --
 plat/xen/include/xenbus/xenbus.h            | 2 --
 plat/xen/include/xenbus/xs.h                | 2 --
 plat/xen/x86/cpu_pv.c                       | 2 --
 plat/xen/xenbus/client.c                    | 2 --
 plat/xen/xenbus/xenbus.c                    | 2 --
 plat/xen/xenbus/xs.c                        | 2 --
 plat/xen/xenbus/xs_comms.c                  | 2 --
 plat/xen/xenbus/xs_comms.h                  | 2 --
 plat/xen/xenbus/xs_watch.c                  | 2 --
 plat/xen/xenbus/xs_watch.h                  | 2 --
 41 files changed, 82 deletions(-)

diff --git a/include/uk/plat/irq.h b/include/uk/plat/irq.h
index 6c1eb9402..baf0fa6e9 100644
--- a/include/uk/plat/irq.h
+++ b/include/uk/plat/irq.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __UKPLAT_IRQ_H__
 #define __UKPLAT_IRQ_H__
diff --git a/lib/posix-libdl/stubs.c b/lib/posix-libdl/stubs.c
index 4d1ea3e93..8407562d5 100644
--- a/lib/posix-libdl/stubs.c
+++ b/lib/posix-libdl/stubs.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/essentials.h>
diff --git a/lib/posix-process/include/uk/process.h b/lib/posix-process/include/uk/process.h
index b5eeb90a0..de7f80077 100644
--- a/lib/posix-process/include/uk/process.h
+++ b/lib/posix-process/include/uk/process.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_PROCESS_H__
diff --git a/lib/posix-process/process.c b/lib/posix-process/process.c
index a8541d8ab..3aecf01a5 100644
--- a/lib/posix-process/process.c
+++ b/lib/posix-process/process.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <errno.h>
diff --git a/lib/posix-user/include/uk/user.h b/lib/posix-user/include/uk/user.h
index 9c72bc0f7..6548702eb 100644
--- a/lib/posix-user/include/uk/user.h
+++ b/lib/posix-user/include/uk/user.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_USER_H__
diff --git a/lib/uksched/include/uk/thread_attr.h b/lib/uksched/include/uk/thread_attr.h
index f4ba6cc39..48b47c60f 100644
--- a/lib/uksched/include/uk/thread_attr.h
+++ b/lib/uksched/include/uk/thread_attr.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_SCHED_THREAD_ATTR_H__
diff --git a/lib/uksched/thread_attr.c b/lib/uksched/thread_attr.c
index 52afe9f94..388557081 100644
--- a/lib/uksched/thread_attr.c
+++ b/lib/uksched/thread_attr.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stdlib.h>
diff --git a/lib/ukswrand/getrandom.c b/lib/ukswrand/getrandom.c
index f4567385a..f4f2b210a 100644
--- a/lib/ukswrand/getrandom.c
+++ b/lib/ukswrand/getrandom.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <string.h>
diff --git a/lib/ukswrand/include/sys/random.h b/lib/ukswrand/include/sys/random.h
index 4ccee1ccd..3fe8897f3 100644
--- a/lib/ukswrand/include/sys/random.h
+++ b/lib/ukswrand/include/sys/random.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef _SYS_RANDOM_H
diff --git a/lib/uktime/include/uk/time_types.h b/lib/uktime/include/uk/time_types.h
index d6b0083f1..36f76775d 100644
--- a/lib/uktime/include/uk/time_types.h
+++ b/lib/uktime/include/uk/time_types.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #if (defined __NEED_time_t && !defined __DEFINED_time_t)
diff --git a/lib/uktime/time.c b/lib/uktime/time.c
index 307d5008b..de4204697 100644
--- a/lib/uktime/time.c
+++ b/lib/uktime/time.c
@@ -31,8 +31,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <errno.h>
diff --git a/plat/common/include/uk/plat/common/_time.h b/plat/common/include/uk/plat/common/_time.h
index 06240ff0f..31a2c9a90 100644
--- a/plat/common/include/uk/plat/common/_time.h
+++ b/plat/common/include/uk/plat/common/_time.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_CMN_TIME_H__
diff --git a/plat/common/include/uk/plat/common/cpu.h b/plat/common/include/uk/plat/common/cpu.h
index ac2f8fe3a..5506c25b6 100644
--- a/plat/common/include/uk/plat/common/cpu.h
+++ b/plat/common/include/uk/plat/common/cpu.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_CMN_CPU_H__
diff --git a/plat/common/include/uk/plat/common/memory.h b/plat/common/include/uk/plat/common/memory.h
index f627348a9..1d05ada1d 100644
--- a/plat/common/include/uk/plat/common/memory.h
+++ b/plat/common/include/uk/plat/common/memory.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_CMN_MEMORY_H__
diff --git a/plat/common/include/uk/plat/common/trace.h b/plat/common/include/uk/plat/common/trace.h
index bc3b6de87..2727bf5ae 100644
--- a/plat/common/include/uk/plat/common/trace.h
+++ b/plat/common/include/uk/plat/common/trace.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __PLAT_CMN_TRACE_H__
 #define __PLAT_CMN_TRACE_H__
diff --git a/plat/common/include/x86/cpu_defs.h b/plat/common/include/x86/cpu_defs.h
index 1cf5367db..161b72f38 100644
--- a/plat/common/include/x86/cpu_defs.h
+++ b/plat/common/include/x86/cpu_defs.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __PLAT_CMN_X86_CPU_DEFS_H__
 #define __PLAT_CMN_X86_CPU_DEFS_H__
diff --git a/plat/common/include/x86/desc.h b/plat/common/include/x86/desc.h
index 10cabd52f..9ef26f87a 100644
--- a/plat/common/include/x86/desc.h
+++ b/plat/common/include/x86/desc.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /*
  * Adapted from Mini-OS: include/x86/desc.h
diff --git a/plat/common/include/x86/traps.h b/plat/common/include/x86/traps.h
index da90f2ea0..9fd9a4920 100644
--- a/plat/common/include/x86/traps.h
+++ b/plat/common/include/x86/traps.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /* Ported from Mini-OS */
 
diff --git a/plat/common/lcpu.c b/plat/common/lcpu.c
index fe08a393c..4c31231e6 100644
--- a/plat/common/lcpu.c
+++ b/plat/common/lcpu.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/plat/lcpu.h>
diff --git a/plat/common/memory.c b/plat/common/memory.c
index c46a4b0ef..ddcb7084d 100644
--- a/plat/common/memory.c
+++ b/plat/common/memory.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/plat/memory.h>
diff --git a/plat/common/x86/cpu_native.c b/plat/common/x86/cpu_native.c
index e29c2dbcc..b7298a5a5 100644
--- a/plat/common/x86/cpu_native.c
+++ b/plat/common/x86/cpu_native.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <x86/cpu.h>
diff --git a/plat/common/x86/trace.c b/plat/common/x86/trace.c
index d1abd4611..4f2e8b095 100644
--- a/plat/common/x86/trace.c
+++ b/plat/common/x86/trace.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/plat/common/trace.h>
diff --git a/plat/common/x86/traps.c b/plat/common/x86/traps.c
index 961438674..f638db5eb 100644
--- a/plat/common/x86/traps.c
+++ b/plat/common/x86/traps.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /* Ported from Mini-OS */
 
diff --git a/plat/kvm/include/kvm/intctrl.h b/plat/kvm/include/kvm/intctrl.h
index a6ce3075a..c87fe5d90 100644
--- a/plat/kvm/include/kvm/intctrl.h
+++ b/plat/kvm/include/kvm/intctrl.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 void intctrl_init(void);
diff --git a/plat/kvm/include/kvm/irq.h b/plat/kvm/include/kvm/irq.h
index 750ccd254..19232d285 100644
--- a/plat/kvm/include/kvm/irq.h
+++ b/plat/kvm/include/kvm/irq.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __KVM_IRQ_H_
diff --git a/plat/kvm/include/kvm/tscclock.h b/plat/kvm/include/kvm/tscclock.h
index 27d0e0241..2105ed785 100644
--- a/plat/kvm/include/kvm/tscclock.h
+++ b/plat/kvm/include/kvm/tscclock.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __KVM_TSCCLOCK_H__
diff --git a/plat/kvm/x86/memory.c b/plat/kvm/x86/memory.c
index ed58c1a43..1ca2a715f 100644
--- a/plat/kvm/x86/memory.c
+++ b/plat/kvm/x86/memory.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/plat/memory.h>
diff --git a/plat/linuxu/include/linuxu/signal.h b/plat/linuxu/include/linuxu/signal.h
index 62395df3f..5d1582da5 100644
--- a/plat/linuxu/include/linuxu/signal.h
+++ b/plat/linuxu/include/linuxu/signal.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 /* This file contains definitions for interfacing with the Linux kernel. To
diff --git a/plat/linuxu/include/linuxu/time.h b/plat/linuxu/include/linuxu/time.h
index 648ad0bbe..d2c5da370 100644
--- a/plat/linuxu/include/linuxu/time.h
+++ b/plat/linuxu/include/linuxu/time.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __LINUXU_TIME_H__
 #define __LINUXU_TIME_H__
diff --git a/plat/linuxu/irq.c b/plat/linuxu/irq.c
index 961dcf9b6..f1dbd58cb 100644
--- a/plat/linuxu/irq.c
+++ b/plat/linuxu/irq.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <string.h>
 #include <uk/alloc.h>
diff --git a/plat/xen/include/xenbus/client.h b/plat/xen/include/xenbus/client.h
index a9417a929..aa362fef7 100644
--- a/plat/xen/include/xenbus/client.h
+++ b/plat/xen/include/xenbus/client.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /*
  * Client interface between the device and the Xenbus driver.
diff --git a/plat/xen/include/xenbus/xenbus.h b/plat/xen/include/xenbus/xenbus.h
index 9fc942bcb..138db6c50 100644
--- a/plat/xen/include/xenbus/xenbus.h
+++ b/plat/xen/include/xenbus/xenbus.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __XENBUS_H__
diff --git a/plat/xen/include/xenbus/xs.h b/plat/xen/include/xenbus/xs.h
index e887bc492..f41f53dcb 100644
--- a/plat/xen/include/xenbus/xs.h
+++ b/plat/xen/include/xenbus/xs.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /* Xenstore API */
 /*
diff --git a/plat/xen/x86/cpu_pv.c b/plat/xen/x86/cpu_pv.c
index 471cc37e4..fa50fb1c4 100644
--- a/plat/xen/x86/cpu_pv.c
+++ b/plat/xen/x86/cpu_pv.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <x86/cpu.h>
diff --git a/plat/xen/xenbus/client.c b/plat/xen/xenbus/client.c
index 504b117e0..20e671ec1 100644
--- a/plat/xen/xenbus/client.c
+++ b/plat/xen/xenbus/client.c
@@ -32,8 +32,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /*
  * Client interface between the device and the Xenbus driver.
diff --git a/plat/xen/xenbus/xenbus.c b/plat/xen/xenbus/xenbus.c
index a2cd65c6e..2fa23577f 100644
--- a/plat/xen/xenbus/xenbus.c
+++ b/plat/xen/xenbus/xenbus.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #define _GNU_SOURCE
diff --git a/plat/xen/xenbus/xs.c b/plat/xen/xenbus/xs.c
index d4819ea80..4fc10cb54 100644
--- a/plat/xen/xenbus/xs.c
+++ b/plat/xen/xenbus/xs.c
@@ -32,8 +32,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /*
  * Ported from Mini-OS xenbus.c
diff --git a/plat/xen/xenbus/xs_comms.c b/plat/xen/xenbus/xs_comms.c
index 5c393c1e7..b81d16bd2 100644
--- a/plat/xen/xenbus/xs_comms.c
+++ b/plat/xen/xenbus/xs_comms.c
@@ -32,8 +32,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /*
  * Communication with Xenstore
diff --git a/plat/xen/xenbus/xs_comms.h b/plat/xen/xenbus/xs_comms.h
index cae609364..4ece31e05 100644
--- a/plat/xen/xenbus/xs_comms.h
+++ b/plat/xen/xenbus/xs_comms.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __XS_COMMS_H__
diff --git a/plat/xen/xenbus/xs_watch.c b/plat/xen/xenbus/xs_watch.c
index d77a285e8..b958b5862 100644
--- a/plat/xen/xenbus/xs_watch.c
+++ b/plat/xen/xenbus/xs_watch.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /* Internal API for Xenstore watches */
 
diff --git a/plat/xen/xenbus/xs_watch.h b/plat/xen/xenbus/xs_watch.h
index f9a5bff49..662187b02 100644
--- a/plat/xen/xenbus/xs_watch.h
+++ b/plat/xen/xenbus/xs_watch.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /* Internal API for Xenstore watches */
 
-- 
2.20.1


From minios-devel-bounces@lists.xenproject.org Mon Feb 15 11:19:38 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 15 Feb 2021 11:19:38 +0000
Received: from list by lists.xenproject.org with outflank-mailman.85183.159717 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbuk-0005dJ-8A; Mon, 15 Feb 2021 11:19:38 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 85183.159717; Mon, 15 Feb 2021 11:19:38 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbuk-0005d3-3P; Mon, 15 Feb 2021 11:19:38 +0000
Received: by outflank-mailman (input) for mailman id 85183;
 Mon, 15 Feb 2021 11:19:37 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=M9Bq=HR=neclab.eu=simon.kuenzer@srs-us1.protection.inumbo.net>)
 id 1lBbuj-0005cd-HI
 for minios-devel@lists.xen.org; Mon, 15 Feb 2021 11:19:37 +0000
Received: from mailer1.neclab.eu (unknown [195.37.70.40])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 0d4fb973-b1c0-4375-ad37-3214b0da443b;
 Mon, 15 Feb 2021 11:19:34 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer1.neclab.eu (Postfix) with ESMTP id E4AD5103F14;
 Mon, 15 Feb 2021 12:19:33 +0100 (CET)
Received: from mailer1.neclab.eu ([127.0.0.1])
 by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 8CKFOeQYAP4f; Mon, 15 Feb 2021 12:19:33 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer1.neclab.eu (Postfix) with ESMTPS id B75C6103AA4;
 Mon, 15 Feb 2021 12:19:33 +0100 (CET)
Received: from localhost (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 15 Feb
 2021 12:19:32 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 0d4fb973-b1c0-4375-ad37-3214b0da443b
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-a.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Simon Kuenzer <simon.kuenzer@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Costin Lupu <costin.lupu@cs.pub.ro>, Sharan Santhanam
	<sharan.santhanam@neclab.eu>, Felipe Huici <felipe.huici@neclab.eu>,
	<nicolescu.roxana1996@gmail.com>, <lascu.bogdan96@gmail.com>,
	<razvan.deaconescu@cs.pub.ro>, <vlad_andrei.badoiu@upb.ro>,
	<cristb@gmail.com>, Simon Kuenzer <simon.kuenzer@neclab.eu>
Subject: [UNIKRAFT PATCH 5/8] Correct license headers introduced by UPB
Date: Mon, 15 Feb 2021 12:18:59 +0100
Message-ID: <20210215111902.3382-6-simon.kuenzer@neclab.eu>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
References: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: oberon.office.hd (192.168.24.90) To puck.office.hd
 (192.168.24.91)

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from BSD license headers that got introduced by mistake
by Vlad-Andrei BĂDOIU with the following commits:
 d2967b3b1 - lib/ukswrand: Adapt the library to work with multiple algorithms
 9bb9a617d - lib/ukswrand: Add ChaCha algorithm
 8c5e2b4bb - lib/ukswrand: Add /dev/random and /dev/urandom
 2784ae201 - lib/nolibc: Add pwd.h
 19ebca61d - include/uk: Add page.h
 8c9cd0ec9 - lib/uksysinfo: Introduce uksysinfo library
 3a39d50dd - plat/*: Introduce unikraft internal constructors
 200037918 - lib/nolibc: Add utsname.h

On the one hand, this additional clause is redundant because
the BSD license already states that it must remain and the
copyright notice must be kept.
On the other hand, the clause freezes the file header
and prohibits future contributors from extending the
copyright notice for their contributions. This additional
clause is not part of the official BSD 3-clause.

The original author consents to the change with a `Signed-off-by`
or `Reviewed-by` tag to this commit.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
---
 include/uk/ctors.h                      | 2 --
 include/uk/page.h                       | 2 --
 lib/nolibc/include/pwd.h                | 2 --
 lib/posix-sysinfo/include/sys/utsname.h | 2 --
 lib/posix-sysinfo/sysinfo.c             | 2 --
 lib/ukswrand/chacha.c                   | 2 --
 lib/ukswrand/dev.c                      | 2 --
 lib/ukswrand/swrand.c                   | 2 --
 8 files changed, 16 deletions(-)

diff --git a/include/uk/ctors.h b/include/uk/ctors.h
index 9c87b53f7..247c3cbdc 100644
--- a/include/uk/ctors.h
+++ b/include/uk/ctors.h
@@ -30,8 +30,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_CTORS_H__
diff --git a/include/uk/page.h b/include/uk/page.h
index a9262635a..16f3fc4e7 100644
--- a/include/uk/page.h
+++ b/include/uk/page.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_PAGE_H__
diff --git a/lib/nolibc/include/pwd.h b/lib/nolibc/include/pwd.h
index 4d81a4324..8a80ee53d 100644
--- a/lib/nolibc/include/pwd.h
+++ b/lib/nolibc/include/pwd.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PWD_H__
diff --git a/lib/posix-sysinfo/include/sys/utsname.h b/lib/posix-sysinfo/include/sys/utsname.h
index 25baf2fff..d3973c3de 100644
--- a/lib/posix-sysinfo/include/sys/utsname.h
+++ b/lib/posix-sysinfo/include/sys/utsname.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __SYS_UTSNAME_H__
diff --git a/lib/posix-sysinfo/sysinfo.c b/lib/posix-sysinfo/sysinfo.c
index 922f3b141..f57914b68 100644
--- a/lib/posix-sysinfo/sysinfo.c
+++ b/lib/posix-sysinfo/sysinfo.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stddef.h>
diff --git a/lib/ukswrand/chacha.c b/lib/ukswrand/chacha.c
index 0ce1b992a..ae1185924 100644
--- a/lib/ukswrand/chacha.c
+++ b/lib/ukswrand/chacha.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <string.h>
diff --git a/lib/ukswrand/dev.c b/lib/ukswrand/dev.c
index 40a14268c..fbd447d1b 100644
--- a/lib/ukswrand/dev.c
+++ b/lib/ukswrand/dev.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stdlib.h>
diff --git a/lib/ukswrand/swrand.c b/lib/ukswrand/swrand.c
index ded57bb58..37af27f75 100644
--- a/lib/ukswrand/swrand.c
+++ b/lib/ukswrand/swrand.c
@@ -26,8 +26,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <string.h>
 #include <uk/swrand.h>
-- 
2.20.1


From minios-devel-bounces@lists.xenproject.org Mon Feb 15 11:19:43 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 15 Feb 2021 11:19:43 +0000
Received: from list by lists.xenproject.org with outflank-mailman.85184.159723 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbup-0005f3-9e; Mon, 15 Feb 2021 11:19:43 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 85184.159723; Mon, 15 Feb 2021 11:19:43 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbup-0005ew-6N; Mon, 15 Feb 2021 11:19:43 +0000
Received: by outflank-mailman (input) for mailman id 85184;
 Mon, 15 Feb 2021 11:19:42 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=M9Bq=HR=neclab.eu=simon.kuenzer@srs-us1.protection.inumbo.net>)
 id 1lBbuo-0005cd-9Q
 for minios-devel@lists.xen.org; Mon, 15 Feb 2021 11:19:42 +0000
Received: from mailer1.neclab.eu (unknown [195.37.70.40])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 7dadd7c6-8bed-4983-bd57-c708af36c20f;
 Mon, 15 Feb 2021 11:19:34 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer1.neclab.eu (Postfix) with ESMTP id D9BE9103BA8;
 Mon, 15 Feb 2021 12:19:33 +0100 (CET)
Received: from mailer1.neclab.eu ([127.0.0.1])
 by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 8H_5bO8Z6eO8; Mon, 15 Feb 2021 12:19:33 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer1.neclab.eu (Postfix) with ESMTPS id AE768103950;
 Mon, 15 Feb 2021 12:19:33 +0100 (CET)
Received: from localhost (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 15 Feb
 2021 12:19:31 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 7dadd7c6-8bed-4983-bd57-c708af36c20f
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-a.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Simon Kuenzer <simon.kuenzer@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Costin Lupu <costin.lupu@cs.pub.ro>, Sharan Santhanam
	<sharan.santhanam@neclab.eu>, Felipe Huici <felipe.huici@neclab.eu>,
	<nicolescu.roxana1996@gmail.com>, <lascu.bogdan96@gmail.com>,
	<razvan.deaconescu@cs.pub.ro>, <vlad_andrei.badoiu@upb.ro>,
	<cristb@gmail.com>, Simon Kuenzer <simon.kuenzer@neclab.eu>
Subject: [UNIKRAFT PATCH 4/8] Correct license headers introduced by UPB
Date: Mon, 15 Feb 2021 12:18:58 +0100
Message-ID: <20210215111902.3382-5-simon.kuenzer@neclab.eu>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
References: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: puck.office.hd (192.168.24.91) To puck.office.hd
 (192.168.24.91)

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from BSD license headers that got introduced by mistake
by Cristian Banu with the following commits:
 ca9616f9a - lib/uk9p: Add 9P fid abstraction
 b2ce99adc - lib/uk9p: Add 9P transport registration
 5c24de843 - lib/uk9p: Add 9P device implementation
 440259b39 - plat/xen/drivers/9p: Initialize xenbus device
 5282598ae - plat/drivers: Virtio 9P driver skeleton
 7ee9a512d - plat/xen/drivers: Add 9pfront driver skeleton
 f2c29a657 - lib/uk9p: Add 9P requests abstraction
 f74733d49 - lib/9pfs: Implement mount and unmount
 cd65e50e4 - lib/uk9p: Add 9P protocol core definitions
 ef1021378 - lib/9pfs: Add 9pfs header
 e77b99c78 - lib/uk9p: Add 9P helper API

On the one hand, this additional clause is redundant because
the BSD license already states that it must remain and the
copyright notice must be kept.
On the other hand, the clause freezes the file header
and prohibits future contributors from extending the
copyright notice for their contributions. This additional
clause is not part of the official BSD 3-clause.

The original author consents to the change with a `Signed-off-by`
or `Reviewed-by` tag to this commit.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
---
 lib/9pfs/9pfs.h                         | 2 --
 lib/9pfs/9pfs_vfsops.c                  | 2 --
 lib/9pfs/9pfs_vnops.c                   | 2 --
 lib/uk9p/9p.c                           | 2 --
 lib/uk9p/9pdev.c                        | 2 --
 lib/uk9p/9pdev_trans.c                  | 2 --
 lib/uk9p/9pfid.c                        | 2 --
 lib/uk9p/9preq.c                        | 2 --
 lib/uk9p/include/uk/9p.h                | 2 --
 lib/uk9p/include/uk/9p_core.h           | 2 --
 lib/uk9p/include/uk/9pdev.h             | 2 --
 lib/uk9p/include/uk/9pdev_core.h        | 2 --
 lib/uk9p/include/uk/9pdev_trans.h       | 2 --
 lib/uk9p/include/uk/9pfid.h             | 2 --
 lib/uk9p/include/uk/9preq.h             | 2 --
 plat/drivers/include/virtio/virtio_9p.h | 2 --
 plat/drivers/virtio/virtio_9p.c         | 2 --
 plat/xen/drivers/9p/9pfront.c           | 2 --
 plat/xen/drivers/9p/9pfront.h           | 2 --
 plat/xen/drivers/9p/9pfront_xb.h        | 2 --
 plat/xen/drivers/9p/9pfront_xs.c        | 2 --
 21 files changed, 42 deletions(-)

diff --git a/lib/9pfs/9pfs.h b/lib/9pfs/9pfs.h
index 3571c857b..38eb00b8c 100644
--- a/lib/9pfs/9pfs.h
+++ b/lib/9pfs/9pfs.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_9PFS__
diff --git a/lib/9pfs/9pfs_vfsops.c b/lib/9pfs/9pfs_vfsops.c
index 5293b2213..6550a5e99 100644
--- a/lib/9pfs/9pfs_vfsops.c
+++ b/lib/9pfs/9pfs_vfsops.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/config.h>
diff --git a/lib/9pfs/9pfs_vnops.c b/lib/9pfs/9pfs_vnops.c
index 5a0700c61..a0b11686c 100644
--- a/lib/9pfs/9pfs_vnops.c
+++ b/lib/9pfs/9pfs_vnops.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #define _GNU_SOURCE
diff --git a/lib/uk9p/9p.c b/lib/uk9p/9p.c
index abddb6088..a6a7fb943 100644
--- a/lib/uk9p/9p.c
+++ b/lib/uk9p/9p.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/config.h>
diff --git a/lib/uk9p/9pdev.c b/lib/uk9p/9pdev.c
index bdd6a84cf..1cc6167f8 100644
--- a/lib/uk9p/9pdev.c
+++ b/lib/uk9p/9pdev.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stdbool.h>
diff --git a/lib/uk9p/9pdev_trans.c b/lib/uk9p/9pdev_trans.c
index 156632032..628f67d24 100644
--- a/lib/uk9p/9pdev_trans.c
+++ b/lib/uk9p/9pdev_trans.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <errno.h>
diff --git a/lib/uk9p/9pfid.c b/lib/uk9p/9pfid.c
index 85d14c660..16e27b74f 100644
--- a/lib/uk9p/9pfid.c
+++ b/lib/uk9p/9pfid.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/config.h>
diff --git a/lib/uk9p/9preq.c b/lib/uk9p/9preq.c
index edc462cc0..b85798051 100644
--- a/lib/uk9p/9preq.c
+++ b/lib/uk9p/9preq.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <string.h>
diff --git a/lib/uk9p/include/uk/9p.h b/lib/uk9p/include/uk/9p.h
index e91b14774..06befc755 100644
--- a/lib/uk9p/include/uk/9p.h
+++ b/lib/uk9p/include/uk/9p.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __UK_9P__
 #define __UK_9P__
diff --git a/lib/uk9p/include/uk/9p_core.h b/lib/uk9p/include/uk/9p_core.h
index 197f7a95d..59f5527ae 100644
--- a/lib/uk9p/include/uk/9p_core.h
+++ b/lib/uk9p/include/uk/9p_core.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_9P_CORE__
diff --git a/lib/uk9p/include/uk/9pdev.h b/lib/uk9p/include/uk/9pdev.h
index 560ba8f79..75be3518f 100644
--- a/lib/uk9p/include/uk/9pdev.h
+++ b/lib/uk9p/include/uk/9pdev.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_9PDEV__
diff --git a/lib/uk9p/include/uk/9pdev_core.h b/lib/uk9p/include/uk/9pdev_core.h
index fcad1ef75..99c290b4c 100644
--- a/lib/uk9p/include/uk/9pdev_core.h
+++ b/lib/uk9p/include/uk/9pdev_core.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_9PDEV_CORE__
diff --git a/lib/uk9p/include/uk/9pdev_trans.h b/lib/uk9p/include/uk/9pdev_trans.h
index 6e981ae88..7a68ff027 100644
--- a/lib/uk9p/include/uk/9pdev_trans.h
+++ b/lib/uk9p/include/uk/9pdev_trans.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_9PDEV_TRANS__
diff --git a/lib/uk9p/include/uk/9pfid.h b/lib/uk9p/include/uk/9pfid.h
index 7ec75bb4a..ad33efbaa 100644
--- a/lib/uk9p/include/uk/9pfid.h
+++ b/lib/uk9p/include/uk/9pfid.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_9PFID__
diff --git a/lib/uk9p/include/uk/9preq.h b/lib/uk9p/include/uk/9preq.h
index aad8d4263..90febd865 100644
--- a/lib/uk9p/include/uk/9preq.h
+++ b/lib/uk9p/include/uk/9preq.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __UK_9PREQ__
diff --git a/plat/drivers/include/virtio/virtio_9p.h b/plat/drivers/include/virtio/virtio_9p.h
index 29158ab71..383a60832 100644
--- a/plat/drivers/include/virtio/virtio_9p.h
+++ b/plat/drivers/include/virtio/virtio_9p.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __PLAT_DRV_VIRTIO_9P_H
diff --git a/plat/drivers/virtio/virtio_9p.c b/plat/drivers/virtio/virtio_9p.c
index a783eba27..1974efe88 100644
--- a/plat/drivers/virtio/virtio_9p.c
+++ b/plat/drivers/virtio/virtio_9p.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <inttypes.h>
diff --git a/plat/xen/drivers/9p/9pfront.c b/plat/xen/drivers/9p/9pfront.c
index 429c7b97d..6c9f232c0 100644
--- a/plat/xen/drivers/9p/9pfront.c
+++ b/plat/xen/drivers/9p/9pfront.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <stdbool.h>
diff --git a/plat/xen/drivers/9p/9pfront.h b/plat/xen/drivers/9p/9pfront.h
index 0bbc7f445..2fba9ad7d 100644
--- a/plat/xen/drivers/9p/9pfront.h
+++ b/plat/xen/drivers/9p/9pfront.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __9PFRONT_H__
diff --git a/plat/xen/drivers/9p/9pfront_xb.h b/plat/xen/drivers/9p/9pfront_xb.h
index 6e2697f9c..bfa094fb8 100644
--- a/plat/xen/drivers/9p/9pfront_xb.h
+++ b/plat/xen/drivers/9p/9pfront_xb.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #ifndef __9PFRONT_XB_H__
diff --git a/plat/xen/drivers/9p/9pfront_xs.c b/plat/xen/drivers/9p/9pfront_xs.c
index 7185061cc..b78e67211 100644
--- a/plat/xen/drivers/9p/9pfront_xs.c
+++ b/plat/xen/drivers/9p/9pfront_xs.c
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <string.h>
-- 
2.20.1


From minios-devel-bounces@lists.xenproject.org Mon Feb 15 11:20:01 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 15 Feb 2021 11:20:01 +0000
Received: from list by lists.xenproject.org with outflank-mailman.85185.159727 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbv7-0005hZ-Bl; Mon, 15 Feb 2021 11:20:01 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 85185.159727; Mon, 15 Feb 2021 11:20:01 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbv7-0005hS-8c; Mon, 15 Feb 2021 11:20:01 +0000
Received: by outflank-mailman (input) for mailman id 85185;
 Mon, 15 Feb 2021 11:20:00 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=M9Bq=HR=neclab.eu=simon.kuenzer@srs-us1.protection.inumbo.net>)
 id 1lBbv6-0005hL-QN
 for minios-devel@lists.xen.org; Mon, 15 Feb 2021 11:20:00 +0000
Received: from mailer2.neclab.eu (unknown [195.37.70.41])
 by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id 93f20970-f06f-465f-b006-bd42c305196b;
 Mon, 15 Feb 2021 11:19:59 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer2.neclab.eu (Postfix) with ESMTP id BA84AF2575;
 Mon, 15 Feb 2021 12:19:58 +0100 (CET)
Received: from mailer2.neclab.eu ([127.0.0.1])
 by localhost (atlas-b.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 779hgWA3o72M; Mon, 15 Feb 2021 12:19:58 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer2.neclab.eu (Postfix) with ESMTPS id 923B5F2574;
 Mon, 15 Feb 2021 12:19:44 +0100 (CET)
Received: from localhost (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 15 Feb
 2021 12:19:44 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 93f20970-f06f-465f-b006-bd42c305196b
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-b.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Simon Kuenzer <simon.kuenzer@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Costin Lupu <costin.lupu@cs.pub.ro>, Sharan Santhanam
	<sharan.santhanam@neclab.eu>, Felipe Huici <felipe.huici@neclab.eu>,
	<nicolescu.roxana1996@gmail.com>, <lascu.bogdan96@gmail.com>,
	<razvan.deaconescu@cs.pub.ro>, <vlad_andrei.badoiu@upb.ro>,
	<cristb@gmail.com>, Simon Kuenzer <simon.kuenzer@neclab.eu>
Subject: [UNIKRAFT PATCH 6/8] Correct license headers introduced by UPB
Date: Mon, 15 Feb 2021 12:19:00 +0100
Message-ID: <20210215111902.3382-7-simon.kuenzer@neclab.eu>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
References: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: puck.office.hd (192.168.24.91) To puck.office.hd
 (192.168.24.91)

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from BSD license headers that got introduced by mistake
by Razvan Cojocaru with the following commit:
 63fac86c7 - lib/uknetdev: Netdev registration

On the one hand, this additional clause is redundant because
the BSD license already states that it must remain and the
copyright notice must be kept.
On the other hand, the clause freezes the file header
and prohibits future contributors from extending the
copyright notice for their contributions. This additional
clause is not part of the official BSD 3-clause.

The original author consents to the change with a `Signed-off-by`
or `Reviewed-by` tag to this commit.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
---
 lib/uknetdev/include/uk/netdev.h        | 2 --
 lib/uknetdev/include/uk/netdev_core.h   | 2 --
 lib/uknetdev/include/uk/netdev_driver.h | 2 --
 lib/uknetdev/netdev.c                   | 2 --
 4 files changed, 8 deletions(-)

diff --git a/lib/uknetdev/include/uk/netdev.h b/lib/uknetdev/include/uk/netdev.h
index 74a04ad73..b3ee666b3 100644
--- a/lib/uknetdev/include/uk/netdev.h
+++ b/lib/uknetdev/include/uk/netdev.h
@@ -30,8 +30,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /* Derived from DPDK rte_ethdev_core.h - DPDK.org 18.02.2 */
 #ifndef __UK_NETDEV__
diff --git a/lib/uknetdev/include/uk/netdev_core.h b/lib/uknetdev/include/uk/netdev_core.h
index df6ceebfd..e8ebaae8b 100644
--- a/lib/uknetdev/include/uk/netdev_core.h
+++ b/lib/uknetdev/include/uk/netdev_core.h
@@ -30,8 +30,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /* Derived from DPDK rte_ethdev_core.h - DPDK.org 18.02.2 */
 #ifndef __UK_NETDEV_CORE__
diff --git a/lib/uknetdev/include/uk/netdev_driver.h b/lib/uknetdev/include/uk/netdev_driver.h
index 6033f6201..96408580b 100644
--- a/lib/uknetdev/include/uk/netdev_driver.h
+++ b/lib/uknetdev/include/uk/netdev_driver.h
@@ -28,8 +28,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __UK_NETDEV_DRIVER__
 #define __UK_NETDEV_DRIVER__
diff --git a/lib/uknetdev/netdev.c b/lib/uknetdev/netdev.c
index 87322c7f4..cb02b06a5 100644
--- a/lib/uknetdev/netdev.c
+++ b/lib/uknetdev/netdev.c
@@ -30,8 +30,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #define _GNU_SOURCE /* for asprintf() */
 #include <stdio.h>
-- 
2.20.1


From minios-devel-bounces@lists.xenproject.org Mon Feb 15 11:20:06 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 15 Feb 2021 11:20:06 +0000
Received: from list by lists.xenproject.org with outflank-mailman.85186.159730 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbvC-0006HG-E7; Mon, 15 Feb 2021 11:20:06 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 85186.159730; Mon, 15 Feb 2021 11:20:06 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbvC-0006Gn-Ai; Mon, 15 Feb 2021 11:20:06 +0000
Received: by outflank-mailman (input) for mailman id 85186;
 Mon, 15 Feb 2021 11:20:05 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=M9Bq=HR=neclab.eu=simon.kuenzer@srs-us1.protection.inumbo.net>)
 id 1lBbvB-0005hL-P2
 for minios-devel@lists.xen.org; Mon, 15 Feb 2021 11:20:05 +0000
Received: from mailer1.neclab.eu (unknown [195.37.70.40])
 by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id 1ce49221-90e2-4982-83b8-ec4768d4f31a;
 Mon, 15 Feb 2021 11:19:59 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer1.neclab.eu (Postfix) with ESMTP id 02AC3103F2A;
 Mon, 15 Feb 2021 12:19:59 +0100 (CET)
Received: from mailer1.neclab.eu ([127.0.0.1])
 by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id ZOQal5uqVovd; Mon, 15 Feb 2021 12:19:58 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer1.neclab.eu (Postfix) with ESMTPS id A8B60103BA8;
 Mon, 15 Feb 2021 12:19:58 +0100 (CET)
Received: from localhost (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 15 Feb
 2021 12:19:45 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 1ce49221-90e2-4982-83b8-ec4768d4f31a
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-a.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Simon Kuenzer <simon.kuenzer@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Costin Lupu <costin.lupu@cs.pub.ro>, Sharan Santhanam
	<sharan.santhanam@neclab.eu>, Felipe Huici <felipe.huici@neclab.eu>,
	<nicolescu.roxana1996@gmail.com>, <lascu.bogdan96@gmail.com>,
	<razvan.deaconescu@cs.pub.ro>, <vlad_andrei.badoiu@upb.ro>,
	<cristb@gmail.com>, Simon Kuenzer <simon.kuenzer@neclab.eu>
Subject: [UNIKRAFT PATCH 7/8] Correct license headers introduced by UPB
Date: Mon, 15 Feb 2021 12:19:01 +0100
Message-ID: <20210215111902.3382-8-simon.kuenzer@neclab.eu>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
References: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: oberon.office.hd (192.168.24.90) To puck.office.hd
 (192.168.24.91)

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from BSD license headers that got introduced by mistake
by Bogdan Lascu with the following commit:
 32ad87545 - lib/vfscore: Add anonymous pipe

On the one hand, this additional clause is redundant because
the BSD license already states that it must remain and the
copyright notice must be kept.
On the other hand, the clause freezes the file header
and prohibits future contributors from extending the
copyright notice for their contributions. This additional
clause is not part of the official BSD 3-clause.

The original author consents to the change with a `Signed-off-by`
or `Reviewed-by` tag to this commit.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
---
 lib/vfscore/pipe.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/lib/vfscore/pipe.c b/lib/vfscore/pipe.c
index 8d382965e..09597dbcb 100644
--- a/lib/vfscore/pipe.c
+++ b/lib/vfscore/pipe.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 
 #include <uk/config.h>
-- 
2.20.1


From minios-devel-bounces@lists.xenproject.org Mon Feb 15 11:20:11 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 15 Feb 2021 11:20:11 +0000
Received: from list by lists.xenproject.org with outflank-mailman.85187.159735 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbvH-0006Q7-Fh; Mon, 15 Feb 2021 11:20:11 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 85187.159735; Mon, 15 Feb 2021 11:20:11 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBbvH-0006Q2-CR; Mon, 15 Feb 2021 11:20:11 +0000
Received: by outflank-mailman (input) for mailman id 85187;
 Mon, 15 Feb 2021 11:20:10 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=M9Bq=HR=neclab.eu=simon.kuenzer@srs-us1.protection.inumbo.net>)
 id 1lBbvG-0005hL-PK
 for minios-devel@lists.xen.org; Mon, 15 Feb 2021 11:20:10 +0000
Received: from mailer1.neclab.eu (unknown [195.37.70.40])
 by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id cb326d67-1ce3-4963-88b2-e9239c99e559;
 Mon, 15 Feb 2021 11:20:00 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer1.neclab.eu (Postfix) with ESMTP id 17FAB103F72;
 Mon, 15 Feb 2021 12:19:59 +0100 (CET)
Received: from mailer1.neclab.eu ([127.0.0.1])
 by localhost (atlas-a.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id FK_edncKBxzp; Mon, 15 Feb 2021 12:19:58 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer1.neclab.eu (Postfix) with ESMTPS id B9E83103F14;
 Mon, 15 Feb 2021 12:19:58 +0100 (CET)
Received: from localhost (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 15 Feb
 2021 12:19:57 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: cb326d67-1ce3-4963-88b2-e9239c99e559
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-a.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
From: Simon Kuenzer <simon.kuenzer@neclab.eu>
To: <minios-devel@lists.xen.org>
CC: Costin Lupu <costin.lupu@cs.pub.ro>, Sharan Santhanam
	<sharan.santhanam@neclab.eu>, Felipe Huici <felipe.huici@neclab.eu>,
	<nicolescu.roxana1996@gmail.com>, <lascu.bogdan96@gmail.com>,
	<razvan.deaconescu@cs.pub.ro>, <vlad_andrei.badoiu@upb.ro>,
	<cristb@gmail.com>, Simon Kuenzer <simon.kuenzer@neclab.eu>
Subject: [UNIKRAFT PATCH 8/8] Correct license headers introduced by UPB
Date: Mon, 15 Feb 2021 12:19:02 +0100
Message-ID: <20210215111902.3382-9-simon.kuenzer@neclab.eu>
X-Mailer: git-send-email 2.20.1
In-Reply-To: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
References: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: puck.office.hd (192.168.24.91) To puck.office.hd
 (192.168.24.91)

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from BSD license headers that got introduced by mistake
Roxana Nicolescu with the following commit:
 cd1873671 - lib/ukblkdev: Request interface
 9065c15ef - plat/xen/drivers/blk: Register blkfront with libukblkdev
 30f42955f - plat/xen/drivers: Introduce blkfront driver skeleton
 620425c02 - lib/ukblkdev: Blkdev registration
 bff097cd2 - plat/xen/drivers/blk: Init Xenbus Device

On the one hand, this additional clause is redundant because
the BSD license already states that it must remain and the
copyright notice must be kept.
On the other hand, the clause freezes the file header
and prohibits future contributors from extending the
copyright notice for their contributions. This additional
clause is not part of the official BSD 3-clause.

The original author consents to the change with a `Signed-off-by`
or `Reviewed-by` tag to this commit.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
---
 lib/ukblkdev/blkdev.c                   | 2 --
 lib/ukblkdev/include/uk/blkdev.h        | 2 --
 lib/ukblkdev/include/uk/blkdev_core.h   | 2 --
 lib/ukblkdev/include/uk/blkdev_driver.h | 2 --
 lib/ukblkdev/include/uk/blkreq.h        | 2 --
 plat/xen/drivers/blk/blkfront.c         | 2 --
 plat/xen/drivers/blk/blkfront.h         | 2 --
 plat/xen/drivers/blk/blkfront_xb.h      | 2 --
 plat/xen/drivers/blk/blkfront_xs.c      | 2 --
 9 files changed, 18 deletions(-)

diff --git a/lib/ukblkdev/blkdev.c b/lib/ukblkdev/blkdev.c
index 9cafa0c42..bac30a724 100644
--- a/lib/ukblkdev/blkdev.c
+++ b/lib/ukblkdev/blkdev.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /* This is derived from uknetdev because of consistency reasons */
 #define _GNU_SOURCE /* for asprintf() */
diff --git a/lib/ukblkdev/include/uk/blkdev.h b/lib/ukblkdev/include/uk/blkdev.h
index 3e42eb98a..a6c0f3b9b 100644
--- a/lib/ukblkdev/include/uk/blkdev.h
+++ b/lib/ukblkdev/include/uk/blkdev.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /* This is derived from uknetdev because of consistency reasons */
 #ifndef __UK_BLKDEV__
diff --git a/lib/ukblkdev/include/uk/blkdev_core.h b/lib/ukblkdev/include/uk/blkdev_core.h
index 11a642c40..360af9f95 100644
--- a/lib/ukblkdev/include/uk/blkdev_core.h
+++ b/lib/ukblkdev/include/uk/blkdev_core.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /* This is derived from uknetdev because of consistency reasons */
 #ifndef __UK_BLKDEV_CORE__
diff --git a/lib/ukblkdev/include/uk/blkdev_driver.h b/lib/ukblkdev/include/uk/blkdev_driver.h
index cb1b3ba39..27c928feb 100644
--- a/lib/ukblkdev/include/uk/blkdev_driver.h
+++ b/lib/ukblkdev/include/uk/blkdev_driver.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 /* This is derived from uknetdev because of consistency reasons */
 #ifndef __UK_BLKDEV_DRIVER__
diff --git a/lib/ukblkdev/include/uk/blkreq.h b/lib/ukblkdev/include/uk/blkreq.h
index ae1a31ed5..ec8d744ea 100644
--- a/lib/ukblkdev/include/uk/blkreq.h
+++ b/lib/ukblkdev/include/uk/blkreq.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef UK_BLKREQ_H_
 #define UK_BLKREQ_H_
diff --git a/plat/xen/drivers/blk/blkfront.c b/plat/xen/drivers/blk/blkfront.c
index a41373409..558526838 100644
--- a/plat/xen/drivers/blk/blkfront.c
+++ b/plat/xen/drivers/blk/blkfront.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #include <inttypes.h>
 #include <string.h>
diff --git a/plat/xen/drivers/blk/blkfront.h b/plat/xen/drivers/blk/blkfront.h
index 40622ce9c..97f2c68e0 100644
--- a/plat/xen/drivers/blk/blkfront.h
+++ b/plat/xen/drivers/blk/blkfront.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __BLKFRONT_H__
 #define __BLKFRONT_H__
diff --git a/plat/xen/drivers/blk/blkfront_xb.h b/plat/xen/drivers/blk/blkfront_xb.h
index d1b5f1ea8..a4b14acd6 100644
--- a/plat/xen/drivers/blk/blkfront_xb.h
+++ b/plat/xen/drivers/blk/blkfront_xb.h
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #ifndef __BLKFRONT_XB_H__
 #define __BLKFRONT_XB_H__
diff --git a/plat/xen/drivers/blk/blkfront_xs.c b/plat/xen/drivers/blk/blkfront_xs.c
index f10ca66a1..890281195 100644
--- a/plat/xen/drivers/blk/blkfront_xs.c
+++ b/plat/xen/drivers/blk/blkfront_xs.c
@@ -29,8 +29,6 @@
  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
- *
- * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
  */
 #define _GNU_SOURCE /* for asprintf() */
 #include <inttypes.h>
-- 
2.20.1


From minios-devel-bounces@lists.xenproject.org Mon Feb 15 11:30:50 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 15 Feb 2021 11:30:50 +0000
Received: from list by lists.xenproject.org with outflank-mailman.85189.159739 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBc5Y-0007J4-9e; Mon, 15 Feb 2021 11:30:48 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 85189.159739; Mon, 15 Feb 2021 11:30:48 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBc5Y-0007Iw-62; Mon, 15 Feb 2021 11:30:48 +0000
Received: by outflank-mailman (input) for mailman id 85189;
 Mon, 15 Feb 2021 11:30:46 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=uBw/=HR=neclab.eu=sharan.santhanam@srs-us1.protection.inumbo.net>)
 id 1lBc5W-0007IT-Pg
 for minios-devel@lists.xen.org; Mon, 15 Feb 2021 11:30:46 +0000
Received: from mailer2.neclab.eu (unknown [195.37.70.41])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id cb321dca-273a-4e12-8377-d20879bfeb41;
 Mon, 15 Feb 2021 11:30:40 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer2.neclab.eu (Postfix) with ESMTP id B9F39F2203;
 Mon, 15 Feb 2021 12:30:39 +0100 (CET)
Received: from mailer2.neclab.eu ([127.0.0.1])
 by localhost (atlas-b.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id j4tVjY4XoapL; Mon, 15 Feb 2021 12:30:39 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer2.neclab.eu (Postfix) with ESMTPS id 77F1CF239E;
 Mon, 15 Feb 2021 12:30:25 +0100 (CET)
Received: from [10.7.1.5] (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Mon, 15 Feb
 2021 12:30:20 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: cb321dca-273a-4e12-8377-d20879bfeb41
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-b.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
Subject: Re: [UNIKRAFT PATCH 1/8] Correct license headers introduced by NEC
 Laboratories Europe GmbH
To: Simon Kuenzer <simon.kuenzer@neclab.eu>, <minios-devel@lists.xen.org>
CC: Costin Lupu <costin.lupu@cs.pub.ro>, Felipe Huici
	<felipe.huici@neclab.eu>, <nicolescu.roxana1996@gmail.com>,
	<lascu.bogdan96@gmail.com>, <razvan.deaconescu@cs.pub.ro>,
	<vlad_andrei.badoiu@upb.ro>, <cristb@gmail.com>
References: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
 <20210215111902.3382-2-simon.kuenzer@neclab.eu>
From: Sharan Santhanam <sharan.santhanam@neclab.eu>
Message-ID: <2d2da9f7-b92f-26c3-33cb-63bdddde1975@neclab.eu>
Date: Mon, 15 Feb 2021 16:59:52 +0530
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <20210215111902.3382-2-simon.kuenzer@neclab.eu>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: puck.office.hd (192.168.24.91) To puck.office.hd
 (192.168.24.91)

Hello Simon,

I agree with patch. Thanks for the work.

Signed-off-by: Sharan Santhanam<sharan.santhanam@neclab.eu>


Thanks & Regards

Sharan

On 2/15/21 4:48 PM, Simon Kuenzer wrote:
> This commit removes the additional clause
> "THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
> from BSD license headers that got introduced by mistake
> with the following commits:
>   d7ab6740e - lib/ukunistd: Introduce ukunistd library
>   154a9b466 - lib/ukallocbbuddy: Add binary buddy allocator implementation
>   cfa2c08ae - lib/ukboot: Add Unikraft bootstrapping
>   17327dfe6 - lib/ukargparse: Add argument parser
>   1e1a8f5b5 - lib/ukschedcoop: Add cooperative round-robin scheduler
>   c327e9713 - lib/uknetdev: Introduce Netbufs
>   3c3dc48b5 - plat/xen: Add Xen (x86_64, ARM) platform code
>   1fa094ed7 - plat/kvm: Introduce platform configuration struct
>   a8cb90f65 - lib/ukalloc: Add abstraction library for memory allocators
>   feb280521 - plat/xen: Split emergency and hypervisor console
>   c722184e9 - include: Introduce <uk/prio.h>
>   0bc9633a0 - plat/xen: Add console support for x86_64
>   3b94c37a5 - plat/*: Add binary system call feature and API
>   06cb4527f - plat/common: Add cpu.h for Arm32
>   463baa06a - lib/vfscore: Automount option
>   27af93b6d - lib/ukalloc: Move internal functions to new header
>   1760d9ef4 - lib/nolibc: Add nolibc, a minimal subset of libc functions
>   2c9108854 - plat/kvm: Add KVM (x86_64) platform code
>   eacdeffea - arch: Add architecture interface
>   8dba9141b - lib/nolibc: Provide assertions (assert.h)
>   e6d46e521 - plat/kvm: System call trap handler (x86_64)
>   8277edb38 - build: Add build and configuration framework
>   3afda62dd - lib/ukdebug: Do not rely on libc for uk_pr_*()
>   7c7518d28 - plat/linuxu: Add linux userspace (x86_64, ARM) platform code
>   347cb7db4 - lib/ukdebug: Add printing and debug helpers
>   1353814b3 - lib/uksched: Add abstraction library for schedulers
>   828efb76e - plat: Add platform interface
>   bd4825025 - lib/ukmmap: mmap trick for Go
>   ef5245754 - plat/common: Split ARM generic timer implementation
>   1717ee104 - lib/ukbus: Introduce abstraction for device buses
>   71ee3e521 - plat/common: Introduce virtio standard header
>   2d39b41ca - lib/ukmpi: Introduce mailboxes with libukmpi
>   67e70a93b - plat/drivers: Introduce virtio PCI device
>   00292f747 - include/uk: Introduce init table
>   b49cc5403 - plat/drivers: Introduce the virtio bus
>   ae22ad94c - plat/kvm: Add initial PCI bus driver for x86_64
>   415e1ed05 - lib/ukswrand: Introduce libukswrand
>   87880cde9 - plat/drivers: Reintroduce the virtio ring
>   15bea914c - lib/uklibparam: Introduce the library parameter
>   80928b929 - lib/uklock: Introduce semaphores and mutexes with libuklock
>   340cd8ef6 - plat/common: virt to phys addr conversion
>   bb7d1651e - arch: provide thread-local storage helper functions
>   fcc07a3cd - lib/nolibc: move shared definitions to special include file
>   4c2afee22 - plat: Add global struct to keep x86 CPU information
>   11ac352a7 - plat: switch thread-local storage area on context switch
>   00b652b41 - lib/vfscore: update license header for imported files
>   740fc6014 - lib/ukdebug: save actual data into tracebuffer
>   2bc4d9df7 - lib/ukdebug: trace.h - introduce UK_FOREACH and UK_NARGS macros
>   917d23a75 - support/scripts: fetch trace data from running Unikraft
>   b3fbde2b3 - lib/vfscore: implement fops for std(out|err)
>   ccb39b566 - lib/syscall_shim: introduce syscalls macro layer
>   146c13e04 - lib/vfscore: introduce vfscore
>
> On the one hand, this additional clause is redundant because
> the BSD license already states that it must remain and the
> copyright notice must be kept.
> On the other hand, the clause freezes the file header
> and prohibits future contributors from extending the
> copyright notice for their contributions. This additional
> clause is not part of the official BSD 3-clause.
>
> The original author or affiliation consents to the change
> with a `Signed-off-by` or `Reviewed-by` tag to this
> commit.
>
> Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
> ---
>   arch/arm/arm/include/uk/asm/intsizes.h          | 2 --
>   arch/arm/arm/include/uk/asm/tls.h               | 2 --
>   arch/arm/arm64/include/uk/asm/tls.h             | 2 --
>   arch/x86/x86_64/include/uk/asm/intsizes.h       | 2 --
>   arch/x86/x86_64/include/uk/asm/tls.h            | 2 --
>   include/uk/arch/lcpu.h                          | 2 --
>   include/uk/arch/limits.h                        | 2 --
>   include/uk/arch/time.h                          | 2 --
>   include/uk/arch/tls.h                           | 2 --
>   include/uk/arch/types.h                         | 2 --
>   include/uk/config.h                             | 2 --
>   include/uk/errptr.h                             | 2 --
>   include/uk/essentials.h                         | 2 --
>   include/uk/init.h                               | 2 --
>   include/uk/plat/bootstrap.h                     | 2 --
>   include/uk/plat/config.h                        | 2 --
>   include/uk/plat/io.h                            | 2 --
>   include/uk/plat/lcpu.h                          | 2 --
>   include/uk/plat/memory.h                        | 2 --
>   include/uk/plat/syscall.h                       | 2 --
>   include/uk/plat/thread.h                        | 2 --
>   include/uk/plat/time.h                          | 2 --
>   include/uk/prio.h                               | 2 --
>   lib/nolibc/errno.c                              | 2 --
>   lib/nolibc/include/assert.h                     | 2 --
>   lib/nolibc/include/errno.h                      | 2 --
>   lib/nolibc/include/inttypes.h                   | 2 --
>   lib/nolibc/include/limits.h                     | 2 --
>   lib/nolibc/include/nolibc-internal/shareddefs.h | 2 --
>   lib/nolibc/include/stdarg.h                     | 2 --
>   lib/nolibc/include/stddef.h                     | 2 --
>   lib/nolibc/include/stdint.h                     | 2 --
>   lib/nolibc/include/stdio.h                      | 2 --
>   lib/nolibc/include/string.h                     | 2 --
>   lib/nolibc/include/sys/mount.h                  | 2 --
>   lib/nolibc/include/sys/types.h                  | 2 --
>   lib/nolibc/include/sys/uio.h                    | 2 --
>   lib/nolibc/include/unistd.h                     | 2 --
>   lib/nolibc/malloc.c                             | 2 --
>   lib/nolibc/string.c                             | 2 --
>   lib/posix-user/user.c                           | 2 --
>   lib/syscall_shim/include/uk/syscall.h           | 2 --
>   lib/ukalloc/include/uk/alloc.h                  | 2 --
>   lib/ukalloc/include/uk/alloc_impl.h             | 2 --
>   lib/ukallocbbuddy/include/uk/allocbbuddy.h      | 2 --
>   lib/ukargparse/argparse.c                       | 2 --
>   lib/ukargparse/include/uk/argparse.h            | 2 --
>   lib/ukboot/boot.c                               | 2 --
>   lib/ukbus/bus.c                                 | 2 --
>   lib/ukbus/include/uk/bus.h                      | 2 --
>   lib/ukdebug/hexdump.c                           | 2 --
>   lib/ukdebug/include/uk/assert.h                 | 2 --
>   lib/ukdebug/include/uk/hexdump.h                | 2 --
>   lib/ukdebug/include/uk/print.h                  | 2 --
>   lib/ukdebug/include/uk/trace.h                  | 2 --
>   lib/ukdebug/snprintf.h                          | 2 --
>   lib/ukdebug/trace.c                             | 2 --
>   lib/uklibparam/include/uk/libparam.h            | 2 --
>   lib/uklibparam/param.c                          | 2 --
>   lib/uklock/include/uk/mutex.h                   | 2 --
>   lib/ukmmap/mmap.c                               | 2 --
>   lib/ukmpi/include/uk/mbox.h                     | 2 --
>   lib/uknetdev/include/uk/netbuf.h                | 2 --
>   lib/uknetdev/netbuf.c                           | 2 --
>   lib/uksched/include/uk/sched.h                  | 2 --
>   lib/uksched/sched.c                             | 2 --
>   lib/ukschedcoop/include/uk/schedcoop.h          | 2 --
>   lib/ukswrand/include/uk/swrand.h                | 2 --
>   lib/ukswrand/mwc.c                              | 2 --
>   lib/vfscore/fd.c                                | 2 --
>   lib/vfscore/file.c                              | 2 --
>   lib/vfscore/fops.c                              | 2 --
>   lib/vfscore/include/vfscore/dentry.h            | 2 --
>   lib/vfscore/include/vfscore/file.h              | 2 --
>   lib/vfscore/include/vfscore/prex.h              | 2 --
>   lib/vfscore/rootfs.c                            | 2 --
>   lib/vfscore/stdio.c                             | 2 --
>   plat/common/arm/generic_timer.c                 | 2 --
>   plat/common/include/arm/arm/cpu.h               | 2 --
>   plat/common/include/pci/pci_bus.h               | 2 --
>   plat/common/include/uk/plat/common/sw_ctx.h     | 2 --
>   plat/common/include/uk/plat/common/tls.h        | 2 --
>   plat/common/include/x86/tls.h                   | 2 --
>   plat/common/pci_bus.c                           | 2 --
>   plat/common/sw_ctx.c                            | 2 --
>   plat/common/thread.c                            | 2 --
>   plat/common/x86/cpu_features.c                  | 2 --
>   plat/common/x86/syscall.S                       | 2 --
>   plat/drivers/include/virtio/virtio_bus.h        | 2 --
>   plat/drivers/include/virtio/virtio_config.h     | 2 --
>   plat/drivers/include/virtio/virtqueue.h         | 2 --
>   plat/drivers/virtio/virtio_bus.c                | 2 --
>   plat/drivers/virtio/virtio_pci.c                | 2 --
>   plat/drivers/virtio/virtio_ring.c               | 2 --
>   plat/kvm/include/kvm/config.h                   | 2 --
>   plat/kvm/io.c                                   | 2 --
>   plat/kvm/x86/lcpu.c                             | 2 --
>   plat/kvm/x86/time.c                             | 2 --
>   plat/linuxu/arm/entry32.S                       | 2 --
>   plat/linuxu/console.c                           | 2 --
>   plat/linuxu/include/linuxu/console.h            | 2 --
>   plat/linuxu/include/linuxu/ioctl.h              | 2 --
>   plat/linuxu/include/linuxu/setup.h              | 2 --
>   plat/linuxu/include/linuxu/syscall-arm_32.h     | 2 --
>   plat/linuxu/include/linuxu/syscall-x86_64.h     | 2 --
>   plat/linuxu/include/linuxu/syscall.h            | 2 --
>   plat/linuxu/include/linuxu/tls.h                | 2 --
>   plat/linuxu/io.c                                | 2 --
>   plat/linuxu/lcpu.c                              | 2 --
>   plat/linuxu/memory.c                            | 2 --
>   plat/linuxu/setup.c                             | 2 --
>   plat/linuxu/shutdown.c                          | 2 --
>   plat/linuxu/time.c                              | 2 --
>   plat/linuxu/x86/entry64.S                       | 2 --
>   plat/xen/console.c                              | 2 --
>   plat/xen/emg_console.c                          | 2 --
>   plat/xen/emg_console.h                          | 2 --
>   plat/xen/hv_console.c                           | 2 --
>   plat/xen/hv_console.h                           | 2 --
>   plat/xen/include/common/console.h               | 2 --
>   plat/xen/include/xen-arm/setup.h                | 2 --
>   plat/xen/include/xen-arm/smp.h                  | 2 --
>   plat/xen/include/xen-arm/traps.h                | 2 --
>   plat/xen/include/xen-x86/setup.h                | 2 --
>   plat/xen/io.c                                   | 2 --
>   plat/xen/lcpu.c                                 | 2 --
>   plat/xen/memory.c                               | 2 --
>   plat/xen/shutdown.c                             | 2 --
>   support/scripts/uk-gdb.py                       | 2 --
>   support/scripts/uk_trace/parse.py               | 2 --
>   support/scripts/uk_trace/trace.py               | 2 --
>   131 files changed, 262 deletions(-)
>
> diff --git a/arch/arm/arm/include/uk/asm/intsizes.h b/arch/arm/arm/include/uk/asm/intsizes.h
> index 0051c0ad1..1c4dfbca7 100644
> --- a/arch/arm/arm/include/uk/asm/intsizes.h
> +++ b/arch/arm/arm/include/uk/asm/intsizes.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #if ((!defined __UKARCH_TYPES_H__) && (!defined __UKARCH_LIMITS_H__))
> diff --git a/arch/arm/arm/include/uk/asm/tls.h b/arch/arm/arm/include/uk/asm/tls.h
> index 67d6f264f..6492863d6 100644
> --- a/arch/arm/arm/include/uk/asm/tls.h
> +++ b/arch/arm/arm/include/uk/asm/tls.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKARCH_TLS_H__
> diff --git a/arch/arm/arm64/include/uk/asm/tls.h b/arch/arm/arm64/include/uk/asm/tls.h
> index 6cc23f1c9..f092e1971 100644
> --- a/arch/arm/arm64/include/uk/asm/tls.h
> +++ b/arch/arm/arm64/include/uk/asm/tls.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKARCH_TLS_H__
> diff --git a/arch/x86/x86_64/include/uk/asm/intsizes.h b/arch/x86/x86_64/include/uk/asm/intsizes.h
> index 946ceca65..4b0eb61f9 100644
> --- a/arch/x86/x86_64/include/uk/asm/intsizes.h
> +++ b/arch/x86/x86_64/include/uk/asm/intsizes.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #if ((!defined __UKARCH_TYPES_H__) && (!defined __UKARCH_LIMITS_H__))
> diff --git a/arch/x86/x86_64/include/uk/asm/tls.h b/arch/x86/x86_64/include/uk/asm/tls.h
> index 116d8a1de..156107835 100644
> --- a/arch/x86/x86_64/include/uk/asm/tls.h
> +++ b/arch/x86/x86_64/include/uk/asm/tls.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKARCH_TLS_H__
> diff --git a/include/uk/arch/lcpu.h b/include/uk/arch/lcpu.h
> index c52162877..72a30f098 100644
> --- a/include/uk/arch/lcpu.h
> +++ b/include/uk/arch/lcpu.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKARCH_LCPU_H__
> diff --git a/include/uk/arch/limits.h b/include/uk/arch/limits.h
> index c4d4bc229..dbfc490e2 100644
> --- a/include/uk/arch/limits.h
> +++ b/include/uk/arch/limits.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKARCH_LIMITS_H__
> diff --git a/include/uk/arch/time.h b/include/uk/arch/time.h
> index ac2078874..f1726ffd2 100644
> --- a/include/uk/arch/time.h
> +++ b/include/uk/arch/time.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKARCH_TIME_H__
> diff --git a/include/uk/arch/tls.h b/include/uk/arch/tls.h
> index bfbcd5fcf..c8545baa6 100644
> --- a/include/uk/arch/tls.h
> +++ b/include/uk/arch/tls.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKARCH_TLS_H__
> diff --git a/include/uk/arch/types.h b/include/uk/arch/types.h
> index c409b9a3b..8329070aa 100644
> --- a/include/uk/arch/types.h
> +++ b/include/uk/arch/types.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKARCH_TYPES_H__
> diff --git a/include/uk/config.h b/include/uk/config.h
> index 9628b7baf..0edc9810a 100644
> --- a/include/uk/config.h
> +++ b/include/uk/config.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UK_CONFIG_H__
> diff --git a/include/uk/errptr.h b/include/uk/errptr.h
> index 6e8599441..857967247 100644
> --- a/include/uk/errptr.h
> +++ b/include/uk/errptr.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UK_ERRPTR_H__
> diff --git a/include/uk/essentials.h b/include/uk/essentials.h
> index 6bcee2e60..8f8b9d982 100644
> --- a/include/uk/essentials.h
> +++ b/include/uk/essentials.h
> @@ -31,8 +31,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UK_ESSENTIALS_H__
> diff --git a/include/uk/init.h b/include/uk/init.h
> index ba3f3b3db..18677dc74 100644
> --- a/include/uk/init.h
> +++ b/include/uk/init.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #ifndef _UK_INIT_H
>   #define _UK_INIT_H
> diff --git a/include/uk/plat/bootstrap.h b/include/uk/plat/bootstrap.h
> index 0652ccd17..6af18ca0e 100644
> --- a/include/uk/plat/bootstrap.h
> +++ b/include/uk/plat/bootstrap.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKPLAT_BOOTSTRAP__
> diff --git a/include/uk/plat/config.h b/include/uk/plat/config.h
> index 9753d7545..7886d9a85 100644
> --- a/include/uk/plat/config.h
> +++ b/include/uk/plat/config.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UK_ARCH_CONFIG_H__
> diff --git a/include/uk/plat/io.h b/include/uk/plat/io.h
> index 6a9218663..f6c4765fd 100644
> --- a/include/uk/plat/io.h
> +++ b/include/uk/plat/io.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #ifndef __UKPLAT_IO_H__
>   #define __UKPLAT_IO_H__
> diff --git a/include/uk/plat/lcpu.h b/include/uk/plat/lcpu.h
> index 77e584665..457dc6cee 100644
> --- a/include/uk/plat/lcpu.h
> +++ b/include/uk/plat/lcpu.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKPLAT_LCPU_H__
> diff --git a/include/uk/plat/memory.h b/include/uk/plat/memory.h
> index 4c4e4dc42..ac3a1896f 100644
> --- a/include/uk/plat/memory.h
> +++ b/include/uk/plat/memory.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKPLAT_MEMORY_H__
> diff --git a/include/uk/plat/syscall.h b/include/uk/plat/syscall.h
> index f62ddfe3e..c6860bdd6 100644
> --- a/include/uk/plat/syscall.h
> +++ b/include/uk/plat/syscall.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKPLAT_SYSCALL__
> diff --git a/include/uk/plat/thread.h b/include/uk/plat/thread.h
> index 4b349ea7f..980747f13 100644
> --- a/include/uk/plat/thread.h
> +++ b/include/uk/plat/thread.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   /*
> diff --git a/include/uk/plat/time.h b/include/uk/plat/time.h
> index ad3fd9545..f1dc9b94f 100644
> --- a/include/uk/plat/time.h
> +++ b/include/uk/plat/time.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKPLAT_TIME_H__
> diff --git a/include/uk/prio.h b/include/uk/prio.h
> index c49b784fb..a94e7b458 100644
> --- a/include/uk/prio.h
> +++ b/include/uk/prio.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #ifndef __UK_PRIO_H__
>   #define __UK_PRIO_H__
> diff --git a/lib/nolibc/errno.c b/lib/nolibc/errno.c
> index d6c2dc894..29475ad9e 100644
> --- a/lib/nolibc/errno.c
> +++ b/lib/nolibc/errno.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <errno.h>
> diff --git a/lib/nolibc/include/assert.h b/lib/nolibc/include/assert.h
> index 1e1115951..f19e8fc0c 100644
> --- a/lib/nolibc/include/assert.h
> +++ b/lib/nolibc/include/assert.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __ASSERT_H__
> diff --git a/lib/nolibc/include/errno.h b/lib/nolibc/include/errno.h
> index 29f4c8b31..c02090db1 100644
> --- a/lib/nolibc/include/errno.h
> +++ b/lib/nolibc/include/errno.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __ERRNO_H__
> diff --git a/lib/nolibc/include/inttypes.h b/lib/nolibc/include/inttypes.h
> index ba9ea81a3..03aa1c176 100644
> --- a/lib/nolibc/include/inttypes.h
> +++ b/lib/nolibc/include/inttypes.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __INTTYPES_H__
> diff --git a/lib/nolibc/include/limits.h b/lib/nolibc/include/limits.h
> index e66bbace6..8613cbbbf 100644
> --- a/lib/nolibc/include/limits.h
> +++ b/lib/nolibc/include/limits.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __LIMITS_H__
> diff --git a/lib/nolibc/include/nolibc-internal/shareddefs.h b/lib/nolibc/include/nolibc-internal/shareddefs.h
> index d386820e5..3a6e41053 100644
> --- a/lib/nolibc/include/nolibc-internal/shareddefs.h
> +++ b/lib/nolibc/include/nolibc-internal/shareddefs.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   /* This header does by design not have include guards, so that it can be
> diff --git a/lib/nolibc/include/stdarg.h b/lib/nolibc/include/stdarg.h
> index 752269853..16eb15bf2 100644
> --- a/lib/nolibc/include/stdarg.h
> +++ b/lib/nolibc/include/stdarg.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __STDARG_H__
> diff --git a/lib/nolibc/include/stddef.h b/lib/nolibc/include/stddef.h
> index 9fb27b179..5abede766 100644
> --- a/lib/nolibc/include/stddef.h
> +++ b/lib/nolibc/include/stddef.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __STDDEF_H__
> diff --git a/lib/nolibc/include/stdint.h b/lib/nolibc/include/stdint.h
> index a6a55c49d..3b516a709 100644
> --- a/lib/nolibc/include/stdint.h
> +++ b/lib/nolibc/include/stdint.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __STDINT_H__
> diff --git a/lib/nolibc/include/stdio.h b/lib/nolibc/include/stdio.h
> index f844ffa8d..6c08d2db3 100644
> --- a/lib/nolibc/include/stdio.h
> +++ b/lib/nolibc/include/stdio.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __STDIO_H__
> diff --git a/lib/nolibc/include/string.h b/lib/nolibc/include/string.h
> index 2644aea4c..b7d542091 100644
> --- a/lib/nolibc/include/string.h
> +++ b/lib/nolibc/include/string.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __STRING_H__
> diff --git a/lib/nolibc/include/sys/mount.h b/lib/nolibc/include/sys/mount.h
> index c8b1fe274..01be0f78f 100644
> --- a/lib/nolibc/include/sys/mount.h
> +++ b/lib/nolibc/include/sys/mount.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef _SYS_MOUNT_H
> diff --git a/lib/nolibc/include/sys/types.h b/lib/nolibc/include/sys/types.h
> index 4da777c8e..fc42ee310 100644
> --- a/lib/nolibc/include/sys/types.h
> +++ b/lib/nolibc/include/sys/types.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   
> diff --git a/lib/nolibc/include/sys/uio.h b/lib/nolibc/include/sys/uio.h
> index d1a4b48dd..984b98071 100644
> --- a/lib/nolibc/include/sys/uio.h
> +++ b/lib/nolibc/include/sys/uio.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef _SYS_UIO_H
> diff --git a/lib/nolibc/include/unistd.h b/lib/nolibc/include/unistd.h
> index 1a5a49253..8ee8878e9 100644
> --- a/lib/nolibc/include/unistd.h
> +++ b/lib/nolibc/include/unistd.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UNISTD_H__
> diff --git a/lib/nolibc/malloc.c b/lib/nolibc/malloc.c
> index faf880521..0a939111f 100644
> --- a/lib/nolibc/malloc.c
> +++ b/lib/nolibc/malloc.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <stddef.h>
> diff --git a/lib/nolibc/string.c b/lib/nolibc/string.c
> index 327efcca9..9bcaea821 100644
> --- a/lib/nolibc/string.c
> +++ b/lib/nolibc/string.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   /* For the parts taken from musl (marked as such below), the MIT licence
>    * applies instead:
> diff --git a/lib/posix-user/user.c b/lib/posix-user/user.c
> index e7c60dadc..2bede9fb3 100644
> --- a/lib/posix-user/user.c
> +++ b/lib/posix-user/user.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <unistd.h>
> diff --git a/lib/syscall_shim/include/uk/syscall.h b/lib/syscall_shim/include/uk/syscall.h
> index 70eebe7da..c58bae58c 100644
> --- a/lib/syscall_shim/include/uk/syscall.h
> +++ b/lib/syscall_shim/include/uk/syscall.h
> @@ -30,8 +30,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UK_SYSCALL_H__
> diff --git a/lib/ukalloc/include/uk/alloc.h b/lib/ukalloc/include/uk/alloc.h
> index 14579220b..a4feb3f4f 100644
> --- a/lib/ukalloc/include/uk/alloc.h
> +++ b/lib/ukalloc/include/uk/alloc.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UK_ALLOC_H__
> diff --git a/lib/ukalloc/include/uk/alloc_impl.h b/lib/ukalloc/include/uk/alloc_impl.h
> index b15f49e73..844eca9a2 100644
> --- a/lib/ukalloc/include/uk/alloc_impl.h
> +++ b/lib/ukalloc/include/uk/alloc_impl.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   /*
> diff --git a/lib/ukallocbbuddy/include/uk/allocbbuddy.h b/lib/ukallocbbuddy/include/uk/allocbbuddy.h
> index d7afef4c1..3d7558b80 100644
> --- a/lib/ukallocbbuddy/include/uk/allocbbuddy.h
> +++ b/lib/ukallocbbuddy/include/uk/allocbbuddy.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKALLOCBBUDDY_H__
> diff --git a/lib/ukargparse/argparse.c b/lib/ukargparse/argparse.c
> index db7ed1309..435504cf1 100644
> --- a/lib/ukargparse/argparse.c
> +++ b/lib/ukargparse/argparse.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <uk/argparse.h>
> diff --git a/lib/ukargparse/include/uk/argparse.h b/lib/ukargparse/include/uk/argparse.h
> index 7a8420c94..a1e1a59d7 100644
> --- a/lib/ukargparse/include/uk/argparse.h
> +++ b/lib/ukargparse/include/uk/argparse.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UK_ARGPARSE__
> diff --git a/lib/ukboot/boot.c b/lib/ukboot/boot.c
> index 2f7ab24a0..960fdd310 100644
> --- a/lib/ukboot/boot.c
> +++ b/lib/ukboot/boot.c
> @@ -31,8 +31,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <uk/config.h>
> diff --git a/lib/ukbus/bus.c b/lib/ukbus/bus.c
> index 1d63f4dce..311890f2d 100644
> --- a/lib/ukbus/bus.c
> +++ b/lib/ukbus/bus.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <uk/bus.h>
> diff --git a/lib/ukbus/include/uk/bus.h b/lib/ukbus/include/uk/bus.h
> index fcb684210..e192e7dda 100644
> --- a/lib/ukbus/include/uk/bus.h
> +++ b/lib/ukbus/include/uk/bus.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UK_BUS__
> diff --git a/lib/ukdebug/hexdump.c b/lib/ukdebug/hexdump.c
> index 0708489d9..696db6948 100644
> --- a/lib/ukdebug/hexdump.c
> +++ b/lib/ukdebug/hexdump.c
> @@ -31,8 +31,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <string.h>
> diff --git a/lib/ukdebug/include/uk/assert.h b/lib/ukdebug/include/uk/assert.h
> index d81f42f9e..6732e5d47 100644
> --- a/lib/ukdebug/include/uk/assert.h
> +++ b/lib/ukdebug/include/uk/assert.h
> @@ -31,8 +31,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKDEBUG_ASSERT_H__
> diff --git a/lib/ukdebug/include/uk/hexdump.h b/lib/ukdebug/include/uk/hexdump.h
> index 2e91edb2d..676ae8da7 100644
> --- a/lib/ukdebug/include/uk/hexdump.h
> +++ b/lib/ukdebug/include/uk/hexdump.h
> @@ -31,8 +31,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKDEBUG_HEXDUMP_H__
> diff --git a/lib/ukdebug/include/uk/print.h b/lib/ukdebug/include/uk/print.h
> index 30e3efe4a..c3c95f411 100644
> --- a/lib/ukdebug/include/uk/print.h
> +++ b/lib/ukdebug/include/uk/print.h
> @@ -31,8 +31,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKDEBUG_PRINT_H__
> diff --git a/lib/ukdebug/include/uk/trace.h b/lib/ukdebug/include/uk/trace.h
> index bc8da435a..6ca1b0663 100644
> --- a/lib/ukdebug/include/uk/trace.h
> +++ b/lib/ukdebug/include/uk/trace.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef _UK_TRACE_H_
> diff --git a/lib/ukdebug/snprintf.h b/lib/ukdebug/snprintf.h
> index fa167e687..edebb52c6 100644
> --- a/lib/ukdebug/snprintf.h
> +++ b/lib/ukdebug/snprintf.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UKDEBUG_INTERNAL_SNPRINTF_H__
> diff --git a/lib/ukdebug/trace.c b/lib/ukdebug/trace.c
> index 0a1358193..2572560c1 100644
> --- a/lib/ukdebug/trace.c
> +++ b/lib/ukdebug/trace.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <stddef.h>
> diff --git a/lib/uklibparam/include/uk/libparam.h b/lib/uklibparam/include/uk/libparam.h
> index f8f8ba4b6..0bf9fc320 100644
> --- a/lib/uklibparam/include/uk/libparam.h
> +++ b/lib/uklibparam/include/uk/libparam.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #ifndef __UK_LIBPARAM_H
>   #define __UK_LIBPARAM_H
> diff --git a/lib/uklibparam/param.c b/lib/uklibparam/param.c
> index 948150cd4..09fe48b23 100644
> --- a/lib/uklibparam/param.c
> +++ b/lib/uklibparam/param.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #include <string.h>
>   #include <stdlib.h>
> diff --git a/lib/uklock/include/uk/mutex.h b/lib/uklock/include/uk/mutex.h
> index d4435ebdb..050cecb72 100644
> --- a/lib/uklock/include/uk/mutex.h
> +++ b/lib/uklock/include/uk/mutex.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UK_MUTEX_H__
> diff --git a/lib/ukmmap/mmap.c b/lib/ukmmap/mmap.c
> index ea0173a98..34f73a888 100644
> --- a/lib/ukmmap/mmap.c
> +++ b/lib/ukmmap/mmap.c
> @@ -30,8 +30,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <sys/mman.h>
> diff --git a/lib/ukmpi/include/uk/mbox.h b/lib/ukmpi/include/uk/mbox.h
> index 19b1ecc0b..bff551e08 100644
> --- a/lib/ukmpi/include/uk/mbox.h
> +++ b/lib/ukmpi/include/uk/mbox.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   
> diff --git a/lib/uknetdev/include/uk/netbuf.h b/lib/uknetdev/include/uk/netbuf.h
> index 5212614aa..f79a36218 100644
> --- a/lib/uknetdev/include/uk/netbuf.h
> +++ b/lib/uknetdev/include/uk/netbuf.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #ifndef __UK_NETBUF__
>   #define __UK_NETBUF__
> diff --git a/lib/uknetdev/netbuf.c b/lib/uknetdev/netbuf.c
> index d87af0530..81ad3af33 100644
> --- a/lib/uknetdev/netbuf.c
> +++ b/lib/uknetdev/netbuf.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #include <uk/netbuf.h>
>   #include <uk/essentials.h>
> diff --git a/lib/uksched/include/uk/sched.h b/lib/uksched/include/uk/sched.h
> index 36ef76d7c..2e9368df5 100644
> --- a/lib/uksched/include/uk/sched.h
> +++ b/lib/uksched/include/uk/sched.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UK_SCHED_H__
> diff --git a/lib/uksched/sched.c b/lib/uksched/sched.c
> index 5a58629b8..86e6f6ee4 100644
> --- a/lib/uksched/sched.c
> +++ b/lib/uksched/sched.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <stdlib.h>
> diff --git a/lib/ukschedcoop/include/uk/schedcoop.h b/lib/ukschedcoop/include/uk/schedcoop.h
> index b0b6b06bb..62bc8f6d9 100644
> --- a/lib/ukschedcoop/include/uk/schedcoop.h
> +++ b/lib/ukschedcoop/include/uk/schedcoop.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   /*
>    * Non-preemptive (cooperative) Round Robin scheduler.
> diff --git a/lib/ukswrand/include/uk/swrand.h b/lib/ukswrand/include/uk/swrand.h
> index 69579a1aa..1172e6cb1 100644
> --- a/lib/ukswrand/include/uk/swrand.h
> +++ b/lib/ukswrand/include/uk/swrand.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __UK_SWRAND__
> diff --git a/lib/ukswrand/mwc.c b/lib/ukswrand/mwc.c
> index f032e950a..bfe67fc91 100644
> --- a/lib/ukswrand/mwc.c
> +++ b/lib/ukswrand/mwc.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <string.h>
> diff --git a/lib/vfscore/fd.c b/lib/vfscore/fd.c
> index 956846ffc..a5562ca18 100644
> --- a/lib/vfscore/fd.c
> +++ b/lib/vfscore/fd.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <string.h>
> diff --git a/lib/vfscore/file.c b/lib/vfscore/file.c
> index bc8b0dc85..c5c4d3f74 100644
> --- a/lib/vfscore/file.c
> +++ b/lib/vfscore/file.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <unistd.h>
> diff --git a/lib/vfscore/fops.c b/lib/vfscore/fops.c
> index 0cef2c12c..065bca0b3 100644
> --- a/lib/vfscore/fops.c
> +++ b/lib/vfscore/fops.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #define _GNU_SOURCE
> diff --git a/lib/vfscore/include/vfscore/dentry.h b/lib/vfscore/include/vfscore/dentry.h
> index 2c356530e..46444aa3d 100644
> --- a/lib/vfscore/include/vfscore/dentry.h
> +++ b/lib/vfscore/include/vfscore/dentry.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef _OSV_DENTRY_H
> diff --git a/lib/vfscore/include/vfscore/file.h b/lib/vfscore/include/vfscore/file.h
> index d630ccb8d..bf2510f13 100644
> --- a/lib/vfscore/include/vfscore/file.h
> +++ b/lib/vfscore/include/vfscore/file.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __VFSCORE_FILE_H__
> diff --git a/lib/vfscore/include/vfscore/prex.h b/lib/vfscore/include/vfscore/prex.h
> index 1ba8f9698..627d70739 100644
> --- a/lib/vfscore/include/vfscore/prex.h
> +++ b/lib/vfscore/include/vfscore/prex.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef _UK_PREX_H
> diff --git a/lib/vfscore/rootfs.c b/lib/vfscore/rootfs.c
> index 4b9512a4e..8a6e099f4 100644
> --- a/lib/vfscore/rootfs.c
> +++ b/lib/vfscore/rootfs.c
> @@ -32,8 +32,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #include <errno.h>
>   #include <uk/config.h>
> diff --git a/lib/vfscore/stdio.c b/lib/vfscore/stdio.c
> index 62a7a6074..b59a9ee3d 100644
> --- a/lib/vfscore/stdio.c
> +++ b/lib/vfscore/stdio.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <vfscore/file.h>
> diff --git a/plat/common/arm/generic_timer.c b/plat/common/arm/generic_timer.c
> index 58a9f4036..6ea8b8734 100644
> --- a/plat/common/arm/generic_timer.c
> +++ b/plat/common/arm/generic_timer.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #include <stdlib.h>
>   #include <uk/assert.h>
> diff --git a/plat/common/include/arm/arm/cpu.h b/plat/common/include/arm/arm/cpu.h
> index c966cb41f..c9a169157 100644
> --- a/plat/common/include/arm/arm/cpu.h
> +++ b/plat/common/include/arm/arm/cpu.h
> @@ -32,8 +32,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #ifndef _PLAT_COMMON_ARM_ARM_CPU_H_
>   #define _PLAT_COMMON_ARM_ARM_CPU_H_
> diff --git a/plat/common/include/pci/pci_bus.h b/plat/common/include/pci/pci_bus.h
> index db406a1b1..86cab11b8 100644
> --- a/plat/common/include/pci/pci_bus.h
> +++ b/plat/common/include/pci/pci_bus.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   /*
>    * Copyright(c) 2010-2015 Intel Corporation.
> diff --git a/plat/common/include/uk/plat/common/sw_ctx.h b/plat/common/include/uk/plat/common/sw_ctx.h
> index 366c6a8f8..63ffb6741 100644
> --- a/plat/common/include/uk/plat/common/sw_ctx.h
> +++ b/plat/common/include/uk/plat/common/sw_ctx.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #ifndef __PLAT_CMN_SW_CTX_H__
>   #define __PLAT_CMN_SW_CTX_H__
> diff --git a/plat/common/include/uk/plat/common/tls.h b/plat/common/include/uk/plat/common/tls.h
> index 6fb78d249..492066eee 100644
> --- a/plat/common/include/uk/plat/common/tls.h
> +++ b/plat/common/include/uk/plat/common/tls.h
> @@ -26,8 +26,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #ifndef __PLAT_CMN_TLS_H__
>   #define __PLAT_CMN_TLS_H__
> diff --git a/plat/common/include/x86/tls.h b/plat/common/include/x86/tls.h
> index 5811bcd70..af3bd3359 100644
> --- a/plat/common/include/x86/tls.h
> +++ b/plat/common/include/x86/tls.h
> @@ -26,8 +26,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #ifndef __PLAT_CMN_X86_TLS_H__
>   #define __PLAT_CMN_X86_TLS_H__
> diff --git a/plat/common/pci_bus.c b/plat/common/pci_bus.c
> index 7a66e94f8..86aeee6ba 100644
> --- a/plat/common/pci_bus.c
> +++ b/plat/common/pci_bus.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   /* Some code was derived from Solo5: */
>   /*
> diff --git a/plat/common/sw_ctx.c b/plat/common/sw_ctx.c
> index 482e99e61..2c4fc613d 100644
> --- a/plat/common/sw_ctx.c
> +++ b/plat/common/sw_ctx.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <stdint.h>
> diff --git a/plat/common/thread.c b/plat/common/thread.c
> index ccfeb2966..80074e5d2 100644
> --- a/plat/common/thread.c
> +++ b/plat/common/thread.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <stdlib.h>
> diff --git a/plat/common/x86/cpu_features.c b/plat/common/x86/cpu_features.c
> index 070973971..1e44901c0 100644
> --- a/plat/common/x86/cpu_features.c
> +++ b/plat/common/x86/cpu_features.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <x86/cpu.h>
> diff --git a/plat/common/x86/syscall.S b/plat/common/x86/syscall.S
> index b367a5d73..71613b073 100644
> --- a/plat/common/x86/syscall.S
> +++ b/plat/common/x86/syscall.S
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <uk/arch/lcpu.h>
> diff --git a/plat/drivers/include/virtio/virtio_bus.h b/plat/drivers/include/virtio/virtio_bus.h
> index b3bb83314..953a6090c 100644
> --- a/plat/drivers/include/virtio/virtio_bus.h
> +++ b/plat/drivers/include/virtio/virtio_bus.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __PLAT_DRV_VIRTIO_H
> diff --git a/plat/drivers/include/virtio/virtio_config.h b/plat/drivers/include/virtio/virtio_config.h
> index 1221bbc57..99005fa8a 100644
> --- a/plat/drivers/include/virtio/virtio_config.h
> +++ b/plat/drivers/include/virtio/virtio_config.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __PLAT_DRV_VIRTIO_CONFIG_H
> diff --git a/plat/drivers/include/virtio/virtqueue.h b/plat/drivers/include/virtio/virtqueue.h
> index 147982883..3055549aa 100644
> --- a/plat/drivers/include/virtio/virtqueue.h
> +++ b/plat/drivers/include/virtio/virtqueue.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __PLAT_DRV_VIRTQUEUE_H__
> diff --git a/plat/drivers/virtio/virtio_bus.c b/plat/drivers/virtio/virtio_bus.c
> index 1c34487f9..f41c75435 100644
> --- a/plat/drivers/virtio/virtio_bus.c
> +++ b/plat/drivers/virtio/virtio_bus.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <uk/config.h>
> diff --git a/plat/drivers/virtio/virtio_pci.c b/plat/drivers/virtio/virtio_pci.c
> index c0c9032f6..fe21e6a1c 100644
> --- a/plat/drivers/virtio/virtio_pci.c
> +++ b/plat/drivers/virtio/virtio_pci.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <uk/config.h>
> diff --git a/plat/drivers/virtio/virtio_ring.c b/plat/drivers/virtio/virtio_ring.c
> index 0a5c3f3ea..1579e91c6 100644
> --- a/plat/drivers/virtio/virtio_ring.c
> +++ b/plat/drivers/virtio/virtio_ring.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   /**
>    * Inspired from the FreeBSD.
> diff --git a/plat/kvm/include/kvm/config.h b/plat/kvm/include/kvm/config.h
> index 37136820a..e5844b329 100644
> --- a/plat/kvm/include/kvm/config.h
> +++ b/plat/kvm/include/kvm/config.h
> @@ -31,8 +31,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __KVM_CONFIG_H__
> diff --git a/plat/kvm/io.c b/plat/kvm/io.c
> index fca55fb50..14a8c01a9 100644
> --- a/plat/kvm/io.c
> +++ b/plat/kvm/io.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <uk/plat/io.h>
> diff --git a/plat/kvm/x86/lcpu.c b/plat/kvm/x86/lcpu.c
> index 42e2faa35..ed359e5c0 100644
> --- a/plat/kvm/x86/lcpu.c
> +++ b/plat/kvm/x86/lcpu.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <stdint.h>
> diff --git a/plat/kvm/x86/time.c b/plat/kvm/x86/time.c
> index 333ad9f3d..fde42653c 100644
> --- a/plat/kvm/x86/time.c
> +++ b/plat/kvm/x86/time.c
> @@ -36,8 +36,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <stdlib.h>
> diff --git a/plat/linuxu/arm/entry32.S b/plat/linuxu/arm/entry32.S
> index 5080ff22a..9e0e8a94a 100644
> --- a/plat/linuxu/arm/entry32.S
> +++ b/plat/linuxu/arm/entry32.S
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   .section .text
> diff --git a/plat/linuxu/console.c b/plat/linuxu/console.c
> index 6f27787b4..5d2885678 100644
> --- a/plat/linuxu/console.c
> +++ b/plat/linuxu/console.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <inttypes.h>
> diff --git a/plat/linuxu/include/linuxu/console.h b/plat/linuxu/include/linuxu/console.h
> index acae389f7..4b88d9a73 100644
> --- a/plat/linuxu/include/linuxu/console.h
> +++ b/plat/linuxu/include/linuxu/console.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __CONSOLE_H__
> diff --git a/plat/linuxu/include/linuxu/ioctl.h b/plat/linuxu/include/linuxu/ioctl.h
> index 3fc5c251d..ada62ea87 100644
> --- a/plat/linuxu/include/linuxu/ioctl.h
> +++ b/plat/linuxu/include/linuxu/ioctl.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __IOCTL_H__
> diff --git a/plat/linuxu/include/linuxu/setup.h b/plat/linuxu/include/linuxu/setup.h
> index 571d66cd1..a4f23f37e 100644
> --- a/plat/linuxu/include/linuxu/setup.h
> +++ b/plat/linuxu/include/linuxu/setup.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __SETUP_H__
> diff --git a/plat/linuxu/include/linuxu/syscall-arm_32.h b/plat/linuxu/include/linuxu/syscall-arm_32.h
> index ef9323bea..399e167e8 100644
> --- a/plat/linuxu/include/linuxu/syscall-arm_32.h
> +++ b/plat/linuxu/include/linuxu/syscall-arm_32.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __SYSCALL_ARM_32_H__
> diff --git a/plat/linuxu/include/linuxu/syscall-x86_64.h b/plat/linuxu/include/linuxu/syscall-x86_64.h
> index 553f0ba4a..3e43b3f17 100644
> --- a/plat/linuxu/include/linuxu/syscall-x86_64.h
> +++ b/plat/linuxu/include/linuxu/syscall-x86_64.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __SYSCALL_X86_64_H__
> diff --git a/plat/linuxu/include/linuxu/syscall.h b/plat/linuxu/include/linuxu/syscall.h
> index 0dca7c5c0..949c04253 100644
> --- a/plat/linuxu/include/linuxu/syscall.h
> +++ b/plat/linuxu/include/linuxu/syscall.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __SYSCALL_H__
> diff --git a/plat/linuxu/include/linuxu/tls.h b/plat/linuxu/include/linuxu/tls.h
> index 97474104b..225739e86 100644
> --- a/plat/linuxu/include/linuxu/tls.h
> +++ b/plat/linuxu/include/linuxu/tls.h
> @@ -26,8 +26,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   #ifndef __PLAT_LINUXU_TLS_H__
>   #define __PLAT_LINUXU_TLS_H__
> diff --git a/plat/linuxu/io.c b/plat/linuxu/io.c
> index 978aacb44..67ad95d55 100644
> --- a/plat/linuxu/io.c
> +++ b/plat/linuxu/io.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <uk/plat/io.h>
> diff --git a/plat/linuxu/lcpu.c b/plat/linuxu/lcpu.c
> index b545ca8d2..fbf8c5e7a 100644
> --- a/plat/linuxu/lcpu.c
> +++ b/plat/linuxu/lcpu.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <stdlib.h>
> diff --git a/plat/linuxu/memory.c b/plat/linuxu/memory.c
> index 9b5479e83..5b3df9b3a 100644
> --- a/plat/linuxu/memory.c
> +++ b/plat/linuxu/memory.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <errno.h>
> diff --git a/plat/linuxu/setup.c b/plat/linuxu/setup.c
> index 4e224a3dc..329a3e6fd 100644
> --- a/plat/linuxu/setup.c
> +++ b/plat/linuxu/setup.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <uk/config.h>
> diff --git a/plat/linuxu/shutdown.c b/plat/linuxu/shutdown.c
> index 8eef53bb5..988fcace7 100644
> --- a/plat/linuxu/shutdown.c
> +++ b/plat/linuxu/shutdown.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <errno.h>
> diff --git a/plat/linuxu/time.c b/plat/linuxu/time.c
> index c6a5b349f..4e4dcb5f9 100644
> --- a/plat/linuxu/time.c
> +++ b/plat/linuxu/time.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <string.h>
> diff --git a/plat/linuxu/x86/entry64.S b/plat/linuxu/x86/entry64.S
> index f111a9526..e76b411e4 100644
> --- a/plat/linuxu/x86/entry64.S
> +++ b/plat/linuxu/x86/entry64.S
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   .section .text
> diff --git a/plat/xen/console.c b/plat/xen/console.c
> index 437e128cd..74ebb7941 100644
> --- a/plat/xen/console.c
> +++ b/plat/xen/console.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <uk/config.h>
> diff --git a/plat/xen/emg_console.c b/plat/xen/emg_console.c
> index 5cd0d2464..d5868a120 100644
> --- a/plat/xen/emg_console.c
> +++ b/plat/xen/emg_console.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   /*
> diff --git a/plat/xen/emg_console.h b/plat/xen/emg_console.h
> index d98387481..0a6e395ce 100644
> --- a/plat/xen/emg_console.h
> +++ b/plat/xen/emg_console.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __XEN_EMG_CONSOLE_H__
> diff --git a/plat/xen/hv_console.c b/plat/xen/hv_console.c
> index c32a41576..7ee23a089 100644
> --- a/plat/xen/hv_console.c
> +++ b/plat/xen/hv_console.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   /*
> diff --git a/plat/xen/hv_console.h b/plat/xen/hv_console.h
> index 69be1edee..836866591 100644
> --- a/plat/xen/hv_console.h
> +++ b/plat/xen/hv_console.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __XEN_HV_CONSOLE_H__
> diff --git a/plat/xen/include/common/console.h b/plat/xen/include/common/console.h
> index 23c6b32e4..add6a63d7 100644
> --- a/plat/xen/include/common/console.h
> +++ b/plat/xen/include/common/console.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __CONSOLE_H__
> diff --git a/plat/xen/include/xen-arm/setup.h b/plat/xen/include/xen-arm/setup.h
> index 550e77e18..eb6154cd2 100644
> --- a/plat/xen/include/xen-arm/setup.h
> +++ b/plat/xen/include/xen-arm/setup.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __SETUP_H__
> diff --git a/plat/xen/include/xen-arm/smp.h b/plat/xen/include/xen-arm/smp.h
> index f825f27dd..5f15c8a44 100644
> --- a/plat/xen/include/xen-arm/smp.h
> +++ b/plat/xen/include/xen-arm/smp.h
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef PLAT_XEN_INCLUDE_XEN_ARM_SMP_H_
> diff --git a/plat/xen/include/xen-arm/traps.h b/plat/xen/include/xen-arm/traps.h
> index 4fd435185..993664e27 100644
> --- a/plat/xen/include/xen-arm/traps.h
> +++ b/plat/xen/include/xen-arm/traps.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef _TRAPS_H_
> diff --git a/plat/xen/include/xen-x86/setup.h b/plat/xen/include/xen-x86/setup.h
> index 7a5719014..0d9eecb07 100644
> --- a/plat/xen/include/xen-x86/setup.h
> +++ b/plat/xen/include/xen-x86/setup.h
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #ifndef __SETUP_H__
> diff --git a/plat/xen/io.c b/plat/xen/io.c
> index 3fd1be2ba..57c87d4d9 100644
> --- a/plat/xen/io.c
> +++ b/plat/xen/io.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <stdint.h>
> diff --git a/plat/xen/lcpu.c b/plat/xen/lcpu.c
> index d7158dfa9..d6b18f7a5 100644
> --- a/plat/xen/lcpu.c
> +++ b/plat/xen/lcpu.c
> @@ -28,8 +28,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <stdint.h>
> diff --git a/plat/xen/memory.c b/plat/xen/memory.c
> index 8e7a7ddad..b390aab62 100644
> --- a/plat/xen/memory.c
> +++ b/plat/xen/memory.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <string.h>
> diff --git a/plat/xen/shutdown.c b/plat/xen/shutdown.c
> index c7bf12d74..ba6c3fad4 100644
> --- a/plat/xen/shutdown.c
> +++ b/plat/xen/shutdown.c
> @@ -29,8 +29,6 @@
>    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>    * POSSIBILITY OF SUCH DAMAGE.
> - *
> - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>    */
>   
>   #include <inttypes.h>
> diff --git a/support/scripts/uk-gdb.py b/support/scripts/uk-gdb.py
> index 14aa9aafd..db1655313 100644
> --- a/support/scripts/uk-gdb.py
> +++ b/support/scripts/uk-gdb.py
> @@ -29,8 +29,6 @@
>   # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>   # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>   # POSSIBILITY OF SUCH DAMAGE.
> -#
> -# THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>   
>   import gdb
>   import pickle
> diff --git a/support/scripts/uk_trace/parse.py b/support/scripts/uk_trace/parse.py
> index 8142bc454..02f0efd32 100644
> --- a/support/scripts/uk_trace/parse.py
> +++ b/support/scripts/uk_trace/parse.py
> @@ -28,8 +28,6 @@
>   # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>   # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>   # POSSIBILITY OF SUCH DAMAGE.
> -#
> -# THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>   
>   import struct
>   import sys
> diff --git a/support/scripts/uk_trace/trace.py b/support/scripts/uk_trace/trace.py
> index 5fafca632..40c560297 100755
> --- a/support/scripts/uk_trace/trace.py
> +++ b/support/scripts/uk_trace/trace.py
> @@ -29,8 +29,6 @@
>   # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
>   # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
>   # POSSIBILITY OF SUCH DAMAGE.
> -#
> -# THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
>   
>   import click
>   import os, sys


From minios-devel-bounces@lists.xenproject.org Mon Feb 15 11:50:15 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Mon, 15 Feb 2021 11:50:15 +0000
Received: from list by lists.xenproject.org with outflank-mailman.85203.159766 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBcOM-0000sx-Es; Mon, 15 Feb 2021 11:50:14 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 85203.159766; Mon, 15 Feb 2021 11:50:14 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lBcOM-0000sq-BJ; Mon, 15 Feb 2021 11:50:14 +0000
Received: by outflank-mailman (input) for mailman id 85203;
 Mon, 15 Feb 2021 11:50:13 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=4CXV=HR=gmail.com=felipehuici@srs-us1.protection.inumbo.net>)
 id 1lBcOL-0000sk-ID
 for minios-devel@lists.xen.org; Mon, 15 Feb 2021 11:50:13 +0000
Received: from mail-ua1-x932.google.com (unknown [2607:f8b0:4864:20::932])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 2533d937-4708-4685-863e-5524a0e97d70;
 Mon, 15 Feb 2021 11:50:02 +0000 (UTC)
Received: by mail-ua1-x932.google.com with SMTP id n11so827152uap.10
 for <minios-devel@lists.xen.org>; Mon, 15 Feb 2021 03:50:02 -0800 (PST)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 2533d937-4708-4685-863e-5524a0e97d70
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to
         :cc;
        bh=3nVHF5nknk7XmHHLNr0lJQgGRP9Cz9i9P+N+Mc96zo8=;
        b=oHj5j75cBnPeSAxoGXkOYUYr27yBiQjCJgK6F8peGrFvM0pjOJBX5SFxn4xCbOMpZT
         D2qJCvQygnmIJmehUFVjyvbYeV1jo4OuqW594NirZ6yqrbPC6A/X8KRYL3ZyEjgt0sa8
         WGovYrm8hlC1sh19hxRMZY8xp7fT29y5Z0cIYAxLqKTQWunOBGuHnrP0vlCA6Uk9S33p
         qNxkNTNiKNsXbzWBbyx26mbuMdwi5MANu18paBedozti/6rlJ/nq3l6UW3JBAZVhLWG3
         O9EzoKY+GeqEIl4dIENOfMOtQaWZyHb2E7pIZyRc9MxyB/CyXk+IB4XO9wAfTyB03SjZ
         c33g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:cc;
        bh=3nVHF5nknk7XmHHLNr0lJQgGRP9Cz9i9P+N+Mc96zo8=;
        b=FVxZYlnRdFjoiXNe5EtyJSX4nS0pPoSvEWNgpWlYZRf8YHtG2e0tscmiblXgyHDgSz
         7+d1M7ZOVGENuMczTnhgOFLPmkDcxlvAkwgxsi8XuNBqRSukDNpMHpu/figxWLpt9LiO
         Z6d9BM6PW83JcbmJCm+jhNovRGUsUD8Sk5k1yLL23g4qUtp2kfns2pGs2ROh1GkiHLgN
         vtPcNFsjk6p5hsbKu9pSaqHL/W/0UhwLRuGmPNq0KoSoP8Pj76qOClnS4j+zv7ae040u
         mK/FZZaPY70peYiHwhTyZmNeGJSe37qGV/H9iQfcn77uMaIUw4/7TkRyrTkav5stcD25
         T5kw==
X-Gm-Message-State: AOAM532n2bwNRX0D5qlFYZizDwXfZW+zufyN7I6pdqVvApkyQaQsLqB8
	N+xNKS6YXbYUeAf3xZRsHqNhf3CTqeic3k5/g/4=
X-Google-Smtp-Source: ABdhPJx/CwA9AflHQEsuUk4+Fz+FMyyuRygUgSHMaSASavEmDR2msvdREpTk2mARLlAsHIWCMa3Nch0ENVJpmIIEu7U=
X-Received: by 2002:a9f:3206:: with SMTP id x6mr4941699uad.23.1613389801473;
 Mon, 15 Feb 2021 03:50:01 -0800 (PST)
MIME-Version: 1.0
References: <20210215111902.3382-1-simon.kuenzer@neclab.eu>
 <20210215111902.3382-2-simon.kuenzer@neclab.eu> <2d2da9f7-b92f-26c3-33cb-63bdddde1975@neclab.eu>
In-Reply-To: <2d2da9f7-b92f-26c3-33cb-63bdddde1975@neclab.eu>
From: felipehuici <felipehuici@gmail.com>
Date: Mon, 15 Feb 2021 12:49:48 +0100
Message-ID: <CAEX4t-Nd8a=sazGOBDM2cskoPgLh9drOqo3vZxM9EBiaHWH8fw@mail.gmail.com>
Subject: Re: [UNIKRAFT PATCH 1/8] Correct license headers introduced by NEC
 Laboratories Europe GmbH
To: Sharan Santhanam <sharan.santhanam@neclab.eu>
Cc: Simon Kuenzer <simon.kuenzer@neclab.eu>, minios-devel@lists.xen.org, 
	Costin Lupu <costin.lupu@cs.pub.ro>, Felipe Huici <felipe.huici@neclab.eu>, 
	nicolescu.roxana1996@gmail.com, lascu.bogdan96@gmail.com, 
	Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>, 
	Vlad-Andrei Badoiu <vlad_andrei.badoiu@upb.ro>, cristb@gmail.com
Content-Type: multipart/alternative; boundary="000000000000004ad805bb5e96be"

--000000000000004ad805bb5e96be
Content-Type: text/plain; charset="UTF-8"

Same here, thanks Simon.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>

On Mon, Feb 15, 2021 at 12:31 PM Sharan Santhanam <
sharan.santhanam@neclab.eu> wrote:

> Hello Simon,
>
> I agree with patch. Thanks for the work.
>
> Signed-off-by: Sharan Santhanam<sharan.santhanam@neclab.eu>
>
>
> Thanks & Regards
>
> Sharan
>
> On 2/15/21 4:48 PM, Simon Kuenzer wrote:
> > This commit removes the additional clause
> > "THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
> > from BSD license headers that got introduced by mistake
> > with the following commits:
> >   d7ab6740e - lib/ukunistd: Introduce ukunistd library
> >   154a9b466 - lib/ukallocbbuddy: Add binary buddy allocator
> implementation
> >   cfa2c08ae - lib/ukboot: Add Unikraft bootstrapping
> >   17327dfe6 - lib/ukargparse: Add argument parser
> >   1e1a8f5b5 - lib/ukschedcoop: Add cooperative round-robin scheduler
> >   c327e9713 - lib/uknetdev: Introduce Netbufs
> >   3c3dc48b5 - plat/xen: Add Xen (x86_64, ARM) platform code
> >   1fa094ed7 - plat/kvm: Introduce platform configuration struct
> >   a8cb90f65 - lib/ukalloc: Add abstraction library for memory allocators
> >   feb280521 - plat/xen: Split emergency and hypervisor console
> >   c722184e9 - include: Introduce <uk/prio.h>
> >   0bc9633a0 - plat/xen: Add console support for x86_64
> >   3b94c37a5 - plat/*: Add binary system call feature and API
> >   06cb4527f - plat/common: Add cpu.h for Arm32
> >   463baa06a - lib/vfscore: Automount option
> >   27af93b6d - lib/ukalloc: Move internal functions to new header
> >   1760d9ef4 - lib/nolibc: Add nolibc, a minimal subset of libc functions
> >   2c9108854 - plat/kvm: Add KVM (x86_64) platform code
> >   eacdeffea - arch: Add architecture interface
> >   8dba9141b - lib/nolibc: Provide assertions (assert.h)
> >   e6d46e521 - plat/kvm: System call trap handler (x86_64)
> >   8277edb38 - build: Add build and configuration framework
> >   3afda62dd - lib/ukdebug: Do not rely on libc for uk_pr_*()
> >   7c7518d28 - plat/linuxu: Add linux userspace (x86_64, ARM) platform
> code
> >   347cb7db4 - lib/ukdebug: Add printing and debug helpers
> >   1353814b3 - lib/uksched: Add abstraction library for schedulers
> >   828efb76e - plat: Add platform interface
> >   bd4825025 - lib/ukmmap: mmap trick for Go
> >   ef5245754 - plat/common: Split ARM generic timer implementation
> >   1717ee104 - lib/ukbus: Introduce abstraction for device buses
> >   71ee3e521 - plat/common: Introduce virtio standard header
> >   2d39b41ca - lib/ukmpi: Introduce mailboxes with libukmpi
> >   67e70a93b - plat/drivers: Introduce virtio PCI device
> >   00292f747 - include/uk: Introduce init table
> >   b49cc5403 - plat/drivers: Introduce the virtio bus
> >   ae22ad94c - plat/kvm: Add initial PCI bus driver for x86_64
> >   415e1ed05 - lib/ukswrand: Introduce libukswrand
> >   87880cde9 - plat/drivers: Reintroduce the virtio ring
> >   15bea914c - lib/uklibparam: Introduce the library parameter
> >   80928b929 - lib/uklock: Introduce semaphores and mutexes with libuklock
> >   340cd8ef6 - plat/common: virt to phys addr conversion
> >   bb7d1651e - arch: provide thread-local storage helper functions
> >   fcc07a3cd - lib/nolibc: move shared definitions to special include file
> >   4c2afee22 - plat: Add global struct to keep x86 CPU information
> >   11ac352a7 - plat: switch thread-local storage area on context switch
> >   00b652b41 - lib/vfscore: update license header for imported files
> >   740fc6014 - lib/ukdebug: save actual data into tracebuffer
> >   2bc4d9df7 - lib/ukdebug: trace.h - introduce UK_FOREACH and UK_NARGS
> macros
> >   917d23a75 - support/scripts: fetch trace data from running Unikraft
> >   b3fbde2b3 - lib/vfscore: implement fops for std(out|err)
> >   ccb39b566 - lib/syscall_shim: introduce syscalls macro layer
> >   146c13e04 - lib/vfscore: introduce vfscore
> >
> > On the one hand, this additional clause is redundant because
> > the BSD license already states that it must remain and the
> > copyright notice must be kept.
> > On the other hand, the clause freezes the file header
> > and prohibits future contributors from extending the
> > copyright notice for their contributions. This additional
> > clause is not part of the official BSD 3-clause.
> >
> > The original author or affiliation consents to the change
> > with a `Signed-off-by` or `Reviewed-by` tag to this
> > commit.
> >
> > Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
> > ---
> >   arch/arm/arm/include/uk/asm/intsizes.h          | 2 --
> >   arch/arm/arm/include/uk/asm/tls.h               | 2 --
> >   arch/arm/arm64/include/uk/asm/tls.h             | 2 --
> >   arch/x86/x86_64/include/uk/asm/intsizes.h       | 2 --
> >   arch/x86/x86_64/include/uk/asm/tls.h            | 2 --
> >   include/uk/arch/lcpu.h                          | 2 --
> >   include/uk/arch/limits.h                        | 2 --
> >   include/uk/arch/time.h                          | 2 --
> >   include/uk/arch/tls.h                           | 2 --
> >   include/uk/arch/types.h                         | 2 --
> >   include/uk/config.h                             | 2 --
> >   include/uk/errptr.h                             | 2 --
> >   include/uk/essentials.h                         | 2 --
> >   include/uk/init.h                               | 2 --
> >   include/uk/plat/bootstrap.h                     | 2 --
> >   include/uk/plat/config.h                        | 2 --
> >   include/uk/plat/io.h                            | 2 --
> >   include/uk/plat/lcpu.h                          | 2 --
> >   include/uk/plat/memory.h                        | 2 --
> >   include/uk/plat/syscall.h                       | 2 --
> >   include/uk/plat/thread.h                        | 2 --
> >   include/uk/plat/time.h                          | 2 --
> >   include/uk/prio.h                               | 2 --
> >   lib/nolibc/errno.c                              | 2 --
> >   lib/nolibc/include/assert.h                     | 2 --
> >   lib/nolibc/include/errno.h                      | 2 --
> >   lib/nolibc/include/inttypes.h                   | 2 --
> >   lib/nolibc/include/limits.h                     | 2 --
> >   lib/nolibc/include/nolibc-internal/shareddefs.h | 2 --
> >   lib/nolibc/include/stdarg.h                     | 2 --
> >   lib/nolibc/include/stddef.h                     | 2 --
> >   lib/nolibc/include/stdint.h                     | 2 --
> >   lib/nolibc/include/stdio.h                      | 2 --
> >   lib/nolibc/include/string.h                     | 2 --
> >   lib/nolibc/include/sys/mount.h                  | 2 --
> >   lib/nolibc/include/sys/types.h                  | 2 --
> >   lib/nolibc/include/sys/uio.h                    | 2 --
> >   lib/nolibc/include/unistd.h                     | 2 --
> >   lib/nolibc/malloc.c                             | 2 --
> >   lib/nolibc/string.c                             | 2 --
> >   lib/posix-user/user.c                           | 2 --
> >   lib/syscall_shim/include/uk/syscall.h           | 2 --
> >   lib/ukalloc/include/uk/alloc.h                  | 2 --
> >   lib/ukalloc/include/uk/alloc_impl.h             | 2 --
> >   lib/ukallocbbuddy/include/uk/allocbbuddy.h      | 2 --
> >   lib/ukargparse/argparse.c                       | 2 --
> >   lib/ukargparse/include/uk/argparse.h            | 2 --
> >   lib/ukboot/boot.c                               | 2 --
> >   lib/ukbus/bus.c                                 | 2 --
> >   lib/ukbus/include/uk/bus.h                      | 2 --
> >   lib/ukdebug/hexdump.c                           | 2 --
> >   lib/ukdebug/include/uk/assert.h                 | 2 --
> >   lib/ukdebug/include/uk/hexdump.h                | 2 --
> >   lib/ukdebug/include/uk/print.h                  | 2 --
> >   lib/ukdebug/include/uk/trace.h                  | 2 --
> >   lib/ukdebug/snprintf.h                          | 2 --
> >   lib/ukdebug/trace.c                             | 2 --
> >   lib/uklibparam/include/uk/libparam.h            | 2 --
> >   lib/uklibparam/param.c                          | 2 --
> >   lib/uklock/include/uk/mutex.h                   | 2 --
> >   lib/ukmmap/mmap.c                               | 2 --
> >   lib/ukmpi/include/uk/mbox.h                     | 2 --
> >   lib/uknetdev/include/uk/netbuf.h                | 2 --
> >   lib/uknetdev/netbuf.c                           | 2 --
> >   lib/uksched/include/uk/sched.h                  | 2 --
> >   lib/uksched/sched.c                             | 2 --
> >   lib/ukschedcoop/include/uk/schedcoop.h          | 2 --
> >   lib/ukswrand/include/uk/swrand.h                | 2 --
> >   lib/ukswrand/mwc.c                              | 2 --
> >   lib/vfscore/fd.c                                | 2 --
> >   lib/vfscore/file.c                              | 2 --
> >   lib/vfscore/fops.c                              | 2 --
> >   lib/vfscore/include/vfscore/dentry.h            | 2 --
> >   lib/vfscore/include/vfscore/file.h              | 2 --
> >   lib/vfscore/include/vfscore/prex.h              | 2 --
> >   lib/vfscore/rootfs.c                            | 2 --
> >   lib/vfscore/stdio.c                             | 2 --
> >   plat/common/arm/generic_timer.c                 | 2 --
> >   plat/common/include/arm/arm/cpu.h               | 2 --
> >   plat/common/include/pci/pci_bus.h               | 2 --
> >   plat/common/include/uk/plat/common/sw_ctx.h     | 2 --
> >   plat/common/include/uk/plat/common/tls.h        | 2 --
> >   plat/common/include/x86/tls.h                   | 2 --
> >   plat/common/pci_bus.c                           | 2 --
> >   plat/common/sw_ctx.c                            | 2 --
> >   plat/common/thread.c                            | 2 --
> >   plat/common/x86/cpu_features.c                  | 2 --
> >   plat/common/x86/syscall.S                       | 2 --
> >   plat/drivers/include/virtio/virtio_bus.h        | 2 --
> >   plat/drivers/include/virtio/virtio_config.h     | 2 --
> >   plat/drivers/include/virtio/virtqueue.h         | 2 --
> >   plat/drivers/virtio/virtio_bus.c                | 2 --
> >   plat/drivers/virtio/virtio_pci.c                | 2 --
> >   plat/drivers/virtio/virtio_ring.c               | 2 --
> >   plat/kvm/include/kvm/config.h                   | 2 --
> >   plat/kvm/io.c                                   | 2 --
> >   plat/kvm/x86/lcpu.c                             | 2 --
> >   plat/kvm/x86/time.c                             | 2 --
> >   plat/linuxu/arm/entry32.S                       | 2 --
> >   plat/linuxu/console.c                           | 2 --
> >   plat/linuxu/include/linuxu/console.h            | 2 --
> >   plat/linuxu/include/linuxu/ioctl.h              | 2 --
> >   plat/linuxu/include/linuxu/setup.h              | 2 --
> >   plat/linuxu/include/linuxu/syscall-arm_32.h     | 2 --
> >   plat/linuxu/include/linuxu/syscall-x86_64.h     | 2 --
> >   plat/linuxu/include/linuxu/syscall.h            | 2 --
> >   plat/linuxu/include/linuxu/tls.h                | 2 --
> >   plat/linuxu/io.c                                | 2 --
> >   plat/linuxu/lcpu.c                              | 2 --
> >   plat/linuxu/memory.c                            | 2 --
> >   plat/linuxu/setup.c                             | 2 --
> >   plat/linuxu/shutdown.c                          | 2 --
> >   plat/linuxu/time.c                              | 2 --
> >   plat/linuxu/x86/entry64.S                       | 2 --
> >   plat/xen/console.c                              | 2 --
> >   plat/xen/emg_console.c                          | 2 --
> >   plat/xen/emg_console.h                          | 2 --
> >   plat/xen/hv_console.c                           | 2 --
> >   plat/xen/hv_console.h                           | 2 --
> >   plat/xen/include/common/console.h               | 2 --
> >   plat/xen/include/xen-arm/setup.h                | 2 --
> >   plat/xen/include/xen-arm/smp.h                  | 2 --
> >   plat/xen/include/xen-arm/traps.h                | 2 --
> >   plat/xen/include/xen-x86/setup.h                | 2 --
> >   plat/xen/io.c                                   | 2 --
> >   plat/xen/lcpu.c                                 | 2 --
> >   plat/xen/memory.c                               | 2 --
> >   plat/xen/shutdown.c                             | 2 --
> >   support/scripts/uk-gdb.py                       | 2 --
> >   support/scripts/uk_trace/parse.py               | 2 --
> >   support/scripts/uk_trace/trace.py               | 2 --
> >   131 files changed, 262 deletions(-)
> >
> > diff --git a/arch/arm/arm/include/uk/asm/intsizes.h
> b/arch/arm/arm/include/uk/asm/intsizes.h
> > index 0051c0ad1..1c4dfbca7 100644
> > --- a/arch/arm/arm/include/uk/asm/intsizes.h
> > +++ b/arch/arm/arm/include/uk/asm/intsizes.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #if ((!defined __UKARCH_TYPES_H__) && (!defined __UKARCH_LIMITS_H__))
> > diff --git a/arch/arm/arm/include/uk/asm/tls.h
> b/arch/arm/arm/include/uk/asm/tls.h
> > index 67d6f264f..6492863d6 100644
> > --- a/arch/arm/arm/include/uk/asm/tls.h
> > +++ b/arch/arm/arm/include/uk/asm/tls.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKARCH_TLS_H__
> > diff --git a/arch/arm/arm64/include/uk/asm/tls.h
> b/arch/arm/arm64/include/uk/asm/tls.h
> > index 6cc23f1c9..f092e1971 100644
> > --- a/arch/arm/arm64/include/uk/asm/tls.h
> > +++ b/arch/arm/arm64/include/uk/asm/tls.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKARCH_TLS_H__
> > diff --git a/arch/x86/x86_64/include/uk/asm/intsizes.h
> b/arch/x86/x86_64/include/uk/asm/intsizes.h
> > index 946ceca65..4b0eb61f9 100644
> > --- a/arch/x86/x86_64/include/uk/asm/intsizes.h
> > +++ b/arch/x86/x86_64/include/uk/asm/intsizes.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #if ((!defined __UKARCH_TYPES_H__) && (!defined __UKARCH_LIMITS_H__))
> > diff --git a/arch/x86/x86_64/include/uk/asm/tls.h
> b/arch/x86/x86_64/include/uk/asm/tls.h
> > index 116d8a1de..156107835 100644
> > --- a/arch/x86/x86_64/include/uk/asm/tls.h
> > +++ b/arch/x86/x86_64/include/uk/asm/tls.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKARCH_TLS_H__
> > diff --git a/include/uk/arch/lcpu.h b/include/uk/arch/lcpu.h
> > index c52162877..72a30f098 100644
> > --- a/include/uk/arch/lcpu.h
> > +++ b/include/uk/arch/lcpu.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKARCH_LCPU_H__
> > diff --git a/include/uk/arch/limits.h b/include/uk/arch/limits.h
> > index c4d4bc229..dbfc490e2 100644
> > --- a/include/uk/arch/limits.h
> > +++ b/include/uk/arch/limits.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKARCH_LIMITS_H__
> > diff --git a/include/uk/arch/time.h b/include/uk/arch/time.h
> > index ac2078874..f1726ffd2 100644
> > --- a/include/uk/arch/time.h
> > +++ b/include/uk/arch/time.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKARCH_TIME_H__
> > diff --git a/include/uk/arch/tls.h b/include/uk/arch/tls.h
> > index bfbcd5fcf..c8545baa6 100644
> > --- a/include/uk/arch/tls.h
> > +++ b/include/uk/arch/tls.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKARCH_TLS_H__
> > diff --git a/include/uk/arch/types.h b/include/uk/arch/types.h
> > index c409b9a3b..8329070aa 100644
> > --- a/include/uk/arch/types.h
> > +++ b/include/uk/arch/types.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKARCH_TYPES_H__
> > diff --git a/include/uk/config.h b/include/uk/config.h
> > index 9628b7baf..0edc9810a 100644
> > --- a/include/uk/config.h
> > +++ b/include/uk/config.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UK_CONFIG_H__
> > diff --git a/include/uk/errptr.h b/include/uk/errptr.h
> > index 6e8599441..857967247 100644
> > --- a/include/uk/errptr.h
> > +++ b/include/uk/errptr.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UK_ERRPTR_H__
> > diff --git a/include/uk/essentials.h b/include/uk/essentials.h
> > index 6bcee2e60..8f8b9d982 100644
> > --- a/include/uk/essentials.h
> > +++ b/include/uk/essentials.h
> > @@ -31,8 +31,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UK_ESSENTIALS_H__
> > diff --git a/include/uk/init.h b/include/uk/init.h
> > index ba3f3b3db..18677dc74 100644
> > --- a/include/uk/init.h
> > +++ b/include/uk/init.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #ifndef _UK_INIT_H
> >   #define _UK_INIT_H
> > diff --git a/include/uk/plat/bootstrap.h b/include/uk/plat/bootstrap.h
> > index 0652ccd17..6af18ca0e 100644
> > --- a/include/uk/plat/bootstrap.h
> > +++ b/include/uk/plat/bootstrap.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKPLAT_BOOTSTRAP__
> > diff --git a/include/uk/plat/config.h b/include/uk/plat/config.h
> > index 9753d7545..7886d9a85 100644
> > --- a/include/uk/plat/config.h
> > +++ b/include/uk/plat/config.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UK_ARCH_CONFIG_H__
> > diff --git a/include/uk/plat/io.h b/include/uk/plat/io.h
> > index 6a9218663..f6c4765fd 100644
> > --- a/include/uk/plat/io.h
> > +++ b/include/uk/plat/io.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #ifndef __UKPLAT_IO_H__
> >   #define __UKPLAT_IO_H__
> > diff --git a/include/uk/plat/lcpu.h b/include/uk/plat/lcpu.h
> > index 77e584665..457dc6cee 100644
> > --- a/include/uk/plat/lcpu.h
> > +++ b/include/uk/plat/lcpu.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKPLAT_LCPU_H__
> > diff --git a/include/uk/plat/memory.h b/include/uk/plat/memory.h
> > index 4c4e4dc42..ac3a1896f 100644
> > --- a/include/uk/plat/memory.h
> > +++ b/include/uk/plat/memory.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKPLAT_MEMORY_H__
> > diff --git a/include/uk/plat/syscall.h b/include/uk/plat/syscall.h
> > index f62ddfe3e..c6860bdd6 100644
> > --- a/include/uk/plat/syscall.h
> > +++ b/include/uk/plat/syscall.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKPLAT_SYSCALL__
> > diff --git a/include/uk/plat/thread.h b/include/uk/plat/thread.h
> > index 4b349ea7f..980747f13 100644
> > --- a/include/uk/plat/thread.h
> > +++ b/include/uk/plat/thread.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   /*
> > diff --git a/include/uk/plat/time.h b/include/uk/plat/time.h
> > index ad3fd9545..f1dc9b94f 100644
> > --- a/include/uk/plat/time.h
> > +++ b/include/uk/plat/time.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKPLAT_TIME_H__
> > diff --git a/include/uk/prio.h b/include/uk/prio.h
> > index c49b784fb..a94e7b458 100644
> > --- a/include/uk/prio.h
> > +++ b/include/uk/prio.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #ifndef __UK_PRIO_H__
> >   #define __UK_PRIO_H__
> > diff --git a/lib/nolibc/errno.c b/lib/nolibc/errno.c
> > index d6c2dc894..29475ad9e 100644
> > --- a/lib/nolibc/errno.c
> > +++ b/lib/nolibc/errno.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <errno.h>
> > diff --git a/lib/nolibc/include/assert.h b/lib/nolibc/include/assert.h
> > index 1e1115951..f19e8fc0c 100644
> > --- a/lib/nolibc/include/assert.h
> > +++ b/lib/nolibc/include/assert.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __ASSERT_H__
> > diff --git a/lib/nolibc/include/errno.h b/lib/nolibc/include/errno.h
> > index 29f4c8b31..c02090db1 100644
> > --- a/lib/nolibc/include/errno.h
> > +++ b/lib/nolibc/include/errno.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __ERRNO_H__
> > diff --git a/lib/nolibc/include/inttypes.h
> b/lib/nolibc/include/inttypes.h
> > index ba9ea81a3..03aa1c176 100644
> > --- a/lib/nolibc/include/inttypes.h
> > +++ b/lib/nolibc/include/inttypes.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __INTTYPES_H__
> > diff --git a/lib/nolibc/include/limits.h b/lib/nolibc/include/limits.h
> > index e66bbace6..8613cbbbf 100644
> > --- a/lib/nolibc/include/limits.h
> > +++ b/lib/nolibc/include/limits.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __LIMITS_H__
> > diff --git a/lib/nolibc/include/nolibc-internal/shareddefs.h
> b/lib/nolibc/include/nolibc-internal/shareddefs.h
> > index d386820e5..3a6e41053 100644
> > --- a/lib/nolibc/include/nolibc-internal/shareddefs.h
> > +++ b/lib/nolibc/include/nolibc-internal/shareddefs.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   /* This header does by design not have include guards, so that it can
> be
> > diff --git a/lib/nolibc/include/stdarg.h b/lib/nolibc/include/stdarg.h
> > index 752269853..16eb15bf2 100644
> > --- a/lib/nolibc/include/stdarg.h
> > +++ b/lib/nolibc/include/stdarg.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __STDARG_H__
> > diff --git a/lib/nolibc/include/stddef.h b/lib/nolibc/include/stddef.h
> > index 9fb27b179..5abede766 100644
> > --- a/lib/nolibc/include/stddef.h
> > +++ b/lib/nolibc/include/stddef.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __STDDEF_H__
> > diff --git a/lib/nolibc/include/stdint.h b/lib/nolibc/include/stdint.h
> > index a6a55c49d..3b516a709 100644
> > --- a/lib/nolibc/include/stdint.h
> > +++ b/lib/nolibc/include/stdint.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __STDINT_H__
> > diff --git a/lib/nolibc/include/stdio.h b/lib/nolibc/include/stdio.h
> > index f844ffa8d..6c08d2db3 100644
> > --- a/lib/nolibc/include/stdio.h
> > +++ b/lib/nolibc/include/stdio.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __STDIO_H__
> > diff --git a/lib/nolibc/include/string.h b/lib/nolibc/include/string.h
> > index 2644aea4c..b7d542091 100644
> > --- a/lib/nolibc/include/string.h
> > +++ b/lib/nolibc/include/string.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __STRING_H__
> > diff --git a/lib/nolibc/include/sys/mount.h
> b/lib/nolibc/include/sys/mount.h
> > index c8b1fe274..01be0f78f 100644
> > --- a/lib/nolibc/include/sys/mount.h
> > +++ b/lib/nolibc/include/sys/mount.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef _SYS_MOUNT_H
> > diff --git a/lib/nolibc/include/sys/types.h
> b/lib/nolibc/include/sys/types.h
> > index 4da777c8e..fc42ee310 100644
> > --- a/lib/nolibc/include/sys/types.h
> > +++ b/lib/nolibc/include/sys/types.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >
> > diff --git a/lib/nolibc/include/sys/uio.h b/lib/nolibc/include/sys/uio.h
> > index d1a4b48dd..984b98071 100644
> > --- a/lib/nolibc/include/sys/uio.h
> > +++ b/lib/nolibc/include/sys/uio.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef _SYS_UIO_H
> > diff --git a/lib/nolibc/include/unistd.h b/lib/nolibc/include/unistd.h
> > index 1a5a49253..8ee8878e9 100644
> > --- a/lib/nolibc/include/unistd.h
> > +++ b/lib/nolibc/include/unistd.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UNISTD_H__
> > diff --git a/lib/nolibc/malloc.c b/lib/nolibc/malloc.c
> > index faf880521..0a939111f 100644
> > --- a/lib/nolibc/malloc.c
> > +++ b/lib/nolibc/malloc.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <stddef.h>
> > diff --git a/lib/nolibc/string.c b/lib/nolibc/string.c
> > index 327efcca9..9bcaea821 100644
> > --- a/lib/nolibc/string.c
> > +++ b/lib/nolibc/string.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   /* For the parts taken from musl (marked as such below), the MIT
> licence
> >    * applies instead:
> > diff --git a/lib/posix-user/user.c b/lib/posix-user/user.c
> > index e7c60dadc..2bede9fb3 100644
> > --- a/lib/posix-user/user.c
> > +++ b/lib/posix-user/user.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <unistd.h>
> > diff --git a/lib/syscall_shim/include/uk/syscall.h
> b/lib/syscall_shim/include/uk/syscall.h
> > index 70eebe7da..c58bae58c 100644
> > --- a/lib/syscall_shim/include/uk/syscall.h
> > +++ b/lib/syscall_shim/include/uk/syscall.h
> > @@ -30,8 +30,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UK_SYSCALL_H__
> > diff --git a/lib/ukalloc/include/uk/alloc.h
> b/lib/ukalloc/include/uk/alloc.h
> > index 14579220b..a4feb3f4f 100644
> > --- a/lib/ukalloc/include/uk/alloc.h
> > +++ b/lib/ukalloc/include/uk/alloc.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UK_ALLOC_H__
> > diff --git a/lib/ukalloc/include/uk/alloc_impl.h
> b/lib/ukalloc/include/uk/alloc_impl.h
> > index b15f49e73..844eca9a2 100644
> > --- a/lib/ukalloc/include/uk/alloc_impl.h
> > +++ b/lib/ukalloc/include/uk/alloc_impl.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   /*
> > diff --git a/lib/ukallocbbuddy/include/uk/allocbbuddy.h
> b/lib/ukallocbbuddy/include/uk/allocbbuddy.h
> > index d7afef4c1..3d7558b80 100644
> > --- a/lib/ukallocbbuddy/include/uk/allocbbuddy.h
> > +++ b/lib/ukallocbbuddy/include/uk/allocbbuddy.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKALLOCBBUDDY_H__
> > diff --git a/lib/ukargparse/argparse.c b/lib/ukargparse/argparse.c
> > index db7ed1309..435504cf1 100644
> > --- a/lib/ukargparse/argparse.c
> > +++ b/lib/ukargparse/argparse.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <uk/argparse.h>
> > diff --git a/lib/ukargparse/include/uk/argparse.h
> b/lib/ukargparse/include/uk/argparse.h
> > index 7a8420c94..a1e1a59d7 100644
> > --- a/lib/ukargparse/include/uk/argparse.h
> > +++ b/lib/ukargparse/include/uk/argparse.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UK_ARGPARSE__
> > diff --git a/lib/ukboot/boot.c b/lib/ukboot/boot.c
> > index 2f7ab24a0..960fdd310 100644
> > --- a/lib/ukboot/boot.c
> > +++ b/lib/ukboot/boot.c
> > @@ -31,8 +31,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <uk/config.h>
> > diff --git a/lib/ukbus/bus.c b/lib/ukbus/bus.c
> > index 1d63f4dce..311890f2d 100644
> > --- a/lib/ukbus/bus.c
> > +++ b/lib/ukbus/bus.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <uk/bus.h>
> > diff --git a/lib/ukbus/include/uk/bus.h b/lib/ukbus/include/uk/bus.h
> > index fcb684210..e192e7dda 100644
> > --- a/lib/ukbus/include/uk/bus.h
> > +++ b/lib/ukbus/include/uk/bus.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UK_BUS__
> > diff --git a/lib/ukdebug/hexdump.c b/lib/ukdebug/hexdump.c
> > index 0708489d9..696db6948 100644
> > --- a/lib/ukdebug/hexdump.c
> > +++ b/lib/ukdebug/hexdump.c
> > @@ -31,8 +31,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <string.h>
> > diff --git a/lib/ukdebug/include/uk/assert.h
> b/lib/ukdebug/include/uk/assert.h
> > index d81f42f9e..6732e5d47 100644
> > --- a/lib/ukdebug/include/uk/assert.h
> > +++ b/lib/ukdebug/include/uk/assert.h
> > @@ -31,8 +31,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKDEBUG_ASSERT_H__
> > diff --git a/lib/ukdebug/include/uk/hexdump.h
> b/lib/ukdebug/include/uk/hexdump.h
> > index 2e91edb2d..676ae8da7 100644
> > --- a/lib/ukdebug/include/uk/hexdump.h
> > +++ b/lib/ukdebug/include/uk/hexdump.h
> > @@ -31,8 +31,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKDEBUG_HEXDUMP_H__
> > diff --git a/lib/ukdebug/include/uk/print.h
> b/lib/ukdebug/include/uk/print.h
> > index 30e3efe4a..c3c95f411 100644
> > --- a/lib/ukdebug/include/uk/print.h
> > +++ b/lib/ukdebug/include/uk/print.h
> > @@ -31,8 +31,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKDEBUG_PRINT_H__
> > diff --git a/lib/ukdebug/include/uk/trace.h
> b/lib/ukdebug/include/uk/trace.h
> > index bc8da435a..6ca1b0663 100644
> > --- a/lib/ukdebug/include/uk/trace.h
> > +++ b/lib/ukdebug/include/uk/trace.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef _UK_TRACE_H_
> > diff --git a/lib/ukdebug/snprintf.h b/lib/ukdebug/snprintf.h
> > index fa167e687..edebb52c6 100644
> > --- a/lib/ukdebug/snprintf.h
> > +++ b/lib/ukdebug/snprintf.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UKDEBUG_INTERNAL_SNPRINTF_H__
> > diff --git a/lib/ukdebug/trace.c b/lib/ukdebug/trace.c
> > index 0a1358193..2572560c1 100644
> > --- a/lib/ukdebug/trace.c
> > +++ b/lib/ukdebug/trace.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <stddef.h>
> > diff --git a/lib/uklibparam/include/uk/libparam.h
> b/lib/uklibparam/include/uk/libparam.h
> > index f8f8ba4b6..0bf9fc320 100644
> > --- a/lib/uklibparam/include/uk/libparam.h
> > +++ b/lib/uklibparam/include/uk/libparam.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #ifndef __UK_LIBPARAM_H
> >   #define __UK_LIBPARAM_H
> > diff --git a/lib/uklibparam/param.c b/lib/uklibparam/param.c
> > index 948150cd4..09fe48b23 100644
> > --- a/lib/uklibparam/param.c
> > +++ b/lib/uklibparam/param.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #include <string.h>
> >   #include <stdlib.h>
> > diff --git a/lib/uklock/include/uk/mutex.h
> b/lib/uklock/include/uk/mutex.h
> > index d4435ebdb..050cecb72 100644
> > --- a/lib/uklock/include/uk/mutex.h
> > +++ b/lib/uklock/include/uk/mutex.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UK_MUTEX_H__
> > diff --git a/lib/ukmmap/mmap.c b/lib/ukmmap/mmap.c
> > index ea0173a98..34f73a888 100644
> > --- a/lib/ukmmap/mmap.c
> > +++ b/lib/ukmmap/mmap.c
> > @@ -30,8 +30,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <sys/mman.h>
> > diff --git a/lib/ukmpi/include/uk/mbox.h b/lib/ukmpi/include/uk/mbox.h
> > index 19b1ecc0b..bff551e08 100644
> > --- a/lib/ukmpi/include/uk/mbox.h
> > +++ b/lib/ukmpi/include/uk/mbox.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >
> > diff --git a/lib/uknetdev/include/uk/netbuf.h
> b/lib/uknetdev/include/uk/netbuf.h
> > index 5212614aa..f79a36218 100644
> > --- a/lib/uknetdev/include/uk/netbuf.h
> > +++ b/lib/uknetdev/include/uk/netbuf.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #ifndef __UK_NETBUF__
> >   #define __UK_NETBUF__
> > diff --git a/lib/uknetdev/netbuf.c b/lib/uknetdev/netbuf.c
> > index d87af0530..81ad3af33 100644
> > --- a/lib/uknetdev/netbuf.c
> > +++ b/lib/uknetdev/netbuf.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #include <uk/netbuf.h>
> >   #include <uk/essentials.h>
> > diff --git a/lib/uksched/include/uk/sched.h
> b/lib/uksched/include/uk/sched.h
> > index 36ef76d7c..2e9368df5 100644
> > --- a/lib/uksched/include/uk/sched.h
> > +++ b/lib/uksched/include/uk/sched.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UK_SCHED_H__
> > diff --git a/lib/uksched/sched.c b/lib/uksched/sched.c
> > index 5a58629b8..86e6f6ee4 100644
> > --- a/lib/uksched/sched.c
> > +++ b/lib/uksched/sched.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <stdlib.h>
> > diff --git a/lib/ukschedcoop/include/uk/schedcoop.h
> b/lib/ukschedcoop/include/uk/schedcoop.h
> > index b0b6b06bb..62bc8f6d9 100644
> > --- a/lib/ukschedcoop/include/uk/schedcoop.h
> > +++ b/lib/ukschedcoop/include/uk/schedcoop.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   /*
> >    * Non-preemptive (cooperative) Round Robin scheduler.
> > diff --git a/lib/ukswrand/include/uk/swrand.h
> b/lib/ukswrand/include/uk/swrand.h
> > index 69579a1aa..1172e6cb1 100644
> > --- a/lib/ukswrand/include/uk/swrand.h
> > +++ b/lib/ukswrand/include/uk/swrand.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __UK_SWRAND__
> > diff --git a/lib/ukswrand/mwc.c b/lib/ukswrand/mwc.c
> > index f032e950a..bfe67fc91 100644
> > --- a/lib/ukswrand/mwc.c
> > +++ b/lib/ukswrand/mwc.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <string.h>
> > diff --git a/lib/vfscore/fd.c b/lib/vfscore/fd.c
> > index 956846ffc..a5562ca18 100644
> > --- a/lib/vfscore/fd.c
> > +++ b/lib/vfscore/fd.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <string.h>
> > diff --git a/lib/vfscore/file.c b/lib/vfscore/file.c
> > index bc8b0dc85..c5c4d3f74 100644
> > --- a/lib/vfscore/file.c
> > +++ b/lib/vfscore/file.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <unistd.h>
> > diff --git a/lib/vfscore/fops.c b/lib/vfscore/fops.c
> > index 0cef2c12c..065bca0b3 100644
> > --- a/lib/vfscore/fops.c
> > +++ b/lib/vfscore/fops.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #define _GNU_SOURCE
> > diff --git a/lib/vfscore/include/vfscore/dentry.h
> b/lib/vfscore/include/vfscore/dentry.h
> > index 2c356530e..46444aa3d 100644
> > --- a/lib/vfscore/include/vfscore/dentry.h
> > +++ b/lib/vfscore/include/vfscore/dentry.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef _OSV_DENTRY_H
> > diff --git a/lib/vfscore/include/vfscore/file.h
> b/lib/vfscore/include/vfscore/file.h
> > index d630ccb8d..bf2510f13 100644
> > --- a/lib/vfscore/include/vfscore/file.h
> > +++ b/lib/vfscore/include/vfscore/file.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __VFSCORE_FILE_H__
> > diff --git a/lib/vfscore/include/vfscore/prex.h
> b/lib/vfscore/include/vfscore/prex.h
> > index 1ba8f9698..627d70739 100644
> > --- a/lib/vfscore/include/vfscore/prex.h
> > +++ b/lib/vfscore/include/vfscore/prex.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef _UK_PREX_H
> > diff --git a/lib/vfscore/rootfs.c b/lib/vfscore/rootfs.c
> > index 4b9512a4e..8a6e099f4 100644
> > --- a/lib/vfscore/rootfs.c
> > +++ b/lib/vfscore/rootfs.c
> > @@ -32,8 +32,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #include <errno.h>
> >   #include <uk/config.h>
> > diff --git a/lib/vfscore/stdio.c b/lib/vfscore/stdio.c
> > index 62a7a6074..b59a9ee3d 100644
> > --- a/lib/vfscore/stdio.c
> > +++ b/lib/vfscore/stdio.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <vfscore/file.h>
> > diff --git a/plat/common/arm/generic_timer.c
> b/plat/common/arm/generic_timer.c
> > index 58a9f4036..6ea8b8734 100644
> > --- a/plat/common/arm/generic_timer.c
> > +++ b/plat/common/arm/generic_timer.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #include <stdlib.h>
> >   #include <uk/assert.h>
> > diff --git a/plat/common/include/arm/arm/cpu.h
> b/plat/common/include/arm/arm/cpu.h
> > index c966cb41f..c9a169157 100644
> > --- a/plat/common/include/arm/arm/cpu.h
> > +++ b/plat/common/include/arm/arm/cpu.h
> > @@ -32,8 +32,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #ifndef _PLAT_COMMON_ARM_ARM_CPU_H_
> >   #define _PLAT_COMMON_ARM_ARM_CPU_H_
> > diff --git a/plat/common/include/pci/pci_bus.h
> b/plat/common/include/pci/pci_bus.h
> > index db406a1b1..86cab11b8 100644
> > --- a/plat/common/include/pci/pci_bus.h
> > +++ b/plat/common/include/pci/pci_bus.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   /*
> >    * Copyright(c) 2010-2015 Intel Corporation.
> > diff --git a/plat/common/include/uk/plat/common/sw_ctx.h
> b/plat/common/include/uk/plat/common/sw_ctx.h
> > index 366c6a8f8..63ffb6741 100644
> > --- a/plat/common/include/uk/plat/common/sw_ctx.h
> > +++ b/plat/common/include/uk/plat/common/sw_ctx.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #ifndef __PLAT_CMN_SW_CTX_H__
> >   #define __PLAT_CMN_SW_CTX_H__
> > diff --git a/plat/common/include/uk/plat/common/tls.h
> b/plat/common/include/uk/plat/common/tls.h
> > index 6fb78d249..492066eee 100644
> > --- a/plat/common/include/uk/plat/common/tls.h
> > +++ b/plat/common/include/uk/plat/common/tls.h
> > @@ -26,8 +26,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #ifndef __PLAT_CMN_TLS_H__
> >   #define __PLAT_CMN_TLS_H__
> > diff --git a/plat/common/include/x86/tls.h
> b/plat/common/include/x86/tls.h
> > index 5811bcd70..af3bd3359 100644
> > --- a/plat/common/include/x86/tls.h
> > +++ b/plat/common/include/x86/tls.h
> > @@ -26,8 +26,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #ifndef __PLAT_CMN_X86_TLS_H__
> >   #define __PLAT_CMN_X86_TLS_H__
> > diff --git a/plat/common/pci_bus.c b/plat/common/pci_bus.c
> > index 7a66e94f8..86aeee6ba 100644
> > --- a/plat/common/pci_bus.c
> > +++ b/plat/common/pci_bus.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   /* Some code was derived from Solo5: */
> >   /*
> > diff --git a/plat/common/sw_ctx.c b/plat/common/sw_ctx.c
> > index 482e99e61..2c4fc613d 100644
> > --- a/plat/common/sw_ctx.c
> > +++ b/plat/common/sw_ctx.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <stdint.h>
> > diff --git a/plat/common/thread.c b/plat/common/thread.c
> > index ccfeb2966..80074e5d2 100644
> > --- a/plat/common/thread.c
> > +++ b/plat/common/thread.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <stdlib.h>
> > diff --git a/plat/common/x86/cpu_features.c
> b/plat/common/x86/cpu_features.c
> > index 070973971..1e44901c0 100644
> > --- a/plat/common/x86/cpu_features.c
> > +++ b/plat/common/x86/cpu_features.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <x86/cpu.h>
> > diff --git a/plat/common/x86/syscall.S b/plat/common/x86/syscall.S
> > index b367a5d73..71613b073 100644
> > --- a/plat/common/x86/syscall.S
> > +++ b/plat/common/x86/syscall.S
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <uk/arch/lcpu.h>
> > diff --git a/plat/drivers/include/virtio/virtio_bus.h
> b/plat/drivers/include/virtio/virtio_bus.h
> > index b3bb83314..953a6090c 100644
> > --- a/plat/drivers/include/virtio/virtio_bus.h
> > +++ b/plat/drivers/include/virtio/virtio_bus.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __PLAT_DRV_VIRTIO_H
> > diff --git a/plat/drivers/include/virtio/virtio_config.h
> b/plat/drivers/include/virtio/virtio_config.h
> > index 1221bbc57..99005fa8a 100644
> > --- a/plat/drivers/include/virtio/virtio_config.h
> > +++ b/plat/drivers/include/virtio/virtio_config.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __PLAT_DRV_VIRTIO_CONFIG_H
> > diff --git a/plat/drivers/include/virtio/virtqueue.h
> b/plat/drivers/include/virtio/virtqueue.h
> > index 147982883..3055549aa 100644
> > --- a/plat/drivers/include/virtio/virtqueue.h
> > +++ b/plat/drivers/include/virtio/virtqueue.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __PLAT_DRV_VIRTQUEUE_H__
> > diff --git a/plat/drivers/virtio/virtio_bus.c
> b/plat/drivers/virtio/virtio_bus.c
> > index 1c34487f9..f41c75435 100644
> > --- a/plat/drivers/virtio/virtio_bus.c
> > +++ b/plat/drivers/virtio/virtio_bus.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <uk/config.h>
> > diff --git a/plat/drivers/virtio/virtio_pci.c
> b/plat/drivers/virtio/virtio_pci.c
> > index c0c9032f6..fe21e6a1c 100644
> > --- a/plat/drivers/virtio/virtio_pci.c
> > +++ b/plat/drivers/virtio/virtio_pci.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <uk/config.h>
> > diff --git a/plat/drivers/virtio/virtio_ring.c
> b/plat/drivers/virtio/virtio_ring.c
> > index 0a5c3f3ea..1579e91c6 100644
> > --- a/plat/drivers/virtio/virtio_ring.c
> > +++ b/plat/drivers/virtio/virtio_ring.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   /**
> >    * Inspired from the FreeBSD.
> > diff --git a/plat/kvm/include/kvm/config.h
> b/plat/kvm/include/kvm/config.h
> > index 37136820a..e5844b329 100644
> > --- a/plat/kvm/include/kvm/config.h
> > +++ b/plat/kvm/include/kvm/config.h
> > @@ -31,8 +31,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __KVM_CONFIG_H__
> > diff --git a/plat/kvm/io.c b/plat/kvm/io.c
> > index fca55fb50..14a8c01a9 100644
> > --- a/plat/kvm/io.c
> > +++ b/plat/kvm/io.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <uk/plat/io.h>
> > diff --git a/plat/kvm/x86/lcpu.c b/plat/kvm/x86/lcpu.c
> > index 42e2faa35..ed359e5c0 100644
> > --- a/plat/kvm/x86/lcpu.c
> > +++ b/plat/kvm/x86/lcpu.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <stdint.h>
> > diff --git a/plat/kvm/x86/time.c b/plat/kvm/x86/time.c
> > index 333ad9f3d..fde42653c 100644
> > --- a/plat/kvm/x86/time.c
> > +++ b/plat/kvm/x86/time.c
> > @@ -36,8 +36,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <stdlib.h>
> > diff --git a/plat/linuxu/arm/entry32.S b/plat/linuxu/arm/entry32.S
> > index 5080ff22a..9e0e8a94a 100644
> > --- a/plat/linuxu/arm/entry32.S
> > +++ b/plat/linuxu/arm/entry32.S
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   .section .text
> > diff --git a/plat/linuxu/console.c b/plat/linuxu/console.c
> > index 6f27787b4..5d2885678 100644
> > --- a/plat/linuxu/console.c
> > +++ b/plat/linuxu/console.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <inttypes.h>
> > diff --git a/plat/linuxu/include/linuxu/console.h
> b/plat/linuxu/include/linuxu/console.h
> > index acae389f7..4b88d9a73 100644
> > --- a/plat/linuxu/include/linuxu/console.h
> > +++ b/plat/linuxu/include/linuxu/console.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __CONSOLE_H__
> > diff --git a/plat/linuxu/include/linuxu/ioctl.h
> b/plat/linuxu/include/linuxu/ioctl.h
> > index 3fc5c251d..ada62ea87 100644
> > --- a/plat/linuxu/include/linuxu/ioctl.h
> > +++ b/plat/linuxu/include/linuxu/ioctl.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __IOCTL_H__
> > diff --git a/plat/linuxu/include/linuxu/setup.h
> b/plat/linuxu/include/linuxu/setup.h
> > index 571d66cd1..a4f23f37e 100644
> > --- a/plat/linuxu/include/linuxu/setup.h
> > +++ b/plat/linuxu/include/linuxu/setup.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __SETUP_H__
> > diff --git a/plat/linuxu/include/linuxu/syscall-arm_32.h
> b/plat/linuxu/include/linuxu/syscall-arm_32.h
> > index ef9323bea..399e167e8 100644
> > --- a/plat/linuxu/include/linuxu/syscall-arm_32.h
> > +++ b/plat/linuxu/include/linuxu/syscall-arm_32.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __SYSCALL_ARM_32_H__
> > diff --git a/plat/linuxu/include/linuxu/syscall-x86_64.h
> b/plat/linuxu/include/linuxu/syscall-x86_64.h
> > index 553f0ba4a..3e43b3f17 100644
> > --- a/plat/linuxu/include/linuxu/syscall-x86_64.h
> > +++ b/plat/linuxu/include/linuxu/syscall-x86_64.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __SYSCALL_X86_64_H__
> > diff --git a/plat/linuxu/include/linuxu/syscall.h
> b/plat/linuxu/include/linuxu/syscall.h
> > index 0dca7c5c0..949c04253 100644
> > --- a/plat/linuxu/include/linuxu/syscall.h
> > +++ b/plat/linuxu/include/linuxu/syscall.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __SYSCALL_H__
> > diff --git a/plat/linuxu/include/linuxu/tls.h
> b/plat/linuxu/include/linuxu/tls.h
> > index 97474104b..225739e86 100644
> > --- a/plat/linuxu/include/linuxu/tls.h
> > +++ b/plat/linuxu/include/linuxu/tls.h
> > @@ -26,8 +26,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >   #ifndef __PLAT_LINUXU_TLS_H__
> >   #define __PLAT_LINUXU_TLS_H__
> > diff --git a/plat/linuxu/io.c b/plat/linuxu/io.c
> > index 978aacb44..67ad95d55 100644
> > --- a/plat/linuxu/io.c
> > +++ b/plat/linuxu/io.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <uk/plat/io.h>
> > diff --git a/plat/linuxu/lcpu.c b/plat/linuxu/lcpu.c
> > index b545ca8d2..fbf8c5e7a 100644
> > --- a/plat/linuxu/lcpu.c
> > +++ b/plat/linuxu/lcpu.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <stdlib.h>
> > diff --git a/plat/linuxu/memory.c b/plat/linuxu/memory.c
> > index 9b5479e83..5b3df9b3a 100644
> > --- a/plat/linuxu/memory.c
> > +++ b/plat/linuxu/memory.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <errno.h>
> > diff --git a/plat/linuxu/setup.c b/plat/linuxu/setup.c
> > index 4e224a3dc..329a3e6fd 100644
> > --- a/plat/linuxu/setup.c
> > +++ b/plat/linuxu/setup.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <uk/config.h>
> > diff --git a/plat/linuxu/shutdown.c b/plat/linuxu/shutdown.c
> > index 8eef53bb5..988fcace7 100644
> > --- a/plat/linuxu/shutdown.c
> > +++ b/plat/linuxu/shutdown.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <errno.h>
> > diff --git a/plat/linuxu/time.c b/plat/linuxu/time.c
> > index c6a5b349f..4e4dcb5f9 100644
> > --- a/plat/linuxu/time.c
> > +++ b/plat/linuxu/time.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <string.h>
> > diff --git a/plat/linuxu/x86/entry64.S b/plat/linuxu/x86/entry64.S
> > index f111a9526..e76b411e4 100644
> > --- a/plat/linuxu/x86/entry64.S
> > +++ b/plat/linuxu/x86/entry64.S
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   .section .text
> > diff --git a/plat/xen/console.c b/plat/xen/console.c
> > index 437e128cd..74ebb7941 100644
> > --- a/plat/xen/console.c
> > +++ b/plat/xen/console.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <uk/config.h>
> > diff --git a/plat/xen/emg_console.c b/plat/xen/emg_console.c
> > index 5cd0d2464..d5868a120 100644
> > --- a/plat/xen/emg_console.c
> > +++ b/plat/xen/emg_console.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   /*
> > diff --git a/plat/xen/emg_console.h b/plat/xen/emg_console.h
> > index d98387481..0a6e395ce 100644
> > --- a/plat/xen/emg_console.h
> > +++ b/plat/xen/emg_console.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __XEN_EMG_CONSOLE_H__
> > diff --git a/plat/xen/hv_console.c b/plat/xen/hv_console.c
> > index c32a41576..7ee23a089 100644
> > --- a/plat/xen/hv_console.c
> > +++ b/plat/xen/hv_console.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   /*
> > diff --git a/plat/xen/hv_console.h b/plat/xen/hv_console.h
> > index 69be1edee..836866591 100644
> > --- a/plat/xen/hv_console.h
> > +++ b/plat/xen/hv_console.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __XEN_HV_CONSOLE_H__
> > diff --git a/plat/xen/include/common/console.h
> b/plat/xen/include/common/console.h
> > index 23c6b32e4..add6a63d7 100644
> > --- a/plat/xen/include/common/console.h
> > +++ b/plat/xen/include/common/console.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __CONSOLE_H__
> > diff --git a/plat/xen/include/xen-arm/setup.h
> b/plat/xen/include/xen-arm/setup.h
> > index 550e77e18..eb6154cd2 100644
> > --- a/plat/xen/include/xen-arm/setup.h
> > +++ b/plat/xen/include/xen-arm/setup.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __SETUP_H__
> > diff --git a/plat/xen/include/xen-arm/smp.h
> b/plat/xen/include/xen-arm/smp.h
> > index f825f27dd..5f15c8a44 100644
> > --- a/plat/xen/include/xen-arm/smp.h
> > +++ b/plat/xen/include/xen-arm/smp.h
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef PLAT_XEN_INCLUDE_XEN_ARM_SMP_H_
> > diff --git a/plat/xen/include/xen-arm/traps.h
> b/plat/xen/include/xen-arm/traps.h
> > index 4fd435185..993664e27 100644
> > --- a/plat/xen/include/xen-arm/traps.h
> > +++ b/plat/xen/include/xen-arm/traps.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef _TRAPS_H_
> > diff --git a/plat/xen/include/xen-x86/setup.h
> b/plat/xen/include/xen-x86/setup.h
> > index 7a5719014..0d9eecb07 100644
> > --- a/plat/xen/include/xen-x86/setup.h
> > +++ b/plat/xen/include/xen-x86/setup.h
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #ifndef __SETUP_H__
> > diff --git a/plat/xen/io.c b/plat/xen/io.c
> > index 3fd1be2ba..57c87d4d9 100644
> > --- a/plat/xen/io.c
> > +++ b/plat/xen/io.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <stdint.h>
> > diff --git a/plat/xen/lcpu.c b/plat/xen/lcpu.c
> > index d7158dfa9..d6b18f7a5 100644
> > --- a/plat/xen/lcpu.c
> > +++ b/plat/xen/lcpu.c
> > @@ -28,8 +28,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <stdint.h>
> > diff --git a/plat/xen/memory.c b/plat/xen/memory.c
> > index 8e7a7ddad..b390aab62 100644
> > --- a/plat/xen/memory.c
> > +++ b/plat/xen/memory.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <string.h>
> > diff --git a/plat/xen/shutdown.c b/plat/xen/shutdown.c
> > index c7bf12d74..ba6c3fad4 100644
> > --- a/plat/xen/shutdown.c
> > +++ b/plat/xen/shutdown.c
> > @@ -29,8 +29,6 @@
> >    * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >    * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >    * POSSIBILITY OF SUCH DAMAGE.
> > - *
> > - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >    */
> >
> >   #include <inttypes.h>
> > diff --git a/support/scripts/uk-gdb.py b/support/scripts/uk-gdb.py
> > index 14aa9aafd..db1655313 100644
> > --- a/support/scripts/uk-gdb.py
> > +++ b/support/scripts/uk-gdb.py
> > @@ -29,8 +29,6 @@
> >   # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >   # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >   # POSSIBILITY OF SUCH DAMAGE.
> > -#
> > -# THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >
> >   import gdb
> >   import pickle
> > diff --git a/support/scripts/uk_trace/parse.py
> b/support/scripts/uk_trace/parse.py
> > index 8142bc454..02f0efd32 100644
> > --- a/support/scripts/uk_trace/parse.py
> > +++ b/support/scripts/uk_trace/parse.py
> > @@ -28,8 +28,6 @@
> >   # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >   # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >   # POSSIBILITY OF SUCH DAMAGE.
> > -#
> > -# THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >
> >   import struct
> >   import sys
> > diff --git a/support/scripts/uk_trace/trace.py
> b/support/scripts/uk_trace/trace.py
> > index 5fafca632..40c560297 100755
> > --- a/support/scripts/uk_trace/trace.py
> > +++ b/support/scripts/uk_trace/trace.py
> > @@ -29,8 +29,6 @@
> >   # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> >   # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> >   # POSSIBILITY OF SUCH DAMAGE.
> > -#
> > -# THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.
> >
> >   import click
> >   import os, sys
>
>

--000000000000004ad805bb5e96be
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Same here, thanks Simon.<div><br></div><div>Signed-off-by:=
 Felipe Huici &lt;<a href=3D"mailto:felipe.huici@neclab.eu">felipe.huici@ne=
clab.eu</a>&gt;<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"l=
tr" class=3D"gmail_attr">On Mon, Feb 15, 2021 at 12:31 PM Sharan Santhanam =
&lt;<a href=3D"mailto:sharan.santhanam@neclab.eu">sharan.santhanam@neclab.e=
u</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
>Hello Simon,<br>
<br>
I agree with patch. Thanks for the work.<br>
<br>
Signed-off-by: Sharan Santhanam&lt;<a href=3D"mailto:sharan.santhanam@necla=
b.eu" target=3D"_blank">sharan.santhanam@neclab.eu</a>&gt;<br>
<br>
<br>
Thanks &amp; Regards<br>
<br>
Sharan<br>
<br>
On 2/15/21 4:48 PM, Simon Kuenzer wrote:<br>
&gt; This commit removes the additional clause<br>
&gt; &quot;THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY&quot;<br=
>
&gt; from BSD license headers that got introduced by mistake<br>
&gt; with the following commits:<br>
&gt;=C2=A0 =C2=A0d7ab6740e - lib/ukunistd: Introduce ukunistd library<br>
&gt;=C2=A0 =C2=A0154a9b466 - lib/ukallocbbuddy: Add binary buddy allocator =
implementation<br>
&gt;=C2=A0 =C2=A0cfa2c08ae - lib/ukboot: Add Unikraft bootstrapping<br>
&gt;=C2=A0 =C2=A017327dfe6 - lib/ukargparse: Add argument parser<br>
&gt;=C2=A0 =C2=A01e1a8f5b5 - lib/ukschedcoop: Add cooperative round-robin s=
cheduler<br>
&gt;=C2=A0 =C2=A0c327e9713 - lib/uknetdev: Introduce Netbufs<br>
&gt;=C2=A0 =C2=A03c3dc48b5 - plat/xen: Add Xen (x86_64, ARM) platform code<=
br>
&gt;=C2=A0 =C2=A01fa094ed7 - plat/kvm: Introduce platform configuration str=
uct<br>
&gt;=C2=A0 =C2=A0a8cb90f65 - lib/ukalloc: Add abstraction library for memor=
y allocators<br>
&gt;=C2=A0 =C2=A0feb280521 - plat/xen: Split emergency and hypervisor conso=
le<br>
&gt;=C2=A0 =C2=A0c722184e9 - include: Introduce &lt;uk/prio.h&gt;<br>
&gt;=C2=A0 =C2=A00bc9633a0 - plat/xen: Add console support for x86_64<br>
&gt;=C2=A0 =C2=A03b94c37a5 - plat/*: Add binary system call feature and API=
<br>
&gt;=C2=A0 =C2=A006cb4527f - plat/common: Add cpu.h for Arm32<br>
&gt;=C2=A0 =C2=A0463baa06a - lib/vfscore: Automount option<br>
&gt;=C2=A0 =C2=A027af93b6d - lib/ukalloc: Move internal functions to new he=
ader<br>
&gt;=C2=A0 =C2=A01760d9ef4 - lib/nolibc: Add nolibc, a minimal subset of li=
bc functions<br>
&gt;=C2=A0 =C2=A02c9108854 - plat/kvm: Add KVM (x86_64) platform code<br>
&gt;=C2=A0 =C2=A0eacdeffea - arch: Add architecture interface<br>
&gt;=C2=A0 =C2=A08dba9141b - lib/nolibc: Provide assertions (assert.h)<br>
&gt;=C2=A0 =C2=A0e6d46e521 - plat/kvm: System call trap handler (x86_64)<br=
>
&gt;=C2=A0 =C2=A08277edb38 - build: Add build and configuration framework<b=
r>
&gt;=C2=A0 =C2=A03afda62dd - lib/ukdebug: Do not rely on libc for uk_pr_*()=
<br>
&gt;=C2=A0 =C2=A07c7518d28 - plat/linuxu: Add linux userspace (x86_64, ARM)=
 platform code<br>
&gt;=C2=A0 =C2=A0347cb7db4 - lib/ukdebug: Add printing and debug helpers<br=
>
&gt;=C2=A0 =C2=A01353814b3 - lib/uksched: Add abstraction library for sched=
ulers<br>
&gt;=C2=A0 =C2=A0828efb76e - plat: Add platform interface<br>
&gt;=C2=A0 =C2=A0bd4825025 - lib/ukmmap: mmap trick for Go<br>
&gt;=C2=A0 =C2=A0ef5245754 - plat/common: Split ARM generic timer implement=
ation<br>
&gt;=C2=A0 =C2=A01717ee104 - lib/ukbus: Introduce abstraction for device bu=
ses<br>
&gt;=C2=A0 =C2=A071ee3e521 - plat/common: Introduce virtio standard header<=
br>
&gt;=C2=A0 =C2=A02d39b41ca - lib/ukmpi: Introduce mailboxes with libukmpi<b=
r>
&gt;=C2=A0 =C2=A067e70a93b - plat/drivers: Introduce virtio PCI device<br>
&gt;=C2=A0 =C2=A000292f747 - include/uk: Introduce init table<br>
&gt;=C2=A0 =C2=A0b49cc5403 - plat/drivers: Introduce the virtio bus<br>
&gt;=C2=A0 =C2=A0ae22ad94c - plat/kvm: Add initial PCI bus driver for x86_6=
4<br>
&gt;=C2=A0 =C2=A0415e1ed05 - lib/ukswrand: Introduce libukswrand<br>
&gt;=C2=A0 =C2=A087880cde9 - plat/drivers: Reintroduce the virtio ring<br>
&gt;=C2=A0 =C2=A015bea914c - lib/uklibparam: Introduce the library paramete=
r<br>
&gt;=C2=A0 =C2=A080928b929 - lib/uklock: Introduce semaphores and mutexes w=
ith libuklock<br>
&gt;=C2=A0 =C2=A0340cd8ef6 - plat/common: virt to phys addr conversion<br>
&gt;=C2=A0 =C2=A0bb7d1651e - arch: provide thread-local storage helper func=
tions<br>
&gt;=C2=A0 =C2=A0fcc07a3cd - lib/nolibc: move shared definitions to special=
 include file<br>
&gt;=C2=A0 =C2=A04c2afee22 - plat: Add global struct to keep x86 CPU inform=
ation<br>
&gt;=C2=A0 =C2=A011ac352a7 - plat: switch thread-local storage area on cont=
ext switch<br>
&gt;=C2=A0 =C2=A000b652b41 - lib/vfscore: update license header for importe=
d files<br>
&gt;=C2=A0 =C2=A0740fc6014 - lib/ukdebug: save actual data into tracebuffer=
<br>
&gt;=C2=A0 =C2=A02bc4d9df7 - lib/ukdebug: trace.h - introduce UK_FOREACH an=
d UK_NARGS macros<br>
&gt;=C2=A0 =C2=A0917d23a75 - support/scripts: fetch trace data from running=
 Unikraft<br>
&gt;=C2=A0 =C2=A0b3fbde2b3 - lib/vfscore: implement fops for std(out|err)<b=
r>
&gt;=C2=A0 =C2=A0ccb39b566 - lib/syscall_shim: introduce syscalls macro lay=
er<br>
&gt;=C2=A0 =C2=A0146c13e04 - lib/vfscore: introduce vfscore<br>
&gt;<br>
&gt; On the one hand, this additional clause is redundant because<br>
&gt; the BSD license already states that it must remain and the<br>
&gt; copyright notice must be kept.<br>
&gt; On the other hand, the clause freezes the file header<br>
&gt; and prohibits future contributors from extending the<br>
&gt; copyright notice for their contributions. This additional<br>
&gt; clause is not part of the official BSD 3-clause.<br>
&gt;<br>
&gt; The original author or affiliation consents to the change<br>
&gt; with a `Signed-off-by` or `Reviewed-by` tag to this<br>
&gt; commit.<br>
&gt;<br>
&gt; Signed-off-by: Simon Kuenzer &lt;<a href=3D"mailto:simon.kuenzer@necla=
b.eu" target=3D"_blank">simon.kuenzer@neclab.eu</a>&gt;<br>
&gt; ---<br>
&gt;=C2=A0 =C2=A0arch/arm/arm/include/uk/asm/intsizes.h=C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0arch/arm/arm/include/uk/asm/tls.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0arch/arm/arm64/include/uk/asm/tls.h=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0arch/x86/x86_64/include/uk/asm/intsizes.h=C2=A0 =C2=A0 =C2=
=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0arch/x86/x86_64/include/uk/asm/tls.h=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/arch/lcpu.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/arch/limits.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/arch/time.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/arch/tls.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/arch/types.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/config.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br=
>
&gt;=C2=A0 =C2=A0include/uk/errptr.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br=
>
&gt;=C2=A0 =C2=A0include/uk/essentials.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/init.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 -=
-<br>
&gt;=C2=A0 =C2=A0include/uk/plat/bootstrap.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/plat/config.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/plat/io.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/plat/lcpu.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/plat/memory.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/plat/syscall.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/plat/thread.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/plat/time.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0include/uk/prio.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 -=
-<br>
&gt;=C2=A0 =C2=A0lib/nolibc/errno.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<b=
r>
&gt;=C2=A0 =C2=A0lib/nolibc/include/assert.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/include/errno.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/include/inttypes.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/include/limits.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/include/nolibc-internal/shareddefs.h | 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/include/stdarg.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/include/stddef.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/include/stdint.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/include/stdio.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/include/string.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/include/sys/mount.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/include/sys/types.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/include/sys/uio.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/include/unistd.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/nolibc/malloc.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br=
>
&gt;=C2=A0 =C2=A0lib/nolibc/string.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br=
>
&gt;=C2=A0 =C2=A0lib/posix-user/user.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/syscall_shim/include/uk/syscall.h=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukalloc/include/uk/alloc.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukalloc/include/uk/alloc_impl.h=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukallocbbuddy/include/uk/allocbbuddy.h=C2=A0 =C2=A0 =
=C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukargparse/argparse.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukargparse/include/uk/argparse.h=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukboot/boot.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 -=
-<br>
&gt;=C2=A0 =C2=A0lib/ukbus/bus.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukbus/include/uk/bus.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukdebug/hexdump.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukdebug/include/uk/assert.h=C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukdebug/include/uk/hexdump.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukdebug/include/uk/print.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukdebug/include/uk/trace.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukdebug/snprintf.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukdebug/trace.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br=
>
&gt;=C2=A0 =C2=A0lib/uklibparam/include/uk/libparam.h=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/uklibparam/param.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/uklock/include/uk/mutex.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukmmap/mmap.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 -=
-<br>
&gt;=C2=A0 =C2=A0lib/ukmpi/include/uk/mbox.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/uknetdev/include/uk/netbuf.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/uknetdev/netbuf.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0lib/uksched/include/uk/sched.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/uksched/sched.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br=
>
&gt;=C2=A0 =C2=A0lib/ukschedcoop/include/uk/schedcoop.h=C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukswrand/include/uk/swrand.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/ukswrand/mwc.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<b=
r>
&gt;=C2=A0 =C2=A0lib/vfscore/fd.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 -=
-<br>
&gt;=C2=A0 =C2=A0lib/vfscore/file.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<b=
r>
&gt;=C2=A0 =C2=A0lib/vfscore/fops.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<b=
r>
&gt;=C2=A0 =C2=A0lib/vfscore/include/vfscore/dentry.h=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/vfscore/include/vfscore/file.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/vfscore/include/vfscore/prex.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/vfscore/rootfs.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0lib/vfscore/stdio.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br=
>
&gt;=C2=A0 =C2=A0plat/common/arm/generic_timer.c=C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/common/include/arm/arm/cpu.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/common/include/pci/pci_bus.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/common/include/uk/plat/common/sw_ctx.h=C2=A0 =C2=A0 =
=C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/common/include/uk/plat/common/tls.h=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/common/include/x86/tls.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/common/pci_bus.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/common/sw_ctx.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/common/thread.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/common/x86/cpu_features.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/common/x86/syscall.S=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/drivers/include/virtio/virtio_bus.h=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/drivers/include/virtio/virtio_config.h=C2=A0 =C2=A0 =
=C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/drivers/include/virtio/virtqueue.h=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/drivers/virtio/virtio_bus.c=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/drivers/virtio/virtio_pci.c=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/drivers/virtio/virtio_ring.c=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/kvm/include/kvm/config.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/kvm/io.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/kvm/x86/lcpu.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br=
>
&gt;=C2=A0 =C2=A0plat/kvm/x86/time.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br=
>
&gt;=C2=A0 =C2=A0plat/linuxu/arm/entry32.S=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/linuxu/console.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/linuxu/include/linuxu/console.h=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/linuxu/include/linuxu/ioctl.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/linuxu/include/linuxu/setup.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/linuxu/include/linuxu/syscall-arm_32.h=C2=A0 =C2=A0 =
=C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/linuxu/include/linuxu/syscall-x86_64.h=C2=A0 =C2=A0 =
=C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/linuxu/include/linuxu/syscall.h=C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/linuxu/include/linuxu/tls.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/linuxu/io.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 -=
-<br>
&gt;=C2=A0 =C2=A0plat/linuxu/lcpu.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<b=
r>
&gt;=C2=A0 =C2=A0plat/linuxu/memory.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/linuxu/setup.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br=
>
&gt;=C2=A0 =C2=A0plat/linuxu/shutdown.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/linuxu/time.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<b=
r>
&gt;=C2=A0 =C2=A0plat/linuxu/x86/entry64.S=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/xen/console.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<b=
r>
&gt;=C2=A0 =C2=A0plat/xen/emg_console.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/xen/emg_console.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/xen/hv_console.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/xen/hv_console.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/xen/include/common/console.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/xen/include/xen-arm/setup.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/xen/include/xen-arm/smp.h=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/xen/include/xen-arm/traps.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/xen/include/xen-x86/setup.h=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2 --<br>
&gt;=C2=A0 =C2=A0plat/xen/io.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/xen/lcpu.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0| 2 --<br>
&gt;=C2=A0 =C2=A0plat/xen/memory.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 -=
-<br>
&gt;=C2=A0 =C2=A0plat/xen/shutdown.c=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br=
>
&gt;=C2=A0 =C2=A0support/scripts/uk-gdb.py=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0support/scripts/uk_trace/parse.py=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0support/scripts/uk_trace/trace.py=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 2 --<br>
&gt;=C2=A0 =C2=A0131 files changed, 262 deletions(-)<br>
&gt;<br>
&gt; diff --git a/arch/arm/arm/include/uk/asm/intsizes.h b/arch/arm/arm/inc=
lude/uk/asm/intsizes.h<br>
&gt; index 0051c0ad1..1c4dfbca7 100644<br>
&gt; --- a/arch/arm/arm/include/uk/asm/intsizes.h<br>
&gt; +++ b/arch/arm/arm/include/uk/asm/intsizes.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#if ((!defined __UKARCH_TYPES_H__) &amp;&amp; (!defined __=
UKARCH_LIMITS_H__))<br>
&gt; diff --git a/arch/arm/arm/include/uk/asm/tls.h b/arch/arm/arm/include/=
uk/asm/tls.h<br>
&gt; index 67d6f264f..6492863d6 100644<br>
&gt; --- a/arch/arm/arm/include/uk/asm/tls.h<br>
&gt; +++ b/arch/arm/arm/include/uk/asm/tls.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKARCH_TLS_H__<br>
&gt; diff --git a/arch/arm/arm64/include/uk/asm/tls.h b/arch/arm/arm64/incl=
ude/uk/asm/tls.h<br>
&gt; index 6cc23f1c9..f092e1971 100644<br>
&gt; --- a/arch/arm/arm64/include/uk/asm/tls.h<br>
&gt; +++ b/arch/arm/arm64/include/uk/asm/tls.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKARCH_TLS_H__<br>
&gt; diff --git a/arch/x86/x86_64/include/uk/asm/intsizes.h b/arch/x86/x86_=
64/include/uk/asm/intsizes.h<br>
&gt; index 946ceca65..4b0eb61f9 100644<br>
&gt; --- a/arch/x86/x86_64/include/uk/asm/intsizes.h<br>
&gt; +++ b/arch/x86/x86_64/include/uk/asm/intsizes.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#if ((!defined __UKARCH_TYPES_H__) &amp;&amp; (!defined __=
UKARCH_LIMITS_H__))<br>
&gt; diff --git a/arch/x86/x86_64/include/uk/asm/tls.h b/arch/x86/x86_64/in=
clude/uk/asm/tls.h<br>
&gt; index 116d8a1de..156107835 100644<br>
&gt; --- a/arch/x86/x86_64/include/uk/asm/tls.h<br>
&gt; +++ b/arch/x86/x86_64/include/uk/asm/tls.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKARCH_TLS_H__<br>
&gt; diff --git a/include/uk/arch/lcpu.h b/include/uk/arch/lcpu.h<br>
&gt; index c52162877..72a30f098 100644<br>
&gt; --- a/include/uk/arch/lcpu.h<br>
&gt; +++ b/include/uk/arch/lcpu.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKARCH_LCPU_H__<br>
&gt; diff --git a/include/uk/arch/limits.h b/include/uk/arch/limits.h<br>
&gt; index c4d4bc229..dbfc490e2 100644<br>
&gt; --- a/include/uk/arch/limits.h<br>
&gt; +++ b/include/uk/arch/limits.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKARCH_LIMITS_H__<br>
&gt; diff --git a/include/uk/arch/time.h b/include/uk/arch/time.h<br>
&gt; index ac2078874..f1726ffd2 100644<br>
&gt; --- a/include/uk/arch/time.h<br>
&gt; +++ b/include/uk/arch/time.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKARCH_TIME_H__<br>
&gt; diff --git a/include/uk/arch/tls.h b/include/uk/arch/tls.h<br>
&gt; index bfbcd5fcf..c8545baa6 100644<br>
&gt; --- a/include/uk/arch/tls.h<br>
&gt; +++ b/include/uk/arch/tls.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKARCH_TLS_H__<br>
&gt; diff --git a/include/uk/arch/types.h b/include/uk/arch/types.h<br>
&gt; index c409b9a3b..8329070aa 100644<br>
&gt; --- a/include/uk/arch/types.h<br>
&gt; +++ b/include/uk/arch/types.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKARCH_TYPES_H__<br>
&gt; diff --git a/include/uk/config.h b/include/uk/config.h<br>
&gt; index 9628b7baf..0edc9810a 100644<br>
&gt; --- a/include/uk/config.h<br>
&gt; +++ b/include/uk/config.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_CONFIG_H__<br>
&gt; diff --git a/include/uk/errptr.h b/include/uk/errptr.h<br>
&gt; index 6e8599441..857967247 100644<br>
&gt; --- a/include/uk/errptr.h<br>
&gt; +++ b/include/uk/errptr.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_ERRPTR_H__<br>
&gt; diff --git a/include/uk/essentials.h b/include/uk/essentials.h<br>
&gt; index 6bcee2e60..8f8b9d982 100644<br>
&gt; --- a/include/uk/essentials.h<br>
&gt; +++ b/include/uk/essentials.h<br>
&gt; @@ -31,8 +31,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_ESSENTIALS_H__<br>
&gt; diff --git a/include/uk/init.h b/include/uk/init.h<br>
&gt; index ba3f3b3db..18677dc74 100644<br>
&gt; --- a/include/uk/init.h<br>
&gt; +++ b/include/uk/init.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#ifndef _UK_INIT_H<br>
&gt;=C2=A0 =C2=A0#define _UK_INIT_H<br>
&gt; diff --git a/include/uk/plat/bootstrap.h b/include/uk/plat/bootstrap.h=
<br>
&gt; index 0652ccd17..6af18ca0e 100644<br>
&gt; --- a/include/uk/plat/bootstrap.h<br>
&gt; +++ b/include/uk/plat/bootstrap.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKPLAT_BOOTSTRAP__<br>
&gt; diff --git a/include/uk/plat/config.h b/include/uk/plat/config.h<br>
&gt; index 9753d7545..7886d9a85 100644<br>
&gt; --- a/include/uk/plat/config.h<br>
&gt; +++ b/include/uk/plat/config.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_ARCH_CONFIG_H__<br>
&gt; diff --git a/include/uk/plat/io.h b/include/uk/plat/io.h<br>
&gt; index 6a9218663..f6c4765fd 100644<br>
&gt; --- a/include/uk/plat/io.h<br>
&gt; +++ b/include/uk/plat/io.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#ifndef __UKPLAT_IO_H__<br>
&gt;=C2=A0 =C2=A0#define __UKPLAT_IO_H__<br>
&gt; diff --git a/include/uk/plat/lcpu.h b/include/uk/plat/lcpu.h<br>
&gt; index 77e584665..457dc6cee 100644<br>
&gt; --- a/include/uk/plat/lcpu.h<br>
&gt; +++ b/include/uk/plat/lcpu.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKPLAT_LCPU_H__<br>
&gt; diff --git a/include/uk/plat/memory.h b/include/uk/plat/memory.h<br>
&gt; index 4c4e4dc42..ac3a1896f 100644<br>
&gt; --- a/include/uk/plat/memory.h<br>
&gt; +++ b/include/uk/plat/memory.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKPLAT_MEMORY_H__<br>
&gt; diff --git a/include/uk/plat/syscall.h b/include/uk/plat/syscall.h<br>
&gt; index f62ddfe3e..c6860bdd6 100644<br>
&gt; --- a/include/uk/plat/syscall.h<br>
&gt; +++ b/include/uk/plat/syscall.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKPLAT_SYSCALL__<br>
&gt; diff --git a/include/uk/plat/thread.h b/include/uk/plat/thread.h<br>
&gt; index 4b349ea7f..980747f13 100644<br>
&gt; --- a/include/uk/plat/thread.h<br>
&gt; +++ b/include/uk/plat/thread.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0/*<br>
&gt; diff --git a/include/uk/plat/time.h b/include/uk/plat/time.h<br>
&gt; index ad3fd9545..f1dc9b94f 100644<br>
&gt; --- a/include/uk/plat/time.h<br>
&gt; +++ b/include/uk/plat/time.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKPLAT_TIME_H__<br>
&gt; diff --git a/include/uk/prio.h b/include/uk/prio.h<br>
&gt; index c49b784fb..a94e7b458 100644<br>
&gt; --- a/include/uk/prio.h<br>
&gt; +++ b/include/uk/prio.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_PRIO_H__<br>
&gt;=C2=A0 =C2=A0#define __UK_PRIO_H__<br>
&gt; diff --git a/lib/nolibc/errno.c b/lib/nolibc/errno.c<br>
&gt; index d6c2dc894..29475ad9e 100644<br>
&gt; --- a/lib/nolibc/errno.c<br>
&gt; +++ b/lib/nolibc/errno.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;errno.h&gt;<br>
&gt; diff --git a/lib/nolibc/include/assert.h b/lib/nolibc/include/assert.h=
<br>
&gt; index 1e1115951..f19e8fc0c 100644<br>
&gt; --- a/lib/nolibc/include/assert.h<br>
&gt; +++ b/lib/nolibc/include/assert.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __ASSERT_H__<br>
&gt; diff --git a/lib/nolibc/include/errno.h b/lib/nolibc/include/errno.h<b=
r>
&gt; index 29f4c8b31..c02090db1 100644<br>
&gt; --- a/lib/nolibc/include/errno.h<br>
&gt; +++ b/lib/nolibc/include/errno.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __ERRNO_H__<br>
&gt; diff --git a/lib/nolibc/include/inttypes.h b/lib/nolibc/include/inttyp=
es.h<br>
&gt; index ba9ea81a3..03aa1c176 100644<br>
&gt; --- a/lib/nolibc/include/inttypes.h<br>
&gt; +++ b/lib/nolibc/include/inttypes.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __INTTYPES_H__<br>
&gt; diff --git a/lib/nolibc/include/limits.h b/lib/nolibc/include/limits.h=
<br>
&gt; index e66bbace6..8613cbbbf 100644<br>
&gt; --- a/lib/nolibc/include/limits.h<br>
&gt; +++ b/lib/nolibc/include/limits.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __LIMITS_H__<br>
&gt; diff --git a/lib/nolibc/include/nolibc-internal/shareddefs.h b/lib/nol=
ibc/include/nolibc-internal/shareddefs.h<br>
&gt; index d386820e5..3a6e41053 100644<br>
&gt; --- a/lib/nolibc/include/nolibc-internal/shareddefs.h<br>
&gt; +++ b/lib/nolibc/include/nolibc-internal/shareddefs.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0/* This header does by design not have include guards, so =
that it can be<br>
&gt; diff --git a/lib/nolibc/include/stdarg.h b/lib/nolibc/include/stdarg.h=
<br>
&gt; index 752269853..16eb15bf2 100644<br>
&gt; --- a/lib/nolibc/include/stdarg.h<br>
&gt; +++ b/lib/nolibc/include/stdarg.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __STDARG_H__<br>
&gt; diff --git a/lib/nolibc/include/stddef.h b/lib/nolibc/include/stddef.h=
<br>
&gt; index 9fb27b179..5abede766 100644<br>
&gt; --- a/lib/nolibc/include/stddef.h<br>
&gt; +++ b/lib/nolibc/include/stddef.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __STDDEF_H__<br>
&gt; diff --git a/lib/nolibc/include/stdint.h b/lib/nolibc/include/stdint.h=
<br>
&gt; index a6a55c49d..3b516a709 100644<br>
&gt; --- a/lib/nolibc/include/stdint.h<br>
&gt; +++ b/lib/nolibc/include/stdint.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __STDINT_H__<br>
&gt; diff --git a/lib/nolibc/include/stdio.h b/lib/nolibc/include/stdio.h<b=
r>
&gt; index f844ffa8d..6c08d2db3 100644<br>
&gt; --- a/lib/nolibc/include/stdio.h<br>
&gt; +++ b/lib/nolibc/include/stdio.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __STDIO_H__<br>
&gt; diff --git a/lib/nolibc/include/string.h b/lib/nolibc/include/string.h=
<br>
&gt; index 2644aea4c..b7d542091 100644<br>
&gt; --- a/lib/nolibc/include/string.h<br>
&gt; +++ b/lib/nolibc/include/string.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __STRING_H__<br>
&gt; diff --git a/lib/nolibc/include/sys/mount.h b/lib/nolibc/include/sys/m=
ount.h<br>
&gt; index c8b1fe274..01be0f78f 100644<br>
&gt; --- a/lib/nolibc/include/sys/mount.h<br>
&gt; +++ b/lib/nolibc/include/sys/mount.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef _SYS_MOUNT_H<br>
&gt; diff --git a/lib/nolibc/include/sys/types.h b/lib/nolibc/include/sys/t=
ypes.h<br>
&gt; index 4da777c8e..fc42ee310 100644<br>
&gt; --- a/lib/nolibc/include/sys/types.h<br>
&gt; +++ b/lib/nolibc/include/sys/types.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0<br>
&gt; diff --git a/lib/nolibc/include/sys/uio.h b/lib/nolibc/include/sys/uio=
.h<br>
&gt; index d1a4b48dd..984b98071 100644<br>
&gt; --- a/lib/nolibc/include/sys/uio.h<br>
&gt; +++ b/lib/nolibc/include/sys/uio.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef _SYS_UIO_H<br>
&gt; diff --git a/lib/nolibc/include/unistd.h b/lib/nolibc/include/unistd.h=
<br>
&gt; index 1a5a49253..8ee8878e9 100644<br>
&gt; --- a/lib/nolibc/include/unistd.h<br>
&gt; +++ b/lib/nolibc/include/unistd.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UNISTD_H__<br>
&gt; diff --git a/lib/nolibc/malloc.c b/lib/nolibc/malloc.c<br>
&gt; index faf880521..0a939111f 100644<br>
&gt; --- a/lib/nolibc/malloc.c<br>
&gt; +++ b/lib/nolibc/malloc.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;stddef.h&gt;<br>
&gt; diff --git a/lib/nolibc/string.c b/lib/nolibc/string.c<br>
&gt; index 327efcca9..9bcaea821 100644<br>
&gt; --- a/lib/nolibc/string.c<br>
&gt; +++ b/lib/nolibc/string.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0/* For the parts taken from musl (marked as such below), t=
he MIT licence<br>
&gt;=C2=A0 =C2=A0 * applies instead:<br>
&gt; diff --git a/lib/posix-user/user.c b/lib/posix-user/user.c<br>
&gt; index e7c60dadc..2bede9fb3 100644<br>
&gt; --- a/lib/posix-user/user.c<br>
&gt; +++ b/lib/posix-user/user.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;unistd.h&gt;<br>
&gt; diff --git a/lib/syscall_shim/include/uk/syscall.h b/lib/syscall_shim/=
include/uk/syscall.h<br>
&gt; index 70eebe7da..c58bae58c 100644<br>
&gt; --- a/lib/syscall_shim/include/uk/syscall.h<br>
&gt; +++ b/lib/syscall_shim/include/uk/syscall.h<br>
&gt; @@ -30,8 +30,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_SYSCALL_H__<br>
&gt; diff --git a/lib/ukalloc/include/uk/alloc.h b/lib/ukalloc/include/uk/a=
lloc.h<br>
&gt; index 14579220b..a4feb3f4f 100644<br>
&gt; --- a/lib/ukalloc/include/uk/alloc.h<br>
&gt; +++ b/lib/ukalloc/include/uk/alloc.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_ALLOC_H__<br>
&gt; diff --git a/lib/ukalloc/include/uk/alloc_impl.h b/lib/ukalloc/include=
/uk/alloc_impl.h<br>
&gt; index b15f49e73..844eca9a2 100644<br>
&gt; --- a/lib/ukalloc/include/uk/alloc_impl.h<br>
&gt; +++ b/lib/ukalloc/include/uk/alloc_impl.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0/*<br>
&gt; diff --git a/lib/ukallocbbuddy/include/uk/allocbbuddy.h b/lib/ukallocb=
buddy/include/uk/allocbbuddy.h<br>
&gt; index d7afef4c1..3d7558b80 100644<br>
&gt; --- a/lib/ukallocbbuddy/include/uk/allocbbuddy.h<br>
&gt; +++ b/lib/ukallocbbuddy/include/uk/allocbbuddy.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKALLOCBBUDDY_H__<br>
&gt; diff --git a/lib/ukargparse/argparse.c b/lib/ukargparse/argparse.c<br>
&gt; index db7ed1309..435504cf1 100644<br>
&gt; --- a/lib/ukargparse/argparse.c<br>
&gt; +++ b/lib/ukargparse/argparse.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/argparse.h&gt;<br>
&gt; diff --git a/lib/ukargparse/include/uk/argparse.h b/lib/ukargparse/inc=
lude/uk/argparse.h<br>
&gt; index 7a8420c94..a1e1a59d7 100644<br>
&gt; --- a/lib/ukargparse/include/uk/argparse.h<br>
&gt; +++ b/lib/ukargparse/include/uk/argparse.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_ARGPARSE__<br>
&gt; diff --git a/lib/ukboot/boot.c b/lib/ukboot/boot.c<br>
&gt; index 2f7ab24a0..960fdd310 100644<br>
&gt; --- a/lib/ukboot/boot.c<br>
&gt; +++ b/lib/ukboot/boot.c<br>
&gt; @@ -31,8 +31,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/config.h&gt;<br>
&gt; diff --git a/lib/ukbus/bus.c b/lib/ukbus/bus.c<br>
&gt; index 1d63f4dce..311890f2d 100644<br>
&gt; --- a/lib/ukbus/bus.c<br>
&gt; +++ b/lib/ukbus/bus.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/bus.h&gt;<br>
&gt; diff --git a/lib/ukbus/include/uk/bus.h b/lib/ukbus/include/uk/bus.h<b=
r>
&gt; index fcb684210..e192e7dda 100644<br>
&gt; --- a/lib/ukbus/include/uk/bus.h<br>
&gt; +++ b/lib/ukbus/include/uk/bus.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_BUS__<br>
&gt; diff --git a/lib/ukdebug/hexdump.c b/lib/ukdebug/hexdump.c<br>
&gt; index 0708489d9..696db6948 100644<br>
&gt; --- a/lib/ukdebug/hexdump.c<br>
&gt; +++ b/lib/ukdebug/hexdump.c<br>
&gt; @@ -31,8 +31,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;string.h&gt;<br>
&gt; diff --git a/lib/ukdebug/include/uk/assert.h b/lib/ukdebug/include/uk/=
assert.h<br>
&gt; index d81f42f9e..6732e5d47 100644<br>
&gt; --- a/lib/ukdebug/include/uk/assert.h<br>
&gt; +++ b/lib/ukdebug/include/uk/assert.h<br>
&gt; @@ -31,8 +31,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKDEBUG_ASSERT_H__<br>
&gt; diff --git a/lib/ukdebug/include/uk/hexdump.h b/lib/ukdebug/include/uk=
/hexdump.h<br>
&gt; index 2e91edb2d..676ae8da7 100644<br>
&gt; --- a/lib/ukdebug/include/uk/hexdump.h<br>
&gt; +++ b/lib/ukdebug/include/uk/hexdump.h<br>
&gt; @@ -31,8 +31,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKDEBUG_HEXDUMP_H__<br>
&gt; diff --git a/lib/ukdebug/include/uk/print.h b/lib/ukdebug/include/uk/p=
rint.h<br>
&gt; index 30e3efe4a..c3c95f411 100644<br>
&gt; --- a/lib/ukdebug/include/uk/print.h<br>
&gt; +++ b/lib/ukdebug/include/uk/print.h<br>
&gt; @@ -31,8 +31,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKDEBUG_PRINT_H__<br>
&gt; diff --git a/lib/ukdebug/include/uk/trace.h b/lib/ukdebug/include/uk/t=
race.h<br>
&gt; index bc8da435a..6ca1b0663 100644<br>
&gt; --- a/lib/ukdebug/include/uk/trace.h<br>
&gt; +++ b/lib/ukdebug/include/uk/trace.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef _UK_TRACE_H_<br>
&gt; diff --git a/lib/ukdebug/snprintf.h b/lib/ukdebug/snprintf.h<br>
&gt; index fa167e687..edebb52c6 100644<br>
&gt; --- a/lib/ukdebug/snprintf.h<br>
&gt; +++ b/lib/ukdebug/snprintf.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UKDEBUG_INTERNAL_SNPRINTF_H__<br>
&gt; diff --git a/lib/ukdebug/trace.c b/lib/ukdebug/trace.c<br>
&gt; index 0a1358193..2572560c1 100644<br>
&gt; --- a/lib/ukdebug/trace.c<br>
&gt; +++ b/lib/ukdebug/trace.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;stddef.h&gt;<br>
&gt; diff --git a/lib/uklibparam/include/uk/libparam.h b/lib/uklibparam/inc=
lude/uk/libparam.h<br>
&gt; index f8f8ba4b6..0bf9fc320 100644<br>
&gt; --- a/lib/uklibparam/include/uk/libparam.h<br>
&gt; +++ b/lib/uklibparam/include/uk/libparam.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_LIBPARAM_H<br>
&gt;=C2=A0 =C2=A0#define __UK_LIBPARAM_H<br>
&gt; diff --git a/lib/uklibparam/param.c b/lib/uklibparam/param.c<br>
&gt; index 948150cd4..09fe48b23 100644<br>
&gt; --- a/lib/uklibparam/param.c<br>
&gt; +++ b/lib/uklibparam/param.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#include &lt;string.h&gt;<br>
&gt;=C2=A0 =C2=A0#include &lt;stdlib.h&gt;<br>
&gt; diff --git a/lib/uklock/include/uk/mutex.h b/lib/uklock/include/uk/mut=
ex.h<br>
&gt; index d4435ebdb..050cecb72 100644<br>
&gt; --- a/lib/uklock/include/uk/mutex.h<br>
&gt; +++ b/lib/uklock/include/uk/mutex.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_MUTEX_H__<br>
&gt; diff --git a/lib/ukmmap/mmap.c b/lib/ukmmap/mmap.c<br>
&gt; index ea0173a98..34f73a888 100644<br>
&gt; --- a/lib/ukmmap/mmap.c<br>
&gt; +++ b/lib/ukmmap/mmap.c<br>
&gt; @@ -30,8 +30,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;sys/mman.h&gt;<br>
&gt; diff --git a/lib/ukmpi/include/uk/mbox.h b/lib/ukmpi/include/uk/mbox.h=
<br>
&gt; index 19b1ecc0b..bff551e08 100644<br>
&gt; --- a/lib/ukmpi/include/uk/mbox.h<br>
&gt; +++ b/lib/ukmpi/include/uk/mbox.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0<br>
&gt; diff --git a/lib/uknetdev/include/uk/netbuf.h b/lib/uknetdev/include/u=
k/netbuf.h<br>
&gt; index 5212614aa..f79a36218 100644<br>
&gt; --- a/lib/uknetdev/include/uk/netbuf.h<br>
&gt; +++ b/lib/uknetdev/include/uk/netbuf.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_NETBUF__<br>
&gt;=C2=A0 =C2=A0#define __UK_NETBUF__<br>
&gt; diff --git a/lib/uknetdev/netbuf.c b/lib/uknetdev/netbuf.c<br>
&gt; index d87af0530..81ad3af33 100644<br>
&gt; --- a/lib/uknetdev/netbuf.c<br>
&gt; +++ b/lib/uknetdev/netbuf.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/netbuf.h&gt;<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/essentials.h&gt;<br>
&gt; diff --git a/lib/uksched/include/uk/sched.h b/lib/uksched/include/uk/s=
ched.h<br>
&gt; index 36ef76d7c..2e9368df5 100644<br>
&gt; --- a/lib/uksched/include/uk/sched.h<br>
&gt; +++ b/lib/uksched/include/uk/sched.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_SCHED_H__<br>
&gt; diff --git a/lib/uksched/sched.c b/lib/uksched/sched.c<br>
&gt; index 5a58629b8..86e6f6ee4 100644<br>
&gt; --- a/lib/uksched/sched.c<br>
&gt; +++ b/lib/uksched/sched.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;stdlib.h&gt;<br>
&gt; diff --git a/lib/ukschedcoop/include/uk/schedcoop.h b/lib/ukschedcoop/=
include/uk/schedcoop.h<br>
&gt; index b0b6b06bb..62bc8f6d9 100644<br>
&gt; --- a/lib/ukschedcoop/include/uk/schedcoop.h<br>
&gt; +++ b/lib/ukschedcoop/include/uk/schedcoop.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0/*<br>
&gt;=C2=A0 =C2=A0 * Non-preemptive (cooperative) Round Robin scheduler.<br>
&gt; diff --git a/lib/ukswrand/include/uk/swrand.h b/lib/ukswrand/include/u=
k/swrand.h<br>
&gt; index 69579a1aa..1172e6cb1 100644<br>
&gt; --- a/lib/ukswrand/include/uk/swrand.h<br>
&gt; +++ b/lib/ukswrand/include/uk/swrand.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __UK_SWRAND__<br>
&gt; diff --git a/lib/ukswrand/mwc.c b/lib/ukswrand/mwc.c<br>
&gt; index f032e950a..bfe67fc91 100644<br>
&gt; --- a/lib/ukswrand/mwc.c<br>
&gt; +++ b/lib/ukswrand/mwc.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;string.h&gt;<br>
&gt; diff --git a/lib/vfscore/fd.c b/lib/vfscore/fd.c<br>
&gt; index 956846ffc..a5562ca18 100644<br>
&gt; --- a/lib/vfscore/fd.c<br>
&gt; +++ b/lib/vfscore/fd.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;string.h&gt;<br>
&gt; diff --git a/lib/vfscore/file.c b/lib/vfscore/file.c<br>
&gt; index bc8b0dc85..c5c4d3f74 100644<br>
&gt; --- a/lib/vfscore/file.c<br>
&gt; +++ b/lib/vfscore/file.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;unistd.h&gt;<br>
&gt; diff --git a/lib/vfscore/fops.c b/lib/vfscore/fops.c<br>
&gt; index 0cef2c12c..065bca0b3 100644<br>
&gt; --- a/lib/vfscore/fops.c<br>
&gt; +++ b/lib/vfscore/fops.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#define _GNU_SOURCE<br>
&gt; diff --git a/lib/vfscore/include/vfscore/dentry.h b/lib/vfscore/includ=
e/vfscore/dentry.h<br>
&gt; index 2c356530e..46444aa3d 100644<br>
&gt; --- a/lib/vfscore/include/vfscore/dentry.h<br>
&gt; +++ b/lib/vfscore/include/vfscore/dentry.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef _OSV_DENTRY_H<br>
&gt; diff --git a/lib/vfscore/include/vfscore/file.h b/lib/vfscore/include/=
vfscore/file.h<br>
&gt; index d630ccb8d..bf2510f13 100644<br>
&gt; --- a/lib/vfscore/include/vfscore/file.h<br>
&gt; +++ b/lib/vfscore/include/vfscore/file.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __VFSCORE_FILE_H__<br>
&gt; diff --git a/lib/vfscore/include/vfscore/prex.h b/lib/vfscore/include/=
vfscore/prex.h<br>
&gt; index 1ba8f9698..627d70739 100644<br>
&gt; --- a/lib/vfscore/include/vfscore/prex.h<br>
&gt; +++ b/lib/vfscore/include/vfscore/prex.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef _UK_PREX_H<br>
&gt; diff --git a/lib/vfscore/rootfs.c b/lib/vfscore/rootfs.c<br>
&gt; index 4b9512a4e..8a6e099f4 100644<br>
&gt; --- a/lib/vfscore/rootfs.c<br>
&gt; +++ b/lib/vfscore/rootfs.c<br>
&gt; @@ -32,8 +32,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#include &lt;errno.h&gt;<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/config.h&gt;<br>
&gt; diff --git a/lib/vfscore/stdio.c b/lib/vfscore/stdio.c<br>
&gt; index 62a7a6074..b59a9ee3d 100644<br>
&gt; --- a/lib/vfscore/stdio.c<br>
&gt; +++ b/lib/vfscore/stdio.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;vfscore/file.h&gt;<br>
&gt; diff --git a/plat/common/arm/generic_timer.c b/plat/common/arm/generic=
_timer.c<br>
&gt; index 58a9f4036..6ea8b8734 100644<br>
&gt; --- a/plat/common/arm/generic_timer.c<br>
&gt; +++ b/plat/common/arm/generic_timer.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#include &lt;stdlib.h&gt;<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/assert.h&gt;<br>
&gt; diff --git a/plat/common/include/arm/arm/cpu.h b/plat/common/include/a=
rm/arm/cpu.h<br>
&gt; index c966cb41f..c9a169157 100644<br>
&gt; --- a/plat/common/include/arm/arm/cpu.h<br>
&gt; +++ b/plat/common/include/arm/arm/cpu.h<br>
&gt; @@ -32,8 +32,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#ifndef _PLAT_COMMON_ARM_ARM_CPU_H_<br>
&gt;=C2=A0 =C2=A0#define _PLAT_COMMON_ARM_ARM_CPU_H_<br>
&gt; diff --git a/plat/common/include/pci/pci_bus.h b/plat/common/include/p=
ci/pci_bus.h<br>
&gt; index db406a1b1..86cab11b8 100644<br>
&gt; --- a/plat/common/include/pci/pci_bus.h<br>
&gt; +++ b/plat/common/include/pci/pci_bus.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0/*<br>
&gt;=C2=A0 =C2=A0 * Copyright(c) 2010-2015 Intel Corporation.<br>
&gt; diff --git a/plat/common/include/uk/plat/common/sw_ctx.h b/plat/common=
/include/uk/plat/common/sw_ctx.h<br>
&gt; index 366c6a8f8..63ffb6741 100644<br>
&gt; --- a/plat/common/include/uk/plat/common/sw_ctx.h<br>
&gt; +++ b/plat/common/include/uk/plat/common/sw_ctx.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#ifndef __PLAT_CMN_SW_CTX_H__<br>
&gt;=C2=A0 =C2=A0#define __PLAT_CMN_SW_CTX_H__<br>
&gt; diff --git a/plat/common/include/uk/plat/common/tls.h b/plat/common/in=
clude/uk/plat/common/tls.h<br>
&gt; index 6fb78d249..492066eee 100644<br>
&gt; --- a/plat/common/include/uk/plat/common/tls.h<br>
&gt; +++ b/plat/common/include/uk/plat/common/tls.h<br>
&gt; @@ -26,8 +26,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#ifndef __PLAT_CMN_TLS_H__<br>
&gt;=C2=A0 =C2=A0#define __PLAT_CMN_TLS_H__<br>
&gt; diff --git a/plat/common/include/x86/tls.h b/plat/common/include/x86/t=
ls.h<br>
&gt; index 5811bcd70..af3bd3359 100644<br>
&gt; --- a/plat/common/include/x86/tls.h<br>
&gt; +++ b/plat/common/include/x86/tls.h<br>
&gt; @@ -26,8 +26,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#ifndef __PLAT_CMN_X86_TLS_H__<br>
&gt;=C2=A0 =C2=A0#define __PLAT_CMN_X86_TLS_H__<br>
&gt; diff --git a/plat/common/pci_bus.c b/plat/common/pci_bus.c<br>
&gt; index 7a66e94f8..86aeee6ba 100644<br>
&gt; --- a/plat/common/pci_bus.c<br>
&gt; +++ b/plat/common/pci_bus.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0/* Some code was derived from Solo5: */<br>
&gt;=C2=A0 =C2=A0/*<br>
&gt; diff --git a/plat/common/sw_ctx.c b/plat/common/sw_ctx.c<br>
&gt; index 482e99e61..2c4fc613d 100644<br>
&gt; --- a/plat/common/sw_ctx.c<br>
&gt; +++ b/plat/common/sw_ctx.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;stdint.h&gt;<br>
&gt; diff --git a/plat/common/thread.c b/plat/common/thread.c<br>
&gt; index ccfeb2966..80074e5d2 100644<br>
&gt; --- a/plat/common/thread.c<br>
&gt; +++ b/plat/common/thread.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;stdlib.h&gt;<br>
&gt; diff --git a/plat/common/x86/cpu_features.c b/plat/common/x86/cpu_feat=
ures.c<br>
&gt; index 070973971..1e44901c0 100644<br>
&gt; --- a/plat/common/x86/cpu_features.c<br>
&gt; +++ b/plat/common/x86/cpu_features.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;x86/cpu.h&gt;<br>
&gt; diff --git a/plat/common/x86/syscall.S b/plat/common/x86/syscall.S<br>
&gt; index b367a5d73..71613b073 100644<br>
&gt; --- a/plat/common/x86/syscall.S<br>
&gt; +++ b/plat/common/x86/syscall.S<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/arch/lcpu.h&gt;<br>
&gt; diff --git a/plat/drivers/include/virtio/virtio_bus.h b/plat/drivers/i=
nclude/virtio/virtio_bus.h<br>
&gt; index b3bb83314..953a6090c 100644<br>
&gt; --- a/plat/drivers/include/virtio/virtio_bus.h<br>
&gt; +++ b/plat/drivers/include/virtio/virtio_bus.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __PLAT_DRV_VIRTIO_H<br>
&gt; diff --git a/plat/drivers/include/virtio/virtio_config.h b/plat/driver=
s/include/virtio/virtio_config.h<br>
&gt; index 1221bbc57..99005fa8a 100644<br>
&gt; --- a/plat/drivers/include/virtio/virtio_config.h<br>
&gt; +++ b/plat/drivers/include/virtio/virtio_config.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __PLAT_DRV_VIRTIO_CONFIG_H<br>
&gt; diff --git a/plat/drivers/include/virtio/virtqueue.h b/plat/drivers/in=
clude/virtio/virtqueue.h<br>
&gt; index 147982883..3055549aa 100644<br>
&gt; --- a/plat/drivers/include/virtio/virtqueue.h<br>
&gt; +++ b/plat/drivers/include/virtio/virtqueue.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __PLAT_DRV_VIRTQUEUE_H__<br>
&gt; diff --git a/plat/drivers/virtio/virtio_bus.c b/plat/drivers/virtio/vi=
rtio_bus.c<br>
&gt; index 1c34487f9..f41c75435 100644<br>
&gt; --- a/plat/drivers/virtio/virtio_bus.c<br>
&gt; +++ b/plat/drivers/virtio/virtio_bus.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/config.h&gt;<br>
&gt; diff --git a/plat/drivers/virtio/virtio_pci.c b/plat/drivers/virtio/vi=
rtio_pci.c<br>
&gt; index c0c9032f6..fe21e6a1c 100644<br>
&gt; --- a/plat/drivers/virtio/virtio_pci.c<br>
&gt; +++ b/plat/drivers/virtio/virtio_pci.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/config.h&gt;<br>
&gt; diff --git a/plat/drivers/virtio/virtio_ring.c b/plat/drivers/virtio/v=
irtio_ring.c<br>
&gt; index 0a5c3f3ea..1579e91c6 100644<br>
&gt; --- a/plat/drivers/virtio/virtio_ring.c<br>
&gt; +++ b/plat/drivers/virtio/virtio_ring.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0/**<br>
&gt;=C2=A0 =C2=A0 * Inspired from the FreeBSD.<br>
&gt; diff --git a/plat/kvm/include/kvm/config.h b/plat/kvm/include/kvm/conf=
ig.h<br>
&gt; index 37136820a..e5844b329 100644<br>
&gt; --- a/plat/kvm/include/kvm/config.h<br>
&gt; +++ b/plat/kvm/include/kvm/config.h<br>
&gt; @@ -31,8 +31,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __KVM_CONFIG_H__<br>
&gt; diff --git a/plat/kvm/io.c b/plat/kvm/io.c<br>
&gt; index fca55fb50..14a8c01a9 100644<br>
&gt; --- a/plat/kvm/io.c<br>
&gt; +++ b/plat/kvm/io.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/plat/io.h&gt;<br>
&gt; diff --git a/plat/kvm/x86/lcpu.c b/plat/kvm/x86/lcpu.c<br>
&gt; index 42e2faa35..ed359e5c0 100644<br>
&gt; --- a/plat/kvm/x86/lcpu.c<br>
&gt; +++ b/plat/kvm/x86/lcpu.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;stdint.h&gt;<br>
&gt; diff --git a/plat/kvm/x86/time.c b/plat/kvm/x86/time.c<br>
&gt; index 333ad9f3d..fde42653c 100644<br>
&gt; --- a/plat/kvm/x86/time.c<br>
&gt; +++ b/plat/kvm/x86/time.c<br>
&gt; @@ -36,8 +36,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;stdlib.h&gt;<br>
&gt; diff --git a/plat/linuxu/arm/entry32.S b/plat/linuxu/arm/entry32.S<br>
&gt; index 5080ff22a..9e0e8a94a 100644<br>
&gt; --- a/plat/linuxu/arm/entry32.S<br>
&gt; +++ b/plat/linuxu/arm/entry32.S<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0.section .text<br>
&gt; diff --git a/plat/linuxu/console.c b/plat/linuxu/console.c<br>
&gt; index 6f27787b4..5d2885678 100644<br>
&gt; --- a/plat/linuxu/console.c<br>
&gt; +++ b/plat/linuxu/console.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;inttypes.h&gt;<br>
&gt; diff --git a/plat/linuxu/include/linuxu/console.h b/plat/linuxu/includ=
e/linuxu/console.h<br>
&gt; index acae389f7..4b88d9a73 100644<br>
&gt; --- a/plat/linuxu/include/linuxu/console.h<br>
&gt; +++ b/plat/linuxu/include/linuxu/console.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __CONSOLE_H__<br>
&gt; diff --git a/plat/linuxu/include/linuxu/ioctl.h b/plat/linuxu/include/=
linuxu/ioctl.h<br>
&gt; index 3fc5c251d..ada62ea87 100644<br>
&gt; --- a/plat/linuxu/include/linuxu/ioctl.h<br>
&gt; +++ b/plat/linuxu/include/linuxu/ioctl.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __IOCTL_H__<br>
&gt; diff --git a/plat/linuxu/include/linuxu/setup.h b/plat/linuxu/include/=
linuxu/setup.h<br>
&gt; index 571d66cd1..a4f23f37e 100644<br>
&gt; --- a/plat/linuxu/include/linuxu/setup.h<br>
&gt; +++ b/plat/linuxu/include/linuxu/setup.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __SETUP_H__<br>
&gt; diff --git a/plat/linuxu/include/linuxu/syscall-arm_32.h b/plat/linuxu=
/include/linuxu/syscall-arm_32.h<br>
&gt; index ef9323bea..399e167e8 100644<br>
&gt; --- a/plat/linuxu/include/linuxu/syscall-arm_32.h<br>
&gt; +++ b/plat/linuxu/include/linuxu/syscall-arm_32.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __SYSCALL_ARM_32_H__<br>
&gt; diff --git a/plat/linuxu/include/linuxu/syscall-x86_64.h b/plat/linuxu=
/include/linuxu/syscall-x86_64.h<br>
&gt; index 553f0ba4a..3e43b3f17 100644<br>
&gt; --- a/plat/linuxu/include/linuxu/syscall-x86_64.h<br>
&gt; +++ b/plat/linuxu/include/linuxu/syscall-x86_64.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __SYSCALL_X86_64_H__<br>
&gt; diff --git a/plat/linuxu/include/linuxu/syscall.h b/plat/linuxu/includ=
e/linuxu/syscall.h<br>
&gt; index 0dca7c5c0..949c04253 100644<br>
&gt; --- a/plat/linuxu/include/linuxu/syscall.h<br>
&gt; +++ b/plat/linuxu/include/linuxu/syscall.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __SYSCALL_H__<br>
&gt; diff --git a/plat/linuxu/include/linuxu/tls.h b/plat/linuxu/include/li=
nuxu/tls.h<br>
&gt; index 97474104b..225739e86 100644<br>
&gt; --- a/plat/linuxu/include/linuxu/tls.h<br>
&gt; +++ b/plat/linuxu/include/linuxu/tls.h<br>
&gt; @@ -26,8 +26,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0#ifndef __PLAT_LINUXU_TLS_H__<br>
&gt;=C2=A0 =C2=A0#define __PLAT_LINUXU_TLS_H__<br>
&gt; diff --git a/plat/linuxu/io.c b/plat/linuxu/io.c<br>
&gt; index 978aacb44..67ad95d55 100644<br>
&gt; --- a/plat/linuxu/io.c<br>
&gt; +++ b/plat/linuxu/io.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/plat/io.h&gt;<br>
&gt; diff --git a/plat/linuxu/lcpu.c b/plat/linuxu/lcpu.c<br>
&gt; index b545ca8d2..fbf8c5e7a 100644<br>
&gt; --- a/plat/linuxu/lcpu.c<br>
&gt; +++ b/plat/linuxu/lcpu.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;stdlib.h&gt;<br>
&gt; diff --git a/plat/linuxu/memory.c b/plat/linuxu/memory.c<br>
&gt; index 9b5479e83..5b3df9b3a 100644<br>
&gt; --- a/plat/linuxu/memory.c<br>
&gt; +++ b/plat/linuxu/memory.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;errno.h&gt;<br>
&gt; diff --git a/plat/linuxu/setup.c b/plat/linuxu/setup.c<br>
&gt; index 4e224a3dc..329a3e6fd 100644<br>
&gt; --- a/plat/linuxu/setup.c<br>
&gt; +++ b/plat/linuxu/setup.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/config.h&gt;<br>
&gt; diff --git a/plat/linuxu/shutdown.c b/plat/linuxu/shutdown.c<br>
&gt; index 8eef53bb5..988fcace7 100644<br>
&gt; --- a/plat/linuxu/shutdown.c<br>
&gt; +++ b/plat/linuxu/shutdown.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;errno.h&gt;<br>
&gt; diff --git a/plat/linuxu/time.c b/plat/linuxu/time.c<br>
&gt; index c6a5b349f..4e4dcb5f9 100644<br>
&gt; --- a/plat/linuxu/time.c<br>
&gt; +++ b/plat/linuxu/time.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;string.h&gt;<br>
&gt; diff --git a/plat/linuxu/x86/entry64.S b/plat/linuxu/x86/entry64.S<br>
&gt; index f111a9526..e76b411e4 100644<br>
&gt; --- a/plat/linuxu/x86/entry64.S<br>
&gt; +++ b/plat/linuxu/x86/entry64.S<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0.section .text<br>
&gt; diff --git a/plat/xen/console.c b/plat/xen/console.c<br>
&gt; index 437e128cd..74ebb7941 100644<br>
&gt; --- a/plat/xen/console.c<br>
&gt; +++ b/plat/xen/console.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;uk/config.h&gt;<br>
&gt; diff --git a/plat/xen/emg_console.c b/plat/xen/emg_console.c<br>
&gt; index 5cd0d2464..d5868a120 100644<br>
&gt; --- a/plat/xen/emg_console.c<br>
&gt; +++ b/plat/xen/emg_console.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0/*<br>
&gt; diff --git a/plat/xen/emg_console.h b/plat/xen/emg_console.h<br>
&gt; index d98387481..0a6e395ce 100644<br>
&gt; --- a/plat/xen/emg_console.h<br>
&gt; +++ b/plat/xen/emg_console.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __XEN_EMG_CONSOLE_H__<br>
&gt; diff --git a/plat/xen/hv_console.c b/plat/xen/hv_console.c<br>
&gt; index c32a41576..7ee23a089 100644<br>
&gt; --- a/plat/xen/hv_console.c<br>
&gt; +++ b/plat/xen/hv_console.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0/*<br>
&gt; diff --git a/plat/xen/hv_console.h b/plat/xen/hv_console.h<br>
&gt; index 69be1edee..836866591 100644<br>
&gt; --- a/plat/xen/hv_console.h<br>
&gt; +++ b/plat/xen/hv_console.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __XEN_HV_CONSOLE_H__<br>
&gt; diff --git a/plat/xen/include/common/console.h b/plat/xen/include/comm=
on/console.h<br>
&gt; index 23c6b32e4..add6a63d7 100644<br>
&gt; --- a/plat/xen/include/common/console.h<br>
&gt; +++ b/plat/xen/include/common/console.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __CONSOLE_H__<br>
&gt; diff --git a/plat/xen/include/xen-arm/setup.h b/plat/xen/include/xen-a=
rm/setup.h<br>
&gt; index 550e77e18..eb6154cd2 100644<br>
&gt; --- a/plat/xen/include/xen-arm/setup.h<br>
&gt; +++ b/plat/xen/include/xen-arm/setup.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __SETUP_H__<br>
&gt; diff --git a/plat/xen/include/xen-arm/smp.h b/plat/xen/include/xen-arm=
/smp.h<br>
&gt; index f825f27dd..5f15c8a44 100644<br>
&gt; --- a/plat/xen/include/xen-arm/smp.h<br>
&gt; +++ b/plat/xen/include/xen-arm/smp.h<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef PLAT_XEN_INCLUDE_XEN_ARM_SMP_H_<br>
&gt; diff --git a/plat/xen/include/xen-arm/traps.h b/plat/xen/include/xen-a=
rm/traps.h<br>
&gt; index 4fd435185..993664e27 100644<br>
&gt; --- a/plat/xen/include/xen-arm/traps.h<br>
&gt; +++ b/plat/xen/include/xen-arm/traps.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef _TRAPS_H_<br>
&gt; diff --git a/plat/xen/include/xen-x86/setup.h b/plat/xen/include/xen-x=
86/setup.h<br>
&gt; index 7a5719014..0d9eecb07 100644<br>
&gt; --- a/plat/xen/include/xen-x86/setup.h<br>
&gt; +++ b/plat/xen/include/xen-x86/setup.h<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#ifndef __SETUP_H__<br>
&gt; diff --git a/plat/xen/io.c b/plat/xen/io.c<br>
&gt; index 3fd1be2ba..57c87d4d9 100644<br>
&gt; --- a/plat/xen/io.c<br>
&gt; +++ b/plat/xen/io.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;stdint.h&gt;<br>
&gt; diff --git a/plat/xen/lcpu.c b/plat/xen/lcpu.c<br>
&gt; index d7158dfa9..d6b18f7a5 100644<br>
&gt; --- a/plat/xen/lcpu.c<br>
&gt; +++ b/plat/xen/lcpu.c<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;stdint.h&gt;<br>
&gt; diff --git a/plat/xen/memory.c b/plat/xen/memory.c<br>
&gt; index 8e7a7ddad..b390aab62 100644<br>
&gt; --- a/plat/xen/memory.c<br>
&gt; +++ b/plat/xen/memory.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;string.h&gt;<br>
&gt; diff --git a/plat/xen/shutdown.c b/plat/xen/shutdown.c<br>
&gt; index c7bf12d74..ba6c3fad4 100644<br>
&gt; --- a/plat/xen/shutdown.c<br>
&gt; +++ b/plat/xen/shutdown.c<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGEN=
CE OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVE=
N IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0 * POSSIBILITY OF SUCH DAMAGE.<br>
&gt; - *<br>
&gt; - * THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0 */<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0#include &lt;inttypes.h&gt;<br>
&gt; diff --git a/support/scripts/uk-gdb.py b/support/scripts/uk-gdb.py<br>
&gt; index 14aa9aafd..db1655313 100644<br>
&gt; --- a/support/scripts/uk-gdb.py<br>
&gt; +++ b/support/scripts/uk-gdb.py<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENC=
E OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN=
 IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0# POSSIBILITY OF SUCH DAMAGE.<br>
&gt; -#<br>
&gt; -# THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0import gdb<br>
&gt;=C2=A0 =C2=A0import pickle<br>
&gt; diff --git a/support/scripts/uk_trace/parse.py b/support/scripts/uk_tr=
ace/parse.py<br>
&gt; index 8142bc454..02f0efd32 100644<br>
&gt; --- a/support/scripts/uk_trace/parse.py<br>
&gt; +++ b/support/scripts/uk_trace/parse.py<br>
&gt; @@ -28,8 +28,6 @@<br>
&gt;=C2=A0 =C2=A0# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENC=
E OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN=
 IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0# POSSIBILITY OF SUCH DAMAGE.<br>
&gt; -#<br>
&gt; -# THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0import struct<br>
&gt;=C2=A0 =C2=A0import sys<br>
&gt; diff --git a/support/scripts/uk_trace/trace.py b/support/scripts/uk_tr=
ace/trace.py<br>
&gt; index 5fafca632..40c560297 100755<br>
&gt; --- a/support/scripts/uk_trace/trace.py<br>
&gt; +++ b/support/scripts/uk_trace/trace.py<br>
&gt; @@ -29,8 +29,6 @@<br>
&gt;=C2=A0 =C2=A0# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENC=
E OR OTHERWISE)<br>
&gt;=C2=A0 =C2=A0# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN=
 IF ADVISED OF THE<br>
&gt;=C2=A0 =C2=A0# POSSIBILITY OF SUCH DAMAGE.<br>
&gt; -#<br>
&gt; -# THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY.<br>
&gt;=C2=A0 =C2=A0<br>
&gt;=C2=A0 =C2=A0import click<br>
&gt;=C2=A0 =C2=A0import os, sys<br>
<br>
</blockquote></div>

--000000000000004ad805bb5e96be--


From minios-devel-bounces@lists.xenproject.org Tue Feb 23 09:26:32 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 23 Feb 2021 09:26:32 +0000
Received: from list by lists.xenproject.org with outflank-mailman.88655.166808 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lETxd-0005B2-IB; Tue, 23 Feb 2021 09:26:29 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 88655.166808; Tue, 23 Feb 2021 09:26:29 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lETxd-0005Av-F7; Tue, 23 Feb 2021 09:26:29 +0000
Received: by outflank-mailman (input) for mailman id 88655;
 Tue, 23 Feb 2021 09:26:28 +0000
Received: from all-amaz-eas1.inumbo.com ([34.197.232.57]
 helo=us1-amaz-eas2.inumbo.com)
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=/yNF=HZ=neclab.eu=simon.kuenzer@srs-us1.protection.inumbo.net>)
 id 1lETxc-0005Ao-Nq
 for minios-devel@lists.xen.org; Tue, 23 Feb 2021 09:26:28 +0000
Received: from mailer2.neclab.eu (unknown [195.37.70.41])
 by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS
 id 35257168-4e90-4893-9669-04d23c0ced2e;
 Tue, 23 Feb 2021 09:26:26 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by mailer2.neclab.eu (Postfix) with ESMTP id 53E50F25E5;
 Tue, 23 Feb 2021 10:26:25 +0100 (CET)
Received: from mailer2.neclab.eu ([127.0.0.1])
 by localhost (atlas-b.office.hd [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id n_dhAm8S3jzo; Tue, 23 Feb 2021 10:26:25 +0100 (CET)
Received: from puck.office.hd (puck.office.hd [192.168.24.91])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by mailer2.neclab.eu (Postfix) with ESMTPS id 27F41F245A
 for <minios-devel@lists.xen.org>; Tue, 23 Feb 2021 10:26:23 +0100 (CET)
Received: from [10.7.2.19] (192.168.24.96) by puck.office.hd (192.168.24.91)
 with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Tue, 23 Feb
 2021 10:26:22 +0100
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 35257168-4e90-4893-9669-04d23c0ced2e
X-Virus-Scanned: Amavisd on Debian GNU/Linux (atlas-b.office.hd)
X-ENC: Last-Hop-TLS-encrypted
X-ENC: Last-Hop-TLS-encrypted
Subject: Re: [UNIKRAFT/LIBPTHREAD-EMBEDDED PATCH 0/3] `uksched` thread
 creation callbacks
To: <minios-devel@lists.xen.org>
References: <20201215081913.23823-1-simon.kuenzer@neclab.eu>
From: Simon Kuenzer <simon.kuenzer@neclab.eu>
Message-ID: <f5631c73-b284-44ad-ddab-fc90d403708b@neclab.eu>
Date: Tue, 23 Feb 2021 10:26:08 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0)
 Gecko/20100101 Thunderbird/78.7.0
MIME-Version: 1.0
In-Reply-To: <20201215081913.23823-1-simon.kuenzer@neclab.eu>
Content-Type: text/plain; charset="utf-8"; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Originating-IP: [192.168.24.96]
X-ClientProxiedBy: oberon.office.hd (192.168.24.90) To puck.office.hd
 (192.168.24.91)

Hi,

I sent a v2 of this patch series to GitHub:
https://github.com/unikraft/unikraft/pull/138

Thanks,

Simon

On 15.12.20 09:19, Simon Kuenzer wrote:
> Utilizes `uksched` callback mechanism to create and delete pthread-embedded
> meta data for threads. This enables using pthread-embedded API calls on
> threads that were created with the native `uksched` API.
> 
> Simon Kuenzer (3):
>    Register meta data on `uksched` thread creation callbacks
>    Initialize pthread-embedded as early as possible
>    No warning when assigning thread starters
> 
>   Makefile.uk |   3 ++
>   pte_osal.c  | 149 +++++++++++++++++++++++++++++++++++++++++++++-------
>   2 files changed, 132 insertions(+), 20 deletions(-)
> 


From minios-devel-bounces@lists.xenproject.org Tue Feb 23 14:02:50 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 23 Feb 2021 14:02:50 +0000
Received: from list by lists.xenproject.org with outflank-mailman.88797.167130 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lEYH1-0000zf-JB; Tue, 23 Feb 2021 14:02:47 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 88797.167130; Tue, 23 Feb 2021 14:02:47 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lEYH1-0000zX-Fx; Tue, 23 Feb 2021 14:02:47 +0000
Received: by outflank-mailman (input) for mailman id 88797;
 Tue, 23 Feb 2021 14:02:46 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=K/OD=HZ=gmail.com=dincadaniel97@srs-us1.protection.inumbo.net>)
 id 1lEYH0-0000zS-Bp
 for minios-devel@lists.xen.org; Tue, 23 Feb 2021 14:02:46 +0000
Received: from mail-oo1-xc30.google.com (unknown [2607:f8b0:4864:20::c30])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 982bb29a-5f5f-4813-83d4-65ad938136bc;
 Tue, 23 Feb 2021 14:02:44 +0000 (UTC)
Received: by mail-oo1-xc30.google.com with SMTP id f26so3861124oog.5
 for <minios-devel@lists.xen.org>; Tue, 23 Feb 2021 06:02:44 -0800 (PST)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 982bb29a-5f5f-4813-83d4-65ad938136bc
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to
         :cc;
        bh=132thkI3wD7OFy06ZPBr82WxAqczT05rrc4oCO5aSf4=;
        b=rJGYf9plTB4dHcL9i00K7j2b4AfdQKWIDFjU++KejuHMEaVO6nouM4gVhixzVD7xkl
         0Kh5/AViSOG6dhInUC5jeTpQepwQYfHphdZ6AD66dsDhHIMCUENjCiYnf7EpubSpaeSY
         C7pO4srm0XHih8uldvWj5/+AihPvuLSNeEbdmcfnByVwmEQ7zaiguqzI2lmr5aUFzMZP
         eFzW28djSEWaoxS8jG56Mmm4t40oMs60u0PjN6RkLPABXVB9JVlBmKl11vGKO0ue9rUm
         Dtwo0ZJlC6cydhXRNHHngrdRT2z/0fqXIqWWTNqssDf9eErK/6G39BdQXGMsANCXahvT
         PBXg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:cc;
        bh=132thkI3wD7OFy06ZPBr82WxAqczT05rrc4oCO5aSf4=;
        b=LrX8O1CBQqJfuSLK5UT3dvHPZUUsHIPtCXfadd1sgtLnIyxtAa7tbgH+oQJXznh2Yw
         aaZ3SbrAMSHpA2zUSCfJrCiHrVQScQskHMwRHi86+zRK0XVuiY3MVwU0V8nrsczP8FKd
         oG0iVVekte28O90Ai5KFYwhZyJBjFmCv26g6DrRQStSzazLadnhrsQPtuvfaZ71GbPnB
         Wq15HdVwvfF9CCMgqSI9nFFoxYA0BI5gWRKjtWN7fsBiD1qCZHtUb/+pstDicngLIWi3
         N6Vond22XvwAo/0jw26KqnBAO/bmwHUjrdxtk+d8k3vuYdCleT/gV5GoLMo+ReWOBTit
         KAaA==
X-Gm-Message-State: AOAM531NG0eFD13Y2iSJy6bQ0rOoU1O+PjmabgBwVcn6qNizu1MULbIH
	EB0qyPqbaVGfvozcfZutgM8OI1BKS+a6sfdj1KFumP5uKIKGpw==
X-Google-Smtp-Source: ABdhPJx806Q6mw4WcNzqvfkrB/wT/siEoOekF9KuThH3IasmcvKpivTkic6a3Tay3V0dsgU9whulj87iMjLA4ibt4Sw=
X-Received: by 2002:a4a:e093:: with SMTP id w19mr5735288oos.53.1614088963612;
 Tue, 23 Feb 2021 06:02:43 -0800 (PST)
MIME-Version: 1.0
References: <20201215081913.23823-1-simon.kuenzer@neclab.eu> <20201215081913.23823-2-simon.kuenzer@neclab.eu>
In-Reply-To: <20201215081913.23823-2-simon.kuenzer@neclab.eu>
From: Daniel Dinca <dincadaniel97@gmail.com>
Date: Tue, 23 Feb 2021 16:02:32 +0200
Message-ID: <CALjJXS5-0E+zhWznyf0OUH7orXWJz_itaxhnzTGGnzz1HL0q2Q@mail.gmail.com>
Subject: Re: [UNIKRAFT/LIBPTHREAD-EMBEDDED PATCH 1/3] Register meta data on
 `uksched` thread creation callbacks
To: Simon Kuenzer <simon.kuenzer@neclab.eu>
Cc: minios-devel@lists.xen.org
Content-Type: multipart/alternative; boundary="0000000000004fe69105bc015f04"

--0000000000004fe69105bc015f04
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Needs rebasing apart from that looks good.
Reviewed-by: Daniel Dinca <dincadaniel97@gmail.com>

=C3=8En mar., 15 dec. 2020 la 10:19, Simon Kuenzer <simon.kuenzer@neclab.eu=
> a
scris:

> Utilizes `uksched` callback mechanism to create and delete pthread-embedd=
ed
> meta data for threads. This enables using pthread-embedded API calls on
> threads that were created with the native `uksched` API.
>
> Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
> ---
>  pte_osal.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++-------
>  1 file changed, 128 insertions(+), 19 deletions(-)
>
> diff --git a/pte_osal.c b/pte_osal.c
> index 640c3e4..6b4ebd7 100644
> --- a/pte_osal.c
> +++ b/pte_osal.c
> @@ -25,6 +25,7 @@
>
>  #include <string.h>
>  #include <stdlib.h>
> +#include <stdbool.h>
>  #include <uk/essentials.h>
>  #include <uk/init.h>
>  #include <uk/arch/time.h>
> @@ -60,10 +61,18 @@ typedef struct {
>   *
>
> *************************************************************************=
**/
>
> +static bool initialized /* false */;
> +
>  static int pthread_initcall(void)
>  {
> +       int result;
> +
>         uk_pr_debug("Initialize pthread-embedded\n");
> -       return pthread_init();
> +       result =3D pthread_init();
> +
> +       if (result =3D=3D PTE_TRUE)
> +               initialized =3D true;
> +       return result;
>  }
>  uk_lib_initcall(pthread_initcall);
>
> @@ -129,46 +138,146 @@ static void uk_stub_thread_entry(void *argv)
>         ptd->entry_point(ptd->argv);
>  }
>
> +/* NOTE: We need to be able to distinguish if we created a thread throug=
h
> + *       pthread API or through uksched API. In case of pthread_create()
> + *       we have to setup some different properties to the thread like
> creating
> + *       it in paused state.
> + *       In order to distinguish, we will use a magic number as entry
> function.
> + *       With the thread argument we forward the actual entry point and
> argument
> + *       vector. During creation our init callback will be executed by
> uksched
> + *       and we are able to check if we find our magic number again and
> handle
> + *       the initialization accordingly.
> + */
> +
> +/* Use a pointer that points to itself as magic number. This way we can =
be
> + * sure that the magic number (=3D pointer address) is unique and reserv=
ed
> + * for our purpose.
> + */
> +static const void *PTE_CAPSULE_MAGIC =3D &PTE_CAPSULE_MAGIC;
> +struct pte_entry_capsule {
> +       pte_osThreadEntryPoint entry_point;
> +       void *argv;
> +};
> +
>  pte_osResult pte_osThreadCreate(pte_osThreadEntryPoint entry_point,
>         int stack_size, int initial_prio, void *argv,
>         pte_osThreadHandle *ph)
>  {
> -       pte_thread_data_t *ptd;
> +       struct pte_entry_capsule capsule;
> +       struct uk_thread *th;
>
> -       ptd =3D malloc(sizeof(pte_thread_data_t));
> -       if (!ptd)
> +       capsule.entry_point =3D entry_point;
> +       capsule.argv        =3D argv;
> +
> +       /* Create the Unikraft thread. This will cause that
> +        * pte_osInitThread() is called.
> +        */
> +       th =3D uk_thread_create_attr(NULL, NULL,
> +                                  PTE_CAPSULE_MAGIC, &capsule);
> +       if (!th)
>                 return PTE_OS_NO_RESOURCES;
>
> -       ptd->entry_point =3D entry_point;
> -       ptd->argv =3D argv;
> +       /* pte_osInitThread() should have setup a newly created
> +        * pte_thread_data_t which should be stored on th->prv
> +        */
> +       UK_ASSERT(th->prv !=3D NULL);
> +
> +       /* Return the thread handle */
> +       *ph =3D th;
> +       return PTE_OS_OK;
> +}
> +
> +static int pte_osInitThread(struct uk_thread *th)
> +{
> +       pte_thread_data_t *ptd;
> +       struct pte_entry_capsule *capsule;
> +
> +       /* NOTE: We reserve th->prv for our exclusive use,
> +        *       so it should be NULL when entering here
> +        */
> +       UK_ASSERT(th->prv =3D=3D NULL);
> +
> +       /* Initialize pte with first thread creation */
> +       if (unlikely(!initialized)) {
> +               uk_pr_warn("Thread %p created without "
> STRINGIFY(__LIBNAME__)
> +                          " initialized. Utilizing the pthread API from
> this context may lead to memory leaks.\n",
> +                          th);
> +               return 0;
> +       }
> +
> +       ptd =3D calloc(1, sizeof(pte_thread_data_t));
> +       if (!ptd)
> +               goto err_out;
>
>         /* Allocate TLS structure for this thread. */
>         ptd->tls =3D pteTlsThreadInit();
>         if (ptd->tls =3D=3D NULL) {
>                 uk_pr_err("Could not allocate TLS\n");
> -               free(ptd);
> -               return PTE_OS_NO_RESOURCES;
> +               goto err_free_ptd;
> +       }
> +
> +       /* How did we enter this function? */
> +       if (th->entry =3D=3D PTE_CAPSULE_MAGIC) {
> +               /* This thread got created by pte_osThreadCreate()!
> +                * Lets have a look into the capsule.
> +                */
> +               UK_ASSERT(th->arg);
> +
> +               capsule =3D (struct pte_entry_capsule *) th->arg;
> +
> +               ptd->entry_point =3D capsule->entry_point;
> +               ptd->argv        =3D capsule->argv;
> +
> +               /* this thread has to wait for further setup */
> +               uk_semaphore_init(&ptd->start_sem, 0);
> +       } else {
> +               /* We will encapsulate our thread entry point,
> +                * we have to move our actual entry to ptd
> +                */
> +               ptd->entry_point =3D (pte_osThreadEntryPoint) th->entry;
> +               ptd->argv        =3D th->arg;
> +
> +               /* uksched threads need to start automatically */
> +               uk_semaphore_init(&ptd->start_sem, 1);
>         }
>
> -       uk_semaphore_init(&ptd->start_sem, 0);
> +       /* Setup encapsulated entry point */
> +       th->entry =3D uk_stub_thread_entry;
> +       th->arg   =3D ptd;
>         uk_semaphore_init(&ptd->cancel_sem, 0);
>         ptd->done =3D 0;
>
> -       ptd->uk_thread =3D uk_thread_create_attr(NULL, NULL,
> -               uk_stub_thread_entry, ptd);
> -       if (ptd->uk_thread =3D=3D NULL) {
> -               pteTlsThreadDestroy(ptd->tls);
> -               free(ptd);
> -               return PTE_OS_NO_RESOURCES;
> -       }
> +       /* Store cross references (uk_thread <-> pte_thread_data_t) */
> +       th->prv =3D ptd;
> +       ptd->uk_thread =3D th;
>
> -       ptd->uk_thread->prv =3D ptd;
> +       return 0;
>
> -       *ph =3D ptd->uk_thread;
> +err_free_ptd:
> +       free(ptd);
> +err_out:
> +       return -1;
> +}
>
> -       return PTE_OS_OK;
> +static void pte_osFiniThread(struct uk_thread *th)
> +{
> +       pte_thread_data_t *ptd;
> +
> +       if (!th->prv) {
> +               /* It seems that this is a thread that was created before
> +                * this library was initialized. We should not have
> +                * allocated anything for this thread.
> +                */
> +               return;
> +       }
> +
> +       ptd =3D th->prv;
> +       pteTlsThreadDestroy(ptd->tls);
> +       free(ptd);
>  }
>
> +UK_THREAD_INIT_PRIO(pte_osInitThread, pte_osFiniThread, UK_PRIO_EARLIEST=
);
> +
>  pte_osResult pte_osThreadStart(pte_osThreadHandle h)
>  {
>         pte_thread_data_t *ptd =3D handle_to_ptd(h);
> --
> 2.20.1
>
>

--0000000000004fe69105bc015f04
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Needs rebasing apart from that looks good.<br><div></div><=
div>Reviewed-by: Daniel Dinca &lt;<a href=3D"mailto:dincadaniel97@gmail.com=
">dincadaniel97@gmail.com</a>&gt;<br></div></div><br><div class=3D"gmail_qu=
ote"><div dir=3D"ltr" class=3D"gmail_attr">=C3=8En mar., 15 dec. 2020 la 10=
:19, Simon Kuenzer &lt;<a href=3D"mailto:simon.kuenzer@neclab.eu">simon.kue=
nzer@neclab.eu</a>&gt; a scris:<br></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);pa=
dding-left:1ex">Utilizes `uksched` callback mechanism to create and delete =
pthread-embedded<br>
meta data for threads. This enables using pthread-embedded API calls on<br>
threads that were created with the native `uksched` API.<br>
<br>
Signed-off-by: Simon Kuenzer &lt;<a href=3D"mailto:simon.kuenzer@neclab.eu"=
 target=3D"_blank">simon.kuenzer@neclab.eu</a>&gt;<br>
---<br>
=C2=A0pte_osal.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++------=
-<br>
=C2=A01 file changed, 128 insertions(+), 19 deletions(-)<br>
<br>
diff --git a/pte_osal.c b/pte_osal.c<br>
index 640c3e4..6b4ebd7 100644<br>
--- a/pte_osal.c<br>
+++ b/pte_osal.c<br>
@@ -25,6 +25,7 @@<br>
<br>
=C2=A0#include &lt;string.h&gt;<br>
=C2=A0#include &lt;stdlib.h&gt;<br>
+#include &lt;stdbool.h&gt;<br>
=C2=A0#include &lt;uk/essentials.h&gt;<br>
=C2=A0#include &lt;uk/init.h&gt;<br>
=C2=A0#include &lt;uk/arch/time.h&gt;<br>
@@ -60,10 +61,18 @@ typedef struct {<br>
=C2=A0 *<br>
=C2=A0 ********************************************************************=
*******/<br>
<br>
+static bool initialized /* false */;<br>
+<br>
=C2=A0static int pthread_initcall(void)<br>
=C2=A0{<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0int result;<br>
+<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 uk_pr_debug(&quot;Initialize pthread-embedded\n=
&quot;);<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0return pthread_init();<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0result =3D pthread_init();<br>
+<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0if (result =3D=3D PTE_TRUE)<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0initialized =3D tru=
e;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0return result;<br>
=C2=A0}<br>
=C2=A0uk_lib_initcall(pthread_initcall);<br>
<br>
@@ -129,46 +138,146 @@ static void uk_stub_thread_entry(void *argv)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ptd-&gt;entry_point(ptd-&gt;argv);<br>
=C2=A0}<br>
<br>
+/* NOTE: We need to be able to distinguish if we created a thread through<=
br>
+ *=C2=A0 =C2=A0 =C2=A0 =C2=A0pthread API or through uksched API. In case o=
f pthread_create()<br>
+ *=C2=A0 =C2=A0 =C2=A0 =C2=A0we have to setup some different properties to=
 the thread like creating<br>
+ *=C2=A0 =C2=A0 =C2=A0 =C2=A0it in paused state.<br>
+ *=C2=A0 =C2=A0 =C2=A0 =C2=A0In order to distinguish, we will use a magic =
number as entry function.<br>
+ *=C2=A0 =C2=A0 =C2=A0 =C2=A0With the thread argument we forward the actua=
l entry point and argument<br>
+ *=C2=A0 =C2=A0 =C2=A0 =C2=A0vector. During creation our init callback wil=
l be executed by uksched<br>
+ *=C2=A0 =C2=A0 =C2=A0 =C2=A0and we are able to check if we find our magic=
 number again and handle<br>
+ *=C2=A0 =C2=A0 =C2=A0 =C2=A0the initialization accordingly.<br>
+ */<br>
+<br>
+/* Use a pointer that points to itself as magic number. This way we can be=
<br>
+ * sure that the magic number (=3D pointer address) is unique and reserved=
<br>
+ * for our purpose.<br>
+ */<br>
+static const void *PTE_CAPSULE_MAGIC =3D &amp;PTE_CAPSULE_MAGIC;<br>
+struct pte_entry_capsule {<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pte_osThreadEntryPoint entry_point;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0void *argv;<br>
+};<br>
+<br>
=C2=A0pte_osResult pte_osThreadCreate(pte_osThreadEntryPoint entry_point,<b=
r>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 int stack_size, int initial_prio, void *argv,<b=
r>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 pte_osThreadHandle *ph)<br>
=C2=A0{<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0pte_thread_data_t *ptd;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0struct pte_entry_capsule capsule;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0struct uk_thread *th;<br>
<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0ptd =3D malloc(sizeof(pte_thread_data_t));<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0if (!ptd)<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0capsule.entry_point =3D entry_point;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0capsule.argv=C2=A0 =C2=A0 =C2=A0 =C2=A0 =3D arg=
v;<br>
+<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0/* Create the Unikraft thread. This will cause =
that<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 * pte_osInitThread() is called.<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 */<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0th =3D uk_thread_create_attr(NULL, NULL,<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PTE_CAPSULE_MAGIC, &amp;capsu=
le);<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0if (!th)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 return PTE_OS_NO_RE=
SOURCES;<br>
<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0ptd-&gt;entry_point =3D entry_point;<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0ptd-&gt;argv =3D argv;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0/* pte_osInitThread() should have setup a newly=
 created<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 * pte_thread_data_t which should be stored on =
th-&gt;prv<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 */<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0UK_ASSERT(th-&gt;prv !=3D NULL);<br>
+<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0/* Return the thread handle */<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0*ph =3D th;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0return PTE_OS_OK;<br>
+}<br>
+<br>
+static int pte_osInitThread(struct uk_thread *th)<br>
+{<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pte_thread_data_t *ptd;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0struct pte_entry_capsule *capsule;<br>
+<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0/* NOTE: We reserve th-&gt;prv for our exclusiv=
e use,<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 *=C2=A0 =C2=A0 =C2=A0 =C2=A0so it should be NU=
LL when entering here<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 */<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0UK_ASSERT(th-&gt;prv =3D=3D NULL);<br>
+<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0/* Initialize pte with first thread creation */=
<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0if (unlikely(!initialized)) {<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0uk_pr_warn(&quot;Th=
read %p created without &quot; STRINGIFY(__LIBNAME__)<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 &quot; initialized. Utilizing the pthread API from this c=
ontext may lead to memory leaks.\n&quot;,<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 th);<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return 0;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0}<br>
+<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0ptd =3D calloc(1, sizeof(pte_thread_data_t));<b=
r>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0if (!ptd)<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0goto err_out;<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 /* Allocate TLS structure for this thread. */<b=
r>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ptd-&gt;tls =3D pteTlsThreadInit();<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 if (ptd-&gt;tls =3D=3D NULL) {<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 uk_pr_err(&quot;Cou=
ld not allocate TLS\n&quot;);<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0free(ptd);<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return PTE_OS_NO_RE=
SOURCES;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0goto err_free_ptd;<=
br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0}<br>
+<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0/* How did we enter this function? */<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0if (th-&gt;entry =3D=3D PTE_CAPSULE_MAGIC) {<br=
>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* This thread got =
created by pte_osThreadCreate()!<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 * Lets have a look=
 into the capsule.<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 */<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0UK_ASSERT(th-&gt;ar=
g);<br>
+<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0capsule =3D (struct=
 pte_entry_capsule *) th-&gt;arg;<br>
+<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ptd-&gt;entry_point=
 =3D capsule-&gt;entry_point;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ptd-&gt;argv=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =3D capsule-&gt;argv;<br>
+<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* this thread has =
to wait for further setup */<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0uk_semaphore_init(&=
amp;ptd-&gt;start_sem, 0);<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0} else {<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* We will encapsul=
ate our thread entry point,<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 * we have to move =
our actual entry to ptd<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 */<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ptd-&gt;entry_point=
 =3D (pte_osThreadEntryPoint) th-&gt;entry;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ptd-&gt;argv=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =3D th-&gt;arg;<br>
+<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* uksched threads =
need to start automatically */<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0uk_semaphore_init(&=
amp;ptd-&gt;start_sem, 1);<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 }<br>
<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0uk_semaphore_init(&amp;ptd-&gt;start_sem, 0);<b=
r>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0/* Setup encapsulated entry point */<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0th-&gt;entry =3D uk_stub_thread_entry;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0th-&gt;arg=C2=A0 =C2=A0=3D ptd;<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 uk_semaphore_init(&amp;ptd-&gt;cancel_sem, 0);<=
br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ptd-&gt;done =3D 0;<br>
<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0ptd-&gt;uk_thread =3D uk_thread_create_attr(NUL=
L, NULL,<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0uk_stub_thread_entr=
y, ptd);<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0if (ptd-&gt;uk_thread =3D=3D NULL) {<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0pteTlsThreadDestroy=
(ptd-&gt;tls);<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0free(ptd);<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return PTE_OS_NO_RE=
SOURCES;<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0}<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0/* Store cross references (uk_thread &lt;-&gt; =
pte_thread_data_t) */<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0th-&gt;prv =3D ptd;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0ptd-&gt;uk_thread =3D th;<br>
<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0ptd-&gt;uk_thread-&gt;prv =3D ptd;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0return 0;<br>
<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0*ph =3D ptd-&gt;uk_thread;<br>
+err_free_ptd:<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0free(ptd);<br>
+err_out:<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0return -1;<br>
+}<br>
<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0return PTE_OS_OK;<br>
+static void pte_osFiniThread(struct uk_thread *th)<br>
+{<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pte_thread_data_t *ptd;<br>
+<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0if (!th-&gt;prv) {<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/* It seems that th=
is is a thread that was created before<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 * this library was=
 initialized. We should not have<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 * allocated anythi=
ng for this thread.<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 */<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0return;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0}<br>
+<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0ptd =3D th-&gt;prv;<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pteTlsThreadDestroy(ptd-&gt;tls);<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0free(ptd);<br>
=C2=A0}<br>
<br>
+UK_THREAD_INIT_PRIO(pte_osInitThread, pte_osFiniThread, UK_PRIO_EARLIEST);=
<br>
+<br>
=C2=A0pte_osResult pte_osThreadStart(pte_osThreadHandle h)<br>
=C2=A0{<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 pte_thread_data_t *ptd =3D handle_to_ptd(h);<br=
>
-- <br>
2.20.1<br>
<br>
</blockquote></div>

--0000000000004fe69105bc015f04--


From minios-devel-bounces@lists.xenproject.org Tue Feb 23 14:03:11 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 23 Feb 2021 14:03:11 +0000
Received: from list by lists.xenproject.org with outflank-mailman.88798.167135 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lEYHP-000115-M6; Tue, 23 Feb 2021 14:03:11 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 88798.167135; Tue, 23 Feb 2021 14:03:11 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lEYHP-00010y-Ic; Tue, 23 Feb 2021 14:03:11 +0000
Received: by outflank-mailman (input) for mailman id 88798;
 Tue, 23 Feb 2021 14:03:10 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=K/OD=HZ=gmail.com=dincadaniel97@srs-us1.protection.inumbo.net>)
 id 1lEYHO-00010q-Rh
 for minios-devel@lists.xen.org; Tue, 23 Feb 2021 14:03:10 +0000
Received: from mail-ot1-x333.google.com (unknown [2607:f8b0:4864:20::333])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 77adb952-c462-41c3-b1db-25094585ec59;
 Tue, 23 Feb 2021 14:03:10 +0000 (UTC)
Received: by mail-ot1-x333.google.com with SMTP id h22so7282751otr.6
 for <minios-devel@lists.xen.org>; Tue, 23 Feb 2021 06:03:10 -0800 (PST)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 77adb952-c462-41c3-b1db-25094585ec59
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to
         :cc;
        bh=0OyWr5LaDJSDDZKLd4+bGOty4YxjJT4jW++vJv/WrgU=;
        b=sNUso4E4sgSvPSTuHb0tYScUF27G/bTn0vS3MU0CTHgEqT1GItg5yXke9n/MqyQeUs
         Eiv/Zy5HOyHe/vX35f1gdvmWkcyx7MvSvGTsmySGFtjRAOfKH64iwQjYGSMQ/ptJBJPE
         2/sx5eyRZIabdHJJY5DGtUJ1CCgsKjrE+c7fcGrawNiGSrI2lzJWSo3UuQ2ujUNFI8Ep
         5wHFnmu7fQNJ8bChj0sIlSDy+Ukl/z5UPQp1uvDW14q+YYuDtJ4S+qrjEKo17Fy9tdFx
         GaXIt4QEZR7cpT9iBPEwNh3wPA1z6BAOfj0Rd+XVtgYkAJKNF8AHUUeY5gy5xMQFukvU
         gJIw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:cc;
        bh=0OyWr5LaDJSDDZKLd4+bGOty4YxjJT4jW++vJv/WrgU=;
        b=bUopSkBILdPJIgIh6TTVEaFq/jws0ek3t6r3YyFkL0cn27U8Dx8JT/Ry18bL5PD65e
         9wI8tnKm9Bnm4uRAcGi6xVsab9z0I1FWkwB0Zp6vRzufNmL6Mza+7uiIzlYE+YFPyYP5
         7XsJwlJM5Z/qe2THaOLpeqHPsa5YsgVzZ0yugXhsN3Rc4mp0Dkp0SCkr8J/KCBWq2ThP
         oeqvUrGJ86KCV894E6cuHp54srNu3Xpp+QmIl8rZjylmqMSAOqIYd8F9lWHf5pS7rNTg
         c3h94ojb78wdm93AQmziLBfFr78fNbdMgDnsr1SMD+vZrtPkxhfijfpA4BYSH6T62HWf
         insQ==
X-Gm-Message-State: AOAM531LUkAW1mLUaL07EY8ws3Ow1QblT3tAkHl9KefxRVlWjt+R9gT/
	rb8GCCICY+1/vOO9ikOi8mhcq3wBouuDdKZJFqYGX+5QtccZRg==
X-Google-Smtp-Source: ABdhPJzuSl9tNZUGVD/Coq3vMljzzUbiYqvBqO+yPQdtpYhvDicy8Su+HZdDb57RU1L0ftETefVxrroo/EIQjHZh2kg=
X-Received: by 2002:a9d:1c86:: with SMTP id l6mr9334262ota.319.1614088989396;
 Tue, 23 Feb 2021 06:03:09 -0800 (PST)
MIME-Version: 1.0
References: <20201215081913.23823-1-simon.kuenzer@neclab.eu> <20201215081913.23823-3-simon.kuenzer@neclab.eu>
In-Reply-To: <20201215081913.23823-3-simon.kuenzer@neclab.eu>
From: Daniel Dinca <dincadaniel97@gmail.com>
Date: Tue, 23 Feb 2021 16:02:58 +0200
Message-ID: <CALjJXS5xTGAXC6dfmM-_FYDSaGwJKVZp_OBKMB4HtygZxprKug@mail.gmail.com>
Subject: Re: [UNIKRAFT/LIBPTHREAD-EMBEDDED PATCH 2/3] Initialize
 pthread-embedded as early as possible
To: Simon Kuenzer <simon.kuenzer@neclab.eu>
Cc: minios-devel@lists.xen.org
Content-Type: multipart/alternative; boundary="000000000000da24eb05bc0160ee"

--000000000000da24eb05bc0160ee
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Needs rebasing apart from that looks good.
Reviewed-by: Daniel Dinca <dincadaniel97@gmail.com>

=C3=8En mar., 15 dec. 2020 la 10:19, Simon Kuenzer <simon.kuenzer@neclab.eu=
> a
scris:

> Because other Unikraft libraries may create threads, we
> initialize pthread-embedded within the early init class.
>
> Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
> ---
>  pte_osal.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/pte_osal.c b/pte_osal.c
> index 6b4ebd7..d475e2c 100644
> --- a/pte_osal.c
> +++ b/pte_osal.c
> @@ -74,7 +74,7 @@ static int pthread_initcall(void)
>                 initialized =3D true;
>         return result;
>  }
> -uk_lib_initcall(pthread_initcall);
> +uk_early_initcall_prio(pthread_initcall, UK_PRIO_EARLIEST);
>
>  pte_osResult pte_osInit(void)
>  {
> --
> 2.20.1
>
>

--000000000000da24eb05bc0160ee
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Needs rebasing apart from that looks good.<br><div></div><=
div>Reviewed-by: Daniel Dinca &lt;<a href=3D"mailto:dincadaniel97@gmail.com=
" target=3D"_blank">dincadaniel97@gmail.com</a>&gt;</div></div><br><div cla=
ss=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">=C3=8En mar., 15 d=
ec. 2020 la 10:19, Simon Kuenzer &lt;<a href=3D"mailto:simon.kuenzer@neclab=
.eu">simon.kuenzer@neclab.eu</a>&gt; a scris:<br></div><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2=
04,204,204);padding-left:1ex">Because other Unikraft libraries may create t=
hreads, we<br>
initialize pthread-embedded within the early init class.<br>
<br>
Signed-off-by: Simon Kuenzer &lt;<a href=3D"mailto:simon.kuenzer@neclab.eu"=
 target=3D"_blank">simon.kuenzer@neclab.eu</a>&gt;<br>
---<br>
=C2=A0pte_osal.c | 2 +-<br>
=C2=A01 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/pte_osal.c b/pte_osal.c<br>
index 6b4ebd7..d475e2c 100644<br>
--- a/pte_osal.c<br>
+++ b/pte_osal.c<br>
@@ -74,7 +74,7 @@ static int pthread_initcall(void)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 initialized =3D tru=
e;<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 return result;<br>
=C2=A0}<br>
-uk_lib_initcall(pthread_initcall);<br>
+uk_early_initcall_prio(pthread_initcall, UK_PRIO_EARLIEST);<br>
<br>
=C2=A0pte_osResult pte_osInit(void)<br>
=C2=A0{<br>
-- <br>
2.20.1<br>
<br>
</blockquote></div>

--000000000000da24eb05bc0160ee--


From minios-devel-bounces@lists.xenproject.org Tue Feb 23 14:03:47 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Tue, 23 Feb 2021 14:03:47 +0000
Received: from list by lists.xenproject.org with outflank-mailman.88799.167138 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lEYHz-00012g-Od; Tue, 23 Feb 2021 14:03:47 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 88799.167138; Tue, 23 Feb 2021 14:03:47 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lEYHz-00012Z-Lj; Tue, 23 Feb 2021 14:03:47 +0000
Received: by outflank-mailman (input) for mailman id 88799;
 Tue, 23 Feb 2021 14:03:46 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=K/OD=HZ=gmail.com=dincadaniel97@srs-us1.protection.inumbo.net>)
 id 1lEYHy-00012T-II
 for minios-devel@lists.xen.org; Tue, 23 Feb 2021 14:03:46 +0000
Received: from mail-oi1-x232.google.com (unknown [2607:f8b0:4864:20::232])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 0d9e28d1-8e5e-4b2e-aaa3-93168dfa0287;
 Tue, 23 Feb 2021 14:03:45 +0000 (UTC)
Received: by mail-oi1-x232.google.com with SMTP id h17so17693669oih.5
 for <minios-devel@lists.xen.org>; Tue, 23 Feb 2021 06:03:45 -0800 (PST)
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 0d9e28d1-8e5e-4b2e-aaa3-93168dfa0287
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:references:in-reply-to:from:date:message-id:subject:to
         :cc;
        bh=RAhr+bdX45uVjuENffT9bYSXdPR7zG/wqc2tho9MK9I=;
        b=jwLZPpqgGWhXGqrDXk42P1q1xQQx6u32EfSBagrkOeL5evPZreJMj3AIJ+zLfWrOuA
         rvoId2iskcoi+Y5S+sbejpXrrYdOxOqYNkLrYTWLSTpTea2wzbNNxaWBNV45AcQIOTcN
         LXEYwjUbIRcUFxmW3Rt4vduoFeX54lRq9kth7V9EZjY26Y1Bdi8f3ZNYjsMHtqvHjSUk
         BDGKvT+bbCCBSMP8uSgaAx/h53HXU7TUSky+xu54+uoi1ZEZvx603MXK1auwEVpZ+Our
         uhfZpqXtZaLN+RW91uju2kGl9/lM8eEBBu8hqsPxMP5tHMZ+0QZ4w8yefaO3EguxelRQ
         4YYw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:cc;
        bh=RAhr+bdX45uVjuENffT9bYSXdPR7zG/wqc2tho9MK9I=;
        b=XP7bxGhHp8zTO4Tqi9QbN+Bz04Y88YmtUtoxxhnVlD24tK1bxwJnp7nz+Y+1SmWvxI
         lFFSQyKcNG080UTCuSv8umBoA8ESO1GDeL8Ugzlhf/e9yCy/xgM6J8fk3bj8opXynsHZ
         qGm1XSsFZqI4VaoiT8KlgFaZ3b3St/3LwzphoVH2vsA+LEBk/4wq7q1agJ/MNi3jGvtz
         aJ8CWDmmrKYRzpE/RcxMUNC+RlgKcdl+rDim8x6mCf6wSwck7K8wNndXKI8n/6ghDSea
         HBV6wXYnJSOb9bmr2PNiS94S/bqdKRG8vrLrdeel3WoHf5cZ1ym7evPk/oud2EJP6pG+
         nKug==
X-Gm-Message-State: AOAM531/9muhfFyaWNfhmxyTFwtVqen3rkvpImMyY7uNzL0XJorEi+4F
	EI+eTbBXwgAVShZFkgVD7PYTuWX/sti7g/e1z/Q=
X-Google-Smtp-Source: ABdhPJy8dc5AlpRqjPuqoqSkKykor2GBxpAY2zO+fSeBv3xNIad2Xp++kkV609SxwoyOXsuCByjAqkTSZsrkvSo000o=
X-Received: by 2002:a05:6808:157:: with SMTP id h23mr10156897oie.9.1614089025427;
 Tue, 23 Feb 2021 06:03:45 -0800 (PST)
MIME-Version: 1.0
References: <20201215081913.23823-1-simon.kuenzer@neclab.eu> <20201215081913.23823-4-simon.kuenzer@neclab.eu>
In-Reply-To: <20201215081913.23823-4-simon.kuenzer@neclab.eu>
From: Daniel Dinca <dincadaniel97@gmail.com>
Date: Tue, 23 Feb 2021 16:03:34 +0200
Message-ID: <CALjJXS5bhHkdLYs=KSk_WUhwY22UGaUQ-dJOqd_BMijgHSC-UA@mail.gmail.com>
Subject: Re: [UNIKRAFT/LIBPTHREAD-EMBEDDED PATCH 3/3] No warning when
 assigning thread starters
To: Simon Kuenzer <simon.kuenzer@neclab.eu>
Cc: minios-devel@lists.xen.org
Content-Type: multipart/alternative; boundary="000000000000ff1d0105bc016266"

--000000000000ff1d0105bc016266
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Looks good.
Reviewed-by: Daniel Dinca <dincadaniel97@gmail.com>

=C3=8En mar., 15 dec. 2020 la 10:19, Simon Kuenzer <simon.kuenzer@neclab.eu=
> a
scris:

> Suppresses a compiler warning that happens with code that assigns
> thread starters.
>
> Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
> ---
>  Makefile.uk | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/Makefile.uk b/Makefile.uk
> index 4ee37cd..1ab7c6a 100644
> --- a/Makefile.uk
> +++ b/Makefile.uk
> @@ -63,6 +63,9 @@ LIBPTHREAD-EMBEDDED_CXXFLAGS-y +=3D
> $(LIBPTHREAD-EMBEDDED_SUPPRESS_FLAGS)
>  # OS dependencies code - Glue between Unikraft and pthread-embedded
>
>  ########################################################################=
########
>  LIBPTHREAD-EMBEDDED_SRCS-y +=3D $(LIBPTHREAD-EMBEDDED_BASE)/pte_osal.c|g=
lue
> +LIBPTHREAD-EMBEDDED_PTE_OSAL_GLUE_FLAGS-$(call gcc_version_ge,5,0) +=3D
> -Wno-incompatible-pointer-types
> +LIBPTHREAD-EMBEDDED_PTE_OSAL_GLUE_FLAGS-$(call gcc_version_ge,8,0) +=3D
> -Wno-cast-function-type
> +
>  LIBPTHREAD-EMBEDDED_SRCS-y +=3D
> $(LIBPTHREAD-EMBEDDED_BASE)/attributes.c|glue
>  LIBPTHREAD-EMBEDDED_SRCS-y +=3D
> $(LIBPTHREAD-EMBEDDED_BASE)/pthread_atfork.c|glue
>  LIBPTHREAD-EMBEDDED_SRCS-y +=3D
> $(LIBPTHREAD-EMBEDDED_BASE)/pthread_sigmask.c|glue
> --
> 2.20.1
>
>

--000000000000ff1d0105bc016266
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Looks good.<br><div></div><div>Reviewed-by: Daniel Dinca &=
lt;<a href=3D"mailto:dincadaniel97@gmail.com" target=3D"_blank">dincadaniel=
97@gmail.com</a>&gt;</div></div><br><div class=3D"gmail_quote"><div dir=3D"=
ltr" class=3D"gmail_attr">=C3=8En mar., 15 dec. 2020 la 10:19, Simon Kuenze=
r &lt;<a href=3D"mailto:simon.kuenzer@neclab.eu">simon.kuenzer@neclab.eu</a=
>&gt; a scris:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">S=
uppresses a compiler warning that happens with code that assigns<br>
thread starters.<br>
<br>
Signed-off-by: Simon Kuenzer &lt;<a href=3D"mailto:simon.kuenzer@neclab.eu"=
 target=3D"_blank">simon.kuenzer@neclab.eu</a>&gt;<br>
---<br>
=C2=A0Makefile.uk | 3 +++<br>
=C2=A01 file changed, 3 insertions(+)<br>
<br>
diff --git a/Makefile.uk b/Makefile.uk<br>
index 4ee37cd..1ab7c6a 100644<br>
--- a/Makefile.uk<br>
+++ b/Makefile.uk<br>
@@ -63,6 +63,9 @@ LIBPTHREAD-EMBEDDED_CXXFLAGS-y +=3D $(LIBPTHREAD-EMBEDDED=
_SUPPRESS_FLAGS)<br>
=C2=A0# OS dependencies code - Glue between Unikraft and pthread-embedded<b=
r>
=C2=A0#####################################################################=
###########<br>
=C2=A0LIBPTHREAD-EMBEDDED_SRCS-y +=3D $(LIBPTHREAD-EMBEDDED_BASE)/pte_osal.=
c|glue<br>
+LIBPTHREAD-EMBEDDED_PTE_OSAL_GLUE_FLAGS-$(call gcc_version_ge,5,0) +=3D -W=
no-incompatible-pointer-types<br>
+LIBPTHREAD-EMBEDDED_PTE_OSAL_GLUE_FLAGS-$(call gcc_version_ge,8,0) +=3D -W=
no-cast-function-type<br>
+<br>
=C2=A0LIBPTHREAD-EMBEDDED_SRCS-y +=3D $(LIBPTHREAD-EMBEDDED_BASE)/attribute=
s.c|glue<br>
=C2=A0LIBPTHREAD-EMBEDDED_SRCS-y +=3D $(LIBPTHREAD-EMBEDDED_BASE)/pthread_a=
tfork.c|glue<br>
=C2=A0LIBPTHREAD-EMBEDDED_SRCS-y +=3D $(LIBPTHREAD-EMBEDDED_BASE)/pthread_s=
igmask.c|glue<br>
-- <br>
2.20.1<br>
<br>
</blockquote></div>

--000000000000ff1d0105bc016266--


From minios-devel-bounces@lists.xenproject.org Sun Feb 28 19:16:57 2021
Return-path: <minios-devel-bounces@lists.xenproject.org>
Envelope-to: archives@lists.xenproject.org
Delivery-date: Sun, 28 Feb 2021 19:16:57 +0000
Received: from list by lists.xenproject.org with outflank-mailman.91178.172261 (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lGRYl-0003EK-31; Sun, 28 Feb 2021 19:16:55 +0000
X-Outflank-Mailman: Message body and most headers restored to incoming version
Received: by outflank-mailman (output) from mailman id 91178.172261; Sun, 28 Feb 2021 19:16:55 +0000
Received: from localhost ([127.0.0.1] helo=lists.xenproject.org)
	by lists.xenproject.org with esmtp (Exim 4.92)
	(envelope-from <minios-devel-bounces@lists.xenproject.org>)
	id 1lGRYl-0003ED-01; Sun, 28 Feb 2021 19:16:55 +0000
Received: by outflank-mailman (input) for mailman id 91178;
 Sun, 28 Feb 2021 19:16:53 +0000
Received: from us1-rack-iad1.inumbo.com ([172.99.69.81])
 by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from
 <SRS0=fmyY=H6=gmail.com=2309bmcristi@srs-us1.protection.inumbo.net>)
 id 1lGRYj-0003E8-9h
 for minios-devel@lists.xen.org; Sun, 28 Feb 2021 19:16:53 +0000
Received: from mail-pf1-x435.google.com (unknown [2607:f8b0:4864:20::435])
 by us1-rack-iad1.inumbo.com (Halon) with ESMTPS
 id 1d749b62-c84d-423f-bedd-8bbd2369ecb6;
 Sun, 28 Feb 2021 19:16:50 +0000 (UTC)
Received: by mail-pf1-x435.google.com with SMTP id r5so9993663pfh.13
 for <minios-devel@lists.xen.org>; Sun, 28 Feb 2021 11:16:50 -0800 (PST)
Received: from sonic313-20.consmr.mail.gq1.yahoo.com
 (sonic313-20.consmr.mail.gq1.yahoo.com. [98.137.65.83])
 by smtp.gmail.com with ESMTPSA id ha8sm10363071pjb.6.2021.02.28.11.16.48
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 28 Feb 2021 11:16:48 -0800 (PST)
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic313.consmr.mail.gq1.yahoo.com with HTTP; Sun, 28 Feb 2021 19:16:48 +0000
X-BeenThere: minios-devel@lists.xenproject.org
List-Id: Mini-os development list <minios-devel.lists.xenproject.org>
List-Unsubscribe: <https://lists.xenproject.org/mailman/options/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=unsubscribe>
List-Post: <mailto:minios-devel@lists.xenproject.org>
List-Help: <mailto:minios-devel-request@lists.xenproject.org?subject=help>
List-Subscribe: <https://lists.xenproject.org/mailman/listinfo/minios-devel>, 
 <mailto:minios-devel-request@lists.xenproject.org?subject=subscribe>
Errors-To: minios-devel-bounces@lists.xenproject.org
Precedence: list
Sender: "Minios-devel" <minios-devel-bounces@lists.xenproject.org>
X-Inumbo-ID: 1d749b62-c84d-423f-bedd-8bbd2369ecb6
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=date:from:reply-to:to:message-id:subject:mime-version:references;
        bh=2qziUVKu5MKEufWuSgf127OAzDAzu22smSaEls24a7I=;
        b=DswEpIiU049geTyfbFCZ4KjGebfbCy2esKbdZ6Q1PUW8uaNqrjg1RXgdtRFkEgl/iN
         PYxVZvqicvz/pXpS1Z9zuyl1lzYDClzpGe/n5N7MvzCXLh7YVNf0GEJ4uHf1hb9kp0Qo
         5VEpq348WqAMygRG1cEoiCaJM0TC1u0SSlGP1logTl2tx/foS52yBz5znrRXW1Ut5iOn
         D51YYsrxHB3OFfQP+PsqL8Hg3PQT75eaEk0WBmonsfKkHw+6/d6bB0CuBAapiPqHDVka
         VgliIOz4iKFDtRgpRF5Zlea9uIHPzxGoy1A8PKNXgH16Tb2kFD/Iems4UgCcKRw8RZDs
         JqYw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:date:from:reply-to:to:message-id:subject
         :mime-version:references;
        bh=2qziUVKu5MKEufWuSgf127OAzDAzu22smSaEls24a7I=;
        b=MpoP5fXITdWGNFPk6irkPu6QvYgc/ZegMm2/6+P0b6l63i5WK8jDYcRIoRXbdWmsl3
         pUT8Wj1Az4xXitAfET3vHP/dg+KUu70idIFX719UhOVsuq0u5lRmNg1TNMsytQeY8WTL
         PURsAW1fEW6thFS22LYElbyo6Mc3wKQjVmT+H3J2G9e+0y/PPoCCnK5CgasjSVzvAlQO
         1uFlKbbkwFeYucPz6tArlJlXV0WMGii3xmlrOLAOgYPzPaH3DXSvU/cy9iaHNWnsFNI4
         7f/J6tHzwhUcSf3PaOMZbS68T52SZlkCWlcZRq4FeypvMoVnAAR3n0wvIESXpmbmC4rE
         rI9g==
X-Gm-Message-State: AOAM530thPWo5qGBhToMoqE0oaKmPX7oxJdJEFotlfFmCqL9rzXUr29Z
	mAc45gIvt+UTTrJ1K3jRddk=
X-Google-Smtp-Source: ABdhPJy0rikkHX2LWlfSjgqZyKulXQN/kXVPZu+3BI1oSvgxjmGoUXPGa245CWfoBD1M0MIIBo+X5g==
X-Received: by 2002:a63:ef53:: with SMTP id c19mr10836222pgk.78.1614539809334;
        Sun, 28 Feb 2021 11:16:49 -0800 (PST)
X-YMail-OSG: WPQuN4kVM1kNenp620ZLermskYdpXqXhiral1dA35pcFkGIarGX_SwYrGysoujk
 L2xaAHAUqpC18m_CR0lQrjZRMV3CYap73Qnmm1aTUcY9p_.t9LjYvRf.8z6cijW8FeimM7TN6Ocn
 LYXC_MAN_2ngQ0EX2bdUwz2FqmJw.nV5tShCK.JwJfT._VFQL24Wzq646RF8D4rzQV6AqEUFSJ__
 GLYY73xDb0SGQ0a63V7UQ.Bmcu5zRgZ_W7vFeshr_ISFsX.p_OM71TLnTFqYGsaLOqFFRYAjxAmz
 VdRnadXqIQjnAsD6irG6r2aLuKHuoG04OWQpQxDPpYUmEA6Q_UaokA_oaMSKWX5HqZhHsKQFFPTq
 tcjaw332r8aNMyV7Iqv1UVByiag.svLHpXCP4E7FMWTccZZmvxmfQmcyQC1kvkA7u70wxfHTANUu
 SHipGmq2_inb7jXDIlMqPXoZHvvWoFseIrV0pNNApJgOF2qLWazAKIdurC_sLJTQ.8G3Ld2i8gDS
 ckwqFrKLgy29s_sfAia7WhPcp7vmDDFoaHkHWaSoX0KW_s932BfUjDId76YwE1zEUNze5HrE78db
 5BVz1HyzKVkZtJjY4upgn8Nsmu3rU5zRk4L0SdsrCBXlWX8aXbKF86fUJcM4mKmuH.WzMUFCJbKh
 FbO84gQJVZd2aHVukMqO7aItWB0.P5K5ePsBAUlwiakQknMYcwSYDVkUk11ugMgf8yMzElzqfQwQ
 9bbtylqrbGNguiqB6.HQeoGlByaI.W2VTpLyeKFgz58wdmfSfc4EDr9tmvM9HvgkVx.wD_oCN5_M
 CW5U97v31CcqG0J.opKhk05sok.p6Zv15od1U9eSr3WfmwkBeYYz0GJucvW6wTxbFHq1_jrHuB.b
 ezGbaQWhbtjbrywAYqy_YKFoI40RvORrS2MxS0yuVyi6IJO2XdRI0.OFTY9osS0y8GtBf9lkvGGl
 yqF8tt_K_xu2MpyqM4HaLxWz8T9Wc0nZOUpykICaYWoOwocuXBB2lz3kTfyXcUjNQ96brpI.4G2R
 9gfiyK3BGauXFrmRr63lOaz3NdfKy_rrvwAZ0wbkBsk9cWDo4zug9AEE1DihaVeXkK.iDvTX9qIu
 _um7paytxzhgQouQSjwND.R5XUaFkP6nQaZ1cjRJPzuvMJAZoaRCWrNY.gMu8.owSkUDiY_s7Cxw
 .hvsOl.UMvCQcu6UxPcFExhc9HMeELJ6ZhJYhn4vMhkUJd3eAzEZGtEjV.v1S2b5_F2Ayjm5PNsw
 nD_RDdkc.AFo3qKGjFgqWsvnlKpLHSW.3dYGhjqO6vL81IoEoyQXqhnIGp5WZa17SkbXeGfHS9XN
 1eszQ8vChGtzkpa5h5L3k.tGZEG8Y4S2iXDKDA7WsqqC08sWgb9RVQs_li77tOm35K8eLdk7d8vs
 9q71H9IUavtJRL1XwSHs._8Mtrcaee.PR3o.ej317d0JBPyglRsLNw9m1xHEwlyb8okNbwhJNZFd
 uvHV_8242yFe..i9wadCJelRcKiYMe1llf9JzEGJhtYOjacZGZiZzctRbXWc7Kgp_cx5m3r6koza
 mwkMpxHniyLgvuvVPPtPs_WZegMYlQtjgIS9HhXOtNNUqmtzD9.hVpWV_42jXUVyzRXCZX9NZr5f
 X_Y0jk1I01Yh8Lo.dunpTVIO22u.8Xi6kdQtGGIQ2Cjgyxku.is60CgLTZe47UYs9ZzBLUAwNSEi
 hooRkpnLAtBk4X8MVGPEZYfKJZtslR7q_hO1aGoMdfwKBjIYH3FI9ttJHmGGPSPyftpne0upF8P8
 dUWRx8kyWT6g8lrzCdM.I594ym0UlFMZSmYexQNn47maoak.2Q0u7VGEvZN8aVmJMjxQfkn.7C_n
 5vTUBMbRVVrWhsFuLT8vv.wOhCWVSLhyaIOXgr7z2pHq.S5IluNAd3fEtHHyxN7XCDkTdlAIXRcb
 _MoAaDML_xtwS0s91XNTFnQgmWNn7KrPNfRLvfB5H35tdRuJa1bJnGfIb3QSFVbypp3zXTZZFoUl
 eGuwV8TwkLGy9BnfrUhifliLlIpsFALfiuNoJgwrWfygEg4rvlRgkN_B8.UZ35pCzvpGf4V3TRQp
 DYWiiJFiMb1g54wjDzVWqf7lBjyCxx7NSBg7Sq.hjsHlIKCYL7CPIvi_WJCpV60XB3FAA_XtWB8H
 zutCcgPNBzp8FJ2JIaeTvtHwVyyyNEdeQ1q44l_6m4Isxqrrl5rdAsYtUGcEGyXjVsKeRFIRmlpw
 fp0JcIPUc.oYAZsWkEzcAj1QnNWxqMiPRQuM_nI7QpeGkxYrOlyHpITTQSaXo9CMXp3kB8wPTaoj
 Fm4BtloqpR6qYVa8eNuS8AoGRMvrehBf.aLONiOMcbMilMKgBd87GY3dn6AW3f6R0mao6ilsgwPd
 AlErKksEJDJGeWOrDJ6PvNXgqMUmxCfrkLArF4ANKk4fCiUJH3d05b36cNIby5Apo98pMq7i0ZVk
 ajUhJVdFURlT2DAUNheBsOunM.Kk_MSL5w6muG53kMDwFoWzsA.I0TgTCPT53rRAOA13jSX2Ealn
 iPXBo9_pQxXLT.fatZV8fz1M1hFRaoyVhjKVZTf_YIv5627NiJ04D2ZsOLNeoha6elphK.2WmEOj
 lVBPyKv7mSB09
X-Sonic-MF: <2309bmcristi@gmail.com>
Date: Sun, 28 Feb 2021 19:15:56 +0000 (UTC)
From: "2309bmcristi@gmail.com" <2309bmcristi@gmail.com>
Reply-To: "2309bmcristi@gmail.com" <2309bmcristi@gmail.com>
To: Simon Kuenzer <simon.kuenzer@neclab.eu>, 
	"minios-devel@lists.xen.org" <minios-devel@lists.xen.org>
Message-ID: <878872242.577398.1614539756042@mail.yahoo.com>
Subject: Re: [UNIKRAFT PATCH 1/2] Add support for compilation of D sources
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_577397_213561079.1614539756038"
References: <878872242.577398.1614539756042.ref@mail.yahoo.com>
X-Mailer: WebService/1.1.17828 YMailNorrin Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36
Content-Length: 38559

------=_Part_577397_213561079.1614539756038
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hello,

I am really sorry for taking so much to respond.
At least from what I know, the situation looks something like this:
There is the option of using the gdc D compiler, which does not have an exp=
licit support for a subset of the language that would work without the runt=
ime (although it does allow for not including the standard or runtime libra=
ries in the build, but making the build actually work is another story); si=
nce this is a gcc frontend, you can actually compile C sources with it, but=
 indeed, i believe it would not be of much help if it needs the runtime.
On the other hand, there is dmd -betterC, which doesn't need the runtime, b=
ut it doesn't seem to recognize C sources.
The resulting object files (from both gdc and dmd -betterC compilation of D=
 sources) can, without problems, be linked by gcc to other object files res=
ulted from C sources - something that already happens with this patch serie=
s.
The motivation of not wanting the runtime as a dependency for the core is c=
lear :) but, from what I understand, it is also not desirable to add compil=
ation support to the core even if the runtime is not needed, right? (more o=
f a curiosity, does this also mean that core components could not be re-wri=
tten in D?). If this is the case, I think would be most useful to look a li=
ttle bit more into how gdc behaves when removing the runtime (I didn't mana=
ge to get anywhere with this, but I believe Cosmin Ularu is looking into it=
) and if not, a language support library sounds good enough :)

Thank you,
CristiFrom: Simon Kuenzer <simon.kuenzer@neclab.eu>
Sent: Thursday, December 17, 2020 11:32:07 PM
To: Marius-Cristian Baciu <2309bmcristi@gmail.com>; minios-devel@lists.xen.=
org <minios-devel@lists.xen.org>
Subject: Re: [UNIKRAFT PATCH 1/2] Add support for compilation of D sources=
=C2=A0Hi Marius-Cristian,

thanks a lot for your work! I am actually wondering if we should rather=20
move this to a D language support library instead of maintaining it with=20
the core Unikraft repository - especially if a language runtime library=20
is anyway required (is this true?). It is also planned that we move the=20
GO compile rules out of the main repository. I am concerned that at some=20
point we have too many languages to maintain within the core Unikraft=20
repository. What do you think?
In general, a language support library, would have a file called=20
`Makefile.rules`. It will be automatically loaded by the build system=20
and you can take your compile rules for D sources there.

Sorry for this naive question (I am obviously not an D expert): Can the=20
D compiler be used to compile our C sources (e.g., by using the betterC=20
subset)? In such a case, we could provide a D compiler option with a=20
mechanism that is currently suggested for supporting clang compiler:
https://patchwork.unikraft.org/project/unikraft/list/?series=3D1584&state=
=3D*

In case that this could be even completely done without needing any=20
runtime library, then we should have enough justifaction to integrate D=20
support into the core repository.

Let me know what you think.

Thanks,

Simon

On 21.07.20 15:37, Marius-Cristian Baciu wrote:
> Use 'make D_COMPILER=3Dgdc' for compilation of programs using full-langua=
ge
> capabilities and 'make D_COMPILER=3Ddmd' for programs using the betterC s=
ubset
> ---
>=C2=A0=C2=A0 Makefile=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 15 =
+++++++++--
>=C2=A0=C2=A0 Makefile.uk=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 16 ++++++++++++
>=C2=A0=C2=A0 support/build/Makefile.rules | 48 +++++++++++++++++++++++++++=
++++++++-
>=C2=A0=C2=A0 3 files changed, 76 insertions(+), 3 deletions(-)
>=20
> diff --git a/Makefile b/Makefile
> index 725b012..493ac7b 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -277,6 +277,14 @@ GOCFLAGS :=3D
>=C2=A0=C2=A0 GOCFLAGS-y :=3D
>=C2=A0=C2=A0 GOCINCLUDES :=3D
>=C2=A0=C2=A0 GOCINCLUDES-y :=3D
> +DMDFLAGS :=3D
> +DMDFLAGS-y :=3D
> +DMDINCLUDES :=3D
> +DMDINCLUDES-y :=3D
> +GDCFLAGS :=3D
> +GDCFLAGS-y :=3D
> +GDCINCLUDES :=3D
> +GDCINCLUDES-y :=3D
>=C2=A0=C2=A0 DBGFLAGS :=3D
>=C2=A0=C2=A0 DBGFLAGS-y :=3D
>=C2=A0=C2=A0 LDFLAGS :=3D
> @@ -502,6 +510,8 @@ CC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :=3D $(CONFIG_CROSS_COMPILE)gcc
>=C2=A0=C2=A0 CPP=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :=3D $(CC=
)
>=C2=A0=C2=A0 CXX=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :=3D $(CP=
P)
>=C2=A0=C2=A0 GOC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :=3D $(CO=
NFIG_CROSS_COMPILE)gccgo-7
> +DMD=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :=3D $(CONFIG_=
CROSS_COMPILE)dmd
> +GDC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :=3D $(CONFIG_=
CROSS_COMPILE)gdc
>=C2=A0=C2=A0 AS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :=3D=
 $(CC)
>=C2=A0=C2=A0 AR=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :=3D=
 $(CONFIG_CROSS_COMPILE)gcc-ar
>=C2=A0=C2=A0 NM=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :=3D=
 $(CONFIG_CROSS_COMPILE)gcc-nm
> @@ -537,7 +547,7 @@ ASFLAGS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 +=3D -DCC_VERSION=3D$(CC_VERSION)
>=C2=A0=C2=A0 CFLAGS=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -DCC_VERSION=3D$(CC_VERSION)
>=C2=A0=C2=A0 CXXFLAGS=C2=A0=C2=A0=C2=A0 +=3D -DCC_VERSION=3D$(CC_VERSION)
>=C2=A0=C2=A0 GOCFLAGS=C2=A0=C2=A0=C2=A0 +=3D -DCC_VERSION=3D$(CC_VERSION)
> -
> +GDCFLAGS=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -DCC_VERSION=3D$(CC_VERSION)
>=C2=A0=C2=A0 # ensure $(BUILD_DIR)/kconfig, $(BUILD_DIR)/include and $(BUI=
LD_DIR)/include/uk exists
>=C2=A0=C2=A0 $(call mk_sub_build_dir,kconfig)
>=C2=A0=C2=A0 $(call mk_sub_build_dir,include)
> @@ -547,7 +557,8 @@ ASINCLUDES=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -I$(UK_GENERATED_INCLUDES)
>=C2=A0=C2=A0 CINCLUDES=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 +=3D -I$(UK_GENERATED_INCLUDES)
>=C2=A0=C2=A0 CXXINCLUDES=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 +=3D -I$(UK_GENERATED_INCLUDES)
>=C2=A0=C2=A0 GOCINCLUDES=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 +=3D -I$(UK_GENERATED_INCLUDES)
> -
> +DMDINCLUDES=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
+=3D -I$(UK_GENERATED_INCLUDES)
> +GDCINCLUDES=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =
+=3D -I$(UK_GENERATED_INCLUDES)
>=C2=A0=C2=A0 #############################################################=
###################
>=C2=A0=C2=A0 # Build rules
>=C2=A0=C2=A0 #############################################################=
###################
> diff --git a/Makefile.uk b/Makefile.uk
> index 3f01a25..5356fb2 100644
> --- a/Makefile.uk
> +++ b/Makefile.uk
> @@ -22,6 +22,13 @@ GOCFLAGS=C2=A0=C2=A0=C2=A0 +=3D -fno-stack-protector -=
fno-omit-frame-pointer -fno-tree-sra
>=C2=A0=C2=A0 GOCFLAGS=C2=A0=C2=A0=C2=A0 +=3D -fno-split-stack -Wall -Wextr=
a
>=C2=A0=C2=A0 GOCINCLUDES +=3D -nostdinc -nostdlib -I$(CONFIG_UK_BASE)/incl=
ude
>=C2=A0=C2=A0=20
> +DMDINCLUDES +=3D -I$(CONFIG_UK_BASE)/include
> +
> +GDCFLAGS=C2=A0=C2=A0=C2=A0 +=3D -U __linux__ -U __FreeBSD__ -U __sun__
> +GDCFLAGS=C2=A0=C2=A0=C2=A0 +=3D -fno-stack-protector -fno-omit-frame-poi=
nter -fno-tree-sra
> +GDCFLAGS=C2=A0=C2=A0=C2=A0 +=3D -fno-split-stack -Wall -Wextra
> +GDCINCLUDES +=3D -nostdinc -nostdlib -nophoboslib -I$(CONFIG_UK_BASE)/in=
clude
> +
>=C2=A0=C2=A0 # Set the text and data sections to be readable and writable.=
 Also,
>=C2=A0=C2=A0 # do not page-align the data segment. If the output format su=
pports
>=C2=A0=C2=A0 # Unix style magic numbers, mark the output as OMAGIC.
> @@ -31,22 +38,27 @@ LDFLAGS=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -nostdinc -nostd=
lib -Wl,--omagic -Wl,--build-id=3Dnone
>=C2=A0=C2=A0 CFLAGS-$(CONFIG_OPTIMIZE_NONE)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -O0 -fno-optimize-sibling-calls -=
fno-tree-vectorize
>=C2=A0=C2=A0 CXXFLAGS-$(CONFIG_OPTIMIZE_NONE)=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -O0 -fno-optimize-sibling-calls -fno-tree-=
vectorize
>=C2=A0=C2=A0 GOCFLAGS-$(CONFIG_OPTIMIZE_NONE)=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -O0 -fno-optimize-sibling-calls -fno-tree-=
vectorize
> +GDCFLAGS-$(CONFIG_OPTIMIZE_NONE)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 +=3D -O0 -fno-optimize-sibling-calls -fno-tree-vectorize
>=C2=A0=C2=A0 CFLAGS-$(CONFIG_OPTIMIZE_PERF)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -O2
>=C2=A0=C2=A0 CXXFLAGS-$(CONFIG_OPTIMIZE_PERF)=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -O2
>=C2=A0=C2=A0 GOCFLAGS-$(CONFIG_OPTIMIZE_PERF)=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -O2
> +GDCFLAGS-$(CONFIG_OPTIMIZE_PERF)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 +=3D -O2
>=C2=A0=C2=A0 CFLAGS-$(CONFIG_OPTIMIZE_SIZE)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -Os
>=C2=A0=C2=A0 CXXFLAGS-$(CONFIG_OPTIMIZE_SIZE)=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -Os
>=C2=A0=C2=A0 GOCFLAGS-$(CONFIG_OPTIMIZE_SIZE)=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -Os
> +GDCFLAGS-$(CONFIG_OPTIMIZE_SIZE)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 +=3D -Os
>=C2=A0=C2=A0=20
>=C2=A0=C2=A0 CFLAGS-$(CONFIG_OPTIMIZE_DEADELIM)=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0 +=3D -fdata-sections -ffunction-sections
>=C2=A0=C2=A0 CXXFLAGS-$(CONFIG_OPTIMIZE_DEADELIM)=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 +=3D -fdata-sections -ffunction-sections
>=C2=A0=C2=A0 GOCFLAGS-$(CONFIG_OPTIMIZE_DEADELIM)=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0 +=3D -fdata-sections -ffunction-sections
> +GDCFLAGS-$(CONFIG_OPTIMIZE_DEADELIM)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D =
-fdata-sections -ffunction-sections
>=C2=A0=C2=A0 LDFLAGS-$(CONFIG_OPTIMIZE_DEADELIM)=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 +=3D -Wl,--gc-sections
>=C2=A0=C2=A0=20
>=C2=A0=C2=A0 # LTO requires the compiler flags to be handed over also for =
linking
>=C2=A0=C2=A0 CFLAGS-$(CONFIG_OPTIMIZE_LTO)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -flto
>=C2=A0=C2=A0 CXXFLAGS-$(CONFIG_OPTIMIZE_LTO)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -flto
>=C2=A0=C2=A0 GOCFLAGS-$(CONFIG_OPTIMIZE_LTO)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D -flto
> +GDCFLAGS-$(CONFIG_OPTIMIZE_LTO)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 +=3D -flto
>=C2=A0=C2=A0 LIBLDFLAGS-$(CONFIG_OPTIMIZE_LTO)=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0 +=3D $(CFLAGS) $(CFLAGS-y)
>=C2=A0=C2=A0 LDFLAGS-$(CONFIG_OPTIMIZE_LTO)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D $(CFLAGS) $(CFLAGS-y)
>=C2=A0=C2=A0=20
> @@ -67,6 +79,9 @@ CXXFLAGS +=3D -DUK_FULLVERSION=3D$(UK_FULLVERSION)
>=C2=A0=C2=A0 GOCFLAGS +=3D -D __Unikraft__ -DUK_CODENAME=3D"$(UK_CODENAME)=
"
>=C2=A0=C2=A0 GOCFLAGS +=3D -DUK_VERSION=3D$(UK_VERSION).$(UK_SUBVERSION)
>=C2=A0=C2=A0 GOCFLAGS +=3D -DUK_FULLVERSION=3D$(UK_FULLVERSION)
> +GDCFLAGS +=3D -D __Unikraft__ -DUK_CODENAME=3D"$(UK_CODENAME)"
> +GDCFLAGS +=3D -DUK_VERSION=3D$(UK_VERSION).$(UK_SUBVERSION)
> +GDCFLAGS +=3D -DUK_FULLVERSION=3D$(UK_FULLVERSION)
>=C2=A0=C2=A0 M4FLAGS=C2=A0 +=3D -D __Unikraft__ -DUK_CODENAME=3D"$(UK_CODE=
NAME)"
>=C2=A0=C2=A0 M4FLAGS=C2=A0 +=3D -DUK_VERSION=3D$(UK_VERSION).$(UK_SUBVERSI=
ON)
>=C2=A0=C2=A0=20
> @@ -77,5 +92,6 @@ ASFLAGS-$(call gcc_version_ge,6,1)=C2=A0 +=3D -no-pie
>=C2=A0=C2=A0 CFLAGS-$(call gcc_version_ge,6,1)=C2=A0=C2=A0 +=3D -no-pie
>=C2=A0=C2=A0 CXXFLAGS-$(call gcc_version_ge,6,1) +=3D -no-pie
>=C2=A0=C2=A0 GOFLAGS-$(call gcc_version_ge,6,1)=C2=A0 +=3D -no-pie
> +GDCFLAGS-$(call gcc_version_ge,6,1)=C2=A0 +=3D -no-pie
>=C2=A0=C2=A0 LIBLDFLAGS-$(call gcc_version_ge,6,1)=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0 +=3D -no-pie
>=C2=A0=C2=A0 LDFLAGS-$(call gcc_version_ge,6,1)=C2=A0 +=3D -no-pie
> diff --git a/support/build/Makefile.rules b/support/build/Makefile.rules
> index a13180a..65cc155 100644
> --- a/support/build/Makefile.rules
> +++ b/support/build/Makefile.rules
> @@ -464,6 +464,51 @@ $(eval $(call vprefix_lib,$(1),OBJS-y) +=3D $(3))
>=C2=A0=C2=A0 $(eval $(call vprefix_lib,$(1),CLEAN-y) +=3D $(call build_cle=
an,$(3)) $(call out2dep,$(3)))
>=C2=A0=C2=A0 endef
>=C2=A0=C2=A0=20
> +define buildrule_dmd =3D
> +$(3): $(2) | prepare
> +=C2=A0=C2=A0=C2=A0=C2=A0 $(call build_cmd,DMD,$(1),$(3),\
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 $(DMD) -betterC $(DMDINCLUDES) $(DMDINCLUDES-y) \
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $($(call vprefix_lib,$(1),=
DMDINCLUDES)) $($(call vprefix_lib,$(1),DMDINCLUDES-y)) \
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0 $(DMDFLAGS) $(DMDFLAGS-y) $($(call vprefix_lib,$(1=
),DMDFLAGS)) \
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $($(c=
all vprefix_lib,$(1),DMDFLAGS-y)) \
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $(2) =
-c -od=3D$(dir $(3))
> +=C2=A0=C2=A0=C2=A0=C2=A0 )
> +
> +UK_SRCS-y +=3D $(2)
> +UK_DEPS-y +=3D $(call out2dep,$(3))
> +UK_OBJS-y +=3D $(3)
> +$(eval $(call vprefix_lib,$(1),OBJS-y) +=3D $(3))
> +$(eval $(call vprefix_lib,$(1),CLEAN-y) +=3D $(call build_clean,$(3)) $(=
call out2dep,$(3)))
> +endef
> +
> +define buildrule_gdc =3D
> +$(3): $(2) | prepare
> +=C2=A0=C2=A0=C2=A0=C2=A0 $(call build_cmd,GDC,$(1),$(3),\
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
 $(GDC) $(GDCINCLUDES) $(GDCINCLUDES-y) \
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $($(call vprefix_lib,$(1),=
GDCINCLUDES)) $($(call vprefix_lib,$(1),GDCINCLUDES-y)) \
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $(GDCFLAGS) $(GDCFLAGS-y) =
$(DBGFLAGS) $(DBGFLAGS-y) \
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $($(call vprefix_lib,$(1),=
GDCFLAGS)) $($(call vprefix_lib,$(1),GDCFLAGS-y)) \
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $(4) -D__LIBNAME__=3D$(1) =
-D__BASENAME__=3D$(notdir $(2)) \
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -c $(2) -o $(3) $(depflags=
)
> +=C2=A0=C2=A0=C2=A0=C2=A0 )
> +
> +UK_SRCS-y +=3D $(2)
> +UK_DEPS-y +=3D $(call out2dep,$(3))
> +UK_OBJS-y +=3D $(3)
> +$(eval $(call vprefix_lib,$(1),OBJS-y) +=3D $(3))
> +$(eval $(call vprefix_lib,$(1),CLEAN-y) +=3D $(call build_clean,$(3)) $(=
call out2dep,$(3)))
> +endef
> +
> +ifeq ($(D_COMPILER),dmd)
> +=C2=A0=C2=A0=C2=A0 define buildrule_d =3D
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $(buildrule_dmd)
> +=C2=A0=C2=A0=C2=A0 endef
> +else
> +=C2=A0=C2=A0=C2=A0 define buildrule_d =3D
> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 $(buildrule_gdc)
> +=C2=A0=C2=A0=C2=A0 endef
> +endif
> +
>=C2=A0=C2=A0 define add_lds_to_plat =3D
>=C2=A0=C2=A0 $(eval $(call uc,$(2))_LD_SCRIPT-y +=3D $(1))
>=C2=A0=C2=A0 endef
> @@ -544,8 +589,9 @@ $(if $(filter %.CPP,=C2=A0 $(2)),$(call buildrule_cc =
,$(1),$(2),$(3),$(4)),\
>=C2=A0=C2=A0 $(if $(filter %.c++,=C2=A0 $(2)),$(call buildrule_cc ,$(1),$(=
2),$(3),$(4)),\
>=C2=A0=C2=A0 $(if $(filter %.C,=C2=A0=C2=A0=C2=A0 $(2)),$(call buildrule_c=
c ,$(1),$(2),$(3),$(4)),\
>=C2=A0=C2=A0 $(if $(filter %.go,=C2=A0=C2=A0 $(2)),$(call buildrule_go ,$(=
1),$(2),$(3),$(4)),\
> +$(if $(filter %.d,=C2=A0=C2=A0 $(2)),$(call buildrule_d ,$(1),$(2),$(3),=
$(4)),\
>=C2=A0=C2=A0 $(error $(3): missing build rule for source type $(suffix $(2=
))) \
> -)))))))))))))))
> +))))))))))))))))
>=C2=A0=C2=A0 endef
>=C2=A0=C2=A0=20
>=C2=A0=C2=A0=20
>=20

------=_Part_577397_213561079.1614539756038
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div dir=3D"ltr" data-setdir=3D"false">Hello,<br><=
br></div><div dir=3D"ltr" data-setdir=3D"false">I am really sorry for takin=
g so much to respond.<br>At least from what I know, the situation looks som=
ething like this:<br>There is the option of using the gdc D compiler, which=
 does not have an explicit support for a subset of the language that would =
work without the runtime (although it does allow for not including the stan=
dard or runtime libraries in the build, but making the build actually work =
is another story); since this is a gcc frontend, you can actually compile C=
 sources with it, but indeed, i believe it would not be of much help if it =
needs the runtime.<br>On the other hand, there is dmd -betterC, which doesn=
't need the runtime, but it doesn't seem to recognize C sources.<br>The res=
ulting object files (from both gdc and dmd -betterC compilation of D source=
s) can, without problems, be linked by gcc to other object files resulted f=
rom C sources - something that already happens with this patch series.<br>T=
he motivation of not wanting the runtime as a dependency for the core is cl=
ear :) but, from what I understand, it is also not desirable to add compila=
tion support to the core even if the runtime is not needed, right? (more of=
 a curiosity, does this also mean that core components could not be re-writ=
ten in D?). If this is the case, I think would be most useful to look a lit=
tle bit more into how gdc behaves when removing the runtime (I didn't manag=
e to get anywhere with this, but I believe Cosmin Ularu is looking into it)=
 and if not, a language support library sounds good enough :)<br><br>Thank =
you,<br>Cristi</div><div class=3D"ydpc1c23004yahoo-style-wrap" style=3D"fon=
t-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div=
 id=3D"ydpc1c23004yiv0016861428"></div></div><div class=3D"yiv0016861428yqt=
6387873365" id=3D"yiv0016861428yqt54928"><div>
<hr style=3D"display:inline-block;width:98%;" tabindex=3D"-1">
<div dir=3D"ltr" id=3D"yiv0016861428divRplyFwdMsg"><font face=3D"Calibri, s=
ans-serif" style=3D"font-size:11pt;" color=3D"#000000"><b>From:</b> Simon K=
uenzer &lt;simon.kuenzer@neclab.eu&gt;<br clear=3D"none">
<b>Sent:</b> Thursday, December 17, 2020 11:32:07 PM<br clear=3D"none">
<b>To:</b> Marius-Cristian Baciu &lt;2309bmcristi@gmail.com&gt;; minios-dev=
el@lists.xen.org &lt;minios-devel@lists.xen.org&gt;<br clear=3D"none">
<b>Subject:</b> Re: [UNIKRAFT PATCH 1/2] Add support for compilation of D s=
ources</font>
<div>&nbsp;</div>
</div>
<div class=3D"yiv0016861428BodyFragment"><font size=3D"2"><span style=3D"fo=
nt-size:11pt;">
</span></font><div class=3D"yiv0016861428PlainText">Hi Marius-Cristian,<br =
clear=3D"none">
<br clear=3D"none">
thanks a lot for your work! I am actually wondering if we should rather <br=
 clear=3D"none">
move this to a D language support library instead of maintaining it with <b=
r clear=3D"none">
the core Unikraft repository - especially if a language runtime library <br=
 clear=3D"none">
is anyway required (is this true?). It is also planned that we move the <br=
 clear=3D"none">
GO compile rules out of the main repository. I am concerned that at some <b=
r clear=3D"none">
point we have too many languages to maintain within the core Unikraft <br c=
lear=3D"none">
repository. What do you think?<br clear=3D"none">
In general, a language support library, would have a file called <br clear=
=3D"none">
`Makefile.rules`. It will be automatically loaded by the build system <br c=
lear=3D"none">
and you can take your compile rules for D sources there.<br clear=3D"none">
<br clear=3D"none">
Sorry for this naive question (I am obviously not an D expert): Can the <br=
 clear=3D"none">
D compiler be used to compile our C sources (e.g., by using the betterC <br=
 clear=3D"none">
subset)? In such a case, we could provide a D compiler option with a <br cl=
ear=3D"none">
mechanism that is currently suggested for supporting clang compiler:<br cle=
ar=3D"none">
<a rel=3D"nofollow noopener noreferrer" shape=3D"rect" target=3D"_blank" hr=
ef=3D"https://patchwork.unikraft.org/project/unikraft/list/?series=3D1584&a=
mp;state=3D*">https://patchwork.unikraft.org/project/unikraft/list/?series=
=3D1584&amp;state=3D*</a><br clear=3D"none">
<br clear=3D"none">
In case that this could be even completely done without needing any <br cle=
ar=3D"none">
runtime library, then we should have enough justifaction to integrate D <br=
 clear=3D"none">
support into the core repository.<br clear=3D"none">
<br clear=3D"none">
Let me know what you think.<br clear=3D"none">
<br clear=3D"none">
Thanks,<br clear=3D"none">
<br clear=3D"none">
Simon<br clear=3D"none">
<br clear=3D"none">
On 21.07.20 15:37, Marius-Cristian Baciu wrote:<br clear=3D"none">
&gt; Use 'make D_COMPILER=3Dgdc' for compilation of programs using full-lan=
guage<br clear=3D"none">
&gt; capabilities and 'make D_COMPILER=3Ddmd' for programs using the better=
C subset<br clear=3D"none">
&gt; ---<br clear=3D"none">
&gt;&nbsp;&nbsp; Makefile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 15=
 +++++++++--<br clear=3D"none">
&gt;&nbsp;&nbsp; Makefile.uk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 16 ++++++++++++<b=
r clear=3D"none">
&gt;&nbsp;&nbsp; support/build/Makefile.rules | 48 ++++++++++++++++++++++++=
+++++++++++-<br clear=3D"none">
&gt;&nbsp;&nbsp; 3 files changed, 76 insertions(+), 3 deletions(-)<br clear=
=3D"none">
&gt; <br clear=3D"none">
&gt; diff --git a/Makefile b/Makefile<br clear=3D"none">
&gt; index 725b012..493ac7b 100644<br clear=3D"none">
&gt; --- a/Makefile<br clear=3D"none">
&gt; +++ b/Makefile<br clear=3D"none">
&gt; @@ -277,6 +277,14 @@ GOCFLAGS :=3D<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCFLAGS-y :=3D<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCINCLUDES :=3D<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCINCLUDES-y :=3D<br clear=3D"none">
&gt; +DMDFLAGS :=3D<br clear=3D"none">
&gt; +DMDFLAGS-y :=3D<br clear=3D"none">
&gt; +DMDINCLUDES :=3D<br clear=3D"none">
&gt; +DMDINCLUDES-y :=3D<br clear=3D"none">
&gt; +GDCFLAGS :=3D<br clear=3D"none">
&gt; +GDCFLAGS-y :=3D<br clear=3D"none">
&gt; +GDCINCLUDES :=3D<br clear=3D"none">
&gt; +GDCINCLUDES-y :=3D<br clear=3D"none">
&gt;&nbsp;&nbsp; DBGFLAGS :=3D<br clear=3D"none">
&gt;&nbsp;&nbsp; DBGFLAGS-y :=3D<br clear=3D"none">
&gt;&nbsp;&nbsp; LDFLAGS :=3D<br clear=3D"none">
&gt; @@ -502,6 +510,8 @@ CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=3D $(CONFIG_CROSS_COMPILE)gcc<=
br clear=3D"none">
&gt;&nbsp;&nbsp; CPP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=3D $=
(CC)<br clear=3D"none">
&gt;&nbsp;&nbsp; CXX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=3D $=
(CPP)<br clear=3D"none">
&gt;&nbsp;&nbsp; GOC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=3D $=
(CONFIG_CROSS_COMPILE)gccgo-7<br clear=3D"none">
&gt; +DMD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=3D $(CONF=
IG_CROSS_COMPILE)dmd<br clear=3D"none">
&gt; +GDC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=3D $(CONF=
IG_CROSS_COMPILE)gdc<br clear=3D"none">
&gt;&nbsp;&nbsp; AS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=
=3D $(CC)<br clear=3D"none">
&gt;&nbsp;&nbsp; AR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=
=3D $(CONFIG_CROSS_COMPILE)gcc-ar<br clear=3D"none">
&gt;&nbsp;&nbsp; NM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :=
=3D $(CONFIG_CROSS_COMPILE)gcc-nm<br clear=3D"none">
&gt; @@ -537,7 +547,7 @@ ASFLAGS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; +=3D -DCC_VERSION=3D$(CC_VERSION)<br clear=3D"none">
&gt;&nbsp;&nbsp; CFLAGS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -DCC_VERSION=3D$(CC_VERSION)<br clear=3D"no=
ne">
&gt;&nbsp;&nbsp; CXXFLAGS&nbsp;&nbsp;&nbsp; +=3D -DCC_VERSION=3D$(CC_VERSIO=
N)<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCFLAGS&nbsp;&nbsp;&nbsp; +=3D -DCC_VERSION=3D$(CC_VERSIO=
N)<br clear=3D"none">
&gt; -<br clear=3D"none">
&gt; +GDCFLAGS&nbsp;&nbsp;&nbsp;&nbsp; +=3D -DCC_VERSION=3D$(CC_VERSION)<br=
 clear=3D"none">
&gt;&nbsp;&nbsp; # ensure $(BUILD_DIR)/kconfig, $(BUILD_DIR)/include and $(=
BUILD_DIR)/include/uk exists<br clear=3D"none">
&gt;&nbsp;&nbsp; $(call mk_sub_build_dir,kconfig)<br clear=3D"none">
&gt;&nbsp;&nbsp; $(call mk_sub_build_dir,include)<br clear=3D"none">
&gt; @@ -547,7 +557,8 @@ ASINCLUDES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -I$(UK_GENERATED_INCLUDES)<br clear=3D"none=
">
&gt;&nbsp;&nbsp; CINCLUDES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; +=3D -I$(UK_GENERATED_INCLUDES)<br clear=3D"none">
&gt;&nbsp;&nbsp; CXXINCLUDES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; +=3D -I$(UK_GENERATED_INCLUDES)<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCINCLUDES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; +=3D -I$(UK_GENERATED_INCLUDES)<br clear=3D"none">
&gt; -<br clear=3D"none">
&gt; +DMDINCLUDES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; +=3D -I$(UK_GENERATED_INCLUDES)<br clear=3D"none">
&gt; +GDCINCLUDES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; +=3D -I$(UK_GENERATED_INCLUDES)<br clear=3D"none">
&gt;&nbsp;&nbsp; ##########################################################=
######################<br clear=3D"none">
&gt;&nbsp;&nbsp; # Build rules<br clear=3D"none">
&gt;&nbsp;&nbsp; ##########################################################=
######################<br clear=3D"none">
&gt; diff --git a/Makefile.uk b/Makefile.uk<br clear=3D"none">
&gt; index 3f01a25..5356fb2 100644<br clear=3D"none">
&gt; --- a/Makefile.uk<br clear=3D"none">
&gt; +++ b/Makefile.uk<br clear=3D"none">
&gt; @@ -22,6 +22,13 @@ GOCFLAGS&nbsp;&nbsp;&nbsp; +=3D -fno-stack-protecto=
r -fno-omit-frame-pointer -fno-tree-sra<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCFLAGS&nbsp;&nbsp;&nbsp; +=3D -fno-split-stack -Wall -We=
xtra<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCINCLUDES +=3D -nostdinc -nostdlib -I$(CONFIG_UK_BASE)/i=
nclude<br clear=3D"none">
&gt;&nbsp;&nbsp; <br clear=3D"none">
&gt; +DMDINCLUDES +=3D -I$(CONFIG_UK_BASE)/include<br clear=3D"none">
&gt; +<br clear=3D"none">
&gt; +GDCFLAGS&nbsp;&nbsp;&nbsp; +=3D -U __linux__ -U __FreeBSD__ -U __sun_=
_<br clear=3D"none">
&gt; +GDCFLAGS&nbsp;&nbsp;&nbsp; +=3D -fno-stack-protector -fno-omit-frame-=
pointer -fno-tree-sra<br clear=3D"none">
&gt; +GDCFLAGS&nbsp;&nbsp;&nbsp; +=3D -fno-split-stack -Wall -Wextra<br cle=
ar=3D"none">
&gt; +GDCINCLUDES +=3D -nostdinc -nostdlib -nophoboslib -I$(CONFIG_UK_BASE)=
/include<br clear=3D"none">
&gt; +<br clear=3D"none">
&gt;&nbsp;&nbsp; # Set the text and data sections to be readable and writab=
le. Also,<br clear=3D"none">
&gt;&nbsp;&nbsp; # do not page-align the data segment. If the output format=
 supports<br clear=3D"none">
&gt;&nbsp;&nbsp; # Unix style magic numbers, mark the output as OMAGIC.<br =
clear=3D"none">
&gt; @@ -31,22 +38,27 @@ LDFLAGS&nbsp;&nbsp;&nbsp;&nbsp; +=3D -nostdinc -no=
stdlib -Wl,--omagic -Wl,--build-id=3Dnone<br clear=3D"none">
&gt;&nbsp;&nbsp; CFLAGS-$(CONFIG_OPTIMIZE_NONE)&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -O0 -fno-optimize-sibling-calls=
 -fno-tree-vectorize<br clear=3D"none">
&gt;&nbsp;&nbsp; CXXFLAGS-$(CONFIG_OPTIMIZE_NONE)&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -O0 -fno-optimize-sibling-calls -fno-tree=
-vectorize<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCFLAGS-$(CONFIG_OPTIMIZE_NONE)&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -O0 -fno-optimize-sibling-calls -fno-tree=
-vectorize<br clear=3D"none">
&gt; +GDCFLAGS-$(CONFIG_OPTIMIZE_NONE)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; +=3D -O0 -fno-optimize-sibling-calls -fno-tree-vectorize<=
br clear=3D"none">
&gt;&nbsp;&nbsp; CFLAGS-$(CONFIG_OPTIMIZE_PERF)&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -O2<br clear=3D"none">
&gt;&nbsp;&nbsp; CXXFLAGS-$(CONFIG_OPTIMIZE_PERF)&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -O2<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCFLAGS-$(CONFIG_OPTIMIZE_PERF)&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -O2<br clear=3D"none">
&gt; +GDCFLAGS-$(CONFIG_OPTIMIZE_PERF)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; +=3D -O2<br clear=3D"none">
&gt;&nbsp;&nbsp; CFLAGS-$(CONFIG_OPTIMIZE_SIZE)&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -Os<br clear=3D"none">
&gt;&nbsp;&nbsp; CXXFLAGS-$(CONFIG_OPTIMIZE_SIZE)&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -Os<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCFLAGS-$(CONFIG_OPTIMIZE_SIZE)&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -Os<br clear=3D"none">
&gt; +GDCFLAGS-$(CONFIG_OPTIMIZE_SIZE)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; +=3D -Os<br clear=3D"none">
&gt;&nbsp;&nbsp; <br clear=3D"none">
&gt;&nbsp;&nbsp; CFLAGS-$(CONFIG_OPTIMIZE_DEADELIM)&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp; +=3D -fdata-sections -ffunction-sections<br clear=3D"non=
e">
&gt;&nbsp;&nbsp; CXXFLAGS-$(CONFIG_OPTIMIZE_DEADELIM)&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; +=3D -fdata-sections -ffunction-sections<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCFLAGS-$(CONFIG_OPTIMIZE_DEADELIM)&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; +=3D -fdata-sections -ffunction-sections<br clear=3D"none">
&gt; +GDCFLAGS-$(CONFIG_OPTIMIZE_DEADELIM)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +=
=3D -fdata-sections -ffunction-sections<br clear=3D"none">
&gt;&nbsp;&nbsp; LDFLAGS-$(CONFIG_OPTIMIZE_DEADELIM)&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; +=3D -Wl,--gc-sections<br clear=3D"none">
&gt;&nbsp;&nbsp; <br clear=3D"none">
&gt;&nbsp;&nbsp; # LTO requires the compiler flags to be handed over also f=
or linking<br clear=3D"none">
&gt;&nbsp;&nbsp; CFLAGS-$(CONFIG_OPTIMIZE_LTO)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -flto<br clear=3D"none">
&gt;&nbsp;&nbsp; CXXFLAGS-$(CONFIG_OPTIMIZE_LTO)&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -flto<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCFLAGS-$(CONFIG_OPTIMIZE_LTO)&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +=3D -flto<br clear=3D"none">
&gt; +GDCFLAGS-$(CONFIG_OPTIMIZE_LTO)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; +=3D -flto<br clear=3D"none">
&gt;&nbsp;&nbsp; LIBLDFLAGS-$(CONFIG_OPTIMIZE_LTO)&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; +=3D $(CFLAGS) $(CFLAGS-y)<br clear=3D"none">
&gt;&nbsp;&nbsp; LDFLAGS-$(CONFIG_OPTIMIZE_LTO)&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +=3D $(CFLAGS) $(CFLAGS-y)<br clear=
=3D"none">
&gt;&nbsp;&nbsp; <br clear=3D"none">
&gt; @@ -67,6 +79,9 @@ CXXFLAGS +=3D -DUK_FULLVERSION=3D$(UK_FULLVERSION)<b=
r clear=3D"none">
&gt;&nbsp;&nbsp; GOCFLAGS +=3D -D __Unikraft__ -DUK_CODENAME=3D"$(UK_CODENA=
ME)"<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCFLAGS +=3D -DUK_VERSION=3D$(UK_VERSION).$(UK_SUBVERSION=
)<br clear=3D"none">
&gt;&nbsp;&nbsp; GOCFLAGS +=3D -DUK_FULLVERSION=3D$(UK_FULLVERSION)<br clea=
r=3D"none">
&gt; +GDCFLAGS +=3D -D __Unikraft__ -DUK_CODENAME=3D"$(UK_CODENAME)"<br cle=
ar=3D"none">
&gt; +GDCFLAGS +=3D -DUK_VERSION=3D$(UK_VERSION).$(UK_SUBVERSION)<br clear=
=3D"none">
&gt; +GDCFLAGS +=3D -DUK_FULLVERSION=3D$(UK_FULLVERSION)<br clear=3D"none">
&gt;&nbsp;&nbsp; M4FLAGS&nbsp; +=3D -D __Unikraft__ -DUK_CODENAME=3D"$(UK_C=
ODENAME)"<br clear=3D"none">
&gt;&nbsp;&nbsp; M4FLAGS&nbsp; +=3D -DUK_VERSION=3D$(UK_VERSION).$(UK_SUBVE=
RSION)<br clear=3D"none">
&gt;&nbsp;&nbsp; <br clear=3D"none">
&gt; @@ -77,5 +92,6 @@ ASFLAGS-$(call gcc_version_ge,6,1)&nbsp; +=3D -no-pi=
e<br clear=3D"none">
&gt;&nbsp;&nbsp; CFLAGS-$(call gcc_version_ge,6,1)&nbsp;&nbsp; +=3D -no-pie=
<br clear=3D"none">
&gt;&nbsp;&nbsp; CXXFLAGS-$(call gcc_version_ge,6,1) +=3D -no-pie<br clear=
=3D"none">
&gt;&nbsp;&nbsp; GOFLAGS-$(call gcc_version_ge,6,1)&nbsp; +=3D -no-pie<br c=
lear=3D"none">
&gt; +GDCFLAGS-$(call gcc_version_ge,6,1)&nbsp; +=3D -no-pie<br clear=3D"no=
ne">
&gt;&nbsp;&nbsp; LIBLDFLAGS-$(call gcc_version_ge,6,1)&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; +=3D -no-pie<br clear=3D"none">
&gt;&nbsp;&nbsp; LDFLAGS-$(call gcc_version_ge,6,1)&nbsp; +=3D -no-pie<br c=
lear=3D"none">
&gt; diff --git a/support/build/Makefile.rules b/support/build/Makefile.rul=
es<br clear=3D"none">
&gt; index a13180a..65cc155 100644<br clear=3D"none">
&gt; --- a/support/build/Makefile.rules<br clear=3D"none">
&gt; +++ b/support/build/Makefile.rules<br clear=3D"none">
&gt; @@ -464,6 +464,51 @@ $(eval $(call vprefix_lib,$(1),OBJS-y) +=3D $(3))=
<br clear=3D"none">
&gt;&nbsp;&nbsp; $(eval $(call vprefix_lib,$(1),CLEAN-y) +=3D $(call build_=
clean,$(3)) $(call out2dep,$(3)))<br clear=3D"none">
&gt;&nbsp;&nbsp; endef<br clear=3D"none">
&gt;&nbsp;&nbsp; <br clear=3D"none">
&gt; +define buildrule_dmd =3D<br clear=3D"none">
&gt; +$(3): $(2) | prepare<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp; $(call build_cmd,DMD,$(1),$(3),\<br clear=3D=
"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; $(DMD) -betterC $(DMDINCLUDES) $(DMDINCLUDES-y) \<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $($(call vprefix_lib,$(=
1),DMDINCLUDES)) $($(call vprefix_lib,$(1),DMDINCLUDES-y)) \<br clear=3D"no=
ne">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; $(DMDFLAGS) $(DMDFLAGS-y) $($(call vprefix_lib,=
$(1),DMDFLAGS)) \<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(=
$(call vprefix_lib,$(1),DMDFLAGS-y)) \<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(=
2) -c -od=3D$(dir $(3))<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp; )<br clear=3D"none">
&gt; +<br clear=3D"none">
&gt; +UK_SRCS-y +=3D $(2)<br clear=3D"none">
&gt; +UK_DEPS-y +=3D $(call out2dep,$(3))<br clear=3D"none">
&gt; +UK_OBJS-y +=3D $(3)<br clear=3D"none">
&gt; +$(eval $(call vprefix_lib,$(1),OBJS-y) +=3D $(3))<br clear=3D"none">
&gt; +$(eval $(call vprefix_lib,$(1),CLEAN-y) +=3D $(call build_clean,$(3))=
 $(call out2dep,$(3)))<br clear=3D"none">
&gt; +endef<br clear=3D"none">
&gt; +<br clear=3D"none">
&gt; +define buildrule_gdc =3D<br clear=3D"none">
&gt; +$(3): $(2) | prepare<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp; $(call build_cmd,GDC,$(1),$(3),\<br clear=3D=
"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; $(GDC) $(GDCINCLUDES) $(GDCINCLUDES-y) \<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $($(call vprefix_lib,$(=
1),GDCINCLUDES)) $($(call vprefix_lib,$(1),GDCINCLUDES-y)) \<br clear=3D"no=
ne">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(GDCFLAGS) $(GDCFLAGS-=
y) $(DBGFLAGS) $(DBGFLAGS-y) \<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $($(call vprefix_lib,$(=
1),GDCFLAGS)) $($(call vprefix_lib,$(1),GDCFLAGS-y)) \<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(4) -D__LIBNAME__=3D$(=
1) -D__BASENAME__=3D$(notdir $(2)) \<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -c $(2) -o $(3) $(depfl=
ags)<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp; )<br clear=3D"none">
&gt; +<br clear=3D"none">
&gt; +UK_SRCS-y +=3D $(2)<br clear=3D"none">
&gt; +UK_DEPS-y +=3D $(call out2dep,$(3))<br clear=3D"none">
&gt; +UK_OBJS-y +=3D $(3)<br clear=3D"none">
&gt; +$(eval $(call vprefix_lib,$(1),OBJS-y) +=3D $(3))<br clear=3D"none">
&gt; +$(eval $(call vprefix_lib,$(1),CLEAN-y) +=3D $(call build_clean,$(3))=
 $(call out2dep,$(3)))<br clear=3D"none">
&gt; +endef<br clear=3D"none">
&gt; +<br clear=3D"none">
&gt; +ifeq ($(D_COMPILER),dmd)<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp; define buildrule_d =3D<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(buildrule_dmd)<br clear=
=3D"none">
&gt; +&nbsp;&nbsp;&nbsp; endef<br clear=3D"none">
&gt; +else<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp; define buildrule_d =3D<br clear=3D"none">
&gt; +&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $(buildrule_gdc)<br clear=
=3D"none">
&gt; +&nbsp;&nbsp;&nbsp; endef<br clear=3D"none">
&gt; +endif<br clear=3D"none">
&gt; +<br clear=3D"none">
&gt;&nbsp;&nbsp; define add_lds_to_plat =3D<br clear=3D"none">
&gt;&nbsp;&nbsp; $(eval $(call uc,$(2))_LD_SCRIPT-y +=3D $(1))<br clear=3D"=
none">
&gt;&nbsp;&nbsp; endef<br clear=3D"none">
&gt; @@ -544,8 +589,9 @@ $(if $(filter %.CPP,&nbsp; $(2)),$(call buildrule_=
cc ,$(1),$(2),$(3),$(4)),\<br clear=3D"none">
&gt;&nbsp;&nbsp; $(if $(filter %.c++,&nbsp; $(2)),$(call buildrule_cc ,$(1)=
,$(2),$(3),$(4)),\<br clear=3D"none">
&gt;&nbsp;&nbsp; $(if $(filter %.C,&nbsp;&nbsp;&nbsp; $(2)),$(call buildrul=
e_cc ,$(1),$(2),$(3),$(4)),\<br clear=3D"none">
&gt;&nbsp;&nbsp; $(if $(filter %.go,&nbsp;&nbsp; $(2)),$(call buildrule_go =
,$(1),$(2),$(3),$(4)),\<br clear=3D"none">
&gt; +$(if $(filter %.d,&nbsp;&nbsp; $(2)),$(call buildrule_d ,$(1),$(2),$(=
3),$(4)),\<br clear=3D"none">
&gt;&nbsp;&nbsp; $(error $(3): missing build rule for source type $(suffix =
$(2))) \<br clear=3D"none">
&gt; -)))))))))))))))<br clear=3D"none">
&gt; +))))))))))))))))<br clear=3D"none">
&gt;&nbsp;&nbsp; endef<br clear=3D"none">
&gt;&nbsp;&nbsp; <br clear=3D"none">
&gt;&nbsp;&nbsp; <br clear=3D"none">
&gt; <br clear=3D"none">
</div>
</div>
</div></div></body></html>
------=_Part_577397_213561079.1614539756038--


