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--