From nobody Thu Jun 06 09:08:13 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Vvz593CXFz5M80Q; Thu, 06 Jun 2024 09:08:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Vvz592kr5z4WnZ; Thu, 6 Jun 2024 09:08:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717664893; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uwtr4/21VLh3D5G9eoCaYIeUGg2GeDepcSpUhNGC00E=; b=Go5bIEap+YD1Oi1H8xMNkFsmbhdhZEbqH6vId+2tUJ4tq0AEwTVCDmWXwMFzceoyHxUfYD tfzdwITkH8kfFTRwuj56ZtViS1bs01kzyGZNZtxfDsC9ya0L6clft4T7Z4FQVM8EgK4qwY HufowBGRk3gxtCLFVqJh/cRGtpvWw4Gl6Rcjl9Rdunsab7UYZLSSKcfNEqmzMpyQmHNxNv nONBoEKw1ZkLX9kMT5/+UNqYDdtk4024zEiFxi20FddxUq4mHWDl4K+MbCn2vkEE9wlH4I aIAkadifm8lKpzI3wLHRYJ4tGKnTJHzqzzJjwx05XH3DbiNCvHLCuMD+AuMTOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717664893; a=rsa-sha256; cv=none; b=jctwg038X/kbE99f/6H7naFUhaNP2UK5s+aAlWCNO7O9CyBZLBBmvm2BY9ZX12lBQnGIys /gFpDsI4rAF+fFGbaiDSFEIQwOaZBi/oCn0eT1p3cQB4jNu28KY/NBvqAAKi0jUsJMHujC q8+PrakPYhYqcOE+wUjnmO6ylkzGBCbvz0LsokgMgApHKbag7NaE+1pJBAgsroLbAsCs0F RkXavM9EAhtjEbdlo4P+eKaeqOeYbjpyIxfzldOBCZJeEktdvTCjbnmPCvgIBLCm58kyM8 elYjqyCgWKKA+5cLAtMSKZ9xYaGp5oXMPZXw0fJjL3zp4taxLvai7Vt21IgYCA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717664893; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uwtr4/21VLh3D5G9eoCaYIeUGg2GeDepcSpUhNGC00E=; b=T5Qx1Tr4iUi3sOzywOXahtFupcxKY3cnogNYT8KkIXV1ZZ11btThSiD+TLIBGMAR65EMLA IXWlff6W9OYu57hseL7lPdZPAMIWM2lU1LbCFmHryrm9ohYisfsn9T2Ufizz5m9i70myRm biB24j3TAiEOAOe7+owB/ebsRfFpi5DhFIA1kOdQX5AWCIBNzIxVXIJRSJM+mUArvRgVP/ +TuQ1PK/AOpopKWUIwsXd33ErTxt9MxEInSEaF4R2KoQrRjscpZUXwYBf0XpAuZLqHN06O eS/bk5Pb6MRutW2ZtcNpATYntk84OfXkzBN/bj5vXUXdC0L09ntQhDnkh3nmuA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Vvz592LBfzfpQ; Thu, 6 Jun 2024 09:08:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45698D1G038227; Thu, 6 Jun 2024 09:08:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45698DEP038224; Thu, 6 Jun 2024 09:08:13 GMT (envelope-from git) Date: Thu, 6 Jun 2024 09:08:13 GMT Message-Id: <202406060908.45698DEP038224@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: ec69d230933f - main - linux: Allows writing to the vdso from the kernel List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ec69d230933f82c7c142b053882255aa57475463 Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=ec69d230933f82c7c142b053882255aa57475463 commit ec69d230933f82c7c142b053882255aa57475463 Author: Andrew Turner AuthorDate: 2024-06-05 18:47:48 +0000 Commit: Andrew Turner CommitDate: 2024-06-06 09:07:49 +0000 linux: Allows writing to the vdso from the kernel We need to write to the vdso in the kernel to perform fixups. Move it from .rodata to .data so these can be run. Reported by: cy Sponsored by: Arm Ltd --- sys/compat/linux/linux_vdso_inc.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_vdso_inc.S b/sys/compat/linux/linux_vdso_inc.S index af10907f0b60..44cc357b4a4a 100644 --- a/sys/compat/linux/linux_vdso_inc.S +++ b/sys/compat/linux/linux_vdso_inc.S @@ -25,7 +25,7 @@ * SUCH DAMAGE. */ - .section .rodata + .section .data .globl _binary_linux_vdso_so_o_start _binary_linux_vdso_so_o_start: .incbin "linux_vdso.so.o"