-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gpkg/glibc: disable syscall
__NR_pidfd_send_signal
and `__NR_close_…
…range` (#119) build.yml: switching from image package-builder ro package-builder-cgct
- Loading branch information
Showing
8 changed files
with
113 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- src/sysdeps/unix/sysv/linux/sys/pidfd.h 2023-07-31 20:54:16.000000000 +0300 | ||
+++ src/sysdeps/unix/sysv/linux/sys/pidfd.h.patch 2023-10-06 17:40:14.819331237 +0300 | ||
@@ -38,12 +38,4 @@ | ||
extern int pidfd_getfd (int __pidfd, int __targetfd, | ||
unsigned int __flags) __THROW; | ||
|
||
-/* Sends the signal SIG to the target process referred by the PIDFD. If | ||
- INFO points to a siginfo_t buffer, it will be populated. | ||
- | ||
- The FLAGS argument is reserved for future use, it must be specified | ||
- as 0. */ | ||
-extern int pidfd_send_signal (int __pidfd, int __sig, siginfo_t *__info, | ||
- unsigned int __flags) __THROW; | ||
- | ||
#endif /* _PIDFD_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- glibc-2.38/sysdeps/unix/sysv/linux/spawni.c 2023-07-31 20:54:16.000000000 +0300 | ||
+++ glibc-2.38/sysdeps/unix/sysv/linux/spawni.c.patch 2023-10-07 00:31:27.595087508 +0300 | ||
@@ -264,7 +264,7 @@ | ||
case spawn_do_closefrom: | ||
{ | ||
int lowfd = action->action.closefrom_action.from; | ||
- int r = INLINE_SYSCALL_CALL (close_range, lowfd, ~0U, 0); | ||
+ int r = close_range (lowfd, ~0U, 0); | ||
if (r != 0 && !__closefrom_fallback (lowfd, false)) | ||
goto fail; | ||
} break; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters