freebsd-dev/sys/i386/ibcs2
John Baldwin ab2c368640 Fix a couple of issues with the ibcs2 module event handler. First, return
success instead of EOPNOTSUPP when being loaded.  Secondly, if there are no
ibcs2 processes running when a MOD_UNLOAD request is made, break out to
return success instead of falling through into the default case which
returns EOPNOTSUPP.  With these fixes, I can now kldload and subsequently
kldunload the ibcs2 module.

PR:		kern/82026 (and several duplicates)
Reported by:	lots of folks
MFC after:	1 week
2006-01-03 20:39:38 +00:00
..
coff.h
ibcs2_dirent.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_errno.c /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_errno.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_fcntl.c - Implement ibcs2_emul_find() using kern_alternate_path(). This changes 2005-02-07 22:02:18 +00:00
ibcs2_fcntl.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_ioctl.c /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_ioctl.h
ibcs2_ipc.c Add missing dependencies on the SYSVIPC modules. 2005-07-29 19:41:04 +00:00
ibcs2_ipc.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_isc_syscall.h Regen. 2005-07-13 20:35:09 +00:00
ibcs2_isc_sysent.c Regen. 2005-07-13 20:35:09 +00:00
ibcs2_isc.c Conditionally acquire Giant around the ISC and Xenix system calls based 2005-07-07 19:28:55 +00:00
ibcs2_misc.c Remove an extra call to read() in ibcs2_read() that can never be reached. 2005-07-07 19:29:42 +00:00
ibcs2_mount.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_msg.c correct bounds check of fd parameter 2005-02-25 20:15:11 +00:00
ibcs2_other.c - Implement ibcs2_emul_find() using kern_alternate_path(). This changes 2005-02-07 22:02:18 +00:00
ibcs2_poll.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_proto.h Regen. 2005-07-13 20:35:09 +00:00
ibcs2_signal.c Backout previous change (disabling of security checks for signals delivered 2005-02-13 17:37:20 +00:00
ibcs2_signal.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_socksys.c /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_socksys.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_stat.c - Implement ibcs2_emul_find() using kern_alternate_path(). This changes 2005-02-07 22:02:18 +00:00
ibcs2_stat.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_statfs.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_stropts.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_syscall.h Regen. 2005-07-13 20:35:09 +00:00
ibcs2_sysent.c Regen. 2005-07-13 20:35:09 +00:00
ibcs2_sysi86.c Lock Giant around a call to userland_sysctl() in ibcs2_sysi86(). 2005-07-07 19:30:30 +00:00
ibcs2_sysvec.c Fix a couple of issues with the ibcs2 module event handler. First, return 2006-01-03 20:39:38 +00:00
ibcs2_termios.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_time.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_types.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_unistd.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_ustat.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_util.c - Implement ibcs2_emul_find() using kern_alternate_path(). This changes 2005-02-07 22:02:18 +00:00
ibcs2_util.h - Implement ibcs2_emul_find() using kern_alternate_path(). This changes 2005-02-07 22:02:18 +00:00
ibcs2_utime.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_utsname.h /* -> /*- for license, add FreeBSD tag 2005-01-06 23:22:04 +00:00
ibcs2_xenix_syscall.h Regen. 2005-07-13 20:35:09 +00:00
ibcs2_xenix_sysent.c Regen. 2005-07-13 20:35:09 +00:00
ibcs2_xenix.c Conditionally acquire Giant around the ISC and Xenix system calls based 2005-07-07 19:28:55 +00:00
ibcs2_xenix.h Regen. 2005-07-13 20:35:09 +00:00
imgact_coff.c - Pass the ISOPEN flag to namei so filesystems will know we're about to 2005-04-27 09:05:19 +00:00
Makefile
syscalls.conf GC unused 'syshide' override to /dev/null. This was here to disable 2003-12-24 00:32:07 +00:00
syscalls.isc Make a pass through all the compat ABIs sychronizing the MP safe flags 2005-07-13 20:32:42 +00:00
syscalls.isc.conf GC unused 'syshide' override to /dev/null. This was here to disable 2003-12-24 00:32:07 +00:00
syscalls.master Make a pass through all the compat ABIs sychronizing the MP safe flags 2005-07-13 20:32:42 +00:00
syscalls.xenix Make a pass through all the compat ABIs sychronizing the MP safe flags 2005-07-13 20:32:42 +00:00
syscalls.xenix.conf GC unused 'syshide' override to /dev/null. This was here to disable 2003-12-24 00:32:07 +00:00