From owner-soc-status@freebsd.org Mon Jun 4 03:19:47 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 771E4FE58F2 for ; Mon, 4 Jun 2018 03:19:47 +0000 (UTC) (envelope-from aniket.ezio41@gmail.com) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) (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 E63B26D340; Mon, 4 Jun 2018 03:19:46 +0000 (UTC) (envelope-from aniket.ezio41@gmail.com) Received: by mail-wm0-f47.google.com with SMTP id z6-v6so12429349wma.0; Sun, 03 Jun 2018 20:19:46 -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=Vy0t6311F3oXGTI3eGDAHUCwOvD0re1NoH3mJ3b75PA=; b=d1vOone8OnNfwvqE9R+XMxD1/BOcqTW+X6L/F8PKNS0+5ncVadDeSaLb5swohXNyxZ Wbv+hqJhDLOj4GkKNl/gMpJqTFI5kextUYLFswz9AUjIzaS4vFY1JdE5XNsy6pbEqDz3 CZqz/8DAF9PX4e+S1k+TWheqxVp7Ggh083GlMSkDsuDcBX/w21jdnyYajNFtWREy8EiD 67ejKmmDEOxhiIJGu/Ebyy6V8j/mA8H+kFtbs+O4+TrsyxU6zEBtC+p32v3kUE32Odyl 6WdhBMuo5TPkJ+nbXmPvkXlgvPbAIvRra4zXLXMnjCeNb9vWXYyGWWOLJ9l4RWZGU68V B3uA== X-Gm-Message-State: ALKqPwc7u5DNjK8G1YgSnXynKi7ree0/LHjogQ0qMApl7OioeNR2u3n8 HTb+JE0hRE5ZArD68Q7DLDySDDK1 X-Google-Smtp-Source: ADUXVKJuAWmb/FjhaS6ajyAxb4yCusD53K5L+5POs7ZyluYQUrb25B8vI5DBBXO7ZNyi1hyubPL/ow== X-Received: by 2002:a50:8244:: with SMTP id 62-v6mr12840101edf.204.1528082380210; Sun, 03 Jun 2018 20:19:40 -0700 (PDT) Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com. [74.125.82.52]) by smtp.gmail.com with ESMTPSA id b58-v6sm13473095edb.59.2018.06.03.20.19.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Jun 2018 20:19:39 -0700 (PDT) Received: by mail-wm0-f52.google.com with SMTP id p11-v6so11427045wmc.4; Sun, 03 Jun 2018 20:19:39 -0700 (PDT) X-Received: by 2002:a1c:3607:: with SMTP id d7-v6mr8527356wma.39.1528082379651; Sun, 03 Jun 2018 20:19:39 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a5d:4146:0:0:0:0:0 with HTTP; Sun, 3 Jun 2018 20:19:39 -0700 (PDT) From: Aniket Pandey Date: Mon, 4 Jun 2018 08:49:39 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSoC-18] Regression Test-Suite for Audit Framework [Week-3] To: soc-status@freebsd.org Cc: asomers@freebsd.org, George Neville-Neil , robert.watson@cl.cam.ac.uk, 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: Mon, 04 Jun 2018 03:19:47 -0000 Hello all, In the third week, as promised, I was able to finish off my proposed work of creating ATF-C test cases of all general auditable system calls as defined in audit_kevents.h header. Currently, a total of 504 test cases for 161 system calls for all 13 audit classes have been developed. However, the main work isn't done yet. There are a few administrative system calls which demand some careful analysis while building the test cases, so as not to mess up any system-wide configurations. Actually, I had anticipated a total of around 550-600 test cases at the end of week 3, going by the progress and the behavior of already tested system calls. But it turns out, that testing either the success or failure modes of a few process control or administrative system calls is not possible. For example, I can't reboot(2) the system in the middle of running the regression tests so the success mode is ruled out. Also, I can't direct the kernel to start a new audit trail in the middle of running the tests by invoking auditctl(2). And a lot of process control system calls never fail. Like setre{u/g}id(2), umask(2). So that essentially resulted in lesser number of test cases than expected. Although the base test-suite is done, I haven't yet done any analysis of the system calls which enforce capability mode on processes and limit capability rights on certain file descriptors. Syscalls like cap_enter(2), cap_rights_limit(2) and cap_ioctls_limit(2) are in fact auditable and need to be tested accordingly. I'll have a look at their implementation and would plan out the appropriate testing strategy. Some system calls in process-control audit class caused intermittent test failures for reasons I'm not sure of yet. Though this was only recurring when the system-wide audit mask was set as "pc", i.e same as the test program. However, on trying to debug a random test case using Kyua(7), I noticed the occurrence of an extraneous wait4(2) event. wait4(2) evidently timed out the test and as a result, the system call in question was never audited. I'm not entirely sure as to why that was happening, that too when auditpipe(4) showed up the system call in a separate invocation. I'll try to figure out this issue in the next week. Most of the week, however, was spent on reviewing and committing the differentials I had created earlier. The first revision, D15286 broke builds on multiple architectures as reported by Ed. Though it turned out that importing "libbsm.h" in my utility program caused the builds to break with GCC due to some redundant function declarations within the same header which were added in one of the earlier commits but were never required. This issue was resolved by my mentor Alan Somers in rS334388 . List of differentials merged: 1. D15286: https://reviews.freebsd.org/rS334360 2. D15561: https://reviews.freebsd.org/rS334403 3. D15618: https://reviews.freebsd.org/rS334390 4. D15620: https://reviews.freebsd.org/rS334394 5. D15636: https://reviews.freebsd.org/rS334471 6. D15640: https://reviews.freebsd.org/rS334487 7. D15647: https://reviews.freebsd.org/rS334496 8. D15650: https://reviews.freebsd.org/rS334592 Detailed info about each of these differentials can be found in the Project Wiki [1]. Differential currently in review: 1. D15657 [open(2) and openat(2) audit events] As a stretch goal, on the suggestion of one of my other mentor Robert Watson, I'll try to work on the FreeBSD's CADETS version, which has a number of extensions to capture additional system calls and their arguments and to ensure that the audit system within CADETS works as expected. Thank You, With best regards, Aniket Pandey Project Wiki [1] https://wiki.freebsd.org/SummerOfCode2018Projects/RegressionTestSuiteForAuditFramework From owner-soc-status@freebsd.org Mon Jun 4 09:00:49 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 BC6B0FE8B1A for ; Mon, 4 Jun 2018 09:00:49 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) (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 4C67F7B340 for ; Mon, 4 Jun 2018 09:00:49 +0000 (UTC) (envelope-from pratiy0100@gmail.com) Received: by mail-wm0-f66.google.com with SMTP id r15-v6so14017670wmc.1 for ; Mon, 04 Jun 2018 02:00:49 -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; bh=hl2ZkgQphc/HMeFhMhPYc09pdMK/50oJKl1e299TrHc=; b=rlJocswexePwNL0xX6xERGU3N/RLfqDmOVF+A4+2ery50hWZMIbbw4KYrC4VSlYhi2 t64mHURInQxUary69BNs9TKq8ONSvpXixXHQdfuYMZVXUdx4Vt5PLUdfGq39Yu6bwbEG rKN9Jdfnpe4VONUkJRLMlYlLPQrxbr/st48xSTPc7He5hWPb07y43y0TCgUA+kfWvzWG 36rBmMNq+rP1Tii3oqn3O5XKpMmbzdLqF4n7tt/zCgg8kb6hU9X40efg/PCsEGEFR2en /tAxs7UYfYNXfSN653jhaocBB0okamkk1q8VDp1F5CoN4J5yYxw4W+9rtcLAysTfwpJi yJsw== X-Gm-Message-State: ALKqPwcXhegRSoC/WOk7R5t9Fn/UKQ2lJAB/eL/DjWkFuW/sZGW0hDYf mNY01JOKx9jgqWAcSH76Q5+9cwGA X-Google-Smtp-Source: ADUXVKKebTXhhDqLQYLIEMVOETx2kd9/xP9OJrqiVbr+OIGEevf5hEhzZeLRPKXhEiqcrCKPfVHUnA== X-Received: by 2002:a50:9818:: with SMTP id g24-v6mr22867556edb.31.1528102847883; Mon, 04 Jun 2018 02:00:47 -0700 (PDT) Received: from mail-wm0-f50.google.com (mail-wm0-f50.google.com. [74.125.82.50]) by smtp.gmail.com with ESMTPSA id i38-v6sm1263939ede.41.2018.06.04.02.00.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jun 2018 02:00:47 -0700 (PDT) Received: by mail-wm0-f50.google.com with SMTP id v16-v6so7511750wmh.5 for ; Mon, 04 Jun 2018 02:00:47 -0700 (PDT) X-Received: by 2002:a50:f5d7:: with SMTP id x23-v6mr22796824edm.132.1528102847331; Mon, 04 Jun 2018 02:00:47 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a50:95c4:0:0:0:0:0 with HTTP; Mon, 4 Jun 2018 02:00:07 -0700 (PDT) From: Pratyush Yadav Date: Mon, 4 Jun 2018 14:30:07 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [Week 3] Import the Xen grant-table bus_dma(9) handlers from OpenBSD 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: Mon, 04 Jun 2018 09:00:50 -0000 Hi, I do not have much to report for this week. I was on holiday from 31 May to 2 June. During the rest of the week, I worked on finishing up my implementation of the xen-specific bus_dma(9) methods before submitting them for initial review. I believe it would be complete and finished up by the time first evaluations roll around, June 11. I figured out a workaround for a major problem I was facing: in xen_bus_dmamap_load(), my implementation made it impossible for the drivers using the method to specify a callback. I fixed/worked around the problem by using a struct to hold the callback function pointer and the callback arg of the client, and pass it to bus_dmamap_load(). Take a look at [0] for reference. I also implemented xen_bus_dmamap_load_mbuf() [3]. Other than this, I fixed a bunch of minor bugs/errors. They are too small and too many to mention here. Take a look at my GitHub repository [1] if you are interested. I maintain a blog on Blogger where I publish my progress every few days. Check it out if you want more details on what I'm doing [2]. Regards, Pratyush Yadav [0] https://github.com/prati0100/freebsd/commit/63598c28b646b8f3537be69e3841a895886f1dfa [1] https://github.com/prati0100/freebsd/tree/projects/xen_bus_dma [2] http://pratyushgsoc.blogspot.in/2018/05/import-xen-grant-table-busdma9-handlers.html [3] https://github.com/prati0100/freebsd/commit/972eb59fa70967b60236ef1899f23024a6a55c17 From owner-soc-status@freebsd.org Mon Jun 4 16:23:39 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 D5A3EFF3286 for ; Mon, 4 Jun 2018 16:23:38 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: from mail-ot0-x242.google.com (mail-ot0-x242.google.com [IPv6:2607:f8b0:4003:c0f::242]) (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 6D42371430 for ; Mon, 4 Jun 2018 16:23:38 +0000 (UTC) (envelope-from lakhanshiva@gmail.com) Received: by mail-ot0-x242.google.com with SMTP id h6-v6so19335677otj.0 for ; Mon, 04 Jun 2018 09:23:38 -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=hknm/f7n4DfRzU19EOboMUP1ECmmublvedLfPVeYFt8=; b=lwKHNOIdFLHVLnQ5m6awQnYZ1ptMPPu2JrJ6soI8e83ktvY0RjZPjkcwWBfzYsQxsx ljh+1S+gxAgCfW9BQzZr5t+kQezcy8XhsnKiMN6TO0RLLJMxY49HyFpxtw1DhNZHz4ki 3sfo/yA83NXqvqOPVGDweN0YWhEy1pMmUXwnqq+kYknWA4aqpghA7ALMAfisW7N18VWg LIDulbrC1/VxPu1OwoVWzEJ9KH9wgNVZ8jOppgZooR0O7umgKAwTRFpKv6lipXP15Zo/ uf1J9woEBKee130T4vo6IWVYpDV/28RELi2aoFO2gbvDJvlfb/OI1Skl7r7WKU/nF3Is O7AQ== 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=hknm/f7n4DfRzU19EOboMUP1ECmmublvedLfPVeYFt8=; b=jEML5ezznHOk4zY+04yvOOhbcFW30J+psCQKkWFKiaf4GKU/ycq6gim0mQ8GKitwjh Da93ZkfrtuYjwyjHzys+nghlPb0uYOQr9ah9Q9752jVz5p3pkNeNZHUeK55DoOFGQPha tPbfVsp6In43PzAxOpu5ZK7NMiidLBQdepW0ocEmWscN4xHw5G9+nRaZMhV4pIeO2wgo RAMfBKn2+Ng63WtE+V3OEBPd870GZnJ0WFI9uKnRGiANyFvGbmh90bDkz7SXy6AD2G74 ojRJdPSDKw5yV1ZKI2EHTRisUknenvQ4M4CVB+WN0E9rdyIVGO3IMwf/vM9B1jtIkys/ z1Xw== X-Gm-Message-State: ALKqPwfRR46tLYctIb8aJNITpWZu2Zfpqea8Yo24eN4hMZiiu5qflR+4 6U0FhZXCSuEON7RxWQ2W3HByNxK17/SZm9/RZxa6YyYM X-Google-Smtp-Source: ADUXVKIwXL5/yXD8kSSgOR4ZzLyiJeSq8BsU61R8/zh4Kk0KOi4Jyx8bfUZpE7mIWvWV9MjR3rd9sSANFZQ1qXSZf4U= X-Received: by 2002:a9d:9d3:: with SMTP id 19-v6mr14326755otz.324.1528129412722; Mon, 04 Jun 2018 09:23:32 -0700 (PDT) MIME-Version: 1.0 From: Lakhan Shiva Date: Mon, 4 Jun 2018 21:53:21 +0530 Message-ID: Subject: [GSOC-18] Convert PCI drivers to be table driven - Week 3 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, 04 Jun 2018 16:23:39 -0000 Hi All, As you are aware, my project is to convert PCI drivers to be table driven. This week I have worked on other PCI drivers. I converted amr, age, ae, alc, amdsmb, bfe, bge, ce PCI drivers. I worked with harder drivers as well. [1] [2] I have added the Plug and Play information for them and found them to be used by devmatch to match them with modules automatically. I resolved all build issues. We need to convert the drivers in a certain way so that kldxref can find it and record it in linker hints. I am working on PCI drivers so as to make it easy for kldxref to find them. In a couple of drivers I have added tables and modified the probe function. At the same time, I am also learning the internals of the kernel, this will help our goal ultimately - Automatic module loading. [3] Please find my updated project homepage here. [4] Thank you, Lakhan [1] https://github.com/bsdimp/freebsd/pull/3/files [2] https://github.com/bsdimp/freebsd/pull/4/files [3] http://bsdimp.blogspot.in/2016/01/details-on-coming-automatic-module.html [4] https://wiki.freebsd.org/SummerOfCode2018Projects/ConvertPCIdriverAttachmentsToTables From owner-soc-status@freebsd.org Mon Jun 4 21:35:40 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 B7B4AFF771D for ; Mon, 4 Jun 2018 21:35:39 +0000 (UTC) (envelope-from duostefano93@gmail.com) Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001:c06::236]) (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 4DD5768196 for ; Mon, 4 Jun 2018 21:35:39 +0000 (UTC) (envelope-from duostefano93@gmail.com) Received: by mail-io0-x236.google.com with SMTP id d22-v6so745174iof.13 for ; Mon, 04 Jun 2018 14:35:39 -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=lU27axSDUh2f/40nrH3HiNDIH9+EWbyD5ac8hu/KqdY=; b=Wee9NS+d2glmVfVk+kfgnae0snLOifvtadLEXnCdhLcIN3XPbqQFKnEX+cieAQe/Nf ai04XEsSIrhOEP44jtvyMXP05ieyywXgeArBKNMXVFiSveWYbUMneqBFtOViLCNCLiEl jPp9SoFghR0UyzqynBaBJrCyb0Y0bzSCyd4XxaZcx/7Hovu3I1nBofIQ5l/qw1n4wS5X HOYHhgpTd4ePxEJln4cLVpbfEtCRiXfPtDpXoDJ9ZabQAhJx51Oikfq0qkPEoyEhD22+ eXGinFKZRCsPjG76XN7ulow+pbbEV0t/QfbPD+NU/vw3HKMvUJ5enbJvcYtj99MJZgrA LMZA== 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=lU27axSDUh2f/40nrH3HiNDIH9+EWbyD5ac8hu/KqdY=; b=XJ9Od7O8ASpJefnnUPXUQpylxbJBKGC3o1TvKR/1K3AdezVYpyCdPjCGl3JMgm3Gp1 3lekwBmsbv0961SuoS2t6zHRacRUD8INr3qLl4Bz2zJbmyF12Fj9l7s1TDVkiUlT5v1t qZifT3v4JOqkX1xz2ZGDn4LFlYt4zZeNPspCv0BCkFLlfB0pRlr+uB/ziiS0rlfvIfEW lcKBomcy1KnyVGquFkFYNykBh4pdtc/z2CLT1uGH9uJLoqfwgBP4c9O4ZqnmiZcfjbyK r/QS0QxR7GbsxUCi5NSGzv1J46563Eh9aFYEcQBflsjxPtQ3V7DLFIkKAC78W4EAYo9s Ti7A== X-Gm-Message-State: ALKqPwe1T4OYBc/3sSkHzck/W55S7oNne0FLQYq4tRJgCW2800Mw7gFB Xl2LdoamEFZw52YVtBKaV3SQdgZRnXlMfoHChm2GyQpX X-Google-Smtp-Source: ADUXVKIOk/lzyACREZZAknD5SGjUIkNppeB4HJkJqLcq0Hc96811skhGe6AUVTbbCnni5XjlUdcZwW3WBGLNcbyr4EE= X-Received: by 2002:a6b:b906:: with SMTP id j6-v6mr24504680iof.58.1528148138450; Mon, 04 Jun 2018 14:35:38 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:c44:0:0:0:0:0 with HTTP; Mon, 4 Jun 2018 14:35:37 -0700 (PDT) From: Stefano Duo Date: Mon, 4 Jun 2018 23:35:37 +0200 Message-ID: Subject: Extension to the netmap framework - Week 3 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, 04 Jun 2018 21:35:40 -0000 Hi, during the third week i wrote a CLI tool to manage vlan configurations. vale-vlan-ctl accepted arguments: "-n conf_name" creates and selects a new configuration named conf_name. "-r conf_name" deletes the configuration named conf_name. "-s conf_name" selects the existing configuration named conf_name. "-t interface_name" attaches the existing interface named interface_name as a trunk port. "-T" detaches the current trunk port. "-p interface_name" creates a persistent vale port named interface_name and attaches it as a trunk port. "-P" detaches and deletes the persistent vale port used as a trunk port. "-a interface_name=vlan_id" attaches the existing interface named interface_name as an access port with vlan id = vlan_id. "-A interface_name" detaches the interface named interface_name. "-c interface_name=vlan_id" creates a persistent vale port named interface_name and attaches it as an access port with vlan id = vlan_id. "-C interface_name" detaches the persistent vale port named interface_name and destroys it. "-l" lists the interfaces attached to the selected configuration. Stefano. From owner-soc-status@freebsd.org Tue Jun 5 01:08:57 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 3C7E0FF2083 for ; Tue, 5 Jun 2018 01:08:57 +0000 (UTC) (envelope-from mateus@mateus.tech) Received: from NAM03-CO1-obe.outbound.protection.outlook.com (mail-co1nam03on0722.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe48::722]) (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 45FA571DD7 for ; Tue, 5 Jun 2018 01:08:56 +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=9I1zJO6SYzgLdV7xIMS8kn5WSJYSsKz0SYlz/I6Ns9k=; b=buYZh2kCuTAv4z0n7aFZ4UZKmDrrtFoESV6+wBtntfFbF1eXJoxbTro8EBQeRe4ENkvoYPfGgdmPoifZs5wSulNPZ6t6tVTviJs+vaXTuNiCkbvz64S0Mw8avykWdeg+7bbnFzbyJAIj1VnlmJo5FB/ABxjg1PIjopy2NSVnikQ= Received: from CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM (10.171.53.11) by CP2P152MB1537.LAMP152.PROD.OUTLOOK.COM (10.171.56.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.820.11; Tue, 5 Jun 2018 01:08:50 +0000 Received: from CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM ([fe80::d43a:de88:14f0:49c9]) by CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM ([fe80::d43a:de88:14f0:49c9%4]) with mapi id 15.20.0820.015; Tue, 5 Jun 2018 01:08:50 +0000 From: Mateus Rodrigues de Morais To: "soc-status@freebsd.org" Subject: [Week 3] Porting Microsoft's CoreCLR, CoreFX, and PowerShell to FreeBSD Thread-Topic: [Week 3] Porting Microsoft's CoreCLR, CoreFX, and PowerShell to FreeBSD Thread-Index: AQHT/GmvJVw4rLoLOEC+4xTMbMGkrg== Date: Tue, 5 Jun 2018 01:08:49 +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: [40.90.245.219] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; CP2P152MB1537; 7:XWlmMQd5YTpdGWm++Zb7VdGtVCm5OZ+eQ7l0GhJ0TrUfbVAfXnPvgPxDgqERdWwSQZlpFuFGFRD29mIzUOtqYRvDUuzXrNv/d8se/Iq/oEflEpccssqGfaoJ15GKe85OSlE8fNdT1/l33Ggy5ydRYpCmArBworw32qLVvlFIzwOpJ6ol01RI/DOCLMTQDX/xYxBwsitCUt0oFQ79cJslWmBFNaF7NAT7GqNsGQwEv/KVroM9oa8x+fqp1jVI6Qol 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:CP2P152MB1537; x-ms-traffictypediagnostic: CP2P152MB1537: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(166708455590820); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(10201501046)(93006095)(93001095)(3002001)(3231254)(2017060905117)(944501410)(52105095)(149027)(150027)(6041310)(2016111802025)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6043046)(6072148)(201708071742011)(7699016); SRVR:CP2P152MB1537; BCL:0; PCL:0; RULEID:; SRVR:CP2P152MB1537; x-forefront-prvs: 0694C54398 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(366004)(396003)(39830400003)(346002)(39380400002)(376002)(47530400004)(199004)(189003)(53754006)(45080400002)(8936002)(6506007)(486006)(97736004)(476003)(7696005)(316002)(2906002)(26005)(74316002)(7736002)(105586002)(102836004)(186003)(6916009)(81166006)(3846002)(6116002)(81156014)(5250100002)(86362001)(2501003)(68736007)(3280700002)(99286004)(8676002)(3660700001)(106356001)(5660300001)(52230400001)(25786009)(5640700003)(66066001)(2900100001)(966005)(14454004)(6306002)(2351001)(9686003)(54896002)(6436002)(55016002)(33656002)(53936002)(478600001); DIR:OUT; SFP:1102; SCL:1; SRVR:CP2P152MB1537; H:CP2P152MB1124.LAMP152.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mateus.tech does not designate permitted sender hosts) x-microsoft-antispam-message-info: 10pVZZxByBYgolLPe7Cs028NThLZMh0ZsmAcAmpo+pDnjs4+ech6F9mpuPH5y90ouxRGGeefDMxCy0CY8QAPpcgEf6J7oESenjOpr0q5UPp+bp1UI4bAKbVwq0YoP6dyDEPS2mLVLhV8WCdJN9FmRHAcCGwAfHpX7vSayMMrl47qMauXHAxPwSFjclL/HZtk spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 8178583f-0977-4a39-154e-08d5ca80e5ae X-OriginatorOrg: mateus.tech X-MS-Exchange-CrossTenant-Network-Message-Id: 8178583f-0977-4a39-154e-08d5ca80e5ae X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2018 01:08:49.9559 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3cb2d6d7-8d6e-44b8-954d-3085729d2030 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CP2P152MB1537 Content-Type: text/plain; charset="us-ascii" 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, 05 Jun 2018 01:08:57 -0000 Hello all, During this third week, I worked on bringing over the rest of the .NET Core= SDK to FreeBSD. I managed to bootstrap an SDK with natively-compiled CoreC= LR, CoreFX and CLI, as well as managed code built for FreeBSD-specific feat= ures that are already implemented. However, further debugging seems to be needed as not all SDK features are w= orking right now. I'm in touch with MS .NET community to get that sorted ou= t. The goal of this next week is to get this bootstrapped SDK to create, build= , publish and run a .NET Core app successfully. I should mention that I'm tracking my progress over at my gsoc18-progress r= epo on GitHub [1] as well as discussing with the community over at the .NET= repositories also on GitHub [2]. Best, Mateus de Morais. [1] https://github.com/mateusrodrigues/gsoc18-progress [2] https://github.com/dotnet/coreclr/issues/18067 From owner-soc-status@freebsd.org Thu Jun 7 09:48:44 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 4BD5FFDE190 for ; Thu, 7 Jun 2018 09:48:44 +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 CB93987FFB; Thu, 7 Jun 2018 09:48:43 +0000 (UTC) (envelope-from uddka@student.kit.edu) Received: from tr-v1239-fse.scc.kit.edu ([129.13.74.14] 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 1fQrX6-0006v7-J9; Thu, 07 Jun 2018 11:48:42 +0200 Received: from Chris-TP.fritz.box (p200300D2EF11B7005CB746157775E90D.dip0.t-ipconnect.de [IPv6:2003:d2:ef11:b700:5cb7:4615:7775:e90d]) by server-01.fs-etec.kit.edu (Postfix) with ESMTPSA id 17EE0759; Thu, 7 Jun 2018 11:48:40 +0200 (CEST) Date: Thu, 7 Jun 2018 11:48:22 +0200 From: Christian =?ISO-8859-1?Q?Kr=E4mer?= To: soc-status@freebsd.org Cc: Chuck Tuffli , Luiz Otavio O Souza Subject: User space interface for GPIO interrupts / Status Report Week 3 Message-Id: <20180607114822.bd3dfebc6827848abc994e69@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: Thu, 07 Jun 2018 09:48:44 -0000 Hi, this time my status report is unfortunately somewhat delayed, but here are proceedings of the last week: I managed to realise trigger type configuration during runtime and started to implement a handler for the poll() syscall. It is now also possible to configure multiple pins at once, each one with a different trigger type. The plan for this week is to fix the remaining issues with the poll() syscall, along with some other minor issues and prepare a concept for a convenient interface of the driver that allows distinction which of the configured pins was actually triggered. I will also spend some time on working out a suitable scenario for automated long-term tests. The source code of the driver can be found in my fork of the FreeBSD src tree on GitHub [1]. The utilities for configuration and testing are located in the following repository [2]. Regards, Chris [1] [2] From owner-soc-status@freebsd.org Thu Jun 7 11:50:16 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 4971DFE3083 for ; Thu, 7 Jun 2018 11:50:16 +0000 (UTC) (envelope-from kristaps.civkulis@gmail.com) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 C07018CB6C for ; Thu, 7 Jun 2018 11:50:15 +0000 (UTC) (envelope-from kristaps.civkulis@gmail.com) Received: by mail-oi0-x22f.google.com with SMTP id a141-v6so8297894oii.8 for ; Thu, 07 Jun 2018 04:50:15 -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=c46DhQL6TgZDuOngHkgeIIlp4jzMdEgYEZNXlEmRF0o=; b=JdWET7T2bhViFud16CGS32VxfjBkOGKSjlfRR27lQhecST5dBADXt9TEH4ACmRoOVY yaZWdSLrbcpKviFLUhsTF3sTToiRs5+4odb7398xq5pFJMY9T4eUkfuFurZBaplolUt0 dA5ireaQrzYyKgHfUp79KaK+UfMLlapmRxbAdotrfw89FogZ3bBDPgOCFIwsrPwCbLxi Pvc0z4dWOR6LdIpbSaEp8A0ioUw2Lo8AuLJHR5/ImYFzvppjHRVx2AnMdYdxRtmkkGvl YuyyuzMA9REPAMqtklRR5u9HGF8avRGRJKhzcgtp0PrNZ662wtysFGYE1eVSnynZGeQO ag1w== 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=c46DhQL6TgZDuOngHkgeIIlp4jzMdEgYEZNXlEmRF0o=; b=CC7ttifdQkZevhFexCvoBPrcPm0DNf5bsp2YKwE7pSpDt/dupcolsZA3rNm6ePJqQ2 Gm2L/WvHg/nM/wLDLhI3EWVxVsU35bioofZcucHPqtiazF4sGy7VNFZZob+09afpJV+n 6XAX6TFiyIQUWSZAri9B5v/iyNLmhTejaqU2scSCvhy74uTsjL8Vh7oT6keObUTC26JG ERLg3LYhLB8DW9s3KYi0HELcl5TnmDCmtobOq+STMc9XnrVoycihXePx9rCy98qg5AU0 ENyL56nkbMAESnQ29PvZjUiWX2YlNeAuA8zHptjHwoQojaTbsaB2qCfLAmr+ZpULOf9A LxfQ== X-Gm-Message-State: APt69E1jBn0vwb5occ32jkvZopdR9IHaQNw85fq5jG+HvtugW2uy+Y7m a2/bDlibjTdPGdUTYE+alx10Cf/hREa0FfepitQ3mQ== X-Google-Smtp-Source: ADUXVKJcnJj7TTT9S9fgxNYX6ZFdG3BaXQJe63JenoKgrD5otgUs/xtcFQcr70zxbOyLA3gjehpDjHTYIga//yEtvxs= X-Received: by 2002:aca:acd7:: with SMTP id v206-v6mr709310oie.320.1528372214471; Thu, 07 Jun 2018 04:50:14 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:4376:0:0:0:0:0 with HTTP; Thu, 7 Jun 2018 04:50:14 -0700 (PDT) From: =?UTF-8?Q?Kristaps_=C4=8Civkulis?= Date: Thu, 7 Jun 2018 14:50:14 +0300 Message-ID: Subject: Enable FreeBSD/Xen Dom0 Support to FreeBSD EFI Loader [Week 3] 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: Thu, 07 Jun 2018 11:50:16 -0000 Hi, Last week I 1) Loaded Xen kernel into memory and jumped (probably incorrectly) to specified entry point to execute it. Unfortunately QEMU crashes after few seconds after jumping to the entry point. I have to figure out where could be a problem. 2) Read multiboot2 implementation of grub2 3) Improved code style 4) Tried to better understand ELF format (Xen kernel doesn't have all the needed information in multiboot2 tags, so I have to read ELF header) I print RAM state just before jumping to entry point, and it seems that I load Xen kernel correctly. I think the problem is in page tables and register state after jumping to entry point. From owner-soc-status@freebsd.org Sat Jun 9 19:26:43 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 70220100B9C2 for ; Sat, 9 Jun 2018 19:26:43 +0000 (UTC) (envelope-from shubhgupta2104@gmail.com) Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (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 F3CB97052F for ; Sat, 9 Jun 2018 19:26:42 +0000 (UTC) (envelope-from shubhgupta2104@gmail.com) Received: by mail-oi0-x233.google.com with SMTP id f79-v6so14683069oib.7 for ; Sat, 09 Jun 2018 12:26:42 -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=GRNHlim5Eo1/cjtmvYYJf9wDYcf4rP7eiIef1gc/9uo=; b=TVAQEwogyu/lTzbSAwy9Hv7d05gt7m5zdqAlRWqzE4zwTyICg08HQr5TVXDv3RYvG5 YezMwL/3ZH5rgBkAh5CcgvtfHcztuWSOJmNAoVWtvIrGI1B4QHthwk9BWpcnKir1m4p1 pS2fsMVpjTapah6ngb9VmNRslhu3XDTmCTWa7WYpBBaMpbAU/Z7TRU4D9KMfYRuFVgsQ ZNJSBHZ1P/63fr8IDM8Rp6srtH70fStsxd5gIp4ZavaBn86QhzQLIZ4sJtXaa8MxiubT jzyY4YdADnJpeS5p80/J1qH156b0hkDQAEQnM4n73utnq+5vPF3FRTxg6B43UC1xaIEx N7Sg== 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=GRNHlim5Eo1/cjtmvYYJf9wDYcf4rP7eiIef1gc/9uo=; b=qFOwpAMP1N5AfyjuJ6R2ToAhRBcD5R+Z7ufmKoiiUGrt0a6LGJajalHEurLPqIt+bf R6UcD5ipYNOTSv8Nnqz6WI2/ql898zv0GvAdIgfv8QxAtz7840v7zZcxLAOU5RU3mc5w KNhOxesM6sNjEQhRjebNMKVNNHLm9wCZVMxOHLonPDRPxLjO2juogiX2izjCi+SGwFF5 qWnn53E3gBXbeqPeHwl5Oit3xLLpg/toywFNNzyNQ6Wx3fnfe8kDPhlMoi1CwMrtDmPB uZXL7l+46o2n58medxz+/Bl4R2SLH3fMiyrcGcPO5kNHKqbDMQue+tv5+Ia87rw8H9I6 SebA== X-Gm-Message-State: APt69E2ZEldtxScS/FT5GBWbeN3y5u5m4OHDhoOKSQcp7NyuqtKzpOEf gVo6L//h4r1aHJGHb21YxiM+j+cG2QLtXC76wzY= X-Google-Smtp-Source: ADUXVKJnwLOYKpSLbobDrkjZExcgYuK+AupsDWN7d1dJGirpZjuA7hP3XcZbjztTpCKNMXZEm7aWcbeTVj0p0L1gEDQ= X-Received: by 2002:aca:3483:: with SMTP id b125-v6mr5256196oia.148.1528572402087; Sat, 09 Jun 2018 12:26:42 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac9:1b84:0:0:0:0:0 with HTTP; Sat, 9 Jun 2018 12:26:41 -0700 (PDT) From: Shubh Gupta Date: Sat, 9 Jun 2018 19:26:41 +0000 Message-ID: Subject: Weekly 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: Sat, 09 Jun 2018 19:26:43 -0000 Hello everybody! This week has been fine, I have been working on my stretch goal, i.e *Running `telnet` in a sandbox* as well as styling the code that I had written for successfully running `cat` in an oblivious sandbox. Since the goals have been closely met for the first evaluation, and due to a lack of my background in the networking, I had to spend a lot of time learning the networking concepts on which telnet runs, now i am trying to figure out what all processes does the capability mode restrict for telnet, and will start working on the policy for running telnet in an oblivious sandbox. Moreover, i will try to meet the stretch goal set up for the first evaluation, parallelly with the goals of my second evaluation, i.e running `file(2)` in an oblivious sandbox. Yours Sincerely Shubh Gupta