[Bug 249162] Consider passing argc/argv/env to the shared object init function (DT_INIT) for compatibility with glibc

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 7 21:32:41 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249162

--- Comment #4 from commit-hook at FreeBSD.org ---
A commit references this bug:

Author: kib
Date: Mon Sep  7 21:32:28 UTC 2020
New revision: 365432
URL: https://svnweb.freebsd.org/changeset/base/365432

Log:
  rtld: pass argc/argv/env to dso inits.

  This is consistent with how array inits are called, and also makes us
  more compatible with glibc environment.

  Requested by: Alex S <iwtcex at gmail.com>
  PR:   249162
  Reviewed by:  dim, emaste
  Sponsored by: The FreeBSD Foundation
  MFC after:    1 week
  Differential revision:        https://reviews.freebsd.org/D26351

Changes:
  head/libexec/rtld-elf/rtld.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list