1166065Spjd#!/bin/sh
2166065Spjd# $FreeBSD$
3166065Spjd
4166065Spjddesc="open returns EFAULT if the path argument points outside the process's allocated address space"
5166065Spjd
6166065Spjddir=`dirname $0`
7166065Spjd. ${dir}/../misc.sh
8166065Spjd
9166065Spjdecho "1..2"
10166065Spjd
11166065Spjdexpect EFAULT open NULL O_RDONLY
12166065Spjdexpect EFAULT open DEADCODE O_RDONLY
13