Home
last modified time | relevance | path

Searched hist:"68 f7a0139232f7ab92e2b10edf578342a50e0c8a" (Results 1 – 3 of 3) sorted by relevance

/freebsd/share/man/man9/
H A Dmake_dev.9diff 68f7a0139232f7ab92e2b10edf578342a50e0c8a Thu Oct 07 20:00:55 CEST 2010 Jaakko Heinonen <jh@FreeBSD.org> Check the device name validity on device registration.

A new function prep_devname() sanitizes a device name by removing
leading and redundant sequential slashes. The function returns an error
for names which already exist or are considered invalid.

A new flag MAKEDEV_CHECKNAME for make_dev_p(9) and make_dev_credf(9)
indicates that the caller is prepared to handle an error related to the
device name. An invalid name triggers a panic if the flag is not
specified.

Document the MAKEDEV_CHECKNAME flag in the make_dev(9) manual page.

Idea from: kib
Reviewed by: kib
/freebsd/sys/kern/
H A Dkern_conf.cdiff 68f7a0139232f7ab92e2b10edf578342a50e0c8a Thu Oct 07 20:00:55 CEST 2010 Jaakko Heinonen <jh@FreeBSD.org> Check the device name validity on device registration.

A new function prep_devname() sanitizes a device name by removing
leading and redundant sequential slashes. The function returns an error
for names which already exist or are considered invalid.

A new flag MAKEDEV_CHECKNAME for make_dev_p(9) and make_dev_credf(9)
indicates that the caller is prepared to handle an error related to the
device name. An invalid name triggers a panic if the flag is not
specified.

Document the MAKEDEV_CHECKNAME flag in the make_dev(9) manual page.

Idea from: kib
Reviewed by: kib
/freebsd/sys/sys/
H A Dconf.hdiff 68f7a0139232f7ab92e2b10edf578342a50e0c8a Thu Oct 07 20:00:55 CEST 2010 Jaakko Heinonen <jh@FreeBSD.org> Check the device name validity on device registration.

A new function prep_devname() sanitizes a device name by removing
leading and redundant sequential slashes. The function returns an error
for names which already exist or are considered invalid.

A new flag MAKEDEV_CHECKNAME for make_dev_p(9) and make_dev_credf(9)
indicates that the caller is prepared to handle an error related to the
device name. An invalid name triggers a panic if the flag is not
specified.

Document the MAKEDEV_CHECKNAME flag in the make_dev(9) manual page.

Idea from: kib
Reviewed by: kib