CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2016/05/28 11:16:39

Modified files:
        sbin/fsirand   : fsirand.c 

Log message:
Fix a pledge abort that can be triggered by using DIOCGDINFO on a file
that is not a disk device (e.g. fsirand -p /altroot) by removing the
first of the two pledges.  The program then runs with pledge "stdio"
right after the ioctl.

ok deraadt

Reply via email to