Home | History | Annotate | Download | only in common
History log of /src/sys/compat/common/uipc_syscalls_50.c
RevisionDateAuthorComments
 1.12  28-Sep-2022  msaitoh Simplify sys/compat/sys/sockio.h. No functional change intended.

- Move some definitions from sys/compat/sockio.h to compat/net/if.h.
struct oif_data in sockio.h and if_data50 are the same, so remove oif_data.
Do the same thing to oifdatareq, too.
- u_quad_t -> uint64_t. No functional change.
 1.11  29-Jan-2020  thorpej Don't reference ifp->if_data directly; use if_export_if_data().
 1.10  15-Dec-2019  tsutsui branches: 1.10.2;
Remove clause 3 and 4 leftovers from TNF licenses in more sources.

Confirmed by martin@ in PR/54760.
 1.9  12-Dec-2019  pgoyette Rather than keeping a separate mutex, condvar, and pserialize for each
module hook, we can share a common set of synchronization structures.
This cuts the amount of cacheline_aligned data for these structures by
50%.

Note that we still have a per-hook localcount, since we need to count
individual references.

As discussed with riastradh@

Welcome to 9.99.22 !
 1.8  01-Mar-2019  pgoyette branches: 1.8.4;
Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

NFCI intended.

Ride the earlier kernel bump - it;s getting crowded.
 1.7  27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.6  12-Sep-2018  msaitoh Fix a bug that SIOC[GZ]IFDATA returned old ifreq structure.
 1.5  26-Apr-2018  roy branches: 1.5.2;
Test for valid interface for ioctls that demand it.

Thanks to Robert Swindells for the patch.
 1.4  12-Apr-2018  christos provide vectors for the ifconf compat code and ifdatareq compat code.
 1.3  19-Jan-2011  tsutsui branches: 1.3.56;
Remove includes <sys/mount.h> and <sys/sched.h> added for <sys/syscallargs.h>.
Now they are handled by $sysarghdrextra in sys/kern/syscalls.conf.
 1.2  11-Jan-2009  christos branches: 1.2.2; 1.2.4; 1.2.8; 1.2.12; 1.2.14;
merge christos-time_t
 1.1  27-Nov-2008  christos branches: 1.1.2;
file uipc_syscalls_50.c was initially added on branch christos-time_t.
 1.1.2.1  27-Nov-2008  christos handle ifdatareq
 1.2.14.1  06-Jun-2011  jruoho Sync with HEAD.
 1.2.12.1  05-Mar-2011  rmind sync with head
 1.2.8.2  04-May-2009  yamt sync with head.
 1.2.8.1  11-Jan-2009  yamt file uipc_syscalls_50.c was added on branch yamt-nfs-mp on 2009-05-04 08:12:17 +0000
 1.2.4.2  19-Jan-2009  skrll Sync with HEAD.
 1.2.4.1  11-Jan-2009  skrll file uipc_syscalls_50.c was added on branch nick-hppapmap on 2009-01-19 13:17:17 +0000
 1.2.2.2  17-Jan-2009  mjf Sync with HEAD.
 1.2.2.1  11-Jan-2009  mjf file uipc_syscalls_50.c was added on branch mjf-devfs2 on 2009-01-17 13:28:41 +0000
 1.3.56.13  23-Jan-2019  pgoyette Convert the macros for setting and unsetting a hook to generate
in-line code rather than using an intermediary hook##set routine.
Hooks are set and unset only in one place, so the intermediary
routine provides no benefit. IMHO using the macro at the point-
of-call is more readable than using it elsewhere in the code and
then calling the generated intermediary routine (for which you
won't even find its declaration or definition unless you remember
to search for the HOOK_SET macro instead).

NFC intended, will verify with a bulk build and an atf test run.
 1.3.56.12  15-Oct-2018  pgoyette Convert a couple more hooks to the MP-safe mechanism.

While here, clean up some headers and remove any that are now empty.
 1.3.56.11  30-Sep-2018  pgoyette Ssync with HEAD
 1.3.56.10  22-Sep-2018  pgoyette #include "opt_compat_netbsd.h" for all sources that provide compat code.
 1.3.56.9  20-Sep-2018  pgoyette Use the MP-safe hooks mechanism for the uipc_syscalls_40 and _50
routines.
 1.3.56.8  02-May-2018  pgoyette Synch with HEAD
 1.3.56.7  26-Apr-2018  pgoyette Import rev 1.5 from HEAD
 1.3.56.6  16-Apr-2018  pgoyette Rename if_[45]0_{init,fini} entry points to more appropriate and more
consistent uipc_syscalls_[45]0_{init,fini} and remove some multiple
declarations.
 1.3.56.5  16-Apr-2018  pgoyette Sync with HEAD, resolve some conflicts
 1.3.56.4  12-Apr-2018  pgoyette Merge christos's recent changes on HEAD
 1.3.56.3  08-Mar-2018  pgoyette Remove unnecessary conditionals. These files aren't built unless
their content is needed (via config option or module configuration).
 1.3.56.2  08-Mar-2018  pgoyette Clean up compat routine vectors
 1.3.56.1  08-Mar-2018  pgoyette Implement vector initialization for ifreqo2n and ifdatareq
 1.5.2.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.5.2.1  10-Jun-2019  christos Sync with HEAD
 1.8.4.1  18-Dec-2019  martin Pull up following revision(s) (requested by tsutsui in ticket #570):

sys/compat/netbsd32/netbsd32_compat_50_sysv.c: revision 1.3
sys/dev/raidframe/rf_compat50.h: revision 1.6
sys/arch/emips/emips/bus_space.c: revision 1.3
sys/compat/net/if.h: revision 1.5
sys/arch/emips/stand/common/bootinfo.c: revision 1.2
sys/compat/common/sysv_msg_50.c: revision 1.5
sys/compat/common/kern_time_30.c: revision 1.8
sys/arch/emips/stand/common/bootinfo.h: revision 1.2
sys/arch/ia64/include/bus.h: revision 1.4
sys/arch/ia64/ia64/bus_space.c: revision 1.2
sys/compat/common/sysv_shm_50.c: revision 1.5
sys/dev/ic/adw.h: revision 1.15
sys/compat/common/uipc_syscalls_50.c: revision 1.10
sys/arch/emips/ebus/flash_ebus.c: revision 1.22
sys/dev/ic/adv.h: revision 1.15
sys/dev/ic/adwmcode.c: revision 1.18
sys/dev/ic/advlib.c: revision 1.29
sys/arch/hpcarm/include/kloader.h: revision 1.3
sys/dev/usb/uberry.c: revision 1.16
sys/compat/common/sysv_sem_50.c: revision 1.5
sys/compat/netbsd32/netbsd32_compat_50.c: revision 1.43
sys/dev/ic/advlib.h: revision 1.21
sys/dev/ic/adv.c: revision 1.50
sys/compat/netinet6/in6_var.h: revision 1.5
sys/arch/hpc/stand/hpcboot/arm/arm_sa1100_asm.asm: revision 1.2
sys/arch/emips/include/loadfile_machdep.h: revision 1.3
sys/arch/emips/stand/common/prom_iface.c: revision 1.7
sys/dev/ic/adw.c: revision 1.56
sys/dev/ic/adwmcode.h: revision 1.12
sys/dev/ic/advmcode.c: revision 1.10
sys/arch/emips/ebus/ace_ebus.c: revision 1.22
sys/compat/netbsd32/netbsd32_compat_60.c: revision 1.5
sys/dev/raidframe/rf_compat50.c: revision 1.13
sys/arch/x68k/dev/intiovar.h: revision 1.15
sys/dev/usb/uipad.c: revision 1.8
sys/arch/zaurus/include/kloader.h: revision 1.3
sys/arch/emips/stand/common/bootxx.c: revision 1.2
sys/dev/ic/adwlib.h: revision 1.23
sys/dev/ic/adwlib.c: revision 1.44
sys/compat/netbsd32/netbsd32_compat_16.c: revision 1.3
sys/arch/amigappc/include/intr.h: revision 1.27
sys/arch/x68k/dev/mfp.c: revision 1.27
sys/arch/arm/at91/at91dbgu.c: revision 1.17
sys/dev/ic/advmcode.h: revision 1.7
sys/compat/ultrix/ultrix_exec.h: revision 1.7
sys/compat/common/vfs_syscalls_50.c: revision 1.24
sys/arch/mips/cavium/octeon_dma.c: revision 1.3
sys/arch/hpc/stand/hpcboot/arm/arm_pxa2x0_asm.asm: revision 1.2

Remove clause 3 and 4 from TNF licenses.
Ok'ed by martin@ in PR/54760.

Remove clause 3 and 4 leftovers from TNF licenses in more sources.
Confirmed by martin@ in PR/54760.
 1.10.2.1  29-Feb-2020  ad Sync with head.

RSS XML Feed