[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH v3 0/3] lib/uksp: Introduce uksp library


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Wed, 4 Dec 2019 15:14:35 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • 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=ZiD1m2eUR11dS/GO3DABAWPFHRbeBxF0f1WV7vZFL7k=; b=JTrUPw80XMYjivCwNMBbL5wO9VL5jB03H0tDV/v/6VXVopfO/KM2se924cPtW7BPdAe5F7HFD1IFzcF6GBJRbMUNLcPxcf3qIesusR1XFjGsLCncakKITh0w+faaDipo0VtTOl2qSqCDY9WGIDc529qZQjSdvgCus8RSU/JI3D+Ml4ElECjLnw3MrfREOCK23yRFSjIBztxkn5HzRocKK0p6puecjKfvf3NHa9P0qxF1ZkqSKGPlozJ+IugPyskDoK8k+DslWv8/cUbU56e1GdHSTrAZtuAs9RXLyT0ojvRCL+aGwtux7gQ9o64Y23ThhEHoRFtF0uunxQF7dBlPRQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hHUeQMMM7+UXq72xOai2u6glY3FL52jDz4FgAU2eLrDwl7+twSBYCIXFUi3yPOOWqg84xhQ1rUrwX51O9AV+BLvTPxYDa/JBN2K+PGr0x3Zehw8qtxbZovLQYlANv7TGCg56CnGspnFgJo1ydcJf1pRKVpVuKNVTdxu2WE8mhgoQ+nd3fSf0J1viSnrB8NtMcdqyshLnj7HKq6bSL6hYbYV2hZCb60fvHjyYC0FGDYisgS4Xc4A7Q6jPyl+gm8oEfswNWCj9qlpG6VbQBbu67qJxbgHHLpRSxV4GAfvug8bHYjkXYOupVkS2qhM+7RLkohq12dy4272vIJERCD8UUw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>, "simon.kuenzer@xxxxxxxxx" <simon.kuenzer@xxxxxxxxx>, Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>, "sharan.santhanam@xxxxxxxxx" <sharan.santhanam@xxxxxxxxx>, "costin.lupu@xxxxxxxxx" <costin.lupu@xxxxxxxxx>
  • Delivery-date: Wed, 04 Dec 2019 15:14:43 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVqrWJDc1SGI+GGkaOL5GUUqO00g==
  • Thread-topic: [UNIKRAFT PATCH v3 0/3] lib/uksp: Introduce uksp library

Currently, we provide a basic implementation of stack smashing protection that
has a global value for all threads. The value is randomly initialized during the
boot. Finally, this option might help us detect bugs caused by stack overflows.

Changes since v1:
* We now use a choice based config option for the stack protector level. Since
the last version we added the regulat and strong stack protector options.

Changes since v2:
* Renamed the library to uksp

Vlad-Andrei BĂDOIU (78692) (3):
  lib/uksp: Introduce uksp library
  build: Add option to toggle the stack protection
  lib/ukboot: Initialize the canary value at boot

 Config.uk                              | 30 ++++++++++++++
 Makefile.uk                            | 13 +++++-
 lib/Makefile.uk                        |  1 +
 lib/ukboot/boot.c                      |  7 ++++
 lib/uksp/Config.uk                     |  4 ++
 lib/uksp/Makefile.uk                   |  5 +++
 lib/uksp/exportsyms.uk                 |  2 +
 lib/uksp/include/uksp/stackprotector.h | 56 ++++++++++++++++++++++++++
 lib/uksp/ssp.c                         | 43 ++++++++++++++++++++
 9 files changed, 159 insertions(+), 2 deletions(-)
 create mode 100644 lib/uksp/Config.uk
 create mode 100644 lib/uksp/Makefile.uk
 create mode 100644 lib/uksp/exportsyms.uk
 create mode 100644 lib/uksp/include/uksp/stackprotector.h
 create mode 100644 lib/uksp/ssp.c

-- 
2.20.1

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.