git: libstand: Abort nfs_/tftp_open when called for non-network devices.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Mon Mar 21 15:12:54 PDT 2016


commit 59d398e58308b178a01ec6b42ef8ad1e3565f09a
Author: Imre Vadász <imre at vdsz.com>
Date:   Mon Feb 15 10:43:34 2016 +0100

    libstand: Abort nfs_/tftp_open when called for non-network devices.
    
    - Otherwise the (work-in-progress) port of the EFI loader from FreeBSD
      crashes when nfs_open() is tried out for a disk device.
    
    - This code isn't compiled for the existing BIOS bootloader (since it's
      conditional on "#ifndef __i386__").
    
    Taken-From: FreeBSD

Summary of changes:
 lib/libstand/nfs.c  | 6 ++++++
 lib/libstand/tftp.c | 6 ++++++
 2 files changed, 12 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/59d398e58308b178a01ec6b42ef8ad1e3565f09a


-- 
DragonFly BSD source repository


More information about the Commits mailing list