diff --git a/lib/libc/sys/setcontext.c b/lib/libc/sys/setcontext.c index 301cca84c4f9..96b5dc115067 100644 --- a/lib/libc/sys/setcontext.c +++ b/lib/libc/sys/setcontext.c @@ -36,6 +36,7 @@ __weak_reference(__sys_setcontext, __setcontext); __sym_compat(setcontext, __impl_setcontext, FBSD_1.0); __weak_reference(setcontext, __impl_setcontext); +__sym_default(setcontext, setcontext, FBSD_1.2); #pragma weak setcontext int diff --git a/lib/libc/sys/swapcontext.c b/lib/libc/sys/swapcontext.c index 42793a516c70..b69a5b19e698 100644 --- a/lib/libc/sys/swapcontext.c +++ b/lib/libc/sys/swapcontext.c @@ -38,6 +38,7 @@ __weak_reference(__sys_swapcontext, __swapcontext); __sym_compat(swapcontext, __impl_swapcontext, FBSD_1.0); __weak_reference(swapcontext, __impl_swapcontext); +__sym_default(swapcontext, swapcontext, FBSD_1.2); #pragma weak swapcontext int diff --git a/lib/libsys/Symbol.sys.map b/lib/libsys/Symbol.sys.map index 0fc11fa0366e..25359830fd88 100644 --- a/lib/libsys/Symbol.sys.map +++ b/lib/libsys/Symbol.sys.map @@ -301,8 +301,6 @@ FBSD_1.2 { cap_getmode; getloginclass; getpagesizes; - openat; - pdfork; pdgetpid; pdkill; posix_fallocate; @@ -311,9 +309,7 @@ FBSD_1.2 { rctl_get_limits; rctl_add_rule; rctl_remove_rule; - setcontext; setloginclass; - swapcontext; }; FBSD_1.3 { diff --git a/lib/libsys/openat.c b/lib/libsys/openat.c index 74227377f4a2..a92ce54a3d28 100644 --- a/lib/libsys/openat.c +++ b/lib/libsys/openat.c @@ -52,6 +52,7 @@ __weak_reference(_openat, __openat); #endif __sym_compat(openat, __impl_openat, FBSD_1.1); __weak_reference(openat, __impl_openat); +__sym_default(openat, openat, FBSD_1.2); #pragma weak openat int