| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
sysctl(8): fix typename for uint32_t
|
|
|
|
| |
Consolidate four efi_next_descriptor() definitions.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sbin/sysctl/sysctl.c
Fix integer overflows in printf format strings
PR: 199673
Submitted by: Vitaly Magerya
Reviewed by: cem
Approved by: re (marius)
MFC after: 4 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D6941
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
|
|
|
|
|
|
|
| |
PR: bin/203918
Submitted by: ota <ota@j.email.ne.jp>
Reviewed by: cem
Approved by: bapt (mentor)
Differential Revision: https://reviews.freebsd.org/D4451
|
|
|
|
| |
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
| |
Suggested by: bde
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
| |
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reduces the noise in error reporing from sysctl(8):
Before:
$ sysctl bla=something
sysctl: unknown oid 'bla': No such file or directory
After:
$ sysctl bla=something
sysctl: unknown oid 'bla'
MFC after: 1 week
Sponsored by: Gandi.net
|
|
|
|
|
|
|
|
| |
This allows to write entries in sysctl.conf with spaces before the '=' like
kern.ipc.shmmax = 9663676416
MFC after: 1 week
Sponsored by: Gandi.net
|
|
|
|
|
|
|
| |
precision. Update input as well. Add IK to the manual (it was missing
completely).
Differential Revision: https://reviews.freebsd.org/D3181
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Off by default, build behaves normally.
WITH_META_MODE we get auto objdir creation, the ability to
start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796
Reviewed by: brooks imp
|
| | |
|
| |\
| |/
|/| |
|
| |\ |
|
| |\ \ |
|
| | | | |
|
| | | | |
|
| |\ \ \ |
|
| | | | | |
|
| | | | | |
|
| |\ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Requested by: Simon Gerraty <sjg@juniper.net>
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
sysctl... This is useful for kern.arandom which (without -B) will
happily return 0 bytes, which isn't too useful or random...
fix spelling (thanks igor!) of settable while I'm here...
|
| |_|_|_|/
|/| | | |
| | | | |
| | | | |
| | | | | |
Noticed by: trasz
MFC after: 2 weeks
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Reviewed by: mjg
MFC after: 2 weeks
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Suggested by: mjg
MFC after: 2 weeks
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Check errno and handle it as invalid input.
Obtained from: HardenedBSD
Submitted by: David CARLIER <devnexen@gmail.com>
MFC after: 2 weeks
|
| | | | |
| | | | |
| | | | |
| | | | | |
MFC after: 2 months
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
sysctl(8) binary to format it.
Reviewed by: emaste
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D771
|
| | | | |
| | | | |
| | | | |
| | | | | |
size_t instead of an int.
|
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
optional attributes field.
- Add a 'machdep.smap' sysctl that exports the SMAP table of the running
system as an array of the ACPI 3.0 structure. (On older systems, the
attributes are given a value of zero.) Note that the sysctl only
exports the SMAP table if it is available via the metadata passed from
the loader to the kernel. If an SMAP is not available, an empty array
is returned.
- Add a format handler for the ACPI 3.0 SMAP structure to the sysctl(8)
binary to format the SMAP structures in a readable format similar to
the format found in boot messages.
MFC after: 2 weeks
|
| |_|/
|/| |
| | |
| | | |
MFC after: 1 week
|
| | |
| | |
| | |
| | |
| | | |
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
|
| |/
|/| |
|
| |
| |
| |
| |
| | |
PR: bin/174910
Submitted by: Fabian Keil <fk fabiankeil.de>
|
| |
| |
| |
| |
| |
| |
| | |
capability of parsing both = and : formats).
Submitted by: hrs (initial version, bugs are mine)
MFC after: 3 months
|
| |
| |
| |
| |
| | |
To do this move the Tflag and Wflag checks earlier in show_var() so
we bail earlier for variables not matching our query.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add the following flags to sysctl:
-W - show only writable sysctls
-T - show only tuneable sysctls
This can be used to create a /var/run/sysctl.boot to
compare set tunables versus booted tunables.
Sponsored by: iXsystems
|
|/
|
|
|
|
|
|
| |
- Only operate on copy, don't operate on source.
- Eliminate home-rolled strsep().
- Constify the parameter.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
| |
reporting a number of bytes rather than a number of pages
PR: misc/165208
Submitted by: Arnaud Lacombe <lacombar@gmail.com>
Approved by: cperciva
MFC after: 3 days
|
|
|
|
| |
Reviewed by: brueffer
|
|
|
|
|
|
|
| |
display the descriptions of specified nodes.
Reported by: Jason Hellenthal jhell of dataix net
MFC after: 2 weeks
|
|
|
|
| |
existing uses. Rename sysctl_handle_quad() to sysctl_handle_64().
|
|
|
|
|
|
|
|
|
|
|
| |
reading. (This was already done for writing to a sysctl). This
requires all SYSCTL setups to specify a type. Most of them are now
checked at compile-time.
Remove SYSCTL_*X* sysctl additions as the print being in hex should be
controlled by the -x flag to sysctl(8).
Succested by: bde
|
| |
|
|
|
|
| |
remove the capability and mention from sysctl(8).
|
|
|
|
|
|
| |
consistent with the rest of sysctl vm.vmtotal output.
MFC after: 3 days
|
|
|
|
|
|
|
| |
PR: bin/113881
Submitted by: Alexander Drozdov dzal_mail mtu-net.ru
Approved by: rrs (mentor)
MFC after: 1 week
|
|
|
|
|
|
|
| |
Fixes inspired by work done in DragonflyBSD.
PR: bin/140016
Approved by: ed (Co-mentor)
|