Searched hist:188534 (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.3-release/lib/libc/gen/
H A Dttyslot.cdiff 188534 Thu Feb 12 19:03:51 MST 2009 ed Make ttyslot(3) work with pts(4) devices.

It seems ttyslot() calls rindex(), to strip the device name to the last
slash, but this is obviously invalid. /dev/pts/0 should be stripped
until pts/0. Because /etc/ttys only supports TTY names in /dev/, just
strip this piece of the pathname.
/freebsd-10.3-release/sys/kern/
H A Dsubr_rman.cdiff 265901 Mon May 12 04:30:30 MDT 2014 truckman MFC r265363

Avoid unsigned integer overflow which can cause
rman_reserve_resource_bound() to return incorrect results.

Continue the initial search until the first viable region is found.

Add a comment to explain the search termination test.

PR: kern/188534
Reviewed by: jhb (previous version)

Completed in 100 milliseconds