mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 07:14:26 +01:00
Disallow multiple 'machine' directives in a kernel configuration
file. Reviewed by: ru, bde
This commit is contained in:
parent
1518d1294c
commit
1949e95550
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=117269
@ -126,6 +126,9 @@ Spec:
|
||||
Config_spec:
|
||||
ARCH Save_id
|
||||
= {
|
||||
if (machinename != NULL)
|
||||
errx(1, "%s:%d: only one machine directive is allowed",
|
||||
yyfile, yyline);
|
||||
machinename = $2;
|
||||
} |
|
||||
CPU Save_id
|
||||
|
Loading…
Reference in New Issue
Block a user