From owner-soc-status@freebsd.org Sun May 20 22:30:04 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77CD6EF2083 for ; Sun, 20 May 2018 22:30:04 +0000 (UTC) (envelope-from aniket.ezio41@gmail.com) Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DAC5374143; Sun, 20 May 2018 22:30:03 +0000 (UTC) (envelope-from aniket.ezio41@gmail.com) Received: by mail-wm0-f54.google.com with SMTP id w194-v6so22154362wmf.2; Sun, 20 May 2018 15:30:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=bQToKDr0bHhwSaqNYPdeDp2GS9EJJ02zsZ43Nkf9aqg=; b=FLUWHzdhPSrsY6EqHxQzfW3mkw8NVE97SIYeTJ0cW3ziXQbcg3xnG3w8SgOPQ7Ao6y wGCaBYTKRW3ewHJ7EHnnFCMZ2gwaZreSCJ6b+d1TCOb5nDJaRI8IicpZi98I8EAGjPAt F6jG+oaX1hSRveWVjcaF2A8SYxqLS5zT1GY0XshI1Euw4UV1ZegpayHCfm9gagMd6jvf wov+uHCY1DVZ1DoEqvVYjoMsw/yZM5g0QqMLq1VadfkHOscjpqJvwQ1mM+1WeQAKfeRo +J6mOBunaxC0Z0faR6A9HA/ff+OQ9ZcrEaBoIhmZeXP51652a7HgjMbdjrPCa5AM41C3 pK0A== X-Gm-Message-State: ALKqPweCbHg+U3PMhyMC4TSE6GcizIQlePvbMsVM/WTxFzqEvzJSe0ug COD/KxUA/Z2N4Fc+IYfzN05M7a8U X-Google-Smtp-Source: AB8JxZqT3Jv9EwBiXcSBEK71oeTfxz9L4jWASkunzjoe+XO++t/Wzjm3xsk+Xa18sijAg17/E0V65Q== X-Received: by 2002:a50:a722:: with SMTP id h31-v6mr20885150edc.288.1526854895259; Sun, 20 May 2018 15:21:35 -0700 (PDT) Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com. [74.125.82.42]) by smtp.gmail.com with ESMTPSA id b4-v6sm6355463edr.29.2018.05.20.15.21.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 May 2018 15:21:35 -0700 (PDT) Received: by mail-wm0-f42.google.com with SMTP id t11-v6so22312867wmt.0; Sun, 20 May 2018 15:21:34 -0700 (PDT) X-Received: by 2002:a1c:5403:: with SMTP id i3-v6mr8860674wmb.37.1526854894428; Sun, 20 May 2018 15:21:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.151.38 with HTTP; Sun, 20 May 2018 15:21:34 -0700 (PDT) From: Aniket Pandey Date: Mon, 21 May 2018 03:51:34 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSoC-18] Regression Test-Suite for Audit Framework [Week-1] To: soc-status@freebsd.org Cc: asomers@freebsd.org, robert.watson@cl.cam.ac.uk, gnn@neville-neil.com, gavin@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2018 22:30:04 -0000 Hello All, This project aims to develop a set of atf-c(3) test-cases for FreeBSD's audit subsystem such that it will be easier to automate the testing of Audit framework along with the entire operating system. The automation will be done by Kyua(1). I've been working on this project from late January and have made a considerable amount of progress since then. I'll list out the important highlights, breakthroughs and issues I've encountered along the way. * Initial attempt was to create a set of source files which would contain basic implementation of all common and recurring system calls in the audit records. Then I would develop an automation script which would check the presence of the system call along with the arguments, attributes, return status and possibly some other information. However, this approach was deprecated since FreeBSD already had Kyua(1) which could do the automation for me and had some really nice utility functions available. * On recommendation of Kristof and Alan, I switched to creating atf-c(3) test-cases for all system calls in various scenarios. However, considering the vast number of OpenBSM supported system calls and for the scope of the projectc, I planned on testing "success" and "failure" modes of each system call to ensure greater coverage. * Each test case would be independent, would launch auditd(8) if needed, would set local mode auditing using the defined preselection-parameters, check auditpipe(4) if it emitted the system call, and then conclude the tests. Detailed implementation details can be found in the Project Wiki. * Test-Suite organisation is to have one test-program per audit class, and have all its audit events within. (e.g file-create.c, file-attribute-access.c etc) Milestones: --------------- So far, I've been able to create 306 ATF test cases spanning over 6 test-programs for 62 system calls of ("fc", "fw", "fr", "fd", "fm", "fa" audit classes) and 5875 SLOC. The tests are currently passing and there general output can be seen here: https://pastebin.com/XHfAP6nH Bugs/Issues encountered: ---------------------------------- * Initially we had trouble with getting auditd(8) to properly start and basically it was creating a race condition within the test-cases. To resolve this, we had to poll(2) for "audit startup" and once it was confirmed, proceed with normal syscall testing. * After introducing the audit startup check, we encountered another problem with one of the libbsm(3) APIs, au_read_rec(3) which for some reason, returned corrupted records when checking for successful audit startup as a lot of other events were being generated too. To resolve this, we had to explicitly set the audit mask for local mode auditing as "ad" (for audit startup) * On trying to run the tests in FreeBSD-12 CURRENT when the auditd(8) is not already running, we encountered a reproducible kernel panic ( https://pastebin.com/u3DqGTS1), which was fixed by Alan in D15381 . * Some system calls like "lgetfh(2)" and "chflagsat(2)" were not being audited while syscalls like "getfh(2)" were audited as "nfs_getfh(2)". I've created a differential revision D15286 , which introduces the initial set of tests (24) for audit system. It is currently under review. I'll keep adding more test cases in the next week and hope to finish the remaining File-I/O audit events and complete tests for socket API. Bugs Reported -------------------- 1) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228374 2) https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226713 Differential Revisions ---------------------------- 1) https://reviews.freebsd.org/D15286 2) https://reviews.freebsd.org/D15381 (@asomers) ProjectWiki: https://wiki.freebsd.org/SummerOfCode2018Projects/RegressionTestSuiteForAuditFramework TestSuite Repo: https://github.com/aniketp/AuditTestSuite Socsvn branch: https://svnweb.freebsd.org/socsvn/soc2018/aniketp/head/ Thank You, With Best Regards, Aniket Pandey From owner-soc-status@freebsd.org Mon May 21 09:41:26 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1A9FCEEB4A4 for ; Mon, 21 May 2018 09:41:26 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: from mail-ot0-x22a.google.com (mail-ot0-x22a.google.com [IPv6:2607:f8b0:4003:c0f::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9EF8876A1C for ; Mon, 21 May 2018 09:41:25 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: by mail-ot0-x22a.google.com with SMTP id t1-v6so16127550ott.13 for ; Mon, 21 May 2018 02:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=D6KamWizXdDW4qGUYGaH+zf+aepvJPNEoNI1FUiZydk=; b=BoAPUHU8lvWbB9alzc4Jaanf/5ZE50iZCTwLZsZudWBqs6VcRb1xowR4Wv5JEtR/W5 JaqCknPArxgjhN24jqr9gJhaYt4QqD7PNGXbiQX7KaRJt/C/s6/GqxS/a/MrYG5s5PI1 WiVJKEcc1/qNbHjxjj4SyTZO72fgu3MaHJ+Wl+hYovAr9OKKz29KkCnBr3/IEFjJfrwB s/PxOrCKCs9AGib+tGjUAZatYsI1KybuxRzL4xs2kkXDb1ynMBH8KSYPbKfUeYRgpmqR MYUW3w7jlhdBuZTEDVjdTShQHXhH7rO3txthxAXvt2YyofvAVYsiwX6/7uwPqQMmGQ9S /NCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=D6KamWizXdDW4qGUYGaH+zf+aepvJPNEoNI1FUiZydk=; b=NgwMrGGu2SMZzlBNgYNi+9L8j/rOr5bJBOU/upXa28dKpL4IcA8Oe9nPD5Bv4MQqzg zLb7BKoa036roG2s3hHVmpLOoEH+kdZREJbwhcZ1GuAwIayNbdgCfliXHD4wpTzL6BjM 29OyUqPHpn6MLH+Ok8jPMx2t8YQvdr92IUXhixopKHkrpIcU6G8pcluzIQ7fYW60Z8Js 7amSKbSl5pZuceHohs7MYDdv/amKQKr1abqpxcstWbeUoPVcELnrd4VSJz9bRL+3hp+c 9IjZxEXDwraEGw+AHXypnDvIxCICdMj6NF/RBovdJCf09q7TGSE4uy4DVMYMfS2KXem7 U+7w== X-Gm-Message-State: ALKqPwetS6JbKbf7pAGKatggQtz5VYgv3atOETAroUWj1PZUGfEAxN2N mZfPM4tpLiV4Lje2u7louBLDYor1p+opY/sa+Tvo1w== X-Google-Smtp-Source: AB8JxZqN9STM4I0zP+I5P8Lbz+BpaytUssaxhDK6i2vMaZJeCGexgRzBoJpmPXQ5BED77RSHSgtM8osj5pz2H4GjMQU= X-Received: by 2002:a9d:38f6:: with SMTP id k51-v6mr12373107ote.120.1526895684261; Mon, 21 May 2018 02:41:24 -0700 (PDT) MIME-Version: 1.0 From: Lakhan Shiva Date: Mon, 21 May 2018 15:11:11 +0530 Message-ID: Subject: [GSOC] Converting PCI driver attachments to be table driven - weekly status report To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2018 09:41:26 -0000 My name is Lakhan Kamireddy and in this year's edition of GSoC I will work on converting PCI driver attachments to be table driven. I've created a wiki page where I've described the project and the milestones [1]. This week I've started preparing the development infrastructure. We're using GitHub as the platform to check-in GSoC code. I am currently checking code to a freebsd fork [2]. Next I've setup the FreeBSD VM - Current 12.0 [3] to build the code that i am planning to write. I was able to do a complete build of the world and then a kernel build. Thereafter, for every check-in, I have done an incremental kernel build to test the code. I have converted drivers like puc, bce, aac and ncr. I have categorized the drivers into three categories. One, trivial two, medium and three, hard depending on the complexity. Currently we have a devmatch infrastructure that looks at all unattached devices on the system and compares their plug and play data to that which has been recorded by kldxref and suggests modules to load. We need the drivers to decorate their PNP data in a certain way so that kldxref can find it and record it in linker hints. I am working on PCI drivers to make it easy for kldxref to find them. Thank you, Lakhan [1] https://wiki.freebsd.org/SummerOfCode2018Projects/ConvertPCIdriverAttachmentsToTables [2] https://github.com/lakhanshiva/freebsd/tree/lakhan-pnpinfo [3] http://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/12.0-CURRENT/ From owner-soc-status@freebsd.org Mon May 21 20:09:13 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EF7FEFD266 for ; Mon, 21 May 2018 20:09:13 +0000 (UTC) (envelope-from duostefano93@gmail.com) Received: from mail-it0-x22b.google.com (mail-it0-x22b.google.com [IPv6:2607:f8b0:4001:c0b::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9804B6E1D2 for ; Mon, 21 May 2018 20:09:12 +0000 (UTC) (envelope-from duostefano93@gmail.com) Received: by mail-it0-x22b.google.com with SMTP id q72-v6so22630842itc.0 for ; Mon, 21 May 2018 13:09:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=4BThApu51bYSY8eNACEWHPPh7jew8FUiDMGvytmqKio=; b=FtSjRxygnDDD3JHRj+AinODqXVr1NwkClfXwhKudPqQ1QtXhV4slW92mjqSgTLbPJJ Uds6/3yw0speuoAWoYLEqX9HytxJXwg+UacFWenwx/7HNPHOzXexDtViXumuf9XUW91+ ffEbcxhjitedMRsOQowb5B5ZQJdGyNA26DxOvBDW3DHAyN8Zt6xzzU1doraRUVMhIKbR KqRdQ1QpDQZaA1OQYvGPewdWnxQVCn71iNKRe5DrZTNxh/KoQwtswzDc5K2IRnWbDBWC ISd/76Pim7Wd5MeycXvBw+DRXt5styxe59k9VFwD6OB8msqNJHfwnp8F9swoSEpE0DMs y7bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4BThApu51bYSY8eNACEWHPPh7jew8FUiDMGvytmqKio=; b=PXc8/2wsNvUKkZ6K/1nNE0EibYNIckSWV/6K3dpErKL6EYBa0FqpIWBfvX0fGzaJ9N 2XBMiPPRWQ7OnT05+UdYrdVtN8wXHXXMX7JIEhUkFTy0U4JuLoUlv+VI6jVer2Dwk2Yu KWi9NH3pjVmabFIMuzRGk2Vo0wcgEE8nsEcIZsLF+iwLnUghZNybTENdU8eRkYG78dZG sf+Kl+4Hg1WDfmZwPr00QkjZJa5j0oDEsVFe9bZH2HX2tC/HsD2bv9QBHdzxddKwyVXe 8W0QJ3B6GFdiGE9b6R6RH7VxHm2fKTyhTX25g+BE/MQoJrb3A2wV+9yOdICcuxr+91Da JsbA== X-Gm-Message-State: ALKqPwdJtsftzyqIbK92uclzeJDk2QOSijdzjHX8nHy+/08RPkYF3xbk 35hqkxDxJyanHXQ3HLmg7z7neP349fKb9K9/NKox+Dvs X-Google-Smtp-Source: AB8JxZqm52k0zn/gS5n6XsiStXajjAqnQQ2g4SG+d9e7C9mucmp7v32iFpdWCYRs+xph3MUKbiwGEBE+axWXdRgr8vI= X-Received: by 2002:a24:8987:: with SMTP id s129-v6mr236748itd.129.1526933351481; Mon, 21 May 2018 13:09:11 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:985b:0:0:0:0:0 with HTTP; Mon, 21 May 2018 13:09:11 -0700 (PDT) From: Stefano Duo Date: Mon, 21 May 2018 22:09:11 +0200 Message-ID: Subject: Extension to the netmap framework - Week 1 To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2018 20:09:13 -0000 Hi, during the first week i developed a kernel module which creates an hardcoded vlan configuration. The configuration is created after receiving a write call on the device /dev/vale_vlan. Instead if a read call is received, the module tries to delete the hardcoded configuration. For each configuration, the module creates: a non modified VALE switch for every vlan, and a switch with a modified lookup function. The modified lookup function acts differently depending on the receiving port: - if it's an access port, the frame is tagged and forwarded to the trunk port. - if it's the trunk port, it reads the vlan id, untags the frame, and forwards it to the corresponding vlan switch. Furthermore, i created a new kernel configuration and modified sys/conf/files, so that the vale_vlan module can be compiled with the kernel. Project wiki: https://wiki.freebsd.org/SummerOfCode2018Projects/ExtensionsToNetmap SVN repository: https://svnweb.freebsd.org/socsvn/soc2018/sduo/ Stefano. From owner-soc-status@freebsd.org Tue May 22 02:21:45 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1AB0CED9AED for ; Tue, 22 May 2018 02:21:45 +0000 (UTC) (envelope-from mateus@mateus.tech) Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0115.outbound.protection.outlook.com [104.47.32.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 417F67D2F9 for ; Tue, 22 May 2018 02:21:43 +0000 (UTC) (envelope-from mateus@mateus.tech) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mateusrodrigueslive.onmicrosoft.com; s=selector1-mateus-tech; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FK4OAkA9VwPDSn/qn8+mHYDU/jXI+6z2OqHg4uaKDYA=; b=R1IcOuHLPeVO7WLrqoe1IiarpbTm9wiL0r81Txqk1bpsCFBzPJxQX8vcH6QO22HYKAkRs4HtpwW80SlXYE0X2pIuH9fVhFLO/XNqzFlVSr9yhm/+zJsWDjb+1ig3R4EH4kwL4lgL0yd5C7qvbK5SUORFhjfpsOSQHOxMH5Hrsok= Received: from CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM (10.171.53.11) by CP2P152MB0211.LAMP152.PROD.OUTLOOK.COM (10.171.24.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.776.11; Tue, 22 May 2018 02:21:39 +0000 Received: from CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM ([fe80::1599:7023:9d7a:9e51]) by CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM ([fe80::1599:7023:9d7a:9e51%2]) with mapi id 15.20.0776.015; Tue, 22 May 2018 02:21:38 +0000 From: Mateus Rodrigues de Morais To: "soc-status@freebsd.org" Subject: Porting Microsoft's CoreCLR, CoreFX, and PowerShell to FreeBSD and PowerShell to FreeBSD - Week 1 Thread-Topic: Porting Microsoft's CoreCLR, CoreFX, and PowerShell to FreeBSD and PowerShell to FreeBSD - Week 1 Thread-Index: AQHT8XIuh/M/k1Aq9E+2QIiWM4OMCg== Date: Tue, 22 May 2018 02:21:38 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=mateus@mateus.tech; x-originating-ip: [2804:54:18d0:c900:81d0:a18f:4869:c4e0] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CP2P152MB0211; 7:0Aksvh/kD1J8J/97d9Ahz+AlQ6KLY94Cva4r+7MM89KYFwoluadMtd0KredCoZeN+qaSRT/8+uP3sNkDezkymSwOaOt7o5jRboMVHLdUipJtMctFsNu47SHgjUcTxY6w3U4m7idKzw29WWSxsze9b/397OmUbIuZA3MeoAhPVQdcxiwt1s6AYbtGObqyoMhbADfOybz7HrwC2lT4gOB36Y3qfhiXSpWBMbBjTw0tBZadr5AohgwrZ4L92izTb4Ix x-ms-exchange-antispam-srfa-diagnostics: SOS; x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020); SRVR:CP2P152MB0211; x-ms-traffictypediagnostic: CP2P152MB0211: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(166708455590820)(21748063052155); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3231254)(2017060910176)(2017060905117)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(20161123558120)(2016111802025)(20161123560045)(20161123562045)(20161123564045)(6043046)(6072148)(201708071742011)(7699016); SRVR:CP2P152MB0211; BCL:0; PCL:0; RULEID:; SRVR:CP2P152MB0211; x-forefront-prvs: 0680FADD48 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(346002)(396003)(376002)(39380400002)(39830400003)(47530400004)(189003)(199004)(53754006)(33656002)(5660300001)(52230400001)(7696005)(46003)(97736004)(3280700002)(2906002)(74316002)(7736002)(486006)(2501003)(5250100002)(8936002)(3660700001)(476003)(99286004)(6116002)(6436002)(8676002)(45080400002)(9686003)(6916009)(86362001)(316002)(2900100001)(5640700003)(6506007)(186003)(106356001)(81156014)(102836004)(55016002)(966005)(25786009)(2351001)(6306002)(14454004)(81166006)(53936002)(59450400001)(478600001)(54896002)(105586002)(68736007)(27310500001); DIR:OUT; SFP:1102; SCL:1; SRVR:CP2P152MB0211; H:CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: mateus.tech does not designate permitted sender hosts) x-microsoft-antispam-message-info: o/ozc+rxJrrizeESKbnuIcfqsktQ2zv4dQ0+ec16DRSCZF/vdmEBt8uABWtjTANrCv0cLyENXJpdABV6F1ca+Wc3YkWz05GHU4mnFNKHQ3G+UXITh0a8sSkrGRneib4HkOP+mqubQaBYWRz7OvZhsHoLuz74HjFHcQwu0nykGcd0cxfEZK6VerynCUDo6BE6 spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 542a0fe1-b060-4ced-47eb-08d5bf8abfee X-OriginatorOrg: mateus.tech X-MS-Exchange-CrossTenant-Network-Message-Id: 542a0fe1-b060-4ced-47eb-08d5bf8abfee X-MS-Exchange-CrossTenant-originalarrivaltime: 22 May 2018 02:21:38.7898 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3cb2d6d7-8d6e-44b8-954d-3085729d2030 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CP2P152MB0211 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2018 02:21:45 -0000 Hello all, The goal of my project is to create a port of the .NET Core SDK and Runtime= for FreeBSD in order to build and create a PowerShell port as well. During this first week of work, I=92ve gotten in touch with the .NET commun= ity and the Microsoft team in order to gather information on how to put tog= ether a working runtime and SDK on FreeBSD as well as to check the progress= of past efforts of doing so. I created a GitHub issue over at the CoreCLR = repository to track my work and ask questions regarding the project [1]. Since then, I=92ve managed to gather a good amount of information which I= =92m going to work on this next week regarding putting together a bootstrap= .NET Core CLI that I can use to either build .NET Core itself or even Powe= rShell. If this proves successful, It=92ll be a huge first step toward proj= ect completion. Right now, I have the CoreCLR component building successful= ly on FreeBSD. [1]: https://github.com/dotnet/coreclr/issues/18067 Best, Mateus. From owner-soc-status@freebsd.org Tue May 22 10:07:06 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DC02EEEFF58 for ; Tue, 22 May 2018 10:07:06 +0000 (UTC) (envelope-from uddka@student.kit.edu) Received: from scc-mailout-kit-02.scc.kit.edu (scc-mailout-kit-02.scc.kit.edu [IPv6:2a00:1398:9:f712::810d:e752]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7A7516CF17 for ; Tue, 22 May 2018 10:07:06 +0000 (UTC) (envelope-from uddka@student.kit.edu) Received: from tr-v1239-fse.scc.kit.edu ([2a00:1398:e:28::2] helo=server-01.fs-etec.kit.edu) by scc-mailout-kit-02.scc.kit.edu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (envelope-from ) id 1fL4C5-0008H1-Ku for soc-status@freebsd.org; Tue, 22 May 2018 12:07:04 +0200 Received: from Chris-TP (unknown [IPv6:2001:7c7:20f7:4001:bc8d:1b04:e7df:9ad7]) by server-01.fs-etec.kit.edu (Postfix) with ESMTPSA id 8EDF615C7 for ; Tue, 22 May 2018 12:07:00 +0200 (CEST) Date: Tue, 22 May 2018 12:06:34 +0200 From: Christian =?ISO-8859-1?Q?Kr=E4mer?= To: soc-status@freebsd.org Subject: User space interface for GPIO interrupts / Status Report Week 1 Message-Id: <20180522120634.05263479f27c0783fe79482d@student.kit.edu> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2018 10:07:07 -0000 Dear all, during last week I implemented an initial version of the device driver that registers an interrupt on a specific GPIO pin and creates a character device as interface into the user space. The driver blocks any read() syscall until an interrupt on the monitored pin is triggered. The source code can be found on GitHub [1]. A very simple example of usage in the shell can look like this: $ cat /dev/gpiointr0 && echo Interrupt triggered The configuration is currently (still) static. While the actual pin is defined in the DTS file, the edge of the interrupt trigger is hard coded in the source of the driver). During this week I will start to implement the dynamic configuration of the driver during runtime and write some user space utilities for testing. Thanks, Chris [1] From owner-soc-status@freebsd.org Fri May 25 12:18:22 2018 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B4425EAB6C6 for ; Fri, 25 May 2018 12:18:22 +0000 (UTC) (envelope-from kristaps.civkulis@gmail.com) Received: from mail-oi0-x22e.google.com (mail-oi0-x22e.google.com [IPv6:2607:f8b0:4003:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 460217F492 for ; Fri, 25 May 2018 12:18:22 +0000 (UTC) (envelope-from kristaps.civkulis@gmail.com) Received: by mail-oi0-x22e.google.com with SMTP id t22-v6so943996oih.6 for ; Fri, 25 May 2018 05:18:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=CUkgz1F+3CUgBflDLhu8UhwC4TWuxt24ZHqMLavMko4=; b=nytMN1BwV0hKOCqd3gkcre1NEG9WuhHhmcIXwB6iSbxX7xI3togj3mKyeXX+VHi640 oX4w5LKUL4JQTYDvBvEEAmLD2GHBwKqRuVm/wycA4sRk1c8oK61Q3pnehFHDQx4Z7D7S BVsH/aVkqKCQZbAmFK+PLBmGnzF+OAfaxhYmpHq5KELAOKT/MIwYfvhg4epPWqcIlpie fid/HUKdmAHYVdyFMOHRoldSo0YiFH1nlYklJWgN+ex/nnT427k5FBiY+FzinvygEedh 81EZv/o1dB0EabYMAwPYU9q8xK2W5AnlK6Ml2KU5dA/XUd5jboJhe3pLner3fbFhUxPV QU4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=CUkgz1F+3CUgBflDLhu8UhwC4TWuxt24ZHqMLavMko4=; b=qcwYqvk0JNlOi5+I9yHP6jEd4Rk84xOxBHgg2+s+HlyhXgUPtMf48ZWl6V6HewzzlT ypc44fh0H8UUfSkoSQLSVyCFGbtz/E2S2rbDrU5ozGYE8udvfXwRpbIpiAYBsGPFbA+B qQAfqmrr2ZxEMgrc/x2zmz3JlZH3x9z1zyS9TLqtKsUOSEWONbZQ+b8zqwhy/mOeWg71 POibwugGn0Q/yRbiEVlSHYTjI2/LVAvcpquFvGo8dE0NzggAUjYBAV8SOAkMcDz+/QUQ eShiANDiVAoKBPbqXdkW18PHVZH41OqCELFmN6N4rhxkEPPqRRMJjdylHJDZ+q4q6Ey1 EtrQ== X-Gm-Message-State: ALKqPwdtezKATsWHuAK90ZJY6ZgkBej9GvxuL0yMf0/c8uBoKIbBcqXu DN89/V1LAdw3/LZkFglOiKb77/9+iBaxEVxLGBXLhA== X-Google-Smtp-Source: ADUXVKJG9YfXXzK88PNuCsuE3n4p4JPUj7e5TNU/VK91IXt6ujJr2LqxHqEmnylbX6A5eiLbGyPEn9Gns0Uo6hVyKoc= X-Received: by 2002:aca:2815:: with SMTP id 21-v6mr762136oix.268.1527250701384; Fri, 25 May 2018 05:18:21 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:48ce:0:0:0:0:0 with HTTP; Fri, 25 May 2018 05:18:20 -0700 (PDT) From: =?UTF-8?Q?Kristaps_=C4=8Civkulis?= Date: Fri, 25 May 2018 15:18:20 +0300 Message-ID: Subject: Enable FreeBSD/Xen Dom0 Support to FreeBSD EFI Loader [Week 1] To: soc-status@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2018 12:18:22 -0000 Hi, I have already set up my development infrastructure and established a workflow which seems convenient to me. I spent my first week exploring code and getting familiar with boot process. Except for various debug outputs I didn't produce any code during this week. I also started reading Multiboot2 Specification. My github repo: https://github.com/kristapuciitis/freebsd/tree/gsoc2018 Kristaps