From nobody Wed Jun 26 08:20:36 2024 X-Original-To: soc-status@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W8F731pFRz5PL43 for ; Wed, 26 Jun 2024 08:22:23 +0000 (UTC) (envelope-from hanslu952@gmail.com) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W8F7237zXz4FSg for ; Wed, 26 Jun 2024 08:22:22 +0000 (UTC) (envelope-from hanslu952@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=SXNK1vEp; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of hanslu952@gmail.com designates 2a00:1450:4864:20::22e as permitted sender) smtp.mailfrom=hanslu952@gmail.com Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2ec1ac1aed2so77233091fa.3 for ; Wed, 26 Jun 2024 01:22:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719390140; x=1719994940; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=5mSyzOi98Yq0GVbTHDVHjEUeCUJIbYxf7OCZkyIPgOQ=; b=SXNK1vEp27rIHAxmkTlnv60ZoSNNt16VNuFiVNOx4bKQRQYcCN1RpV/xImtyGjgsWP hHMlvW377yzSQcIDyhNVsbOpHMB3URErqCLDzt3tzzaBXurFyi+iMCLFdQyT2Euq3Bgo NNKSpdxeGrNkNryB8CDExz2PXS/dGCh5oRX8bLojv5HsFZCOekighikxdnsrbeqH839J gHW2/zdAlaaL2ImHwjvkvekfxuroyxqjhwQ+agoQ7H8YNbEFp1yXA5EDRuxJ67KVBupP jWCTuixf23Wx5qgFFaTwWQJRgy8vOUIYKJgsres4vHAdLXbF+W0IZGlw9MoWrCODGV4s O5dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719390140; x=1719994940; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=5mSyzOi98Yq0GVbTHDVHjEUeCUJIbYxf7OCZkyIPgOQ=; b=NX4R4YhsKOWP1Uo2cQxsQPF38xqQX8zsqUzc/0qU7bbL4OcsN/CiAtgUaS62UUWske VUlA0s9vdKVJHMFBNg/vWSsfFfAnPwFIB7ksTjTXDdU0kXJk2NqTzZUvw17TyZB2YXvO ZzFKteIdIzVe97wTpxir6gHKExvqrouBWgsPVxvu1DuWmeaBzOdpaJ/S8nQM/nYhQdOG IoFSDf3+11S7G1Er22src/cEEgC1iVqxFjK8E93WBTXgc2qZhBVbLYKBT0YQhed1RQvh D4KoKy7qryjI21YGMOqvc+hicCPyEQgdDSr9+8cVcGyaEstfXROR8BoGvcx92LehbgZK Pv0g== X-Gm-Message-State: AOJu0YzgiLDlNF3SES2ueRZVvEZinQnekkujSuiBuKAjhvyDsUUpdscC 2dZh3FTytzlCr/+qBuS0dMHAQBf8zMhFhwexk/P0280zEzNOgL83lFhacOl0t0MZSIhIw3PDJHW s0HCuA2M2pYP7bx59B4REU92VlmHBrsqY5y0= X-Google-Smtp-Source: AGHT+IEi8yMfpNXnhpaNKAa9IFXaQXf7yOh4DJXn/2hmGO2+YrEDF743VPvLR2dgNpI4CeHEnJZG5WgRPeVGS8IdFwk= X-Received: by 2002:a05:6512:203b:b0:52c:df55:e112 with SMTP id 2adb3069b0e04-52ce1832119mr5122502e87.6.1719390139788; Wed, 26 Jun 2024 01:22:19 -0700 (PDT) List-Id: Summer of Code Status Reports and Discussion List-Archive: https://lists.freebsd.org/archives/soc-status List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: soc-status@freebsd.org Sender: owner-soc-status@FreeBSD.org MIME-Version: 1.0 From: Hans Lu Date: Wed, 26 Jun 2024 16:20:36 +0800 Message-ID: Subject: Gsoc weekly status #2:capsicumizing base system To: soc-status@freebsd.org Content-Type: multipart/alternative; boundary="000000000000833805061bc6b635" X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.88 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; NEURAL_SPAM_SHORT(0.12)[0.120]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[soc-status@freebsd.org]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MLMMJ_DEST(0.00)[soc-status@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22e:from] X-Rspamd-Queue-Id: 4W8F7237zXz4FSg --000000000000833805061bc6b635 Content-Type: text/plain; charset="UTF-8" Hello, Previous week,I come up with ways to test the nonblocking bahavior on wall(1),and I am too optimistic on my progress on my previous application wall(1).last week I got some misunderstanding on the process of capsicumizing an application,so I have to discuss with mentor more,and the code might need more rewrite. In the last patch,I used clang-format to format my code,however,the tool done too much on formatting,because it is a legacy application,however I didnt expect such result.my mentor adviced me to roll back the change,I will fix it in next patch. This week I learned how to debug with gdb and will fix the problem from libc system call in wall() because many of these system call in libc contains system calls that is not permitted in capability mode. complete work: test method of wall(1) next work: recapsicumize wall(1) reupload the wall application to phabricator start capsicumize tftpd(8) if possible Regards Hans Lu --000000000000833805061bc6b635 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
Previous week,I come up with ways to test the no= nblocking bahavior on wall(1),and I am too optimistic on my progress on my = previous application wall(1).last week I got some misunderstanding on the p= rocess of capsicumizing an application,so I have to discuss with mentor mor= e,and the code might need more rewrite.
In the last patch,I used clang-f= ormat to format my code,however,the tool done too much on formatting,becaus= e it is a legacy application,however I didnt expect such result.my mentor a= dviced me to roll back the change,I will fix it in next patch.
=C2=A0 = =C2=A0 This week I learned how to debug with gdb and will fix the problem f= rom libc system call in wall() because many of these system call in libc co= ntains system calls that is not permitted in capability mode.
complete w= ork:
test method of wall(1)
next work:
recapsicumize wall(1)
reupload the wall application to phabricator
start capsicumize= tftpd(8) if possible

Regards
Hans Lu --000000000000833805061bc6b635-- From nobody Fri Jun 28 07:51:02 2024 X-Original-To: soc-status@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W9SLC058zz5PZsl for ; Fri, 28 Jun 2024 07:51:15 +0000 (UTC) (envelope-from bses30074@gmail.com) Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W9SLB0LpPz4Zkc; Fri, 28 Jun 2024 07:51:14 +0000 (UTC) (envelope-from bses30074@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=gNh3k0QG; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of bses30074@gmail.com designates 2607:f8b0:4864:20::b2b as permitted sender) smtp.mailfrom=bses30074@gmail.com Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-dfac121b6a6so242501276.0; Fri, 28 Jun 2024 00:51:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719561073; x=1720165873; darn=freebsd.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=pnNbu+ksBtkhnVnazQmgVM60NUuWq0HxKmeNWko5ZXI=; b=gNh3k0QGRD64o0CyQ6rGLbs5J6IvAkiljg5eRj1I1fiZGKvDFmbMOaAcfnaqwc7ff+ 8DAP01zeRbZUEvl5Q8seGFYuCfGnos+dwuf6bxNBEeWA43R/liBMzrRZ72g0uDxasK5H jei4eDihjAHzh/a/U7B5ckCGWXozKZdLDEZ+xx3aLOg9Mh/SFRt4LGq/3kCL6D1ToUQi Pl2cWhZn1YjL3oI34BFz8eJUx2EvB7nVAmK5IhUeN2TdS5fDmrgURIM5VGP3hhaL0qUl pVNeXM9+8OgwVw4iDtylOLmv+rW8Q5TBdZx02lm32+CpdZ9V3CdttoQ3utwoouXlWxNT qMiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719561073; x=1720165873; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=pnNbu+ksBtkhnVnazQmgVM60NUuWq0HxKmeNWko5ZXI=; b=P+SQHf3HSDUr3PlZLIat12lqDK0rCiSZpat+fIR0AvXCC4EcBiwCUMmTc9Ud5ZJ0L6 oUDZZM1rn9AY31TEaPcKW/4GJMkF7jeY5Cd0pspmb3htn9Ljyj6tASEzWirAIZMk+9vx rbhXu6NqbD62/EtmrNKpgEIsBMTLEwj0yD+kWi0B9ieQnGZDzW6WVQvK79XUBchFHoQn e6Lagh1aJ6evRlBFhuTgvW03Y0W2ms5mdI943wyr47+HZ7w1j/d7tY8rUOYDz095aP8v 7YNoiXidvTlBfL39LcymoNeygH9+8+OjmR/rj6fiWW09BN3nMJXSW+dkYJTdPow1M9J1 6Ayw== X-Forwarded-Encrypted: i=1; AJvYcCVXrs3d9pQqmfcKhWFaanoOVj8P9OscatlINUKPQrDaUFCmKZNDIUUXc1NaT+tFnapT6Sg+xwS7lv8Mx2gbRtyRpL4wbsPyZkJl+Msccwev7xBl X-Gm-Message-State: AOJu0YwkuH/aVJp8HGOdRjd1NQtHEnqju8pUBNAeFf1s9mvLhs9r8fv4 nGZYXGqwjEUdRNNzr6Q5+qeM+5IpubF9uXAUyNmEP/S8+TamRAdqCP+3cieEddCdMj3ejvUPQhN woq4GPz6f1jlb/KZsKR84Pw6TCdDEL34T X-Google-Smtp-Source: AGHT+IHBRJZ8ZSG2gfEVb1LDiwanQwIwEqvZE3EbkmaQ/0xwDdhpR3XGX0tN9+McGco/MHWw5BLFhEZtitNyusqskMo= X-Received: by 2002:a25:d342:0:b0:e02:313b:f6a1 with SMTP id 3f1490d57ef6-e035bf40cb2mr511745276.3.1719561072760; Fri, 28 Jun 2024 00:51:12 -0700 (PDT) List-Id: Summer of Code Status Reports and Discussion List-Archive: https://lists.freebsd.org/archives/soc-status List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: soc-status@freebsd.org Sender: owner-soc-status@FreeBSD.org MIME-Version: 1.0 From: Yan-Hao Wang Date: Fri, 28 Jun 2024 15:51:02 +0800 Message-ID: Subject: [GSoC24 Weekly Status #4/5] ppp and systat To: soc-status@freebsd.org Cc: Hiroki Sato , "hrs@FreeBSD.org" , Li-Wen Hsu Content-Type: multipart/alternative; boundary="000000000000e96314061bee8255" X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_EQ_ADDR_SOME(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[soc-status@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::b2b:from]; FREEMAIL_ENVFROM(0.00)[gmail.com] X-Rspamd-Queue-Id: 4W9SLB0LpPz4Zkc --000000000000e96314061bee8255 Content-Type: text/plain; charset="UTF-8" These two weeks Hiroki mentor gave lots of advice and I am trying to revise it. And I uploaded two new patch ppp (https://reviews.freebsd.org/D45601) and systat (https://reviews.freebsd.org/D45723). We also have a meeting today (6/28) to talk about all the questions. Best Regards, Yan-Hao --000000000000e96314061bee8255 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
These two weeks Hiroki mentor gave lots of advice and I am= trying to revise it. And I uploaded=C2=A0two new patch ppp (https://reviews.freebsd.org/D45601) an= d systat (https://reviews.fr= eebsd.org/D45723). We also have a meeting today (6/28) to talk=C2=A0abo= ut all the questions.

Best Regards,
Yan-Hao
--000000000000e96314061bee8255--