FreeBSD Bugzilla – Attachment 231362 Details for
Bug 261491
net/ntp: Fails to build: error: use of undeclared identifier 'PROC_STACKGAP_CTL' (4.2.8p15)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix ASLR build
ntpd-aslr.diff (text/plain), 928 bytes, created by
Cy Schubert
on 2022-01-26 18:16:45 UTC
(
hide
)
Description:
Fix ASLR build
Filename:
MIME Type:
Creator:
Cy Schubert
Created:
2022-01-26 18:16:45 UTC
Size:
928 bytes
patch
obsolete
>diff --git a/net/ntp/files/patch-ntpd_ntpd.c b/net/ntp/files/patch-ntpd_ntpd.c >index b70026785fcd..477f570f93b6 100644 >--- a/net/ntp/files/patch-ntpd_ntpd.c >+++ b/net/ntp/files/patch-ntpd_ntpd.c >@@ -1,5 +1,5 @@ > --- ntpd/ntpd.c.orig 2020-06-23 02:17:48.000000000 -0700 >-+++ ntpd/ntpd.c 2022-01-19 20:36:53.477753000 -0800 >++++ ntpd/ntpd.c 2022-01-26 10:14:00.828563000 -0800 > @@ -145,7 +145,9 @@ > # include <seccomp.h> > #endif /* LIBSECCOMP and KERN_SECCOMP */ >@@ -11,12 +11,14 @@ > #include <sys/procctl.h> > #ifndef PROC_STACKGAP_CTL > /* >-@@ -438,7 +440,7 @@ >+@@ -438,7 +440,9 @@ > char *argv[] > ) > { > -# ifdef __FreeBSD__ >-+# if defined(__FreeBSD_version) && __FreeBSD_version < 1400037 >++# if defined(__FreeBSD_version) && \ >++ ((__FreeBSD_version > 1400000 && __FreeBSD_version < 1400038) || \ >++ __FreeBSD_version < 1300524) > { > /* > * We Must disable ASLR stack gap on FreeBSD to avoid a
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 261491
:
231361
| 231362