diff options
author | jhb <jhb@FreeBSD.org> | 2006-02-06 22:00:53 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2006-02-06 22:00:53 +0000 |
commit | 1f0c541bd133ce3b047f18de07fa40324097bfad (patch) | |
tree | 60940a8cbf854fd513f61ecd8b97e78328c20700 /sys/i386 | |
parent | db29bc1e158dbd91e9a0fff0a9fa2b95d09f51c4 (diff) | |
download | FreeBSD-src-1f0c541bd133ce3b047f18de07fa40324097bfad.zip FreeBSD-src-1f0c541bd133ce3b047f18de07fa40324097bfad.tar.gz |
Add a kern_eaccess() function and use it to implement xenix_eaccess()
rather than kern_access().
Suggested by: rwatson
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/ibcs2/ibcs2_xenix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/ibcs2/ibcs2_xenix.c b/sys/i386/ibcs2/ibcs2_xenix.c index dc8bfac..faa9d7c 100644 --- a/sys/i386/ibcs2/ibcs2_xenix.c +++ b/sys/i386/ibcs2/ibcs2_xenix.c @@ -216,7 +216,7 @@ xenix_eaccess(struct thread *td, struct xenix_eaccess_args *uap) bsd_flags |= X_OK; CHECKALTEXIST(td, uap->path, &path); - error = kern_access(td, path, UIO_SYSSPACE, bsd_flags); + error = kern_eaccess(td, path, UIO_SYSSPACE, bsd_flags); free(path, M_TEMP); return (error); } |