From owner-freebsd-current Fri Jan 29 23:31:24 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA25579 for freebsd-current-outgoing; Fri, 29 Jan 1999 23:31:24 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from atdot.dotat.org (atdot.dotat.org [203.23.150.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA25569 for ; Fri, 29 Jan 1999 23:31:17 -0800 (PST) (envelope-from newton@atdot.dotat.org) Received: (from newton@localhost) by atdot.dotat.org (8.9.2/8.7) id SAA20522 for current@freebsd.org; Sat, 30 Jan 1999 18:00:15 +1030 (CST) Date: Sat, 30 Jan 1999 18:00:15 +1030 (CST) From: Mark Newton Message-Id: <199901300730.SAA20522@atdot.dotat.org> To: current@FreeBSD.ORG Subject: *1 routines in /sys/kern Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG We currently have routines like fork1() and killpg1() in /sys/kern/* to implement generic functionality for actions with more than one "front-end". NetBSD has done something similar for signals, so that emulators with non-BSD signal semantics can implement their way of doing things as an emulator-specific front-end without polluting the rest of the kernel. The SysVR4 emulator started using that stuff fairly heavily in NetBSD from November last year. I haven't merged those changes into the FreeBSD version because, well, the *1 routines aren't there yet. I wanted to get a bit of discussion going before ploughing ahead with making the change because I'm uneasy about kernel-wide changes simply to support an emulator (unstaticizing a function here and there is one thing, completely altering the implementation architecture of something that already works is something else entirely). If I split sigaction(), sigsuspend(), sigpending(), sigprocmask() and sigaltstack() into front-end and back-end pieces a-la NetBSD so that emulator-specific signal semantics can be imposed without totally duplicating those routines inside the emulator (like I did with sendit() and recvit() for socket I/O), will anyone complain? - mark -------------------------------------------------------------------- I tried an internal modem, newton@atdot.dotat.org but it hurt when I walked. Mark Newton ----- Voice: +61-4-1958-3414 ------------- Fax: +61-8-83034403 ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message