From owner-freebsd-hackers@FreeBSD.ORG Sun May 22 07:52:39 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEE74106564A; Sun, 22 May 2011 07:52:39 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 30A878FC13; Sun, 22 May 2011 07:52:38 +0000 (UTC) Received: by bwz12 with SMTP id 12so5571168bwz.13 for ; Sun, 22 May 2011 00:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:from:date:message-id :subject:to:content-type; bh=0cRSk670pG6aF8daiIZ5AQlCjWoYiK3JaCSo+TTKutI=; b=U/kenqjNt5TNms7t9WWh0pSLPLI6kW3O6+QxQAof1aUB6Bc/mQCVyC/HOn7+afnzcv SrIpf39cc8dTJy1K4LeF4higJfbcyNixvEoU5xA6znvStCHa7owtakO7gZavxAigfgUi XZDIOgRVhZrhLn04Y7Y68uwGxbEIW7lKrSWn4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:from:date:message-id:subject:to:content-type; b=VEFyO16zpDr2ZSMJdSKVaP2DwBjoPt3iNXNQsgoISzTTLe900Cde9W6JrlK4PX2wwn eA8MqEoVJpLFFx5mjKJWoEqO4ClM4ZGt+wQppwqs2CFlkLONn5Yq3cV/dSMlRfsm6NSE 7wzG+O0nYWgg7HpX/UWC0BK5FbgR2ifFdm2Hc= Received: by 10.204.16.70 with SMTP id n6mr1044340bka.87.1306049394071; Sun, 22 May 2011 00:29:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.205.65.198 with HTTP; Sun, 22 May 2011 00:29:24 -0700 (PDT) From: Chris Rees Date: Sun, 22 May 2011 08:29:24 +0100 Message-ID: To: freebsd-hackers@freebsd.org, ed@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Utmpx usage X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 May 2011 07:52:39 -0000 Hi all, After removing all kittens from Ed's reach, I'm disclosing that sysutils/runit tried to use utmpx to directly read() and write() the utmpx files directly... I've replaced the offending code with a patch to the port [1], but I wonder if anyone would please review the patch? I don't have a CURRENT machine to try it on... I may have also made some terrible mistakes -- I'm not hugely familiar with utmpx. Thanks! Chris [1] http://www.bayofrum.net/~crees/patches/runit-utmpx.patch