diff options
author | pjd <pjd@FreeBSD.org> | 2004-05-26 23:03:27 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-05-26 23:03:27 +0000 |
commit | b71a021585dbc350439b4954a869518c79229aca (patch) | |
tree | 10f6569620fbd8d90a820ebb7719d859379b6479 /sys/dev/fxp | |
parent | 5b46c790ee2be794d0ddffea63668fec51c8f260 (diff) | |
download | FreeBSD-src-b71a021585dbc350439b4954a869518c79229aca.zip FreeBSD-src-b71a021585dbc350439b4954a869518c79229aca.tar.gz |
Those sysctls shouldn't be writtable from inside a jail.
Diffstat (limited to 'sys/dev/fxp')
-rw-r--r-- | sys/dev/fxp/if_fxp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index 17abcb0..2f3f24d 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -506,11 +506,11 @@ fxp_attach(device_t dev) goto fail; } SYSCTL_ADD_PROC(&sc->sysctl_ctx, SYSCTL_CHILDREN(sc->sysctl_tree), - OID_AUTO, "int_delay", CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_PRISON, + OID_AUTO, "int_delay", CTLTYPE_INT | CTLFLAG_RW, &sc->tunable_int_delay, 0, sysctl_hw_fxp_int_delay, "I", "FXP driver receive interrupt microcode bundling delay"); SYSCTL_ADD_PROC(&sc->sysctl_ctx, SYSCTL_CHILDREN(sc->sysctl_tree), - OID_AUTO, "bundle_max", CTLTYPE_INT | CTLFLAG_RW | CTLFLAG_PRISON, + OID_AUTO, "bundle_max", CTLTYPE_INT | CTLFLAG_RW, &sc->tunable_bundle_max, 0, sysctl_hw_fxp_bundle_max, "I", "FXP driver receive interrupt microcode bundle size limit"); |