Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37530061
en ru br
Репозитории ALT
S:0.7.91.0.198.git82c6640-alt5
5.1: 0.5-alt1
4.1: 0.5-alt1
4.0: 0.4-alt2.0
3.0: 0.3.36-alt2
www.altlinux.org/Changes

Группа :: Разработка/Отладчики
Пакет: ltrace

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: ltrace-0.7.91.0.198.git82c6640-fix_attach_process_dlopen.patch
Скачать


diff --git a/testsuite/ltrace.minor/attach-process-dlopen.exp b/testsuite/ltrace.minor/attach-process-dlopen.exp
index ac61347..afb8b75 100644
--- a/testsuite/ltrace.minor/attach-process-dlopen.exp
+++ b/testsuite/ltrace.minor/attach-process-dlopen.exp
@@ -29,7 +29,9 @@ spawn [ltraceCompile exe -ldl [ltraceSource c {
     #include <assert.h>
     #include <stdio.h>
     #include <string.h>
+    #include <sys/prctl.h>
     int main(int argc, char **argv) {
+	(void) prctl(PR_SET_PTRACER, PR_SET_PTRACER_ANY);
 	assert(argc == 2);
     #define FN "libll.so"
 	char buf[strlen(argv[1]) + 1 + sizeof FN];
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin