From 7b4f7bbabb53b4cc75c95b264eac3c4f62f9e967 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Tue, 29 Dec 2020 02:40:41 +0100 Subject: fix local vs nested terminology --- contributing.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contributing.mdwn') diff --git a/contributing.mdwn b/contributing.mdwn index 29d60228..93f3e116 100644 --- a/contributing.mdwn +++ b/contributing.mdwn @@ -91,7 +91,7 @@ with". * Teach rsync to use `*getxattr` and friends on GNU/Hurd too, to enable the -X option, so as to preserve translator entries. * Add a `name` field to `thread` structure in Mach, and `thread_set_name` (like `task_set_name`), and use it to add `pthread_setname_np` to glibc. -* Avoid GCC trampolines: as discussed in these happen when we pass the address of a local function to another function. This can be seen by running `readelf -S file.o | grep GNU-stack | grep X`, for instance that happens in libdiskfs/file-exec.c, libdiskfs/io-revoke.c. We can't really use -fno-trampoline, we should instead add `void *data` parameters to iterators such as `ports_class_iterate` or `fshelp_exec_reauth`. +* Avoid GCC trampolines: as discussed in these happen when we pass the address of a nested function to another function. This can be seen by running `readelf -S file.o | grep GNU-stack | grep X`, for instance that happens in libdiskfs/file-exec.c, libdiskfs/io-revoke.c. We can't really use -fno-trampoline, we should instead add `void *data` parameters to iterators such as `ports_class_iterate` or `fshelp_exec_reauth`, so that the nested functions can be made mere static functions that get their information from the `void *data` parameter. * Implement `pthread_setschedparam` and `sched_setscheduler` in glibc by calling mach's `thread_policy` and `thread_priority`. * Strengthen httpfs: it should append '/' to URL automatically, it should not fallback index.html itself, etc. probably a lot more small easy issues. * Create a Wiki page with all presentations about the Hurd. Many are referenced here in the Wiki, but they are not easy to find. -- cgit v1.2.3