From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261789AbULOCOl (ORCPT ); Tue, 14 Dec 2004 21:14:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261803AbULOCOk (ORCPT ); Tue, 14 Dec 2004 21:14:40 -0500 Received: from bgm-24-94-57-164.stny.rr.com ([24.94.57.164]:4296 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S261789AbULOCOj (ORCPT ); Tue, 14 Dec 2004 21:14:39 -0500 Subject: Re: [RFC] dynamic syscalls revisited From: Steven Rostedt To: Werner Almesberger Cc: "H. Peter Anvin" , LKML In-Reply-To: <20041214201449.A4527@almesberger.net> References: <1101741118.25841.40.camel@localhost.localdomain> <20041129151741.GA5514@infradead.org> <1102370517.25841.216.camel@localhost.localdomain> <41B4DB1C.3060406@zytor.com> <1102372715.25841.227.camel@localhost.localdomain> <20041214201449.A4527@almesberger.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Organization: Kihon Technologies Date: Tue, 14 Dec 2004 21:14:19 -0500 Message-Id: <1103076859.3582.66.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2004-12-14 at 20:14 -0300, Werner Almesberger wrote: > Steven Rostedt wrote: > > It can be easier to send the wrong command to a device, or even the > > wrong device than to use a wrong system call. > > So invent some /dev/syscall/ and you've reduced > this to good old clashes in a flat name space. You can hide all the > ugliness, sanity checking, etc. in a library. > Already working on something. But I was a little distracted by some real work :-) But I'll have a little device driver that can implement dynamic system calls soon, and a library that will hide the real ugliness. > I also think that a more direct approach for dynamic syscalls would > be nice, but the current status quo is far from unbearable. > > > - Werner >