The NetBSD Project

CVS log for src/lib/librumpuser/rumpuser_dl.c

[BACK] Up to [cvs.NetBSD.org] / src / lib / librumpuser

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.34 / (download) - annotate - [select for diffs], Tue Apr 19 20:32:17 2022 UTC (9 months, 2 weeks ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, HEAD
Changes since 1.33: +5 -5 lines
Diff to previous 1.33 (colored)

lib: remove CONSTCOND comment

Since 2021-01-31, lint doesn't need it anymore for the common pattern of
'do ... while (0)'.

Revision 1.30.16.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:16 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.30: +36 -7 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Merge changes from current as of 20200406

Revision 1.33 / (download) - annotate - [select for diffs], Sun Mar 22 13:30:10 2020 UTC (2 years, 10 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.32: +10 -14 lines
Diff to previous 1.32 (colored)

Teach rump to process __link_set_evcnts entries.  (Second part of
fix for PR kern/55088)

Revision 1.32 / (download) - annotate - [select for diffs], Sat Mar 21 04:48:37 2020 UTC (2 years, 10 months ago) by pgoyette
Branch: MAIN
Changes since 1.31: +35 -2 lines
Diff to previous 1.31 (colored)

Teach rump how to process __link_set_sysctl_funcs so it can handle
modules the same as a real kernel.

Partly addresses PR kern/55088 - __link_set_evcnts not yet handled
(that will happen later)

Revision 1.31 / (download) - annotate - [select for diffs], Thu Dec 26 04:53:11 2019 UTC (3 years, 1 month ago) by msaitoh
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

s/lenght/length/

Revision 1.30 / (download) - annotate - [select for diffs], Tue Nov 4 19:05:17 2014 UTC (8 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.29: +3 -5 lines
Diff to previous 1.29 (colored)

Use autoconf for rump kernel posix hypercall layer.

This gets rid of homegrown hacks and puts all probes in one place.

Tested for NetBSD (build.sh + anita) and Linux (buildrump.sh)

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:21 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.8.2.2: +28 -13 lines
Diff to previous 1.8.2.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:52:26 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.28: +2 -9 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Rebase.

Revision 1.7.4.4 / (download) - annotate - [select for diffs], Thu May 22 11:37:00 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.7.4.3: +78 -103 lines
Diff to previous 1.7.4.3 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.29 / (download) - annotate - [select for diffs], Sun Apr 27 15:19:00 2014 UTC (8 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.28: +2 -9 lines
Diff to previous 1.28 (colored)

weak alias removal implication: rumpuser_dl_globalsym() can now sleep
with the fishes.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Apr 2 17:09:23 2014 UTC (8 years, 10 months ago) by justin
Branch: MAIN
Branch point for: tls-earlyentropy
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

Add Android support for rump kernel.

Reviewed by pooka@

Revision 1.27 / (download) - annotate - [select for diffs], Fri Mar 14 01:18:39 2014 UTC (8 years, 10 months ago) by justin
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Changes since 1.26: +5 -2 lines
Diff to previous 1.26 (colored)

If dlopen returns NULL assume we are statically linked and return,
rather than getting a warning when dlinfo fails.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Mar 13 11:21:54 2014 UTC (8 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.25: +18 -2 lines
Diff to previous 1.25 (colored)

Do not process linkmaps if there is exactly one link map present
(i.e. there is no ld.so).  Makes statically linked rump kernels work on
glibc (at least for me).

based on some discussion with Justin Cormack

Revision 1.25 / (download) - annotate - [select for diffs], Wed Oct 30 13:08:14 2013 UTC (9 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored)

Oh, stdint.h isn't written with a comma ...

Revision 1.24 / (download) - annotate - [select for diffs], Wed Oct 30 12:55:53 2013 UTC (9 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

need to include stdint.h before rump/rumpuser.h

Revision 1.23 / (download) - annotate - [select for diffs], Wed Oct 30 12:30:32 2013 UTC (9 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.22: +3 -4 lines
Diff to previous 1.22 (colored)

glibc on MIPS uses the same DYN d_ptr variant as NetBSD and musl.

from Justin Cormack

Revision 1.22 / (download) - annotate - [select for diffs], Sun Oct 27 16:39:46 2013 UTC (9 years, 3 months ago) by rmind
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored)

librumpuser: add some #ifdef __APPLE__ and missing bits to build it on OS X.
OK pooka@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jul 30 18:56:03 2013 UTC (9 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

comment polish: just musl

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jul 30 18:48:51 2013 UTC (9 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.19: +8 -5 lines
Diff to previous 1.19 (colored)

Decide ET_DYN behavior based on __GLIBC__ instead of __linux__,
e.g. musl libc doesn't follow glibc behavior.

per discussions with a number of people

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:21:08 2013 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.8.2.1: +52 -92 lines
Diff to previous 1.8.2.1 (colored) to branchpoint 1.8 (colored)

resync from head

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jun 4 15:17:28 2013 UTC (9 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

FreeBSD does the Solaris-like map->l_addr boogie.

from Ben Gras

Revision 1.18 / (download) - annotate - [select for diffs], Mon Apr 29 18:00:20 2013 UTC (9 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.17: +4 -12 lines
Diff to previous 1.17 (colored)

Make rumpuser_dl_bootstrap() optional for platforms which don't
provide dynamic linking.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Mar 20 12:59:10 2013 UTC (9 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.16: +4 -5 lines
Diff to previous 1.16 (colored)

Attempt two for the previous: _ILP32 comes from headers, so don't use
it to decide if we want to muddle with _FILE_OFFSET_BITS.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Mar 20 12:30:13 2013 UTC (9 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.15: +10 -2 lines
Diff to previous 1.15 (colored)

Use _FILE_OFFSET_BITS=64 on Solaris too (necessary for 32bit builds).

Revision 1.15 / (download) - annotate - [select for diffs], Tue Mar 12 14:03:32 2013 UTC (9 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

DragonFly is in the Solaris camp in the "how to access ELF DYN at runtime"
valley of joy and love.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Mar 9 13:25:17 2013 UTC (9 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.13: +5 -5 lines
Diff to previous 1.13 (colored)

Tiny fix for Solaris.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Mar 8 19:04:27 2013 UTC (9 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.12: +46 -85 lines
Diff to previous 1.12 (colored)

Ensure that rump kernel component constructors from the main object
get processed.  This applies to ones which were linked statically.
Unfortunately, that's where it got a bit tricky, since the dlsym()
interface searches the handle and all its dependencies.  For the main
object the list of dependencies includes all the dynamic rump kernel
components that were included when the binary is linked.  So, a long
story short, make only one pass through the objects to harvest all the
component entries, weed out the dupes, and initialize components from
an in-memory dupe-free list when so requested.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:28:01 2013 UTC (9 years, 11 months ago) by tls
Branch: tls-maxphys
Changes since 1.8: +69 -8 lines
Diff to previous 1.8 (colored)

resync with head

Revision 1.7.4.3 / (download) - annotate - [select for diffs], Wed Jan 23 00:05:27 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.7.4.2: +17 -4 lines
Diff to previous 1.7.4.2 (colored) to branchpoint 1.7 (colored)

sync with head

Revision 1.7.4.2 / (download) - annotate - [select for diffs], Wed Jan 16 05:32:28 2013 UTC (10 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.7.4.1: +54 -6 lines
Diff to previous 1.7.4.1 (colored) to branchpoint 1.7 (colored)

sync with (a bit old) head

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jan 14 21:00:16 2013 UTC (10 years ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.11: +17 -4 lines
Diff to previous 1.11 (colored)

Support Cygwin as a hypervisor.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 11 21:16:22 2012 UTC (10 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base7
Changes since 1.10: +49 -2 lines
Diff to previous 1.10 (colored)

Support binaries which use DT_GNU_HASH instead of DT_HASH.

Revision 1.10 / (download) - annotate - [select for diffs], Mon Nov 26 17:55:11 2012 UTC (10 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.9: +4 -3 lines
Diff to previous 1.9 (colored)

Support DragonFly BSD.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 26 17:00:54 2012 UTC (10 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

const poison is the cure

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Tue Oct 30 18:59:17 2012 UTC (10 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.7: +34 -12 lines
Diff to previous 1.7 (colored)

sync with head

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 27 09:09:05 2012 UTC (10 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.7: +34 -12 lines
Diff to previous 1.7 (colored)

Once again, make the rump kernel hypercall layer work on Linux.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Mar 22 22:27:33 2011 UTC (11 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.6: +7 -2 lines
Diff to previous 1.6 (colored)

make work on nb5 again

Revision 1.6 / (download) - annotate - [select for diffs], Wed Mar 16 11:44:01 2011 UTC (11 years, 10 months ago) by njoly
Branch: MAIN
Changes since 1.5: +5 -16 lines
Diff to previous 1.5 (colored)

Convert hashtab to Elf_Symindx type, and use it directly to get symbol
count. Remove now unused GETVECWORDn macro.

This is needed to make it work on alpha which use non-standard 64bit
values for the symbol hash table section, unlike all other archs.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 30 15:47:30 2010 UTC (12 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.4: +9 -2 lines
Diff to previous 1.4 (colored)

Allow rump kernel to call dlsym(RTLD_DEFAULT).

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jun 8 15:32:55 2010 UTC (12 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.3: +75 -94 lines
Diff to previous 1.3 (colored)

Allow loading the symbols from objects which are not directly mapped
into memory, namely the main object (i.e. map->l_addr is NULL).

Revision 1.3 / (download) - annotate - [select for diffs], Fri Mar 5 18:47:50 2010 UTC (12 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.2: +11 -22 lines
Diff to previous 1.2 (colored)

During bootstrap, process all modinfos in a DSO in one go.  Get
rid of dependency tricks, since they are no longer necessary.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Mar 1 13:13:48 2010 UTC (12 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.1: +49 -2 lines
Diff to previous 1.1 (colored)

Introduce RUMP_COMPONENT.  It behaves mostly like a simplified
module which is linked into the kernel and cannot be unloaded.
The main purpose is to get the proper constructors run and create
any /dev nodes necessary for said component.  Once more of the
kernel (e.g. networking stack and device drivers) are converted to
MODULE and devfs pops up from somewhere, rump components can be
retired.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Feb 26 18:54:20 2010 UTC (12 years, 11 months ago) by pooka
Branch: MAIN

librumpuser is not _KERNEL code and does not belong in sys.  Move
the source files from src/sys/rump/librump/rumpuser to src/lib/librumpuser
(from where it is already built).  Even so, keep rumpuser.h in
sys/rump/include for kernel source tree self-containment.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>