CVSROOT:        /cvs
Module name:    src
Changes by:     guent...@cvs.openbsd.org        2014/06/16 21:49:03

Modified files:
        sys/dev        : systrace.c 

Log message:
Revise previous: if a user calls STRIOCGETCWD two or more times in a row
without an intervening STRIOCRESCWD, release the current values instead
of the saved values, so as to effectively emulate a STRIOCRESCWD.

While here, make sure the fdc->fd_[cr]dir members are updated before
vrele()ing their old values, so that they can't be caught as dangling refs.

ok matthew@

Reply via email to