Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161610741
D44115.id135094.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D44115.id135094.diff
View Options
diff --git a/lib/libc/i386/gen/setjmp.S b/lib/libc/i386/gen/setjmp.S
--- a/lib/libc/i386/gen/setjmp.S
+++ b/lib/libc/i386/gen/setjmp.S
@@ -49,7 +49,7 @@
pushl %eax /* (sigset_t*)oset */
pushl $0 /* (sigset_t*)set */
pushl $1 /* SIG_BLOCK */
- call __libc_sigprocmask
+ call PIC_PLT(__libc_sigprocmask)
addl $12,%esp
movl 4(%esp),%ecx
movl 0(%esp),%edx
@@ -71,7 +71,7 @@
leal 28(%edx), %eax
pushl %eax /* (sigset_t*)set */
pushl $3 /* SIG_SETMASK */
- call __libc_sigprocmask
+ call PIC_PLT(__libc_sigprocmask)
addl $12,%esp
movl 4(%esp),%edx
movl 8(%esp),%eax
diff --git a/lib/libc/i386/gen/sigsetjmp.S b/lib/libc/i386/gen/sigsetjmp.S
--- a/lib/libc/i386/gen/sigsetjmp.S
+++ b/lib/libc/i386/gen/sigsetjmp.S
@@ -59,7 +59,7 @@
pushl %eax /* (sigset_t*)oset */
pushl $0 /* (sigset_t*)set */
pushl $1 /* SIG_BLOCK */
- call __libc_sigprocmask
+ call PIC_PLT(__libc_sigprocmask)
addl $12,%esp
movl 4(%esp),%ecx
2: movl 0(%esp),%edx
@@ -83,7 +83,7 @@
leal 28(%edx), %eax
pushl %eax /* (sigset_t*)set */
pushl $3 /* SIG_SETMASK */
- call __libc_sigprocmask
+ call PIC_PLT(__libc_sigprocmask)
addl $12,%esp
movl 4(%esp),%edx
2: movl 8(%esp),%eax
diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h
--- a/lib/libc/include/libc_private.h
+++ b/lib/libc/include/libc_private.h
@@ -410,10 +410,9 @@
int __sys_shm_open2(const char *, int, __mode_t, int, const char *);
int __libc_sigaction(int, const struct sigaction *,
- struct sigaction *) __hidden;
-int __libc_sigprocmask(int, const __sigset_t *, __sigset_t *)
- __hidden;
-int __libc_sigsuspend(const __sigset_t *) __hidden;
+ struct sigaction *);
+int __libc_sigprocmask(int, const __sigset_t *, __sigset_t *);
+int __libc_sigsuspend(const __sigset_t *);
int __libc_sigwait(const __sigset_t * __restrict,
int * restrict sig);
int __libc_system(const char *);
diff --git a/lib/libsys/Symbol.map b/lib/libsys/Symbol.map
--- a/lib/libsys/Symbol.map
+++ b/lib/libsys/Symbol.map
@@ -2,6 +2,9 @@
__elf_aux_vector;
__getosreldate;
__init_elf_aux_vector;
+ __libc_sigaction;
+ __libc_sigprocmask;
+ __libc_sigsuspend;
__realpathat;
_elf_aux_info;
freebsd11_fstat;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 6, 7:27 AM (13 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34744327
Default Alt Text
D44115.id135094.diff (2 KB)
Attached To
Mode
D44115: libsys: expose __libc_sig{action,protmask,suspend}
Attached
Detach File
Event Timeline
Log In to Comment