From nobody Mon May 27 06:02:22 2024 X-Original-To: ports-bugs@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 4VnlRM0Gktz5LXwy for ; Mon, 27 May 2024 06:02:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VnlRL5fc4z4HFm for ; Mon, 27 May 2024 06:02:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1716789742; a=rsa-sha256; cv=none; b=a4/dXCSq9u6j6XjE+BQic/uV4+2OD5x2VOO24mC7EFwk8b0u64j8FRixevUVWPkM3qFoE0 Ub2nvhYRhNani/2LILoOEOl0sQdyhHIZNKIPqhdbQ0epqg22nuvL3CgkZU3UaPfzVMnlm+ 3YB8u8UOYUkDmv30JnzmUXlCennZREdwSLLacDuP5yLWcUIqkoKrNHocHjB8foZJf1M9mM FbsUDB0snN3ADG9JVN0D5PB+3/KBS3Kc0fwBuBWKlnkMWtTKZLjfzZ5ad/0frA1QdclgVn YHK34i+PJU8zAdW941GyXsJPDsTlFj4vVDVUnJ5GOtyHJ+EyXPOce0XJwD/lNw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1716789742; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ofBBEiCp3CvVZVoG90NnyzTZ7LdsVzu5GATw7mg2VgE=; b=i6yrxGtXSBDDLUtkLJhYOAvDnF93W59rwBMhYIZnt+IGM8llKzCumRso0BQMxfQ/bxNB0O 5vEKDNjpAk1/6tpgtmpbW8Y/uh4Sujr3+Veq4C+vEC1Is8RAZknxH4QfJrdVi82CJ+EBVE Uv9HKmaArkdyAHNx6iJQppQpGfnY1HA1YGWxSPeSkJLwT3HVrW3FIo2c0W46VY96h+fHI9 uo7DZy0Uclpd8qgr7GJTekGqhPrtHtVxwfTauka2/SV8Apcq/wp+1j+gSjG4FVxc8A6Fnx IZQDUzJahw8g9F8gT9KgFYtpqkpkFoWBI/qqa7XF+olSd/ClQFxIdHWmfPsP6w== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VnlRL5GDszYFX for ; Mon, 27 May 2024 06:02:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 44R62MgA062499 for ; Mon, 27 May 2024 06:02:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 44R62Mo7062498 for ports-bugs@FreeBSD.org; Mon, 27 May 2024 06:02:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 279116] sysutils/s6-rc update to 0.5.4.2 Date: Mon, 27 May 2024 06:02:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dewayne@heuristicsystems.com.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279116 --- Comment #2 from dewayne@heuristicsystems.com.au --- (In reply to crest from comment #1) Unfortunately I don't have any cycles. However if interested I can forward= one of the two changes that I've made to s6. I changed s6-envuidgid to use log= in class resources which is FreeBSD specific and unlikely to change per=20 + if (setusercontext(NULL, pw, uid, LOGIN_SETALL) !=3D 0) /* FreeBSD LOGIN_SETALL=3D0x07ff enable all capabilities */ Because I do a lot of auditing and have 21 different time formats (who knew= ) in log files, I've modied s6-log.c to use g or G to use seconds or seconds+microseconds. Though during a breakin or RCA ms is sufficient.=20 + if (gflags & 8) /* g secs since 1970 */ + hlen =3D snprintf(&hstamp[0], 32, "%lu ", tv.tv_sec); + if (gflags & 0x10) /* G sec.microsec since 1970 */ + hlen =3D snprintf(&hstamp[0], 32, "%lu.%0.4lu ", tv.tv_sec, tv.tv_usec/100); I considered sending to Laurent but he's pretty attached to tai64 and seems= to want to avoid OS specifics. --=20 You are receiving this mail because: You are the assignee for the bug.=