Page MenuHomeFreeBSD

Fix a copy-paste error
ClosedPublic

Authored by me_igalic.co on Nov 28 2020, 9:49 PM.

Details

Summary

we have a repeat of kern.elf32.aslr.aslr_stack_gap here; This patch fixes it.

Test Plan
make
man ./security.7.gz

However,

mandoc -Tlint reports:

mandoc: security.7:234:6: STYLE: referenced manual not found: Xr ksu 1
mandoc: security.7:314:6: STYLE: referenced manual not found: Xr imapd 8 (2 times)
mandoc: security.7:316:6: STYLE: referenced manual not found: Xr popper 8 (2 times)
mandoc: security.7:384:6: STYLE: referenced manual not found: Xr xterm 1 (2 times)
mandoc: security.7:1088:6: STYLE: referenced manual not found: Xr openssl 1
mandoc: security.7:1092:6: STYLE: referenced manual not found: Xr xdm 1

which i don't quite believe.
and igor reports:

security.7:31:date not today, November 26, 2020:.Dd [June 11, 2020]
security.7:37:.Sh DESCRIPTION used here:but .Sh SYNOPSIS has not been defined

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

yuripv added inline comments.
share/man/man7/security.7
1075 ↗(On Diff #80099)

I believe these oids need updating as well:

$ uname -msr
FreeBSD 13.0-CURRENT amd64
$ sysctl kern.elf{32,64}.aslr.aslr_stack_gap
sysctl: unknown oid 'kern.elf32.aslr.aslr_stack_gap'
sysctl: unknown oid 'kern.elf64.aslr.aslr_stack_gap'
$ sysctl kern.elf{32,64}.aslr.stack_gap
kern.elf32.aslr.stack_gap: 3
kern.elf64.aslr.stack_gap: 3
This revision is now accepted and ready to land.Nov 28 2020, 10:07 PM