From owner-cvs-all@FreeBSD.ORG Mon Aug 8 19:55:33 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B64EA16A41F; Mon, 8 Aug 2005 19:55:33 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AA8243D48; Mon, 8 Aug 2005 19:55:33 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j78JtXOJ046151; Mon, 8 Aug 2005 19:55:33 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j78JtXgM046150; Mon, 8 Aug 2005 19:55:33 GMT (envelope-from rwatson) Message-Id: <200508081955.j78JtXgM046150@repoman.freebsd.org> From: Robert Watson Date: Mon, 8 Aug 2005 19:55:33 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/cam/scsi scsi_target.c src/sys/coda coda_fbsd.c src/sys/dev/firewire firewirereg.h fwdev.c src/sys/dev/nmdm nmdm.c src/sys/dev/snp snp.c src/sys/dev/sound/pcm dsp.c mixer.c src/sys/dev/vkbd vkbd.c ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2005 19:55:33 -0000 rwatson 2005-08-08 19:55:33 UTC FreeBSD src repository Modified files: sys/cam/scsi scsi_target.c sys/coda coda_fbsd.c sys/dev/firewire firewirereg.h fwdev.c sys/dev/nmdm nmdm.c sys/dev/snp snp.c sys/dev/sound/pcm dsp.c mixer.c sys/dev/vkbd vkbd.c sys/fs/devfs devfs_vnops.c sys/kern tty_pty.c tty_tty.c sys/net bpf.c if_tap.c if_tun.c sys/netsmb smb_dev.c sys/sys conf.h Log: Merge the dev_clone and dev_clone_cred event handlers into a single event handler, dev_clone, which accepts a credential argument. Implementors of the event can ignore it if they're not interested, and most do. This avoids having multiple event handler types and fall-back/precedence logic in devfs. This changes the kernel API for /dev cloning, and may affect third party packages containg cloning kernel modules. Requested by: phk MFC after: 3 days Revision Changes Path 1.68 +4 -3 src/sys/cam/scsi/scsi_target.c 1.43 +4 -3 src/sys/coda/coda_fbsd.c 1.38 +1 -1 src/sys/dev/firewire/firewirereg.h 1.47 +2 -1 src/sys/dev/firewire/fwdev.c 1.36 +2 -1 src/sys/dev/nmdm/nmdm.c 1.100 +3 -2 src/sys/dev/snp/snp.c 1.82 +2 -1 src/sys/dev/sound/pcm/dsp.c 1.45 +2 -1 src/sys/dev/sound/pcm/mixer.c 1.9 +4 -2 src/sys/dev/vkbd/vkbd.c 1.117 +4 -7 src/sys/fs/devfs/devfs_vnops.c 1.139 +1 -1 src/sys/kern/tty_pty.c 1.57 +2 -1 src/sys/kern/tty_tty.c 1.156 +3 -2 src/sys/net/bpf.c 1.56 +4 -2 src/sys/net/if_tap.c 1.153 +4 -2 src/sys/net/if_tun.c 1.28 +2 -1 src/sys/netsmb/smb_dev.c 1.224 +3 -6 src/sys/sys/conf.h