Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2026 03:21:33 +0000
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 24d887436dcd - main - init: build dynamically
Message-ID:  <69eed63d.3a042.27d6bb7c@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=24d887436dcd5b6c18a7505e477c79cae3002c3a

commit 24d887436dcd5b6c18a7505e477c79cae3002c3a
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-04-20 17:52:59 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-04-27 01:44:09 +0000

    init: build dynamically
    
    This makes it easier to downgrade kernel when it stops providing some
    syscall required by libc.  In this case, it is enough to downgrade libc
    as well, our crt1 delegates all non-trivial work to
    libc::__libc_start1().  With static init, the /sbin/init should be
    downgraded as well, which might be not easy.
    
    This does not mean that we support forward compatibility.
    
    Reviewed by:    imp, jilles, zlei
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D56536
---
 sbin/init/Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sbin/init/Makefile b/sbin/init/Makefile
index 1fc9b633f664..342df4596a72 100644
--- a/sbin/init/Makefile
+++ b/sbin/init/Makefile
@@ -10,6 +10,4 @@ LIBADD=	util crypt
 CONFTTYSNAME=	ttys
 CONFTTYS+=	ttys
 
-NO_SHARED?=	YES
-
 .include <bsd.prog.mk>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69eed63d.3a042.27d6bb7c>