#!/bin/sh # $FreeBSD$ desc="open returns EFAULT if the path argument points outside the process's allocated address space" dir=`dirname $0` . ${dir}/../misc.sh echo "1..2" expect EFAULT open NULL O_RDONLY expect EFAULT open DEADCODE O_RDONLY