History log of /freebsd-10-stable/sys/sys/conf.h
Revision Date Author Comments
# 317917 07-May-2017 rmacklem

MFC: r317269
Set default uid/gid to nobody/nogroup for NFSv4 mapping.

The default uid/gid for NFSv4 are set by the nfsuserd(8) daemon.
However, they were 0 until the nfsuserd(8) was run. Since it is
possible to use NFSv4 without running the nfsuserd(8) daemon, set them
to nobody/nogroup initially.
Without this patch, the values would be set by the nfsuserd(8) daemon
and left changed even if the nfsuserd(8) daemon was killed. The default
values of 0 meant that setting a group to "wheel" would fail even when
done by root.
It also adds a definition of GID_NOGROUP to sys/conf.h.


# 311644 07-Jan-2017 kib

MFC r310925:
Remove unused declaration.


# 299230 08-May-2016 kib

MFC r298890:
Make it explicit that D_MEM cdevsw d_flag is to signify that the
driver is (or behaves identically to) /dev/mem. Remove the D_MEM flag
from random drivers.


# 294976 28-Jan-2016 kib

MFC r293346:
Provide yet another KPI for cdev creation, make_dev_s(9).


# 294612 22-Jan-2016 jhb

MFC 286974,291653:

286974:
Remove reference to non-existent kern_openat(9).

291653:
The cdevpriv_dtr_t typedef was not able to be used in a function prototype
like the various d_*_t typedefs since it declared a function pointer rather
than a function. Add a new d_priv_dtor_t typedef that declares the function
and can be used as a function prototype. The previous typedef wasn't
useful outside of the cdevpriv implementation, so retire it.

The name d_priv_dtor_t was chosen to be more consistent with cdev methods
since it is commonly used in place of d_close_t even though it is not a
direct pointer in struct cdevsw.


# 291215 23-Nov-2015 smh

MFC r274366:

Add missing privilege check when setting the dump device.

Approved by: pjd, secteam (both no objections)
Sponsored by: Multiplay


# 278283 05-Feb-2015 hselasky

MFC r277179, r277199 and r277391:
Add a kernel function to delist our kernel character devices, so that
the device name can be re-used right away in case we are destroying
the character devices in the background.


# 274497 14-Nov-2014 kib

MFC r274251:
Add DEV_MODULE_ORDERED().


# 278283 05-Feb-2015 hselasky

MFC r277179, r277199 and r277391:
Add a kernel function to delist our kernel character devices, so that
the device name can be re-used right away in case we are destroying
the character devices in the background.


# 274497 14-Nov-2014 kib

MFC r274251:
Add DEV_MODULE_ORDERED().