DragonFly BSD
DragonFly commits List (threaded) for 2010-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Fix kqfilter error return codes


From: Samuel Greear <sjg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 19 Jul 2010 14:57:03 -0700 (PDT)

commit b287d64931f43a98750195e846e5681a1b90eb06
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Jul 8 22:19:06 2010 -0700

    kernel - Fix kqfilter error return codes
    
    * Some kqfilters returned an Exxx error, others return 1 on error,
      and the device kq code returned -1 on error.
    
    * All kqfilters now return a proper Exxx error.
    
    * When an EVFILT is not implemented, EOPNOTSUPP is now returned.
      EPERM is no longer returned.

Summary of changes:
 sys/bus/firewire/fwdev.c          |    4 ++--
 sys/bus/usb/usb.c                 |    2 +-
 sys/dev/drm/drm_fops.c            |    2 +-
 sys/dev/misc/cmx/cmx.c            |    2 +-
 sys/dev/misc/hotplug/hotplug.c    |    2 +-
 sys/dev/misc/kbd/kbd.c            |    2 +-
 sys/dev/misc/mse/mse.c            |    2 +-
 sys/dev/misc/psm/psm.c            |    2 +-
 sys/dev/misc/snp/snp.c            |    2 +-
 sys/dev/misc/spic/spic.c          |    2 +-
 sys/dev/misc/tw/tw.c              |    2 +-
 sys/dev/raid/aac/aac.c            |    2 +-
 sys/dev/raid/vinum/vinum.c        |    2 +-
 sys/dev/sound/pcm/dsp.c           |    5 ++++-
 sys/dev/usbmisc/ugen/ugen.c       |    2 +-
 sys/dev/usbmisc/uhid/uhid.c       |    2 +-
 sys/dev/usbmisc/ums/ums.c         |    2 +-
 sys/dev/video/bktr/bktr_os.c      |    3 ++-
 sys/dev/video/cxm/cxm.c           |    2 +-
 sys/emulation/linux/linux_epoll.c |   20 ++++++++++----------
 sys/kern/kern_event.c             |    2 +-
 sys/kern/kern_memio.c             |    2 +-
 sys/kern/kern_udev.c              |    2 +-
 sys/kern/subr_bus.c               |    2 +-
 sys/kern/subr_log.c               |    2 +-
 sys/kern/sys_generic.c            |    1 -
 sys/kern/sys_pipe.c               |    2 +-
 sys/kern/tty.c                    |    2 +-
 sys/kern/tty_pty.c                |    2 +-
 sys/kern/tty_tty.c                |    2 +-
 sys/kern/uipc_socket.c            |    2 +-
 sys/net/bpf.c                     |    2 +-
 sys/net/i4b/driver/i4b_rbch.c     |    2 +-
 sys/net/i4b/driver/i4b_tel.c      |    2 +-
 sys/net/i4b/layer4/i4b_i4bdrv.c   |    2 +-
 sys/net/tap/if_tap.c              |    2 +-
 sys/net/tun/if_tun.c              |    2 +-
 sys/platform/pc32/apm/apm.c       |    2 +-
 sys/platform/pc32/isa/asc.c       |    2 +-
 sys/platform/pc64/apm/apm.c       |    2 +-
 sys/platform/pc64/isa/asc.c       |    2 +-
 sys/vfs/devfs/devfs_vnops.c       |    9 +++------
 sys/vfs/fifofs/fifo_vnops.c       |    2 +-
 sys/vfs/gnu/ext2fs/ext2_vnops.c   |    2 +-
 sys/vfs/hammer/hammer_vnops.c     |    2 +-
 sys/vfs/ufs/ufs_vnops.c           |    2 +-
 46 files changed, 61 insertions(+), 61 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b287d64931f43a98750195e846e5681a1b90eb06


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]