From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BB0853858CDA; Fri, 24 Mar 2023 19:22:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB0853858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679685754; bh=z0mo7KqDVQ0iYs1XxQyh+p9EzBVv0eNfhi3Vl8W44Mg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HoxciS7u8sI0utM7lpM0k2yRLguYa0bu6fy2r3dpElbXQ1dMW8cFMKumOPtOypxsk YkZEQ2vrRrZcciA7NIFc5ZqAm5qHKpPJMr4Nv1dh3sdzNAJHZi3dPHnhMCtcvSyOP/ yXUx5KkBaOnAK/YzuWX2Bp7hc6TL5lqEzVxaZtU0= From: "steffen at sdaoden dot eu" To: glibc-bugs@sourceware.org Subject: [Bug libc/30270] syslog: openlog with NDELAY, but seccomp still requires openat(2) and lseek(2)? Date: Fri, 24 Mar 2023 19:22:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.36 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: steffen at sdaoden dot eu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: 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: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30270 --- Comment #3 from Steffen Nurpmeso --- I am explicitly doing "%.950s" to avoid taking the alloc path. 'Would have hoped NDELAY gets over some.. i do have /* syslog (plus reopen) */\ a_SEND,\ a_ALLOW(SYS_openat),\ a_ALLOW(SYS_lseek),\ a_ALLOW(SYS_socket),\ a_ALLOW(SYS_connect),\ a_ALLOW(SYS_getpid),\ unfortunately (i use LOG_PID). (I am currently wondering whether i can really do enable seccomp(2) for thi= s by default, sitting on a moving black box.) Patch 4 is (CRUX Linux, core collection) Commit: Juergen Daubert CommitDate: 2023-02-27 12:54:14 +0100 glibc: sync with upstream 2.36 branch --- glibc/.signature | 7 +- glibc/Pkgfile | 8 +- glibc/glibc-2.35-make-4.4-MAKEFLAGS.patch | 102 ---------- glibc/{glibc-2.36-3.patch =3D> glibc-2.36-4.patch} | 1430 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 1428 insertions(+), 119 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=