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

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


  • To: Simon Kuenzer <simon.kuenzer@xxxxxxxxx>, "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Mon, 27 Jan 2020 13:36:07 +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=CBh11FxKTsG2qZQy10KHYtQi6jEhufiyOHtt77xe/8A=; b=be9YmELLr2jbKe6Sgs2K5rWwD7BvR4X4lq6fk2T0Bq5uR3f6ltSFo35d0a6PEerBjdL2AMpNUNfDqZ0ZHV5/B7umAJV0TYmU4QI2RK5dX9X7/yWogBZRWj82xZcgUZ4XT2gszYADOXYuoXVBIv+3t4mmUxVZ0Y3GDzeUT22xOjPs45mQNsxP8IA9AWMbFppxyckITycUOuxKEYNkQTePCytkij+skjCjVz/h5qQiRFTQ5ZW4fM7k/qkVlhBYfxxZugF6tvstk8SbnrZb9lniyKaiR1G9qj0lBqewdM9GzykHkfF5j07rgZFFNtyOrcX6reSSBBeQ3Yc9XtwoOkXs/A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=be6uqDkzd8cfcSXCYJ0Hbn+WJZhYt/7UT8T5dOqLCVb0VeUBfAaiZc1u5XrNcKvFc3Fv47qp07CcHSZ7aRdSbyw65bhnhd7fBLu7Gtk17iicAHLswhsbTjcvrNuEd8oJiDQmEpWFPPZmqN0DldnG63ibdXybt3BJY/6sndzMBWQdyu8mweD5o2e8SbrPfehHJ1nrs48gBE96ra6WyA+wkIw9MqB4Dczs+8qn4GafUOV6awqPv+GOrI5X+NWjXkyzGmAJVt37YPsWZnOcHHsh2O8ocCLKTZn6yLk9EJT/dMKVmjYUo7Ly2vkaBS3AXa68sMfrkSRGIJYr2EwHRdrfBw==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>, "sharan.santhanam@xxxxxxxxx" <sharan.santhanam@xxxxxxxxx>, "costin.lupu@xxxxxxxxx" <costin.lupu@xxxxxxxxx>
  • Delivery-date: Mon, 27 Jan 2020 13:36:11 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVqrWJDc1SGI+GGkaOL5GUUqO00qffdAMAgB9juQA=
  • Thread-topic: [UNIKRAFT PATCH v3 0/3] lib/uksp: Introduce uksp library

Hey Simon,

The suggestions are great. I'll add them in the next version of the library.

Thanks,

Vlad

On 07.01.2020 16:14, Simon Kuenzer wrote:
> Hey Vlad,
>
> thanks a lot for your work! I have a few suggestions to make this 
> library even more independent and as an extra feature. Let me know 
> what you think. My hope is that alternative stack protection libraries 
> could be added without changes afterwards.
> I commented my idea in your patches.
>
> Thanks,
>
> Simon
>
> On 04.12.19 16:14, Vlad-Andrei BĂDOIU (78692) wrote:
>> 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
>>
_______________________________________________
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®.