Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
glibc
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GNU Libc Maintainers
glibc
Compare revisions
d57c55dabaea5b61930400448277f0be5a736666 to f5d3d8713498e2b7b8f04dffaeca4edab5386828
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
glibc-team/glibc
Select target project
No results found
f5d3d8713498e2b7b8f04dffaeca4edab5386828
Select Git revision
Swap
Target
glibc-team/glibc
Select target project
Maytha8/glibc
vimerbf-guest/glibc
schopin/glibc
yumeyao/glibc
carlespina/po-debconf-manager-glibc
Claudia/glibc-widevine
andrewsh/glibc
jscott/glibc
bluca/glibc
gioele/glibc
rouca/glibc
sven/glibc
josch/glibc
cjwatson/glibc
fw/glibc
rbalint/glibc
bsd-team/glibc-packaging
glibc-team/glibc
bigon/glibc
ahrex-guest/glibc
friki/glibc
21 results
d57c55dabaea5b61930400448277f0be5a736666
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
debian/patches/hurd-i386/local-exec_filename.diff: Drop old experimental patch
· a5018ff7
Samuel Thibault
authored
2 months ago
a5018ff7
Merge branch 'sid' into glibc-2.41
· f5d3d871
Samuel Thibault
authored
2 months ago
f5d3d871
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian/changelog
+2
-0
2 additions, 0 deletions
debian/changelog
debian/patches/hurd-i386/local-exec_filename.diff
+0
-144
0 additions, 144 deletions
debian/patches/hurd-i386/local-exec_filename.diff
debian/patches/series
+0
-1
0 additions, 1 deletion
debian/patches/series
with
2 additions
and
145 deletions
debian/changelog
View file @
f5d3d871
...
...
@@ -41,6 +41,8 @@ glibc (2.40-7) UNRELEASED; urgency=medium
* debian/libc0.3.symbols.hurd-*: Prepare removal of experimental
exec_exec_file_name and file_exec_file_name.
* debian/patches/hurd-i386/local-exec_filename.diff: Drop old experimental
patch.
-- Samuel Thibault <sthibault@debian.org> Sat, 01 Feb 2025 17:57:29 +0100
...
...
This diff is collapsed.
Click to expand it.
debian/patches/hurd-i386/local-exec_filename.diff
deleted
100644 → 0
View file @
d57c55da
Keep compatibility with experimental implementation
---
hurd/Makefile | 2 ++
hurd/Versions | 4 ++++
hurd/hurdexec.c | 28 ++++++++++++++++++++++++++++
sysdeps/mach/hurd/i386/libc.abilist | 1 +
sysdeps/mach/hurd/spawni.c | 13 +++++++++++++
sysdeps/mach/hurd/x86_64/libc.abilist | 1 +
6 files changed, 49 insertions(+)
--- a/hurd/Makefile
+++ b/hurd/Makefile
@@ -49,8 +49,10 @@
hurd/auth_request \
hurd/crash \
hurd/exec \
+ hurd/exec_experimental \
hurd/exec_startup \
hurd/fs \
+ hurd/fs_experimental \
hurd/fsys \
hurd/ifsock \
hurd/interrupt \
--- a/hurd/Versions
+++ b/hurd/Versions
@@ -117,6 +117,10 @@
# functions used in macros & inline functions
__errno_location;
}
+ GLIBC_2.21 {
+ # "quasi-internal" functions
+ _hurd_exec_file_name;
+ }
GLIBC_2.26 {
# "quasi-internal" functions
_hurd_exec_paths;
--- a/hurd/hurdexec.c
+++ b/hurd/hurdexec.c
@@ -25,9 +25,12 @@
#include <hurd/fd.h>
#include <hurd/signal.h>
#include <hurd/id.h>
+#include <hurd/fs_experimental.h>
#include <assert.h>
#include <argz.h>
+#include <shlib-compat.h>
+
/* Overlay TASK, executing FILE with arguments ARGV and environment ENVP.
If TASK == mach_task_self (), some ports are dealloc'd by the exec server.
ARGV and ENVP are terminated by NULL pointers.
@@ -39,6 +42,13 @@
return _hurd_exec_paths (task, file, NULL, NULL, argv, envp);
}
+error_t
+__hurd_exec_file_name (task_t task, file_t file, const char *filename,
+ char *const argv[], char *const envp[])
+{
+ return _hurd_exec_paths (task, file, filename, filename, argv, envp);
+}
+
link_warning (_hurd_exec,
"_hurd_exec is deprecated, use _hurd_exec_paths instead");
@@ -442,6 +452,18 @@
/* Fall back for backwards compatibility. This can just be removed
when __file_exec goes away. */
if (err == MIG_BAD_ID)
+ err = __file_exec_file_name (file, task, flags,
+ path ? path : "",
+ args, argslen, env, envlen,
+ dtable, MACH_MSG_TYPE_COPY_SEND, dtablesize,
+ ports, MACH_MSG_TYPE_COPY_SEND,
+ _hurd_nports,
+ ints, INIT_INT_MAX,
+ please_dealloc, pdp - please_dealloc,
+ portnames, nportnames);
+ /* Fall back for backwards compatibility. This can just be removed
+ when __file_exec goes away. */
+ if (err == MIG_BAD_ID)
err = __file_exec (file, task, flags,
args, argslen, env, envlen,
dtable, MACH_MSG_TYPE_COPY_SEND, dtablesize,
@@ -489,3 +511,9 @@
return err;
}
libc_hidden_def (_hurd_exec_paths)
+extern error_t _hurd_exec_file_name (task_t task,
+ file_t file,
+ const char *filename,
+ char *const argv[],
+ char *const envp[]);
+versioned_symbol (libc, __hurd_exec_file_name, _hurd_exec_file_name, GLIBC_2_21);
--- a/sysdeps/mach/hurd/spawni.c
+++ b/sysdeps/mach/hurd/spawni.c
@@ -30,6 +30,7 @@
#include <hurd/id.h>
#include <hurd/lookup.h>
#include <hurd/resource.h>
+#include <hurd/fs_experimental.h>
#include <assert.h>
#include <argz.h>
#include "spawn_int.h"
@@ -830,6 +831,18 @@
dtable, MACH_MSG_TYPE_COPY_SEND, dtablesize,
ports, MACH_MSG_TYPE_COPY_SEND, _hurd_nports,
ints, INIT_INT_MAX,
+ NULL, 0, NULL, 0);
+
+ /* Fallback for backwards compatibility. This can just be removed
+ when __file_exec goes away. */
+ if (err == MIG_BAD_ID)
+ err = __file_exec_file_name
+ (file, task,
+ __sigismember (&_hurdsig_traced, SIGKILL) ? EXEC_SIGTRAP : 0,
+ relpath, args, argslen, env, envlen,
+ dtable, MACH_MSG_TYPE_COPY_SEND, dtablesize,
+ ports, MACH_MSG_TYPE_COPY_SEND, _hurd_nports,
+ ints, INIT_INT_MAX,
NULL, 0, NULL, 0);
/* Fallback for backwards compatibility. This can just be removed
--- a/sysdeps/mach/hurd/i386/libc.abilist
+++ b/sysdeps/mach/hurd/i386/libc.abilist
@@ -1975,6 +1975,7 @@
GLIBC_2.2.6 xprt_unregister F
GLIBC_2.21 __mach_host_self_ D 0x4
GLIBC_2.21 __pthread_get_cleanup_stack F
+GLIBC_2.21 _hurd_exec_file_name F
GLIBC_2.21 pthread_attr_destroy F
GLIBC_2.21 pthread_attr_getdetachstate F
GLIBC_2.21 pthread_attr_getinheritsched F
--- a/sysdeps/mach/hurd/x86_64/libc.abilist
+++ b/sysdeps/mach/hurd/x86_64/libc.abilist
@@ -572,6 +572,7 @@
GLIBC_2.38 _hurd_dtablesize D 0x4
GLIBC_2.38 _hurd_exception2signal F
GLIBC_2.38 _hurd_exec F
+GLIBC_2.38 _hurd_exec_file_name F
GLIBC_2.38 _hurd_exec_paths F
GLIBC_2.38 _hurd_fd_error F
GLIBC_2.38 _hurd_fd_error_signal F
This diff is collapsed.
Click to expand it.
debian/patches/series
View file @
f5d3d871
...
...
@@ -42,7 +42,6 @@ hurd-i386/submitted-bind_umask2.diff
hurd-i386/tg-bootstrap.diff
hurd-i386/tg-libc_rwlock_recursive.diff
hurd-i386/local-no_unsupported_ioctls.diff
hurd-i386/local-exec_filename.diff
hurd-i386/proc_reauth.diff
hurd-i386/local-stack_chk_guard.diff
...
...
This diff is collapsed.
Click to expand it.