Project

General

Profile

Actions

Submit #2607

closed

[PATCH] Add proper const keywords to sysctl(3) parameters.

Added by kAworu over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
11/22/2013
Due date:
% Done:

0%

Estimated time:

Description

This patch import several patches from FreeBSD, namely:
- r204170 which make use of const keywords where appropriate
- r240176 which avoid a segfault when the `name' argument is invalid
- r204172 & r244153 are cosmetics changes.

I did a build of world+kernel and install and it has running fine for several hours.
More tests and code reviews are welcome. In particular I am unsure of r240176 (how is `name' tested for "validity"?).


Files

Actions

Also available in: Atom PDF